code_text
stringlengths
604
999k
repo_name
stringlengths
4
100
file_path
stringlengths
4
873
language
stringclasses
23 values
license
stringclasses
15 values
size
int32
1.02k
999k
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. using System.Collections.Generic; using System.Web.Http; using System.Web.OData.Formatter; using Microsoft.OData.Edm; namespace System.Web.OData.Routing { /// <summary> /// An <see cref="ODataPathSegment"/> implementation representing a cast. /// </summary> public class CastPathSegment : ODataPathSegment { /// <summary> /// Initializes a new instance of the <see cref="CastPathSegment" /> class. /// </summary> /// <param name="castType">The type of the cast.</param> public CastPathSegment(IEdmEntityType castType) { if (castType == null) { throw Error.ArgumentNull("castType"); } CastType = castType; CastTypeName = castType.FullName(); } /// <summary> /// Initializes a new instance of the <see cref="CastPathSegment" /> class. /// </summary> /// <param name="castTypeName">Name of the cast type.</param> public CastPathSegment(string castTypeName) { if (castTypeName == null) { throw Error.ArgumentNull("castTypeName"); } CastTypeName = castTypeName; } /// <summary> /// Gets the segment kind for the current segment. /// </summary> public override string SegmentKind { get { return ODataSegmentKinds.Cast; } } /// <summary> /// Gets the type of the cast. /// </summary> public IEdmEntityType CastType { get; private set; } /// <summary> /// Gets the name of the cast type. /// </summary> public string CastTypeName { get; private set; } /// <summary> /// Gets the EDM type for this segment. /// </summary> /// <param name="previousEdmType">The EDM type of the previous path segment.</param> /// <returns> /// The EDM type for this segment. /// </returns> public override IEdmType GetEdmType(IEdmType previousEdmType) { if (CastType != null && previousEdmType != null) { if (previousEdmType.TypeKind == EdmTypeKind.Collection) { return CastType.GetCollection(); } else { return CastType; } } return null; } /// <inheritdoc/> public override IEdmNavigationSource GetNavigationSource(IEdmNavigationSource previousNavigationSource) { return previousNavigationSource; } /// <summary> /// Returns a <see cref="System.String" /> that represents this instance. /// </summary> /// <returns> /// A <see cref="System.String" /> that represents this instance. /// </returns> public override string ToString() { return CastTypeName; } /// <inheritdoc/> public override bool TryMatch(ODataPathSegment pathSegment, IDictionary<string, object> values) { if (pathSegment.SegmentKind == ODataSegmentKinds.Cast) { CastPathSegment castSegment = (CastPathSegment)pathSegment; return castSegment.CastType == CastType && castSegment.CastTypeName == CastTypeName; } return false; } } }
yonglehou/WebApi
OData/src/System.Web.OData/OData/Routing/CastPathSegment.cs
C#
mit
3,788
//----------------------------------------------------------------------------- // Copyright (c) 2012 GarageGames, LLC // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to // deal in the Software without restriction, including without limitation the // rights to use, copy, modify, merge, publish, distribute, sublicense, and/or // sell copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in // all copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS // IN THE SOFTWARE. //----------------------------------------------------------------------------- // An implementation of "Practical Morphological Anti-Aliasing" from // GPU Pro 2 by Jorge Jimenez, Belen Masia, Jose I. Echevarria, // Fernando Navarro, and Diego Gutierrez. // // http://www.iryoku.com/mlaa/ // NOTE: This is currently disabled in favor of FXAA. See // core\scripts\client\canvas.cs if you want to re-enable it. singleton GFXStateBlockData( MLAA_EdgeDetectStateBlock : PFX_DefaultStateBlock ) { // Mark the edge pixels in stencil. stencilDefined = true; stencilEnable = true; stencilPassOp = GFXStencilOpReplace; stencilFunc = GFXCmpAlways; stencilRef = 1; samplersDefined = true; samplerStates[0] = SamplerClampLinear; }; singleton ShaderData( MLAA_EdgeDetectionShader ) { DXVertexShaderFile = "shaders/common/postFx/mlaa/offsetV.hlsl"; DXPixelShaderFile = "shaders/common/postFx/mlaa/edgeDetectionP.hlsl"; OGLVertexShaderFile = "shaders/common/postFx/mlaa/gl/offsetV.glsl"; OGLPixelShaderFile = "shaders/common/postFx/mlaa/gl/edgeDetectionP.glsl"; samplerNames[0] = "$colorMapG"; samplerNames[1] = "$deferredMap"; pixVersion = 3.0; }; singleton GFXStateBlockData( MLAA_BlendWeightCalculationStateBlock : PFX_DefaultStateBlock ) { // Here we want to process only marked pixels. stencilDefined = true; stencilEnable = true; stencilPassOp = GFXStencilOpKeep; stencilFunc = GFXCmpEqual; stencilRef = 1; samplersDefined = true; samplerStates[0] = SamplerClampPoint; samplerStates[1] = SamplerClampLinear; samplerStates[2] = SamplerClampPoint; }; singleton ShaderData( MLAA_BlendWeightCalculationShader ) { DXVertexShaderFile = "shaders/common/postFx/mlaa/passthruV.hlsl"; DXPixelShaderFile = "shaders/common/postFx/mlaa/blendWeightCalculationP.hlsl"; OGLVertexShaderFile = "shaders/common/postFx/mlaa/gl/passthruV.glsl"; OGLPixelShaderFile = "shaders/common/postFx/mlaa/gl/blendWeightCalculationP.glsl"; samplerNames[0] = "$edgesMap"; samplerNames[1] = "$edgesMapL"; samplerNames[2] = "$areaMap"; pixVersion = 3.0; }; singleton GFXStateBlockData( MLAA_NeighborhoodBlendingStateBlock : PFX_DefaultStateBlock ) { // Here we want to process only marked pixels too. stencilDefined = true; stencilEnable = true; stencilPassOp = GFXStencilOpKeep; stencilFunc = GFXCmpEqual; stencilRef = 1; samplersDefined = true; samplerStates[0] = SamplerClampPoint; samplerStates[1] = SamplerClampLinear; samplerStates[2] = SamplerClampPoint; }; singleton ShaderData( MLAA_NeighborhoodBlendingShader ) { DXVertexShaderFile = "shaders/common/postFx/mlaa/offsetV.hlsl"; DXPixelShaderFile = "shaders/common/postFx/mlaa/neighborhoodBlendingP.hlsl"; OGLVertexShaderFile = "shaders/common/postFx/mlaa/gl/offsetV.glsl"; OGLPixelShaderFile = "shaders/common/postFx/mlaa/gl/neighborhoodBlendingP.glsl"; samplerNames[0] = "$blendMap"; samplerNames[1] = "$colorMapL"; samplerNames[2] = "$colorMap"; pixVersion = 3.0; }; singleton PostEffect( MLAAFx ) { isEnabled = false; allowReflectPass = false; renderTime = "PFXAfterDiffuse"; texture[0] = "$backBuffer"; //colorMapG texture[1] = "#deferred"; // Used for depth detection target = "$outTex"; targetClear = PFXTargetClear_OnDraw; targetClearColor = "0 0 0 0"; stateBlock = MLAA_EdgeDetectStateBlock; shader = MLAA_EdgeDetectionShader; // The luma calculation weights which can be user adjustable // per-scene if nessasary. The default value of... // // 0.2126 0.7152 0.0722 // // ... is the HDTV ITU-R Recommendation BT. 709. lumaCoefficients = "0.2126 0.7152 0.0722"; // The tweakable color threshold used to select // the range of edge pixels to blend. threshold = 0.1; // The depth delta threshold used to select // the range of edge pixels to blend. depthThreshold = 0.01; new PostEffect() { internalName = "blendingWeightsCalculation"; target = "$outTex"; targetClear = PFXTargetClear_OnDraw; shader = MLAA_BlendWeightCalculationShader; stateBlock = MLAA_BlendWeightCalculationStateBlock; texture[0] = "$inTex"; // Edges mask texture[1] = "$inTex"; // Edges mask texture[2] = "./AreaMap33.dds"; }; new PostEffect() { internalName = "neighborhoodBlending"; shader = MLAA_NeighborhoodBlendingShader; stateBlock = MLAA_NeighborhoodBlendingStateBlock; texture[0] = "$inTex"; // Blend weights texture[1] = "$backBuffer"; texture[2] = "$backBuffer"; }; }; function MLAAFx::setShaderConsts(%this) { %this.setShaderConst("$lumaCoefficients", %this.lumaCoefficients); %this.setShaderConst("$threshold", %this.threshold); %this.setShaderConst("$depthThreshold", %this.depthThreshold); }
GarageGames/Torque3D
Templates/Full/game/core/scripts/client/postFx/MLAA.cs
C#
mit
6,145
# coding: utf-8 module PDF class Reader # A general class for decoding LZW compressed data. LZW can be # used in PDF files to compresses streams, usually for image data sourced # from a TIFF file. # # See the following links for more information: # # ref http://www.fileformat.info/format/tiff/corion-lzw.htm # ref http://marknelson.us/1989/10/01/lzw-data-compression/ # # The PDF spec also has some data on the algorithm. # class LZW # :nodoc: # Wraps an LZW encoded string class BitStream # :nodoc: def initialize(data, bits_in_chunk) @data = data @data.force_encoding("BINARY") if @data.respond_to?(:force_encoding) @bits_in_chunk = bits_in_chunk @current_pos = 0 @bits_left_in_byte = 8 end def set_bits_in_chunk(bits_in_chunk) @bits_in_chunk = bits_in_chunk end def read bits_left_in_chunk = @bits_in_chunk chunk = nil while bits_left_in_chunk > 0 and @current_pos < @data.size chunk = 0 if chunk.nil? codepoint = @data[@current_pos, 1].unpack("C*")[0] current_byte = codepoint & (2**@bits_left_in_byte - 1) #clear consumed bits dif = bits_left_in_chunk - @bits_left_in_byte if dif > 0 then current_byte <<= dif elsif dif < 0 then current_byte >>= dif.abs end chunk |= current_byte #add bits to result bits_left_in_chunk = if dif >= 0 then dif else 0 end @bits_left_in_byte = if dif < 0 then dif.abs else 0 end if @bits_left_in_byte.zero? #next byte @current_pos += 1 @bits_left_in_byte = 8 end end chunk end end CODE_EOD = 257 #end of data CODE_CLEAR_TABLE = 256 #clear table # stores de pairs code => string class StringTable < Hash # :nodoc: attr_reader :string_table_pos def initialize super @string_table_pos = 258 #initial code end #if code less than 258 return fixed string def [](key) if key > 257 then super else key.chr end end def add(string) store(@string_table_pos, string) @string_table_pos += 1 end end # Decompresses a LZW compressed string. # def self.decode(data) stream = BitStream.new data.to_s, 9 # size of codes between 9 and 12 bits result = '' until (code = stream.read) == CODE_EOD if code == CODE_CLEAR_TABLE stream.set_bits_in_chunk(9) string_table = StringTable.new code = stream.read break if code == CODE_EOD result << string_table[code] old_code = code else string = string_table[code] if string result << string string_table.add create_new_string(string_table, old_code, code) old_code = code else new_string = create_new_string(string_table, old_code, old_code) result << new_string string_table.add new_string old_code = code end #increase de size of the codes when limit reached if string_table.string_table_pos == 511 stream.set_bits_in_chunk(10) elsif string_table.string_table_pos == 1023 stream.set_bits_in_chunk(11) elsif string_table.string_table_pos == 2047 stream.set_bits_in_chunk(12) end end end result end private def self.create_new_string(string_table,some_code, other_code) string_table[some_code] + string_table[other_code][0].chr end end end end
tardate/pdf-reader
lib/pdf/reader/lzw.rb
Ruby
mit
3,911
// // XHLaunchAdConfiguration.m // XHLaunchAdExample // // Created by zhuxiaohui on 2016/6/28. // Copyright © 2016年 it7090.com. All rights reserved. // 代码地址:https://github.com/CoderZhuXH/XHLaunchAd #import "XHLaunchAdConfiguration.h" #pragma mark - 公共 @implementation XHLaunchAdConfiguration @end #pragma mark - 图片广告相关 @implementation XHLaunchImageAdConfiguration +(XHLaunchImageAdConfiguration *)defaultConfiguration { //配置广告数据 XHLaunchImageAdConfiguration *configuration = [XHLaunchImageAdConfiguration new]; //广告停留时间 configuration.duration = 5; //广告frame configuration.frame = [UIScreen mainScreen].bounds; //缓存机制 configuration.imageOption = XHLaunchAdImageDefault; //图片填充模式 configuration.contentMode = UIViewContentModeScaleToFill; //广告显示完成动画 configuration.showFinishAnimate =ShowFinishAnimateFadein; //跳过按钮类型 configuration.skipButtonType = SkipTypeTimeText; //后台返回时,是否显示广告 configuration.showEnterForeground = NO; return configuration; } @end #pragma mark - 视频广告相关 @implementation XHLaunchVideoAdConfiguration +(XHLaunchVideoAdConfiguration *)defaultConfiguration { //配置广告数据 XHLaunchVideoAdConfiguration *configuration = [XHLaunchVideoAdConfiguration new]; //广告停留时间 configuration.duration = 5; //广告frame configuration.frame = [UIScreen mainScreen].bounds; //视频填充模式 configuration.scalingMode = MPMovieScalingModeAspectFill; //广告显示完成动画 configuration.showFinishAnimate =ShowFinishAnimateFadein; //跳过按钮类型 configuration.skipButtonType = SkipTypeTimeText; //后台返回时,是否显示广告 configuration.showEnterForeground = NO; return configuration; } @end
ZuoLuFei/CMKit
Example/CMKit/CMKit-Tool(工具类)/FrameworkManager/LaunchAd(广告载入页)/Tool/XHLaunchAd/XHLaunchAdConfiguration.m
Matlab
mit
1,904
var AssertionError = require('./assertion-error'); var util = require('./util'); function Assertion(obj, format) { this.obj = obj; this.format = format; } /** Way to extend Assertion function. It uses some logic to define only positive assertions and itself rule with negative assertion. All actions happen in subcontext and this method take care about negation. Potentially we can add some more modifiers that does not depends from state of assertion. */ Assertion.add = function(name, f, isGetter) { var prop = {enumerable: true}; prop[isGetter ? 'get' : 'value'] = function() { var context = new Assertion(this.obj, this.format); context.anyOne = this.anyOne; try { f.apply(context, arguments); } catch(e) { //copy data from sub context to this this.params = context.params; //check for fail if(e instanceof AssertionError) { //negative fail if(this.negate) { this.obj = context.obj; this.negate = false; return this; } this.nestedErrorMessage = e.message; //positive fail this.fail(); } // throw if it is another exception throw e; } //copy data from sub context to this this.params = context.params; //negative pass if(this.negate) { context.negate = true; this.nestedErrorMessage = context.params.message ? context.params.message : context.getMessage(); this.fail(); } this.obj = context.obj; this.negate = false; //positive pass return this; }; Object.defineProperty(Assertion.prototype, name, prop); }; Assertion.alias = function(from, to) { var desc = Object.getOwnPropertyDescriptor(Assertion.prototype, from); if(!desc) throw new Error('Alias ' + from + ' -> ' + to + ' could not be created as ' + from + ' not defined'); Object.defineProperty(Assertion.prototype, to, desc); }; var indent = ' '; function prependIndent(line) { return indent + line; } function indentLines(text) { return text.split('\n').map(prependIndent).join('\n'); } Assertion.prototype = { constructor: Assertion, assert: function(expr) { if(expr) return this; var params = this.params; var msg = params.message, generatedMessage = false; if(!msg) { msg = this.getMessage(); generatedMessage = true; } if(this.nestedErrorMessage && msg != this.nestedErrorMessage) { msg = msg + '\n' +indentLines(this.nestedErrorMessage); } var err = new AssertionError({ message: msg, actual: this.obj, expected: params.expected, stackStartFunction: this.assert }); err.showDiff = params.showDiff; err.operator = params.operator; err.generatedMessage = generatedMessage; throw err; }, fail: function() { return this.assert(false); }, getMessage: function() { var actual = 'obj' in this.params ? this.format(this.params.obj) : this.format(this.obj); var expected = 'expected' in this.params ? ' ' + this.format(this.params.expected) : ''; var details = 'details' in this.params && this.params.details ? ' (' + this.params.details + ')': ''; return 'expected ' + actual + (this.negate ? ' not ' : ' ') + this.params.operator + expected + details; }, /** * Negation modifier. * * @api public */ get not() { this.negate = !this.negate; return this; }, /** * Any modifier - it affect on execution of sequenced assertion to do not check all, but any of * * @api public */ get any() { this.anyOne = true; return this; } }; module.exports = Assertion;
mikaben89/asynchronousNode
node_modules/should/lib/assertion.js
JavaScript
mit
3,650
/*! overthrow - An overflow:auto polyfill for responsive design. - v0.7.0 - 2013-11-04 * Copyright (c) 2013 Scott Jehl, Filament Group, Inc.; Licensed MIT */ !function(a){var b=a.document,c=b.documentElement,d="overthrow-enabled",e="ontouchmove"in b,f="WebkitOverflowScrolling"in c.style||"msOverflowStyle"in c.style||!e&&a.screen.width>800||function(){var b=a.navigator.userAgent,c=b.match(/AppleWebKit\/([0-9]+)/),d=c&&c[1],e=c&&d>=534;return b.match(/Android ([0-9]+)/)&&RegExp.$1>=3&&e||b.match(/ Version\/([0-9]+)/)&&RegExp.$1>=0&&a.blackberry&&e||b.indexOf("PlayBook")>-1&&e&&-1===!b.indexOf("Android 2")||b.match(/Firefox\/([0-9]+)/)&&RegExp.$1>=4||b.match(/wOSBrowser\/([0-9]+)/)&&RegExp.$1>=233&&e||b.match(/NokiaBrowser\/([0-9\.]+)/)&&7.3===parseFloat(RegExp.$1)&&c&&d>=533}();a.overthrow={},a.overthrow.enabledClassName=d,a.overthrow.addClass=function(){-1===c.className.indexOf(a.overthrow.enabledClassName)&&(c.className+=" "+a.overthrow.enabledClassName)},a.overthrow.removeClass=function(){c.className=c.className.replace(a.overthrow.enabledClassName,"")},a.overthrow.set=function(){f&&a.overthrow.addClass()},a.overthrow.canBeFilledWithPoly=e,a.overthrow.forget=function(){a.overthrow.removeClass()},a.overthrow.support=f?"native":"none"}(this),function(a,b,c){if(b!==c){b.easing=function(a,b,c,d){return c*((a=a/d-1)*a*a+1)+b},b.tossing=!1;var d;b.toss=function(a,e){b.intercept();var f,g,h=0,i=a.scrollLeft,j=a.scrollTop,k={top:"+0",left:"+0",duration:50,easing:b.easing,finished:function(){}},l=!1;if(e)for(var m in k)e[m]!==c&&(k[m]=e[m]);return"string"==typeof k.left?(k.left=parseFloat(k.left),f=k.left+i):(f=k.left,k.left=k.left-i),"string"==typeof k.top?(k.top=parseFloat(k.top),g=k.top+j):(g=k.top,k.top=k.top-j),b.tossing=!0,d=setInterval(function(){h++<k.duration?(a.scrollLeft=k.easing(h,i,k.left,k.duration),a.scrollTop=k.easing(h,j,k.top,k.duration)):(f!==a.scrollLeft?a.scrollLeft=f:(l&&k.finished(),l=!0),g!==a.scrollTop?a.scrollTop=g:(l&&k.finished(),l=!0),b.intercept())},1),{top:g,left:f,duration:b.duration,easing:b.easing}},b.intercept=function(){clearInterval(d),b.tossing=!1}}}(this,this.overthrow),function(a,b,c){if(b!==c){b.scrollIndicatorClassName="overthrow";var d=a.document,e=d.documentElement,f="native"===b.support,g=b.canBeFilledWithPoly,h=(b.configure,b.set),i=b.forget,j=b.scrollIndicatorClassName;b.closest=function(a,c){return!c&&a.className&&a.className.indexOf(j)>-1&&a||b.closest(a.parentNode)};var k=!1;b.set=function(){if(h(),!k&&!f&&g){a.overthrow.addClass(),k=!0,b.support="polyfilled",b.forget=function(){i(),k=!1,d.removeEventListener&&d.removeEventListener("touchstart",u,!1)};var j,l,m,n,o=[],p=[],q=function(){o=[],l=null},r=function(){p=[],m=null},s=function(a){n=j.querySelectorAll("textarea, input");for(var b=0,c=n.length;c>b;b++)n[b].style.pointerEvents=a},t=function(a,b){if(d.createEvent){var e,f=(!b||b===c)&&j.parentNode||j.touchchild||j;f!==j&&(e=d.createEvent("HTMLEvents"),e.initEvent("touchend",!0,!0),j.dispatchEvent(e),f.touchchild=j,j=f,f.dispatchEvent(a))}},u=function(a){if(b.intercept&&b.intercept(),q(),r(),j=b.closest(a.target),j&&j!==e&&!(a.touches.length>1)){s("none");var c=a,d=j.scrollTop,f=j.scrollLeft,g=j.offsetHeight,h=j.offsetWidth,i=a.touches[0].pageY,k=a.touches[0].pageX,n=j.scrollHeight,u=j.scrollWidth,v=function(a){var b=d+i-a.touches[0].pageY,e=f+k-a.touches[0].pageX,s=b>=(o.length?o[0]:0),v=e>=(p.length?p[0]:0);b>0&&n-g>b||e>0&&u-h>e?a.preventDefault():t(c),l&&s!==l&&q(),m&&v!==m&&r(),l=s,m=v,j.scrollTop=b,j.scrollLeft=e,o.unshift(b),p.unshift(e),o.length>3&&o.pop(),p.length>3&&p.pop()},w=function(){s("auto"),setTimeout(function(){s("none")},450),j.removeEventListener("touchmove",v,!1),j.removeEventListener("touchend",w,!1)};j.addEventListener("touchmove",v,!1),j.addEventListener("touchend",w,!1)}};d.addEventListener("touchstart",u,!1)}}}}(this,this.overthrow),function(a){a.overthrow.set()}(this);
pierotofy/hscroller.js
js/overthrow.min.js
JavaScript
mit
3,911
/* ************************************************************************** */ /* */ /* ::: :::::::: */ /* ft_nbrlen.c :+: :+: :+: */ /* +:+ +:+ +:+ */ /* By: gmange <gmange@student.42.fr> +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2013/12/13 09:26:45 by gmange #+# #+# */ /* Updated: 2014/04/26 11:17:14 by gmange ### ########.fr */ /* */ /* ************************************************************************** */ #include "libft.h" size_t ft_nbrlen(int n) { size_t len; len = 0; if (n < 0) { n = -n; ++len; } while (n > 9) { ++len; n /= 10; } return (len); }
gmange/select
libft/src/ft_nbrlen.c
C
mit
1,059
var get = Ember.get, set = Ember.set; var App, ComplexObject, Person, store, adapter; ComplexObject = Ember.Object.extend({ }); module("DS.FixtureAdapter & DS.FixtureSerializer", { setup: function() { App = Ember.Namespace.create(); App.Person = DS.Model.extend({ name: DS.attr('string'), profile: DS.attr('object'), }); App.Person.FIXTURES = []; App.User = App.Person.extend({ messages: DS.hasMany('App.Message', {polymorphic: true}) }); App.Admin = App.User.extend({}); App.Message = DS.Model.extend({ owner: DS.belongsTo('App.Person', {polymorphic: true}) }); App.Post = App.Message.extend({}); App.Comment = App.Message.extend({}); App.User.FIXTURES = [{ id: "1", name: "Alice", messages: [ {id: "1", type: "post"}, {id: "2", type: "comment"} ] }]; App.Admin.FIXTURES = [{ id: "2", name: "Bob", messages: [{id: "3", type: "post"}] }]; App.Post.FIXTURES = [{ id: "1", owner: "1", owner_type: "user" }, { id: "3", owner: "2", owner_type: "admin" }]; App.Comment.FIXTURES = [{ id: "2", owner: "1", owner_type: "user" }]; DS.FixtureAdapter.configure(App.User, { alias: 'user' }); DS.FixtureAdapter.configure(App.Admin, { alias: 'admin' }); DS.FixtureAdapter.configure(App.Post, { alias: 'post' }); DS.FixtureAdapter.configure(App.Comment, { alias: 'comment' }); adapter = DS.FixtureAdapter.create({ simulateRemoteResponse: false }); store = DS.Store.create({ adapter: adapter }); }, teardown: function() { adapter.destroy(); store.destroy(); } }); test("records are persisted as is", function() { var attributes = { name: "Adam Hawkins", profile: ComplexObject.create({ skills: ['ruby', 'javascript'], music: 'Trance' }) }; var record = store.createRecord(App.Person, attributes); store.commit(); var adam = store.find(App.Person, record.get('id')); equal(adam.get('name'), attributes.name, 'Attribute materialized'); equal(adam.get('profile'), attributes.profile, 'Complex object materialized'); var fixtures = adapter.fixturesForType(App.Person); equal(fixtures.length, 1, "fixtures updated"); var inMemoryProfile = fixtures[0].profile; ok(inMemoryProfile instanceof Ember.Object, 'Complex objects persisted in memory'); equal(inMemoryProfile.skills, adam.get('profile.skills')); equal(inMemoryProfile.music, adam.get('profile.music')); }); test("records are updated as is", function() { var attributes = { name: "Adam Hawkins", profile: ComplexObject.create({ skills: ['ruby', 'javascript'], music: 'Trance' }) }; var record = store.createRecord(App.Person, attributes); store.commit(); var adam = store.find(App.Person, record.get('id')); adam.set('name', 'Adam Andrew Hawkins'); store.commit(); equal(adam.get('name'), 'Adam Andrew Hawkins', 'Attribute materialized'); var fixtures = adapter.fixturesForType(App.Person); equal(fixtures.length, 1, "fixtures updated"); var inMemoryObject = fixtures[0]; equal(inMemoryObject.name, adam.get('name'), 'Changes saved to in memory records'); }); test("records are deleted", function() { var attributes = { name: "Adam Hawkins", profile: ComplexObject.create({ skills: ['ruby', 'javascript'], music: 'Trance' }) }; var record = store.createRecord(App.Person, attributes); store.commit(); var adam = store.find(App.Person, record.get('id')); adam.deleteRecord(); store.commit(); var fixtures = adapter.fixturesForType(App.Person); equal(fixtures.length, 0, "fixtures updated"); }); test("find queries loaded records", function() { var attributes = { id: '1', name: "Adam Hawkins", profile: ComplexObject.create({ skills: ['ruby', 'javascript'], music: 'Trance' }) }; adapter.updateFixtures(App.Person, attributes); var adam = store.find(App.Person, 1); equal(adam.get('name'), attributes.name, 'Attribute materialized'); equal(adam.get('profile'), attributes.profile, 'Complex object materialized'); }); test("polymorphic has many", function () { var alice, bob; Ember.run(function () { alice = store.find(App.User, 1); }); equal(alice.get('name'), "Alice", 'record materialized'); equal(alice.get('messages.length'), 2, 'correct number of messages'); equal(alice.get('messages').objectAt(0).constructor, App.Post, 'correct message subclass'); equal(alice.get('messages').objectAt(0).get('id'), "1", 'correct record'); equal(alice.get('messages').objectAt(1).constructor, App.Comment, 'correct message subclass'); equal(alice.get('messages').objectAt(1).get('id'), "2", 'correct record'); Ember.run(function () { bob = store.find(App.Admin, 2); }); equal(bob.get('name'), "Bob", 'record materialized'); equal(bob.get('messages.length'), 1, 'correct number of messages'); equal(bob.get('messages').objectAt(0).constructor, App.Post, 'correct message subclass'); equal(bob.get('messages').objectAt(0).get('id'), "3", 'correct record'); }); test("polymorphic belongs to", function () { var alice_post, bob_post, alice, bob; Ember.run(function () { alice_post = store.find(App.Post, 1); bob_post = store.find(App.Post, 3); }); Ember.run(function () { alice = alice_post.get('owner'); bob = bob_post.get('owner'); }); equal(alice.get('name'), "Alice", 'correct owner'); equal(alice.constructor, App.User, 'correct person subclass'); equal(bob.get('name'), "Bob", 'correct owner'); equal(bob.constructor, App.Admin, 'correct person subclass'); });
kagemusha/data
packages/ember-data/tests/integration/fixture_adapter_test.js
JavaScript
mit
5,755
package com.segment.analytics; import android.app.Activity; import android.os.Bundle; import com.segment.analytics.internal.AbstractIntegration; import com.segment.analytics.internal.model.payloads.AliasPayload; import com.segment.analytics.internal.model.payloads.GroupPayload; import com.segment.analytics.internal.model.payloads.IdentifyPayload; import com.segment.analytics.internal.model.payloads.ScreenPayload; import com.segment.analytics.internal.model.payloads.TrackPayload; import static com.segment.analytics.Options.ALL_INTEGRATIONS_KEY; import static com.segment.analytics.internal.Utils.isNullOrEmpty; /** Abstraction for a task that a {@link AbstractIntegration} can execute. */ abstract class IntegrationOperation { static boolean isIntegrationEnabled(ValueMap integrations, AbstractIntegration integration) { if (isNullOrEmpty(integrations)) { return true; } if (SegmentDispatcher.SEGMENT_KEY.equals(integration.key())) { // Always send to Segment return true; } boolean enabled = true; String key = integration.key(); if (integrations.containsKey(key)) { enabled = integrations.getBoolean(key, true); } else if (integrations.containsKey(ALL_INTEGRATIONS_KEY)) { enabled = integrations.getBoolean(ALL_INTEGRATIONS_KEY, true); } return enabled; } static boolean isIntegrationEnabledInPlan(ValueMap plan, AbstractIntegration integration) { boolean eventEnabled = plan.getBoolean("enabled", true); if (eventEnabled) { // Check if there is an integration specific setting. ValueMap integrationPlan = plan.getValueMap("integrations"); eventEnabled = isIntegrationEnabled(integrationPlan, integration); } return eventEnabled; } static IntegrationOperation onActivityCreated(final Activity activity, final Bundle bundle) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.onActivityCreated(activity, bundle); } @Override public String toString() { return "Activity Created"; } }; } static IntegrationOperation onActivityStarted(final Activity activity) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.onActivityStarted(activity); } @Override public String toString() { return "Activity Started"; } }; } static IntegrationOperation onActivityResumed(final Activity activity) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.onActivityResumed(activity); } @Override public String toString() { return "Activity Resumed"; } }; } static IntegrationOperation onActivityPaused(final Activity activity) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.onActivityPaused(activity); } @Override public String toString() { return "Activity Paused"; } }; } static IntegrationOperation onActivityStopped(final Activity activity) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.onActivityStopped(activity); } @Override public String toString() { return "Activity Stopped"; } }; } static IntegrationOperation onActivitySaveInstanceState(final Activity activity, final Bundle bundle) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.onActivitySaveInstanceState(activity, bundle); } @Override public String toString() { return "Activity Save Instance"; } }; } static IntegrationOperation onActivityDestroyed(final Activity activity) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.onActivityDestroyed(activity); } @Override public String toString() { return "Activity Destroyed"; } }; } static IntegrationOperation identify(final IdentifyPayload identifyPayload) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.identify(identifyPayload); } @Override public String toString() { return identifyPayload.toString(); } }; } static IntegrationOperation group(final GroupPayload groupPayload) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.group(groupPayload); } @Override public String toString() { return groupPayload.toString(); } }; } static IntegrationOperation track(final TrackPayload trackPayload) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { ValueMap trackingPlan = projectSettings.trackingPlan(); boolean trackEnabled = true; // If tracking plan is empty, leave the event enabled. if (!isNullOrEmpty(trackingPlan)) { String event = trackPayload.event(); // If tracking plan has no settings for the event, leave the event enabled. if (trackingPlan.containsKey(event)) { ValueMap eventPlan = trackingPlan.getValueMap(event); trackEnabled = isIntegrationEnabledInPlan(eventPlan, integration); } } if (trackEnabled) { integration.track(trackPayload); } } @Override public String toString() { return trackPayload.toString(); } }; } static IntegrationOperation screen(final ScreenPayload screenPayload) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.screen(screenPayload); } @Override public String toString() { return screenPayload.toString(); } }; } static IntegrationOperation alias(final AliasPayload aliasPayload) { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.alias(aliasPayload); } @Override public String toString() { return aliasPayload.toString(); } }; } static IntegrationOperation flush() { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.flush(); } @Override public String toString() { return "Flush"; } }; } static IntegrationOperation reset() { return new IntegrationOperation() { @Override public void run(AbstractIntegration integration, ProjectSettings projectSettings) { integration.reset(); } @Override public String toString() { return "Reset"; } }; } private IntegrationOperation() { } /** Run this operation on the given integration. */ abstract void run(AbstractIntegration integration, ProjectSettings projectSettings); }
graingert/analytics-android
analytics-core/src/main/java/com/segment/analytics/IntegrationOperation.java
Java
mit
7,682
# frozen_string_literal: true module RuboCop module Cop module Performance # This cop is used to identify instances of sorting and then # taking only the first or last element. The same behavior can # be accomplished without a relatively expensive sort by using # `Enumerable#min` instead of sorting and taking the first # element and `Enumerable#max` instead of sorting and taking the # last element. Similarly, `Enumerable#min_by` and # `Enumerable#max_by` can replace `Enumerable#sort_by` calls # after which only the first or last element is used. # # @example # # bad # [2, 1, 3].sort.first # [2, 1, 3].sort[0] # [2, 1, 3].sort.at(0) # [2, 1, 3].sort.slice(0) # # # good # [2, 1, 3].min # # # bad # [2, 1, 3].sort.last # [2, 1, 3].sort[-1] # [2, 1, 3].sort.at(-1) # [2, 1, 3].sort.slice(-1) # # # good # [2, 1, 3].max # # # bad # arr.sort_by(&:foo).first # arr.sort_by(&:foo)[0] # arr.sort_by(&:foo).at(0) # arr.sort_by(&:foo).slice(0) # # # good # arr.min_by(&:foo) # # # bad # arr.sort_by(&:foo).last # arr.sort_by(&:foo)[-1] # arr.sort_by(&:foo).at(-1) # arr.sort_by(&:foo).slice(-1) # # # good # arr.max_by(&:foo) # class UnneededSort < Cop include RangeHelp MSG = 'Use `%<suggestion>s` instead of '\ '`%<sorter>s...%<accessor_source>s`.'.freeze def_node_matcher :unneeded_sort?, <<-MATCHER { (send $(send _ $:sort ...) ${:last :first}) (send $(send _ $:sort ...) ${:[] :at :slice} {(int 0) (int -1)}) (send $(send _ $:sort_by _) ${:last :first}) (send $(send _ $:sort_by _) ${:[] :at :slice} {(int 0) (int -1)}) (send (block $(send _ ${:sort_by :sort}) ...) ${:last :first}) (send (block $(send _ ${:sort_by :sort}) ...) ${:[] :at :slice} {(int 0) (int -1)} ) } MATCHER def on_send(node) unneeded_sort?(node) do |sort_node, sorter, accessor| range = range_between( sort_node.loc.selector.begin_pos, node.loc.expression.end_pos ) add_offense(node, location: range, message: message(node, sorter, accessor)) end end def autocorrect(node) sort_node, sorter, accessor = unneeded_sort?(node) lambda do |corrector| # Remove accessor, e.g. `first` or `[-1]`. corrector.remove( range_between( accessor_start(node), node.loc.expression.end_pos ) ) # Replace "sort" or "sort_by" with the appropriate min/max method. corrector.replace( sort_node.loc.selector, suggestion(sorter, accessor, arg_value(node)) ) end end private def message(node, sorter, accessor) accessor_source = range_between( node.loc.selector.begin_pos, node.loc.expression.end_pos ).source format(MSG, suggestion: suggestion(sorter, accessor, arg_value(node)), sorter: sorter, accessor_source: accessor_source) end def suggestion(sorter, accessor, arg) base(accessor, arg) + suffix(sorter) end def base(accessor, arg) if accessor == :first || (arg && arg.zero?) 'min' elsif accessor == :last || arg == -1 'max' end end def suffix(sorter) if sorter == :sort '' elsif sorter == :sort_by '_by' end end def arg_node(node) node.arguments.first end def arg_value(node) arg_node(node).nil? ? nil : arg_node(node).node_parts.first end # This gets the start of the accessor whether it has a dot # (e.g. `.first`) or doesn't (e.g. `[0]`) def accessor_start(node) if node.loc.dot node.loc.dot.begin_pos else node.loc.selector.begin_pos end end end end end end
scottmatthewman/rubocop
lib/rubocop/cop/performance/unneeded_sort.rb
Ruby
mit
4,719
const mousewheelevt = (/Firefox/i.test(navigator.userAgent)) ? "DOMMouseScroll" : "mousewheel" //FF doesn't recognize mousewheel as of FF3.x class Camera { constructor(gl, fov, near, far) { this.projectionMatrix = new Float32Array(16); var ratio = gl.canvas.width / gl.canvas.height; Matrix4.perspective(this.projectionMatrix, fov || 45, ratio, near || 0.1, far || 100.0); this.transform = new Transform(); // Setup transform to control the position of the camera this.viewMatrix = new Float32Array(16); // Cache the matrix that will hold the inverse of the transform. this.mode = Camera.MODE_ORBIT; } panX(v) { if (this.mode == Camera.MODE_ORBIT) { // Panning on the X Axis is only allowed when in free mode return; } this.updateViewMatrix(); this.transform.position.x += this.transform.right[0] * v; this.transform.position.y += this.transform.right[1] * v; this.transform.position.z += this.transform.right[2] * v; } panY(v) { this.updateViewMatrix(); this.transform.position.y += this.transform.up[1] * v; if (this.mode == Camera.MODE_ORBIT) { // Can only move up and down the y axis in orbit mode return; } this.transform.position.x += this.transform.up[0] * v; this.transform.position.z += this.transform.up[2] * v; } panZ(v) { this.updateViewMatrix(); if (this.mode === Camera.MODE_ORBIT) { // Orbit mode does translate after rotate, so only need to set Z, the rotate will handle the rest this.transform.position.z += v; } else { // In freemode to move forward, we need to move based on our forward which is relative to our current rotation this.transform.position.x += this.transform.forward[0] * v; this.transform.position.y += this.transform.forward[1] * v; this.transform.position.z += this.transform.forward[2] * v; } } // To have different modes of movements, this function handles the view matrix update for the transform object updateViewMatrix() { // Optimize camera transform update, no need for scale nor rotateZ if (this.mode == Camera.MODE_FREE) { this.transform.matView.reset() .vtranslate(this.transform.position) .rotateX(this.transform.rotation.x * Transform.deg2Rad) .rotateY(this.transform.rotation.y * Transform.deg2Rad); } else { this.transform.matView.reset() .rotateX(this.transform.rotation.x * Transform.deg2Rad) .rotateY(this.transform.rotation.y * Transform.deg2Rad) .vtranslate(this.transform.position); } this.transform.updateDirection(); // Camera work by doing the inverse transformation on all meshes, the camera itself is a lie <3 Matrix4.invert(this.viewMatrix, this.transform.matView.raw); return this.viewMatrix; } getTranslatelessMatrix(){ let matrix = new Float32Array(this.viewMatrix); matrix[12] = matrix[13] = matrix[14] =0.0; // Reset translation position in the Matrix to zero. return matrix; } } Camera.MODE_FREE = 0; // Allow free movement of position and rotation, first person mode camera Camera.MODE_ORBIT = 1; // Movement is locked to rotate around the origin, Great for 3d editors or a single model viewer class CameraController { constructor(gl, camera) { let oThis = this; let box = gl.canvas.getBoundingClientRect(); this.canvas = gl.canvas; // Need access tot he html canvas element, main to access events this.camera = camera; // Reference to the camera to control this.rotateRate = -300; // How fast to rotate, degres per dragging delta this.panRate = 5; // How fast to pan, max unit per dragging delta this.zoomRate = 200; // How fast to zoom or forward/backward movement speed this.offsetX = box.left; // Helps calculate clobal x,y mouse cords. this.offsetY = box.top; this.initX = 0; // Starting x,y position on mouse down this.initY = 0; this.prevX = 0; // Previous x,y position on mouse move this.prevY = 0; this.onUpHandler = function (e) { oThis.onMouseUp(e); }; // Cache functions refference that gets bound and unbound a lot this.onMoveHandler = function (e) { oThis.onMouseMove(e); }; this.canvas.addEventListener('mousedown', function (e) { oThis.onMouseDown(e); }); // Initializes the up and move events this.canvas.addEventListener(mousewheelevt, function (e) { oThis.onMouseWheel(e); }); // handles zoom/forward movement } // Transform mouse x,y, cords to somthing useable by canvas getMouseVec2(e) { return { x: e.pageX - this.offsetX, y: e.pageY - this.offsetY }; } // Begin listening for dragging movement onMouseDown(e) { this.initX = this.prevX = e.pageX - this.offsetX; this.initY = this.prevY = e.pageY - this.offsetY; this.canvas.addEventListener('mouseup', this.onUpHandler); this.canvas.addEventListener('mousemove', this.onMoveHandler); } // End Listening for dragging movement onMouseUp(e) { this.canvas.removeEventListener('mouseup', this.onUpHandler); this.canvas.removeEventListener('mousemove', this.onMoveHandler); } onMouseWheel(e) { let delta = Math.max(-1, Math.min(1, (e.wheelDelta || -e.detail))); // Try to map wheel movement to a number between -1 and 1 this.camera.panZ(delta * (this.zoomRate / this.canvas.height)); // Keep the movement speed the same, no matter the height diff } onMouseMove(e) { let x = e.pageX - this.offsetX; // Get x,y where the canvas' position is origin. let y = e.pageY - this.offsetY; let dx = x - this.prevX; // Difference since last mouse move let dy = y - this.prevY; // When shift is being helt down, we pan around else we rotate if (!e.shiftKey) { this.camera.transform.rotation.y += dx * (this.rotateRate / this.canvas.width); this.camera.transform.rotation.x += dy * (this.rotateRate / this.canvas.height); } else { this.camera.panX(-dx * (this.panRate / this.canvas.width)); this.camera.panY(dy * (this.panRate / this.canvas.height)); } this.prevX = x; this.prevY = y; } }
pavelhristov/ComputerGraphics
webgl2/lesson-013/scripts/camera.js
JavaScript
mit
6,620
using System; using System.Collections.Generic; using System.Diagnostics; using System.IO; using System.Linq; using System.Globalization; using Umbraco.Core.Configuration; using Umbraco.Core.Configuration.UmbracoSettings; namespace Umbraco.Core.Strings { /// <summary> /// New default implementation of string functions for short strings such as aliases or url segments. /// </summary> /// <remarks> /// <para>Not optimized to work on large bodies of text.</para> /// <para>Meant to replace <c>LegacyShortStringHelper</c> where/when backward compatibility is not an issue.</para> /// <para>NOTE: pre-filters run _before_ the string is re-encoded.</para> /// </remarks> public class DefaultShortStringHelper : IShortStringHelper { private readonly IUmbracoSettingsSection _umbracoSettings; #region Ctor and vars [Obsolete("Use the other ctor that specifies all dependencies")] public DefaultShortStringHelper() { InitializeLegacyUrlReplaceCharacters(); } public DefaultShortStringHelper(IUmbracoSettingsSection umbracoSettings) { _umbracoSettings = umbracoSettings; InitializeLegacyUrlReplaceCharacters(); } /// <summary> /// Freezes the helper so it can prevents its configuration from being modified. /// </summary> /// <remarks>Will be called by <c>ShortStringHelperResolver</c> when resolution freezes.</remarks> public void Freeze() { _frozen = true; } // see notes for CleanAsciiString //// beware! the order is quite important here! //const string ValidStringCharactersSource = "abcdefghijklmnopqrstuvwxyz0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ"; //readonly static char[] ValidStringCharacters; private CultureInfo _defaultCulture = CultureInfo.InvariantCulture; private bool _frozen; private readonly Dictionary<CultureInfo, Dictionary<CleanStringType, Config>> _configs = new Dictionary<CultureInfo, Dictionary<CleanStringType, Config>>(); // see notes for CleanAsciiString //static DefaultShortStringHelper() //{ // ValidStringCharacters = ValidStringCharactersSource.ToCharArray(); //} #endregion #region Filters private readonly Dictionary<string, string> _urlReplaceCharacters = new Dictionary<string, string>(); private void InitializeLegacyUrlReplaceCharacters() { foreach (var node in _umbracoSettings.RequestHandler.CharCollection) { if (string.IsNullOrEmpty(node.Char) == false) _urlReplaceCharacters[node.Char] = node.Replacement; } } /// <summary> /// Returns a new string in which characters have been replaced according to the Umbraco settings UrlReplaceCharacters. /// </summary> /// <param name="s">The string to filter.</param> /// <returns>The filtered string.</returns> public string ApplyUrlReplaceCharacters(string s) { return s.ReplaceMany(_urlReplaceCharacters); } // ok to be static here because it's not configureable in any way private static readonly char[] InvalidFileNameChars = Path.GetInvalidFileNameChars() .Union("!*'();:@&=+$,/?%#[]-~{}\"<>\\^`| ".ToCharArray()) .Distinct() .ToArray(); public static bool IsValidFileNameChar(char c) { return InvalidFileNameChars.Contains(c) == false; } public static string CutMaxLength(string text, int length) { return text.Length <= length ? text : text.Substring(0, length); } #endregion #region Configuration private void EnsureNotFrozen() { if (_frozen) throw new InvalidOperationException("Cannot configure the helper once it is frozen."); } /// <summary> /// Sets a default culture. /// </summary> /// <param name="culture">The default culture.</param> /// <returns>The short string helper.</returns> public DefaultShortStringHelper WithDefaultCulture(CultureInfo culture) { EnsureNotFrozen(); _defaultCulture = culture; return this; } public DefaultShortStringHelper WithConfig(Config config) { return WithConfig(_defaultCulture, CleanStringType.RoleMask, config); } public DefaultShortStringHelper WithConfig(CleanStringType stringRole, Config config) { return WithConfig(_defaultCulture, stringRole, config); } public DefaultShortStringHelper WithConfig(CultureInfo culture, CleanStringType stringRole, Config config) { if (config == null) throw new ArgumentNullException("config"); EnsureNotFrozen(); if (_configs.ContainsKey(culture) == false) _configs[culture] = new Dictionary<CleanStringType, Config>(); _configs[culture][stringRole] = config.Clone(); // clone so it can't be changed return this; } /// <summary> /// Sets the default configuration. /// </summary> /// <returns>The short string helper.</returns> public DefaultShortStringHelper WithDefaultConfig() { var urlSegmentConvertTo = CleanStringType.Utf8; if (_umbracoSettings.RequestHandler.ConvertUrlsToAscii) urlSegmentConvertTo = CleanStringType.Ascii; if (_umbracoSettings.RequestHandler.TryConvertUrlsToAscii) urlSegmentConvertTo = CleanStringType.TryAscii; return WithConfig(CleanStringType.UrlSegment, new Config { PreFilter = ApplyUrlReplaceCharacters, PostFilter = x => CutMaxLength(x, 240), IsTerm = (c, leading) => char.IsLetterOrDigit(c) || c == '_', // letter, digit or underscore StringType = urlSegmentConvertTo | CleanStringType.LowerCase, BreakTermsOnUpper = false, Separator = '-' }).WithConfig(CleanStringType.FileName, new Config { PreFilter = ApplyUrlReplaceCharacters, IsTerm = (c, leading) => char.IsLetterOrDigit(c) || c == '_', // letter, digit or underscore StringType = CleanStringType.Utf8 | CleanStringType.LowerCase, BreakTermsOnUpper = false, Separator = '-' }).WithConfig(CleanStringType.Alias, new Config { PreFilter = ApplyUrlReplaceCharacters, IsTerm = (c, leading) => leading ? char.IsLetter(c) // only letters : (char.IsLetterOrDigit(c) || c == '_'), // letter, digit or underscore StringType = CleanStringType.Ascii | CleanStringType.UmbracoCase, BreakTermsOnUpper = false }).WithConfig(CleanStringType.UnderscoreAlias, new Config { PreFilter = ApplyUrlReplaceCharacters, IsTerm = (c, leading) => char.IsLetterOrDigit(c) || c == '_', // letter, digit or underscore StringType = CleanStringType.Ascii | CleanStringType.UmbracoCase, BreakTermsOnUpper = false }).WithConfig(CleanStringType.ConvertCase, new Config { PreFilter = null, IsTerm = (c, leading) => char.IsLetterOrDigit(c) || c == '_', // letter, digit or underscore StringType = CleanStringType.Ascii, BreakTermsOnUpper = true }); } public sealed class Config { public Config() { StringType = CleanStringType.Utf8 | CleanStringType.Unchanged; PreFilter = null; PostFilter = null; IsTerm = (c, leading) => leading ? char.IsLetter(c) : char.IsLetterOrDigit(c); BreakTermsOnUpper = false; CutAcronymOnNonUpper = false; GreedyAcronyms = false; Separator = Char.MinValue; } public Config Clone() { return new Config { PreFilter = PreFilter, PostFilter = PostFilter, IsTerm = IsTerm, StringType = StringType, BreakTermsOnUpper = BreakTermsOnUpper, CutAcronymOnNonUpper = CutAcronymOnNonUpper, GreedyAcronyms = GreedyAcronyms, Separator = Separator }; } public Func<string, string> PreFilter { get; set; } public Func<string, string> PostFilter { get; set; } public Func<char, bool, bool> IsTerm { get; set; } public CleanStringType StringType { get; set; } // indicate whether an uppercase within a term eg "fooBar" is to break // into a new term, or to be considered as part of the current term public bool BreakTermsOnUpper { get; set; } // indicate whether a non-uppercase within an acronym eg "FOOBar" is to cut // the acronym (at "B" or "a" depending on GreedyAcronyms) or to give // up the acronym and treat the term as a word public bool CutAcronymOnNonUpper { get; set; } // indicates whether acronyms parsing is greedy ie whether "FOObar" is // "FOO" + "bar" (greedy) or "FO" + "Obar" (non-greedy) public bool GreedyAcronyms { get; set; } // the separator char // but then how can we tell we dont want any? public char Separator { get; set; } // extends the config public CleanStringType StringTypeExtend(CleanStringType stringType) { var st = StringType; foreach (var mask in new[] { CleanStringType.CaseMask, CleanStringType.CodeMask }) { var a = stringType & mask; if (a == 0) continue; st = st & ~mask; // clear what we have st = st | a; // set the new value } return st; } internal static readonly Config NotConfigured = new Config(); } private Config GetConfig(CleanStringType stringType, CultureInfo culture) { stringType = stringType & CleanStringType.RoleMask; Dictionary<CleanStringType, Config> config; if (_configs.ContainsKey(culture)) { config = _configs[culture]; if (config.ContainsKey(stringType)) // have we got a config for _that_ role? return config[stringType]; if (config.ContainsKey(CleanStringType.RoleMask)) // have we got a generic config for _all_ roles? return config[CleanStringType.RoleMask]; } else if (_configs.ContainsKey(_defaultCulture)) { config = _configs[_defaultCulture]; if (config.ContainsKey(stringType)) // have we got a config for _that_ role? return config[stringType]; if (config.ContainsKey(CleanStringType.RoleMask)) // have we got a generic config for _all_ roles? return config[CleanStringType.RoleMask]; } return Config.NotConfigured; } #endregion #region JavaScript private const string SssjsFormat = @" var UMBRACO_FORCE_SAFE_ALIAS = {0}; var UMBRACO_FORCE_SAFE_ALIAS_URL = '{1}'; var UMBRACO_FORCE_SAFE_ALIAS_TIMEOUT = 666; var UMBRACO_FORCE_SAFE_ALIAS_TMKEY = 'safe-alias-tmout'; function getSafeAliasFromServer(value, callback) {{ $.getJSON(UMBRACO_FORCE_SAFE_ALIAS_URL + 'ToSafeAlias?value=' + encodeURIComponent(value), function(json) {{ if (json.alias) {{ callback(json.alias); }} }}); }} function getSafeAlias(input, value, immediate, callback) {{ if (!UMBRACO_FORCE_SAFE_ALIAS) {{ callback(value); return; }} var timeout = input.data(UMBRACO_FORCE_SAFE_ALIAS_TMKEY); if (timeout) clearTimeout(timeout); input.data(UMBRACO_FORCE_SAFE_ALIAS_TMKEY, setTimeout(function() {{ input.removeData(UMBRACO_FORCE_SAFE_ALIAS_TMKEY); getSafeAliasFromServer(value, function(alias) {{ callback(alias); }}); }}, UMBRACO_FORCE_SAFE_ALIAS_TIMEOUT)); }} function validateSafeAlias(input, value, immediate, callback) {{ if (!UMBRACO_FORCE_SAFE_ALIAS) {{ callback(true); return; }} var timeout = input.data(UMBRACO_FORCE_SAFE_ALIAS_TMKEY); if (timeout) clearTimeout(timeout); input.data(UMBRACO_FORCE_SAFE_ALIAS_TMKEY, setTimeout(function() {{ input.removeData(UMBRACO_FORCE_SAFE_ALIAS_TMKEY); getSafeAliasFromServer(value, function(alias) {{ callback(value.toLowerCase() == alias.toLowerCase()); }}); }}, UMBRACO_FORCE_SAFE_ALIAS_TIMEOUT)); }} "; /// <summary> /// Gets the JavaScript code defining client-side short string services. /// </summary> public string GetShortStringServicesJavaScript(string controllerPath) { return string.Format(SssjsFormat, _umbracoSettings.Content.ForceSafeAliases ? "true" : "false", controllerPath); } #endregion #region IShortStringHelper CleanFor... /// <summary> /// Cleans a string to produce a string that can safely be used in an alias. /// </summary> /// <param name="text">The text to filter.</param> /// <returns>The safe alias.</returns> /// <remarks> /// <para>The string will be cleaned in the context of the default culture.</para> /// <para>Safe aliases are Ascii only.</para> /// </remarks> public virtual string CleanStringForSafeAlias(string text) { return CleanStringForSafeAlias(text, _defaultCulture); } /// <summary> /// Cleans a string, in the context of a specified culture, to produce a string that can safely be used in an alias. /// </summary> /// <param name="text">The text to filter.</param> /// <param name="culture">The culture.</param> /// <returns>The safe alias.</returns> /// <remarks> /// <para>Safe aliases are Ascii only.</para> /// </remarks> public virtual string CleanStringForSafeAlias(string text, CultureInfo culture) { return CleanString(text, CleanStringType.Alias, culture); } /// <summary> /// Cleans a string to produce a string that can safely be used in an url segment. /// </summary> /// <param name="text">The text to filter.</param> /// <returns>The safe url segment.</returns> /// <remarks> /// <para>The string will be cleaned in the context of the default culture.</para> /// <para>Url segments are Ascii only (no accents...).</para> /// </remarks> public virtual string CleanStringForUrlSegment(string text) { return CleanStringForUrlSegment(text, _defaultCulture); } /// <summary> /// Cleans a string, in the context of a specified culture, to produce a string that can safely be used in an url segment. /// </summary> /// <param name="text">The text to filter.</param> /// <param name="culture">The culture.</param> /// <returns>The safe url segment.</returns> /// <remarks> /// <para>Url segments are Ascii only (no accents...).</para> /// </remarks> public virtual string CleanStringForUrlSegment(string text, CultureInfo culture) { return CleanString(text, CleanStringType.UrlSegment, culture); } /// <summary> /// Cleans a string, in the context of the default culture, to produce a string that can safely be used as a filename, /// both internally (on disk) and externally (as a url). /// </summary> /// <param name="text">The text to filter.</param> /// <returns>The safe filename.</returns> /// <remarks>Legacy says this was used to "overcome an issue when Umbraco is used in IE in an intranet environment" but that issue is not documented.</remarks> public virtual string CleanStringForSafeFileName(string text) { return CleanStringForSafeFileName(text, _defaultCulture); } /// <summary> /// Cleans a string to produce a string that can safely be used as a filename, /// both internally (on disk) and externally (as a url). /// </summary> /// <param name="text">The text to filter.</param> /// <param name="culture">The culture.</param> /// <returns>The safe filename.</returns> public virtual string CleanStringForSafeFileName(string text, CultureInfo culture) { if (string.IsNullOrWhiteSpace(text)) return string.Empty; text = text.ReplaceMany(Path.GetInvalidFileNameChars(), '-'); var name = Path.GetFileNameWithoutExtension(text); var ext = Path.GetExtension(text); // includes the dot, empty if no extension Debug.Assert(name != null, "name != null"); if (name.Length > 0) name = CleanString(name, CleanStringType.FileName, culture); Debug.Assert(ext != null, "ext != null"); if (ext.Length > 0) ext = CleanString(ext.Substring(1), CleanStringType.FileName, culture); return ext.Length > 0 ? (name + "." + ext) : name; } #endregion #region CleanString // MS rules & guidelines: // - Do capitalize both characters of two-character acronyms, except the first word of a camel-cased identifier. // eg "DBRate" (pascal) or "ioHelper" (camel) - "SpecialDBRate" (pascal) or "specialIOHelper" (camel) // - Do capitalize only the first character of acronyms with three or more characters, except the first word of a camel-cased identifier. // eg "XmlWriter (pascal) or "htmlReader" (camel) - "SpecialXmlWriter" (pascal) or "specialHtmlReader" (camel) // - Do not capitalize any of the characters of any acronyms, whatever their length, at the beginning of a camel-cased identifier. // eg "xmlWriter" or "dbWriter" (camel) // // Our additional stuff: // - Leading digits are removed. // - Many consecutive separators are folded into one unique separator. const byte StateBreak = 1; const byte StateUp = 2; const byte StateWord = 3; const byte StateAcronym = 4; /// <summary> /// Cleans a string. /// </summary> /// <param name="text">The text to clean.</param> /// <param name="stringType">A flag indicating the target casing and encoding of the string. By default, /// strings are cleaned up to camelCase and Ascii.</param> /// <returns>The clean string.</returns> /// <remarks>The string is cleaned in the context of the default culture.</remarks> public string CleanString(string text, CleanStringType stringType) { return CleanString(text, stringType, _defaultCulture, null); } /// <summary> /// Cleans a string, using a specified separator. /// </summary> /// <param name="text">The text to clean.</param> /// <param name="stringType">A flag indicating the target casing and encoding of the string. By default, /// strings are cleaned up to camelCase and Ascii.</param> /// <param name="separator">The separator.</param> /// <returns>The clean string.</returns> /// <remarks>The string is cleaned in the context of the default culture.</remarks> public string CleanString(string text, CleanStringType stringType, char separator) { return CleanString(text, stringType, _defaultCulture, separator); } /// <summary> /// Cleans a string in the context of a specified culture. /// </summary> /// <param name="text">The text to clean.</param> /// <param name="stringType">A flag indicating the target casing and encoding of the string. By default, /// strings are cleaned up to camelCase and Ascii.</param> /// <param name="culture">The culture.</param> /// <returns>The clean string.</returns> public string CleanString(string text, CleanStringType stringType, CultureInfo culture) { return CleanString(text, stringType, culture, null); } /// <summary> /// Cleans a string in the context of a specified culture, using a specified separator. /// </summary> /// <param name="text">The text to clean.</param> /// <param name="stringType">A flag indicating the target casing and encoding of the string. By default, /// strings are cleaned up to camelCase and Ascii.</param> /// <param name="separator">The separator.</param> /// <param name="culture">The culture.</param> /// <returns>The clean string.</returns> public string CleanString(string text, CleanStringType stringType, char separator, CultureInfo culture) { return CleanString(text, stringType, culture, separator); } protected virtual string CleanString(string text, CleanStringType stringType, CultureInfo culture, char? separator) { // be safe if (text == null) throw new ArgumentNullException("text"); if (culture == null) throw new ArgumentNullException("culture"); // get config var config = GetConfig(stringType, culture); stringType = config.StringTypeExtend(stringType); // apply defaults if ((stringType & CleanStringType.CaseMask) == CleanStringType.None) stringType |= CleanStringType.CamelCase; if ((stringType & CleanStringType.CodeMask) == CleanStringType.None) stringType |= CleanStringType.Ascii; // use configured unless specified separator = separator ?? config.Separator; // apply pre-filter if (config.PreFilter != null) text = config.PreFilter(text); // apply replacements //if (config.Replacements != null) // text = ReplaceMany(text, config.Replacements); // recode var codeType = stringType & CleanStringType.CodeMask; switch (codeType) { case CleanStringType.Ascii: text = Utf8ToAsciiConverter.ToAsciiString(text); break; case CleanStringType.TryAscii: const char ESC = (char)27; var ctext = Utf8ToAsciiConverter.ToAsciiString(text, ESC); if (ctext.Contains(ESC) == false) text = ctext; break; default: text = RemoveSurrogatePairs(text); break; } // clean text = CleanCodeString(text, stringType, separator.Value, culture, config); // apply post-filter if (config.PostFilter != null) text = config.PostFilter(text); return text; } private static string RemoveSurrogatePairs(string text) { var input = text.ToCharArray(); var output = new char[input.Length]; var opos = 0; for (var ipos = 0; ipos < input.Length; ipos++) { var c = input[ipos]; if (char.IsSurrogate(c)) // ignore high surrogate { ipos++; // and skip low surrogate output[opos++] = '?'; } else { output[opos++] = c; } } return new string(output, 0, opos); } // here was a subtle, ascii-optimized version of the cleaning code, and I was // very proud of it until benchmarking showed it was an order of magnitude slower // that the utf8 version. Micro-optimizing sometimes isn't such a good idea. // note: does NOT support surrogate pairs in text internal string CleanCodeString(string text, CleanStringType caseType, char separator, CultureInfo culture, Config config) { int opos = 0, ipos = 0; var state = StateBreak; caseType &= CleanStringType.CaseMask; // if we apply global ToUpper or ToLower to text here // then we cannot break words on uppercase chars var input = text; // it's faster to use an array than a StringBuilder var ilen = input.Length; var output = new char[ilen * 2]; // twice the length should be OK in all cases for (var i = 0; i < ilen; i++) { var c = input[i]; // leading as long as StateBreak and ipos still zero var leading = state == StateBreak && ipos == 0; var isTerm = config.IsTerm(c, leading); //var isDigit = char.IsDigit(c); var isUpper = char.IsUpper(c); // false for digits, symbols... //var isLower = char.IsLower(c); // false for digits, symbols... // what should I do with surrogates? // no idea, really, so they are not supported at the moment var isPair = char.IsSurrogate(c); if (isPair) throw new NotSupportedException("Surrogate pairs are not supported."); switch (state) { // within a break case StateBreak: // begin a new term if char is a term char, // and ( pos > 0 or it's also a valid leading char ) if (isTerm) { ipos = i; if (opos > 0 && separator != char.MinValue) output[opos++] = separator; state = isUpper ? StateUp : StateWord; } break; // within a term / word case StateWord: // end a term if char is not a term char, // or ( it's uppercase and we break terms on uppercase) if (isTerm == false || (config.BreakTermsOnUpper && isUpper)) { CopyTerm(input, ipos, output, ref opos, i - ipos, caseType, culture, false); ipos = i; state = isTerm ? StateUp : StateBreak; if (state != StateBreak && separator != char.MinValue) output[opos++] = separator; } break; // within a term / acronym case StateAcronym: // end an acronym if char is not a term char, // or if it's not uppercase / config if (isTerm == false || (config.CutAcronymOnNonUpper && isUpper == false)) { // whether it's part of the acronym depends on whether we're greedy if (isTerm && config.GreedyAcronyms == false) i -= 1; // handle that char again, in another state - not part of the acronym if (i - ipos > 1) // single-char can't be an acronym { CopyTerm(input, ipos, output, ref opos, i - ipos, caseType, culture, true); ipos = i; state = isTerm ? StateWord : StateBreak; if (state != StateBreak && separator != char.MinValue) output[opos++] = separator; } else if (isTerm) { state = StateWord; } } else if (isUpper == false) // isTerm == true { // it's a term char and we don't cut... // keep moving forward as a word state = StateWord; } break; // within a term / uppercase = could be a word or an acronym case StateUp: if (isTerm) { // add that char to the term and pick word or acronym state = isUpper ? StateAcronym : StateWord; } else { // single char, copy then break CopyTerm(input, ipos, output, ref opos, 1, caseType, culture, false); state = StateBreak; } break; default: throw new Exception("Invalid state."); } } switch (state) { case StateBreak: break; case StateWord: CopyTerm(input, ipos, output, ref opos, input.Length - ipos, caseType, culture, false); break; case StateAcronym: case StateUp: CopyTerm(input, ipos, output, ref opos, input.Length - ipos, caseType, culture, true); break; default: throw new Exception("Invalid state."); } return new string(output, 0, opos); } // note: supports surrogate pairs in input string internal void CopyTerm(string input, int ipos, char[] output, ref int opos, int len, CleanStringType caseType, CultureInfo culture, bool isAcronym) { var term = input.Substring(ipos, len); if (isAcronym) { if ((caseType == CleanStringType.CamelCase && len <= 2 && opos > 0) || (caseType == CleanStringType.PascalCase && len <= 2) || (caseType == CleanStringType.UmbracoCase)) caseType = CleanStringType.Unchanged; } // note: MSDN seems to imply that ToUpper or ToLower preserve the length // of the string, but that this behavior is not guaranteed and could change. char c; int i; string s; switch (caseType) { //case CleanStringType.LowerCase: //case CleanStringType.UpperCase: case CleanStringType.Unchanged: term.CopyTo(0, output, opos, len); opos += len; break; case CleanStringType.LowerCase: term = term.ToLower(culture); term.CopyTo(0, output, opos, term.Length); opos += term.Length; break; case CleanStringType.UpperCase: term = term.ToUpper(culture); term.CopyTo(0, output, opos, term.Length); opos += term.Length; break; case CleanStringType.CamelCase: c = term[0]; i = 1; if (char.IsSurrogate(c)) { s = term.Substring(ipos, 2); s = opos == 0 ? s.ToLower(culture) : s.ToUpper(culture); s.CopyTo(0, output, opos, s.Length); opos += s.Length; i++; // surrogate pair len is 2 } else { output[opos] = opos++ == 0 ? char.ToLower(c, culture) : char.ToUpper(c, culture); } if (len > i) { term = term.Substring(i).ToLower(culture); term.CopyTo(0, output, opos, term.Length); opos += term.Length; } break; case CleanStringType.PascalCase: c = term[0]; i = 1; if (char.IsSurrogate(c)) { s = term.Substring(ipos, 2); s = s.ToUpper(culture); s.CopyTo(0, output, opos, s.Length); opos += s.Length; i++; // surrogate pair len is 2 } else { output[opos++] = char.ToUpper(c, culture); } if (len > i) { term = term.Substring(i).ToLower(culture); term.CopyTo(0, output, opos, term.Length); opos += term.Length; } break; case CleanStringType.UmbracoCase: c = term[0]; i = 1; if (char.IsSurrogate(c)) { s = term.Substring(ipos, 2); s = opos == 0 ? s : s.ToUpper(culture); s.CopyTo(0, output, opos, s.Length); opos += s.Length; i++; // surrogate pair len is 2 } else { output[opos] = opos++ == 0 ? c : char.ToUpper(c, culture); } if (len > i) { term = term.Substring(i); term.CopyTo(0, output, opos, term.Length); opos += term.Length; } break; default: throw new ArgumentOutOfRangeException("caseType"); } } #endregion #region SplitPascalCasing /// <summary> /// Splits a Pascal-cased string into a phrase separated by a separator. /// </summary> /// <param name="text">The text to split.</param> /// <param name="separator">The separator, which defaults to a whitespace.</param> /// <returns>The splitted text.</returns> /// <remarks>Supports Utf8 and Ascii strings, not Unicode strings.</remarks> // NOTE does not support surrogates pairs at the moment public virtual string SplitPascalCasing(string text, char separator) { // be safe if (text == null) throw new ArgumentNullException("text"); var input = text.ToCharArray(); var output = new char[input.Length * 2]; var opos = 0; var a = input.Length > 0 ? input[0] : char.MinValue; var upos = char.IsUpper(a) ? 1 : 0; for (var i = 1; i < input.Length; i++) { var c = input[i]; if (char.IsUpper(c)) { output[opos++] = a; if (upos == 0) { if (opos > 0) output[opos++] = separator; upos = i + 1; } } else { if (upos > 0) { if (upos < i && opos > 0) output[opos++] = separator; upos = 0; } output[opos++] = a; } a = c; } if (a != char.MinValue) output[opos++] = a; return new string(output, 0, opos); } #endregion #region ReplaceMany /// <summary> /// Returns a new string in which all occurences of specified strings are replaced by other specified strings. /// </summary> /// <param name="text">The string to filter.</param> /// <param name="replacements">The replacements definition.</param> /// <returns>The filtered string.</returns> public virtual string ReplaceMany(string text, IDictionary<string, string> replacements) { if (text == null) { throw new ArgumentNullException("text"); } if (replacements == null) { throw new ArgumentNullException("replacements"); } foreach (KeyValuePair<string, string> item in replacements) { text = text.Replace(item.Key, item.Value); } return text; } /// <summary> /// Returns a new string in which all occurences of specified characters are replaced by a specified character. /// </summary> /// <param name="text">The string to filter.</param> /// <param name="chars">The characters to replace.</param> /// <param name="replacement">The replacement character.</param> /// <returns>The filtered string.</returns> public virtual string ReplaceMany(string text, char[] chars, char replacement) { if (text == null) { throw new ArgumentNullException("text"); } if (chars == null) { throw new ArgumentNullException("chars"); } for (int i = 0; i < chars.Length; i++) { text = text.Replace(chars[i], replacement); } return text; } #endregion } }
aaronpowell/Umbraco-CMS
src/Umbraco.Core/Strings/DefaultShortStringHelper.cs
C#
mit
40,086
// Copyright (c) Microsoft. All rights reserved. // Licensed under the MIT license. See LICENSE file in the project root for full license information. // <Area> Nullable - Box-Unbox </Area> // <Title> Nullable type with unbox box expr </Title> // <Description> // checking type of ImplementOneInterface using is operator // </Description> // <RelatedBugs> </RelatedBugs> //<Expects Status=success></Expects> // <Code> using System.Runtime.InteropServices; using System; internal class NullableTest { private static bool BoxUnboxToNQ(IEmpty o) { return Helper.Compare((ImplementOneInterface)o, Helper.Create(default(ImplementOneInterface))); } private static bool BoxUnboxToQ(IEmpty o) { return Helper.Compare((ImplementOneInterface?)o, Helper.Create(default(ImplementOneInterface))); } private static int Main() { ImplementOneInterface? s = Helper.Create(default(ImplementOneInterface)); if (BoxUnboxToNQ(s) && BoxUnboxToQ(s)) return ExitCode.Passed; else return ExitCode.Failed; } }
ktos/coreclr
tests/src/JIT/jit64/valuetypes/nullable/box-unbox/interface/box-unbox-interface001.cs
C#
mit
1,100
*,:after,:before{-moz-tap-highlight-color:transparent;-webkit-box-sizing:inherit;-webkit-tap-highlight-color:transparent;box-sizing:inherit}#q-app,body,html{width:100%}[dir=ltr] #q-app,[dir=ltr] body,html[dir=ltr]{direction:ltr}[dir=rtl] #q-app,[dir=rtl] body,html[dir=rtl]{direction:rtl}body,html{-webkit-box-sizing:border-box;box-sizing:border-box}[dir] body,html[dir]{margin:0}input[type=email],input[type=password],input[type=search],input[type=text]{-moz-appearance:none;-webkit-appearance:none}article,aside,details,figcaption,figure,footer,header,main,menu,nav,section,summary{display:block}audio:not([controls]){display:none;height:0}abbr[title]{-webkit-text-decoration:underline dotted;text-decoration:underline;text-decoration:underline dotted}[dir] abbr[title]{border-bottom:none}dfn{font-style:italic}[dir] img{border-style:none}svg:not(:root){overflow:hidden}code,kbd,pre,samp{font-family:monospace,monospace;font-size:1em}hr{-webkit-box-sizing:content-box;box-sizing:content-box;height:0;overflow:visible}button,input,select,textarea{font:inherit}[dir] button,[dir] input,[dir] select,[dir] textarea{margin:0}optgroup{font-weight:700}button,input,select{overflow:visible}[dir] button::-moz-focus-inner,[dir] input::-moz-focus-inner{border:0;padding:0}button:-moz-focusring,input:-moz-focusring{outline:1px dotted ButtonText}textarea{overflow:auto}input[type=search]{-webkit-appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none}.q-icon{letter-spacing:normal;line-height:1;text-transform:none;white-space:nowrap;word-wrap:normal}[dir=ltr] .q-icon{direction:ltr}[dir=rtl] .q-icon{direction:rtl}.material-icons,.q-icon{-moz-user-select:none;-ms-flex-align:center;-ms-flex-pack:center;-ms-user-select:none;-webkit-box-align:center;-webkit-box-pack:center;-webkit-user-select:none;align-items:center;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;font-size:inherit;justify-content:center;user-select:none;vertical-align:middle}[dir] .material-icons,[dir] .q-icon{cursor:inherit}.q-actionsheet-title{color:#777;color:var(--q-color-faded);min-height:56px}[dir] .q-actionsheet-title{padding:0 16px}.q-actionsheet-body{max-height:500px}[dir] .q-actionsheet-grid{padding:8px 16px}[dir] .q-actionsheet-grid .q-item-separator-component{margin:24px 0}.q-actionsheet-grid-item{transition:background .3s}[dir] .q-actionsheet-grid-item{-webkit-transition:background .3s;padding:8px 16px}.q-actionsheet-grid-item:focus,.q-actionsheet-grid-item:hover{outline:0}[dir] .q-actionsheet-grid-item:focus,[dir] .q-actionsheet-grid-item:hover{background:#d0d0d0}.q-actionsheet-grid-item i,.q-actionsheet-grid-item img{font-size:48px}[dir] .q-actionsheet-grid-item i,[dir] .q-actionsheet-grid-item img{margin-bottom:8px}.q-actionsheet-grid-item .avatar{height:48px;width:48px}.q-actionsheet-grid-item span{color:#777;color:var(--q-color-faded)}.q-loading-bar{position:fixed;transition:opacity .5s,-webkit-transform .5s cubic-bezier(0,0,.2,1);transition:transform .5s cubic-bezier(0,0,.2,1),opacity .5s;transition:transform .5s cubic-bezier(0,0,.2,1),opacity .5s,-webkit-transform .5s cubic-bezier(0,0,.2,1);z-index:9998}[dir] .q-loading-bar{-webkit-transition:opacity .5s,-webkit-transform .5s cubic-bezier(0,0,.2,1)}.q-loading-bar.top{left:0;right:0;top:0;width:100%}.q-loading-bar.bottom{bottom:0;left:0;right:0;width:100%}.q-loading-bar.right{bottom:0;height:100%;top:0}[dir=ltr] .q-loading-bar.right{right:0}[dir=rtl] .q-loading-bar.right{left:0}.q-loading-bar.left{bottom:0;height:100%;top:0}[dir=ltr] .q-loading-bar.left{left:0}[dir=rtl] .q-loading-bar.left{right:0}.q-alert{-webkit-box-shadow:none}[dir] .q-alert{border-radius:2px;box-shadow:none}.q-alert .avatar{height:32px;width:32px}.q-alert-content,.q-alert-side{font-size:16px;word-break:break-word}[dir] .q-alert-content,[dir] .q-alert-side{padding:12px}.q-alert-side{font-size:24px}[dir] .q-alert-side{background:rgba(0,0,0,.1)}[dir=ltr] .q-alert-actions{padding:12px 12px 12px 0}[dir=rtl] .q-alert-actions{padding:12px 0 12px 12px}.q-alert-detail{font-size:12px}.q-breadcrumbs .q-breadcrumbs-separator,.q-breadcrumbs .q-icon{font-size:150%}.q-breadcrumbs-last a{pointer-events:none}[dir=rtl] .q-breadcrumbs-separator .q-icon{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.q-btn{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12);color:inherit;font-size:14px;font-weight:500;min-height:2.572em;outline:0;text-decoration:none;text-transform:uppercase;transition:.3s cubic-bezier(.25,.8,.5,1);vertical-align:middle}[dir] .q-btn{-webkit-transition:.3s cubic-bezier(.25,.8,.5,1);background:transparent;border:0;box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12);cursor:pointer;padding:4px 16px}button.q-btn{-webkit-appearance:button}a.q-btn{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.q-btn .q-icon,.q-btn .q-spinner{font-size:1.4em}.q-btn .q-btn-inner:before{content:""}.q-btn.disabled{opacity:.7!important}.q-btn:not(.disabled):not(.q-btn-flat):not(.q-btn-outline):not(.q-btn-push):before{bottom:0;content:"";position:absolute;top:0;transition:.3s cubic-bezier(.25,.8,.5,1);z-index:-1}[dir] .q-btn:not(.disabled):not(.q-btn-flat):not(.q-btn-outline):not(.q-btn-push):before{-webkit-transition:.3s cubic-bezier(.25,.8,.5,1);border-radius:inherit}[dir=ltr] .q-btn:not(.disabled):not(.q-btn-flat):not(.q-btn-outline):not(.q-btn-push):before,[dir=rtl] .q-btn:not(.disabled):not(.q-btn-flat):not(.q-btn-outline):not(.q-btn-push):before{left:0;right:0}.q-btn:not(.disabled):not(.q-btn-flat):not(.q-btn-outline):not(.q-btn-push).active:before,.q-btn:not(.disabled):not(.q-btn-flat):not(.q-btn-outline):not(.q-btn-push):active:before{-webkit-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[dir] .q-btn:not(.disabled):not(.q-btn-flat):not(.q-btn-outline):not(.q-btn-push).active:before,[dir] .q-btn:not(.disabled):not(.q-btn-flat):not(.q-btn-outline):not(.q-btn-push):active:before{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.q-btn-progress{height:100%;transition:all .3s}[dir] .q-btn-progress{-webkit-transition:all .3s;background:hsla(0,0%,100%,.25)}[dir] .q-btn-progress.q-btn-dark-progress{background:rgba(0,0,0,.2)}.q-btn-no-uppercase{text-transform:none}[dir] .q-btn-rectangle{border-radius:2px}[dir] .q-btn-outline{background:transparent!important;border:1px solid}[dir] .q-btn-push{border-bottom:3px solid rgba(0,0,0,.15);border-radius:7px}.q-btn-push.active:not(.disabled),.q-btn-push:active:not(.disabled){-webkit-box-shadow:none;-webkit-transform:translateY(3px)}[dir] .q-btn-push.active:not(.disabled),[dir] .q-btn-push:active:not(.disabled){border-bottom-color:transparent;box-shadow:none;transform:translateY(3px)}.q-btn-push .q-focus-helper,.q-btn-push .q-ripple-container{bottom:-3px;height:auto}[dir] .q-btn-rounded{border-radius:28px}.q-btn-round{height:3em;min-height:0;width:3em}[dir] .q-btn-round{border-radius:50%;padding:0}.q-btn-flat,.q-btn-outline{-webkit-box-shadow:none}[dir] .q-btn-flat,[dir] .q-btn-outline{box-shadow:none}.q-btn-dense{min-height:2em}[dir] .q-btn-dense{padding:.285em}.q-btn-dense.q-btn-round{height:2.4em;width:2.4em}[dir] .q-btn-dense.q-btn-round{padding:0}[dir=ltr] .q-btn-dense .on-left{margin-right:6px}[dir=ltr] .q-btn-dense .on-right,[dir=rtl] .q-btn-dense .on-left{margin-left:6px}[dir=rtl] .q-btn-dense .on-right{margin-right:6px}.q-btn-fab-mini .q-icon,.q-btn-fab .q-icon{font-size:24px}.q-btn-fab{height:56px;width:56px}.q-btn-fab-mini{height:40px;width:40px}[dir] .q-btn-dropdown-split .q-btn-dropdown-arrow{padding:0 4px}[dir=ltr] .q-btn-dropdown-split .q-btn-dropdown-arrow{border-left:1px solid hsla(0,0%,100%,.3)}[dir=rtl] .q-btn-dropdown-split .q-btn-dropdown-arrow{border-right:1px solid hsla(0,0%,100%,.3)}.q-btn-group{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12);vertical-align:middle}[dir] .q-btn-group{border-radius:2px;box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}.q-btn-group>.q-btn-item{-webkit-box-shadow:none}[dir] .q-btn-group>.q-btn-item{box-shadow:none}[dir=ltr] .q-btn-group>.q-btn-group>.q-btn:first-child{border-bottom-left-radius:inherit;border-top-left-radius:inherit}[dir=ltr] .q-btn-group>.q-btn-group>.q-btn:last-child,[dir=rtl] .q-btn-group>.q-btn-group>.q-btn:first-child{border-bottom-right-radius:inherit;border-top-right-radius:inherit}[dir=rtl] .q-btn-group>.q-btn-group>.q-btn:last-child{border-bottom-left-radius:inherit;border-top-left-radius:inherit}[dir=ltr] .q-btn-group>.q-btn-group:not(:first-child)>.q-btn:first-child{border-left:0}[dir=ltr] .q-btn-group>.q-btn-group:not(:last-child)>.q-btn:last-child,[dir=rtl] .q-btn-group>.q-btn-group:not(:first-child)>.q-btn:first-child{border-right:0}[dir=rtl] .q-btn-group>.q-btn-group:not(:last-child)>.q-btn:last-child{border-left:0}[dir=ltr] .q-btn-group>.q-btn-item:not(:last-child){border-bottom-right-radius:0;border-top-right-radius:0}[dir=ltr] .q-btn-group>.q-btn-item+.q-btn-item,[dir=rtl] .q-btn-group>.q-btn-item:not(:last-child){border-bottom-left-radius:0;border-top-left-radius:0}[dir=rtl] .q-btn-group>.q-btn-item+.q-btn-item{border-bottom-right-radius:0;border-top-right-radius:0}[dir] .q-btn-group-push{border-radius:7px}.q-btn-group-push>.q-btn-push .q-btn-inner{transition:.3s cubic-bezier(.25,.8,.5,1)}[dir] .q-btn-group-push>.q-btn-push .q-btn-inner{-webkit-transition:.3s cubic-bezier(.25,.8,.5,1)}.q-btn-group-push>.q-btn-push.active:not(.disabled),.q-btn-group-push>.q-btn-push:active:not(.disabled){-webkit-transform:translateY(0)}[dir] .q-btn-group-push>.q-btn-push.active:not(.disabled),[dir] .q-btn-group-push>.q-btn-push:active:not(.disabled){border-bottom-color:rgba(0,0,0,.15);transform:translateY(0)}.q-btn-group-push>.q-btn-push.active:not(.disabled) .q-btn-inner,.q-btn-group-push>.q-btn-push:active:not(.disabled) .q-btn-inner{-webkit-transform:translateY(3px)}[dir] .q-btn-group-push>.q-btn-push.active:not(.disabled) .q-btn-inner,[dir] .q-btn-group-push>.q-btn-push:active:not(.disabled) .q-btn-inner{transform:translateY(3px)}[dir] .q-btn-group-rounded{border-radius:28px}.q-btn-group-flat,.q-btn-group-outline{-webkit-box-shadow:none}[dir] .q-btn-group-flat,[dir] .q-btn-group-outline{box-shadow:none}[dir=ltr] .q-btn-group-outline>.q-btn-item+.q-btn-item{border-left:0}[dir=ltr] .q-btn-group-outline>.q-btn-item:not(:last-child),[dir=rtl] .q-btn-group-outline>.q-btn-item+.q-btn-item{border-right:0}[dir=rtl] .q-btn-group-outline>.q-btn-item:not(:last-child){border-left:0}.q-card{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12);vertical-align:top}[dir] .q-card{border-radius:2px;box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}[dir=ltr] .q-card>div:first-child,[dir=rtl] .q-card>div:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}[dir=ltr] .q-card>div:last-child,[dir=rtl] .q-card>div:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}[dir] .q-card>.q-list{border:0}.q-card-separator{height:1px}[dir] .q-card-separator{background:rgba(0,0,0,.1)}[dir] .q-card-separator.inset{margin:0 16px}[dir] .q-card-container{padding:16px}.q-card-title{font-size:18px;font-weight:400;letter-spacing:normal;line-height:2rem}.q-card-title:empty{display:none}.q-card-subtitle,.q-card-title-extra{color:rgba(0,0,0,.4);font-size:14px}.q-card-subtitle .q-icon,.q-card-title-extra .q-icon{font-size:24px}.q-card-main{font-size:14px}[dir] .q-card-primary+.q-card-main{padding-top:0}[dir] .q-card-actions{padding:8px}[dir] .q-card-actions .q-btn{padding:0 8px}[dir=ltr] .q-card-actions-horiz .q-btn+.q-btn{margin-left:8px}[dir=rtl] .q-card-actions-horiz .q-btn+.q-btn{margin-right:8px}[dir] .q-card-actions-vert .q-btn+.q-btn{margin-top:4px}.q-card-media{overflow:hidden}.q-card-media>img{display:block;max-width:100%;width:100%}[dir] .q-card-media>img{border:0}.q-card-media-overlay{color:#fff}[dir] .q-card-media-overlay{background:rgba(0,0,0,.47)}.q-card-media-overlay .q-card-subtitle{color:#fff}[dir] .q-card-dark .q-card-separator{background:hsla(0,0%,100%,.2)}.q-card-dark .q-card-subtitle,.q-card-dark .q-card-title-extra{color:hsla(0,0%,100%,.6)}.q-carousel{overflow:hidden;position:relative}.q-carousel-inner{height:100%;position:relative}.q-carousel-slide{-ms-flex:0 0 100%;-webkit-box-flex:0;flex:0 0 100%}[dir] .q-carousel-slide{margin:0;padding:18px}.q-carousel-track{-ms-flex-wrap:nowrap;display:-webkit-box;display:-ms-flexbox;display:flex;flex-wrap:nowrap;height:100%;will-change:transform}[dir] .q-carousel-track{margin:0;padding:0}.q-carousel-track.infinite-left>div:nth-last-child(2){-ms-flex-order:-1000;-webkit-box-ordinal-group:-999;order:-1000}[dir=ltr] .q-carousel-track.infinite-left>div:nth-last-child(2){margin-left:-100%}[dir=rtl] .q-carousel-track.infinite-left>div:nth-last-child(2){margin-right:-100%}.q-carousel-track.infinite-right>div:nth-child(2){-ms-flex-order:1000;-webkit-box-ordinal-group:1001;order:1000}.q-carousel-left-arrow,.q-carousel-right-arrow{-webkit-transform:translateY(-50%);top:50%}[dir] .q-carousel-left-arrow,[dir] .q-carousel-right-arrow{background:rgba(0,0,0,.3);transform:translateY(-50%)}[dir=ltr] .q-carousel-left-arrow{left:5px}[dir=ltr] .q-carousel-right-arrow,[dir=rtl] .q-carousel-left-arrow{right:5px}[dir=rtl] .q-carousel-right-arrow{left:5px}[dir] .q-carousel-quick-nav{background:rgba(0,0,0,.3);padding:2px 0}.q-carousel-quick-nav .q-icon{font-size:18px!important}.q-carousel-quick-nav .q-btn.inactive{opacity:.5}.q-carousel-quick-nav .q-btn.inactive .q-icon{font-size:14px!important}.q-carousel-thumbnails{-webkit-box-shadow:0 -3px 6px rgba(0,0,0,.16),0 -5px 6px rgba(0,0,0,.23);-webkit-transform:translateY(105%);height:auto;max-height:60%;overflow:auto;transition:-webkit-transform .3s;transition:transform .3s;transition:transform .3s,-webkit-transform .3s;width:100%;will-change:transform}[dir] .q-carousel-thumbnails{-webkit-transition:-webkit-transform .3s;background:#000;box-shadow:0 -3px 6px rgba(0,0,0,.16),0 -5px 6px rgba(0,0,0,.23);padding:.5rem;text-align:center;transform:translateY(105%)}.q-carousel-thumbnails.active{-webkit-transform:translateY(0)}[dir] .q-carousel-thumbnails.active{transform:translateY(0)}.q-carousel-thumbnails img{display:block;height:auto;opacity:.5;transition:opacity .3s;width:100%;will-change:opacity}[dir] .q-carousel-thumbnails img{-webkit-transition:opacity .3s;border:1px solid #000;cursor:pointer}.q-carousel-thumbnails>div>div{-ms-flex:0 0 108px;-webkit-box-flex:0;flex:0 0 108px}.q-carousel-thumbnails>div>div.active img,.q-carousel-thumbnails>div>div img.active{opacity:1}[dir] .q-carousel-thumbnails>div>div.active img,[dir] .q-carousel-thumbnails>div>div img.active{border-color:#fff}.q-carousel-thumbnail-btn{top:5px}[dir] .q-carousel-thumbnail-btn{background:rgba(0,0,0,.3)}[dir=ltr] .q-carousel-thumbnail-btn{right:5px}[dir=rtl] .q-carousel-thumbnail-btn{left:5px}body.desktop .q-carousel-thumbnails img:hover{opacity:1}.q-message-label,.q-message-name,.q-message-stamp{font-size:small}[dir] .q-message-label{margin:24px 0}.q-message-stamp{color:inherit;display:none;opacity:.6}[dir] .q-message-stamp{margin-top:4px}.q-message-avatar{height:48px;width:48px}[dir] .q-message-avatar{border-radius:50%}[dir] .q-message{margin-bottom:8px}[dir] .q-message:first-child .q-message-label{margin-top:0}[dir=ltr] .q-message-received .q-message-avatar{margin-right:8px}[dir=rtl] .q-message-received .q-message-avatar{margin-left:8px}.q-message-received .q-message-text{color:#81c784}[dir=ltr] .q-message-received .q-message-text{border-radius:2px 2px 2px 0}[dir=rtl] .q-message-received .q-message-text{border-radius:2px 2px 0 2px}[dir] .q-message-received .q-message-text:last-child:before{border-bottom:8px solid}[dir=ltr] .q-message-received .q-message-text:last-child:before{border-left:8px solid transparent;border-right:0 solid transparent;right:100%}[dir=rtl] .q-message-received .q-message-text:last-child:before{border-left:0 solid transparent;border-right:8px solid transparent;left:100%}.q-message-received .q-message-text-content{color:#000}[dir=ltr] .q-message-sent .q-message-name{text-align:right}[dir=rtl] .q-message-sent .q-message-name{text-align:left}[dir=ltr] .q-message-sent .q-message-avatar{margin-left:8px}[dir=rtl] .q-message-sent .q-message-avatar{margin-right:8px}.q-message-sent .q-message-container{-ms-flex-direction:row-reverse;-webkit-box-direction:reverse;-webkit-box-orient:horizontal;flex-direction:row-reverse}.q-message-sent .q-message-text{color:#e0e0e0}[dir=ltr] .q-message-sent .q-message-text{border-radius:2px 2px 0 2px}[dir=rtl] .q-message-sent .q-message-text{border-radius:2px 2px 2px 0}[dir] .q-message-sent .q-message-text:last-child:before{border-bottom:8px solid}[dir=ltr] .q-message-sent .q-message-text:last-child:before{border-left:0 solid transparent;border-right:8px solid transparent;left:100%}[dir=rtl] .q-message-sent .q-message-text:last-child:before{border-left:8px solid transparent;border-right:0 solid transparent;right:100%}.q-message-sent .q-message-text-content{color:#000}.q-message-text{-webkit-transform:translateZ(0);line-height:1.2;position:relative;word-break:break-word}[dir] .q-message-text{background:currentColor;padding:8px;transform:translateZ(0)}[dir] .q-message-text+.q-message-text{margin-top:3px}.q-message-text:last-child{min-height:48px}.q-message-text:last-child .q-message-stamp{display:block}.q-message-text:last-child:before{bottom:0;content:"";height:0;position:absolute;width:0}.q-checkbox-icon{font-size:21px;height:21px;opacity:0;width:21px}.q-chip{color:#000;font-size:14px;max-width:100%;min-height:32px;vertical-align:middle}[dir] .q-chip{background:#eee;border:#e0e0e0;border-radius:2rem;padding:0 12px}.q-chip:focus .q-chip-close{opacity:.8}.q-chip .q-icon{font-size:24px;line-height:1}.q-chip-main{-ms-flex:1 1 auto;-webkit-box-flex:1;flex:1 1 auto;line-height:normal}.q-chip-side{height:32px;min-width:32px;overflow:hidden;width:32px}[dir] .q-chip-side{border-radius:50%}.q-chip-side img{height:100%;width:100%}[dir=ltr] .q-chip-left{margin-left:-12px;margin-right:8px}[dir=rtl] .q-chip-left{margin-left:8px;margin-right:-12px}[dir=ltr] .q-chip-right{margin-left:2px;margin-right:-12px}[dir=rtl] .q-chip-right{margin-left:-12px;margin-right:2px}[dir] .q-chip-square{border-radius:2px}.q-chip-floating{pointer-events:none;position:absolute;top:-.3em}[dir=ltr] .q-chip-floating{right:-.3em}[dir=rtl] .q-chip-floating{left:-.3em}.q-chip-tag{position:relative}[dir=ltr] .q-chip-tag{padding-left:1.7rem}[dir=rtl] .q-chip-tag{padding-right:1.7rem}.q-chip-tag:after{-webkit-box-shadow:0 -1px 1px 0 rgba(0,0,0,.3);content:"";height:.5rem;position:absolute;top:50%;width:.5rem}[dir] .q-chip-tag:after{background:#fff;border-radius:50%;box-shadow:0 -1px 1px 0 rgba(0,0,0,.3);margin-top:-.25rem}[dir=ltr] .q-chip-tag:after{left:.5rem}[dir=rtl] .q-chip-tag:after{right:.5rem}.q-chip-pointing{position:relative;z-index:0}.q-chip-pointing:before{content:"";height:16px;position:absolute;width:16px;z-index:-1}[dir] .q-chip-pointing:before{background:inherit}[dir] .q-chip-pointing-up{margin-top:.8rem}.q-chip-pointing-up:before{top:0}[dir=ltr] .q-chip-pointing-up:before{-webkit-transform:translateX(-50%) translateY(-22%) rotate(45deg);left:50%;transform:translateX(-50%) translateY(-22%) rotate(45deg)}[dir=rtl] .q-chip-pointing-up:before{-webkit-transform:translateX(50%) translateY(-22%) rotate(-45deg);right:50%;transform:translateX(50%) translateY(-22%) rotate(-45deg)}[dir] .q-chip-pointing-down{margin-bottom:.8rem}.q-chip-pointing-down:before{top:100%}[dir=ltr] .q-chip-pointing-down:before{-webkit-transform:translateX(-50%) translateY(-78%) rotate(45deg);left:50%;right:auto;transform:translateX(-50%) translateY(-78%) rotate(45deg)}[dir=rtl] .q-chip-pointing-down:before{-webkit-transform:translateX(50%) translateY(-78%) rotate(-45deg);left:auto;right:50%;transform:translateX(50%) translateY(-78%) rotate(-45deg)}[dir=ltr] .q-chip-pointing-right{margin-right:.8rem}[dir=rtl] .q-chip-pointing-right{margin-left:.8rem}.q-chip-pointing-right:before{bottom:auto;top:50%}[dir=ltr] .q-chip-pointing-right:before{-webkit-transform:translateX(33%) translateY(-50%) rotate(45deg);left:auto;right:2px;transform:translateX(33%) translateY(-50%) rotate(45deg)}[dir=rtl] .q-chip-pointing-right:before{-webkit-transform:translateX(-33%) translateY(-50%) rotate(-45deg);left:2px;right:auto;transform:translateX(-33%) translateY(-50%) rotate(-45deg)}[dir=ltr] .q-chip-pointing-left{margin-left:.8rem}[dir=rtl] .q-chip-pointing-left{margin-right:.8rem}.q-chip-pointing-left:before{bottom:auto;top:50%}[dir=ltr] .q-chip-pointing-left:before{-webkit-transform:translateX(-33%) translateY(-50%) rotate(45deg);left:2px;right:auto;transform:translateX(-33%) translateY(-50%) rotate(45deg)}[dir=rtl] .q-chip-pointing-left:before{-webkit-transform:translateX(33%) translateY(-50%) rotate(-45deg);left:auto;right:2px;transform:translateX(33%) translateY(-50%) rotate(-45deg)}.q-chip-detail{opacity:.8}[dir] .q-chip-detail{background:rgba(0,0,0,.1);border-radius:inherit;padding:0 5px}[dir=ltr] .q-chip-detail{border-bottom-right-radius:0;border-top-right-radius:0}[dir=rtl] .q-chip-detail{border-bottom-left-radius:0;border-top-left-radius:0}.q-chip-small{min-height:26px}.q-chip-small .q-chip-main{line-height:normal}[dir] .q-chip-small .q-chip-main{padding:4px 1px}.q-chip-small .q-chip-side{height:26px;min-width:26px;width:26px}.q-chip-small .q-chip-icon{font-size:16px}.q-chip-dense{font-size:12px;min-height:1px}[dir] .q-chip-dense{padding:0 3px}[dir=ltr] .q-chip-dense.q-chip-tag{padding-left:1.3rem}[dir=rtl] .q-chip-dense.q-chip-tag{padding-right:1.3rem}.q-chip-dense.q-chip-pointing:before{height:9px;width:9px}[dir] .q-chip-dense .q-chip-main{padding:1px}.q-chip-dense .q-chip-side{font-size:14px;height:18px;min-width:16px;width:18px}[dir=ltr] .q-chip-dense .q-chip-left{margin-left:-3px;margin-right:2px}[dir=rtl] .q-chip-dense .q-chip-left{margin-left:2px;margin-right:-3px}[dir=ltr] .q-chip-dense .q-chip-right{margin-left:2px;margin-right:-2px}[dir=rtl] .q-chip-dense .q-chip-right{margin-left:-2px;margin-right:2px}.q-chip-dense .q-icon{font-size:16px}.q-chips-input input{min-width:70px}[dir] .q-collapsible-sub-item{padding:8px 16px}[dir=ltr] .q-collapsible-sub-item.indent{padding-left:48px;padding-right:0}[dir=rtl] .q-collapsible-sub-item.indent{padding-left:0;padding-right:48px}[dir] .q-collapsible-sub-item .q-card{margin-bottom:0}[dir] .q-collapsible.router-link-active>.q-item{background:hsla(0,0%,74%,.4)}.q-collapsible{transition:padding .5s}[dir] .q-collapsible{-webkit-transition:padding .5s}[dir] .q-collapsible-closed{padding:0 15px}[dir] .q-collapsible-closed .q-collapsible-inner{border:1px solid #e0e0e0}[dir] .q-collapsible-closed+.q-collapsible-closed .q-collapsible-inner{border-top:0}[dir] .q-collapsible-opened{padding:15px 0}.q-collapsible-opened .q-collapsible-inner{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}[dir] .q-collapsible-opened .q-collapsible-inner{box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}[dir] .q-collapsible-opened+.q-collapsible-opened,[dir] .q-collapsible-opened:first-child{padding-top:0}[dir] .q-collapsible-opened:last-child{padding-bottom:0}[dir] .q-collapsible-cursor-pointer>.q-collapsible-inner>.q-item{cursor:pointer}.q-collapsible-toggle-icon{width:1em}[dir] .q-collapsible-toggle-icon{border-radius:50%;text-align:center}.q-color{display:inline-block;max-width:100vw;width:240px}[dir] .q-color{background:#fff;border:1px solid #e0e0e0}.q-color-saturation{height:123px;width:100%}[dir=ltr] .q-color-saturation-white{background:-webkit-gradient(linear,left top,right top,from(#fff),to(hsla(0,0%,100%,0)));background:linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}[dir=rtl] .q-color-saturation-white{background:-webkit-gradient(linear,right top,left top,from(#fff),to(hsla(0,0%,100%,0)));background:linear-gradient(270deg,#fff,hsla(0,0%,100%,0))}[dir] .q-color-saturation-black{background:linear-gradient(0deg,#000,transparent)}[dir=ltr] .q-color-saturation-black{background:-webkit-gradient(linear,left bottom,left top,from(#000),to(transparent))}[dir=rtl] .q-color-saturation-black{background:-webkit-gradient(linear,right bottom,right top,from(#000),to(transparent))}.q-color-saturation-circle{-webkit-box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4);height:10px;width:10px}[dir] .q-color-saturation-circle{border-radius:50%;box-shadow:0 0 0 1.5px #fff,inset 0 0 1px 1px rgba(0,0,0,.3),0 0 1px 2px rgba(0,0,0,.4)}[dir=ltr] .q-color-saturation-circle{-webkit-transform:translate(-5px,-5px);transform:translate(-5px,-5px)}[dir=rtl] .q-color-saturation-circle{-webkit-transform:translate(5px,-5px);transform:translate(5px,-5px)}[dir] .q-color-alpha .q-slider-track,[dir] .q-color-swatch{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAH0lEQVQoU2NkYGAwZkAFZ5G5jPRRgOYEVDeB3EBjBQBOZwTVugIGyAAAAABJRU5ErkJggg==")!important}.q-color-swatch{height:32px;position:relative;width:32px}[dir] .q-color-swatch{background:#fff;border-radius:50%}.q-color-hue .q-slider-track{height:8px;opacity:1}[dir] .q-color-hue .q-slider-track{border-radius:2px}[dir=ltr] .q-color-hue .q-slider-track{background:-webkit-gradient(linear,left top,right top,from(red),color-stop(17%,#ff0),color-stop(33%,#0f0),color-stop(50%,#0ff),color-stop(67%,#00f),color-stop(83%,#f0f),to(red));background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}[dir=rtl] .q-color-hue .q-slider-track{background:-webkit-gradient(linear,right top,left top,from(red),color-stop(17%,#ff0),color-stop(33%,#0f0),color-stop(50%,#0ff),color-stop(67%,#00f),color-stop(83%,#f0f),to(red));background:linear-gradient(270deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.q-color-hue .q-slider-track.active-track{opacity:0}.q-color-alpha .q-slider-track{height:8px;opacity:1;position:relative}[dir] .q-color-alpha .q-slider-track{background:#fff}.q-color-alpha .q-slider-track:after{bottom:0;content:"";position:absolute;top:0}[dir=ltr] .q-color-alpha .q-slider-track:after{background:-webkit-gradient(linear,left top,right top,from(hsla(0,0%,100%,0)),to(#757575));background:linear-gradient(90deg,hsla(0,0%,100%,0),#757575);left:0;right:0}[dir=rtl] .q-color-alpha .q-slider-track:after{background:-webkit-gradient(linear,right top,left top,from(hsla(0,0%,100%,0)),to(#757575));background:linear-gradient(-90deg,hsla(0,0%,100%,0),#757575);left:0;right:0}.q-color-alpha .q-slider-track.active-track{opacity:0}.q-color-sliders{height:56px}.q-color-sliders .q-slider{height:20px}.q-color-sliders .q-slider-handle{-webkit-box-shadow:0 1px 4px 0 rgba(0,0,0,.37)}[dir] .q-color-sliders .q-slider-handle{box-shadow:0 1px 4px 0 rgba(0,0,0,.37)}.q-color-sliders .q-slider-ring{display:none}.q-color-inputs{color:#757575;font-size:11px}.q-color-inputs input{outline:0}[dir] .q-color-inputs input{border:1px solid #e0e0e0}[dir] .q-color-padding{padding:0 2px}[dir] .q-color-label{padding-top:4px}[dir] .q-color-dark{background:#000;border:1px solid #424242}.q-color-dark input{color:#bdbdbd;color:var(--q-color-light)}[dir] .q-color-dark input{background:#000;border:1px solid;border-color:var(--q-color-dark)}.q-color-dark .q-color-inputs{color:#bdbdbd;color:var(--q-color-light)}[dir] .q-color-dark .q-color-swatch{border:1px solid;border-color:var(--q-color-dark)}.q-datetime-input{min-width:70px}[dir] .q-datetime-controls{padding:0 10px 8px}.q-datetime{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;font-size:12px;line-height:normal;user-select:none}[dir] .q-datetime{text-align:center}[dir] .q-datetime .modal-buttons{padding-top:8px}[dir] .q-datetime-header{background:currentColor}.q-datetime-header>div{color:#fff}.q-datetime-weekdaystring{font-size:.8rem}[dir] .q-datetime-weekdaystring{background:rgba(0,0,0,.1);padding:5px 0}[dir] .q-datetime-time{padding:10px 0}[dir] div+.q-datetime-time{padding-top:0}.q-datetime-ampm{font-size:.9rem}.q-datetime-datestring{font-size:2.7rem}.q-datetime-datestring span.small{font-size:1.2rem}.q-datetime-link{opacity:.6;pointer-events:none}.q-datetime-link>span{display:inline-block;outline:0;pointer-events:all;width:100%}[dir] .q-datetime-link>span{cursor:pointer}.q-datetime-link.active{opacity:1}.q-datetime-clockstring{direction:ltr;font-size:2.7rem}.q-datetime-selector{height:310px;overflow:auto}.q-datetime-view-day{color:#000;height:285px;width:250px}.q-datetime-view-month>.q-btn:not(.active),.q-datetime-view-year>.q-btn:not(.active){color:#000}.q-datetime-month-stamp{font-size:16px}[dir] .q-datetime-weekdays{margin-bottom:5px}.q-datetime-weekdays div{height:35px;line-height:35px;min-height:0;min-width:0;opacity:.6;width:35px}[dir] .q-datetime-weekdays div{background:transparent;margin:0;padding:0}.q-datetime-days div{height:33px;line-height:33px;width:33px}[dir] .q-datetime-days div{border-radius:50%;margin:1px}[dir] .q-datetime-days div.q-datetime-day-active{background:currentColor}.q-datetime-days div.q-datetime-day-active>span{color:#fff;font-weight:700}.q-datetime-days div.q-datetime-day-today{color:currentColor;font-size:14px;font-weight:700}[dir] .q-datetime-days div:not(.q-datetime-fillerday):not(.disabled):not(.q-datetime-day-active):hover{background:#e0e0e0}.q-datetime-btn{font-weight:400}.q-datetime-btn.active{font-size:1.5rem}[dir] .q-datetime-btn.active{padding-bottom:1rem;padding-top:1rem}.q-datetime-clock{height:250px;width:250px}[dir] .q-datetime-clock{background:#e0e0e0;border-radius:50%;padding:24px}.q-datetime-clock-circle{-webkit-animation:q-pop .5s;animation:q-pop .5s;position:relative}.q-datetime-clock-center{bottom:0;height:6px;min-height:0;position:absolute;top:0;width:6px}[dir] .q-datetime-clock-center{background:currentColor;border-radius:50%;margin:auto}[dir=ltr] .q-datetime-clock-center,[dir=rtl] .q-datetime-clock-center{left:0;right:0}.q-datetime-clock-pointer{-webkit-transform-origin:top center;bottom:0;height:50%;min-height:0;position:absolute;transform-origin:top center;width:1px}[dir] .q-datetime-clock-pointer{background:currentColor;margin:0 auto}[dir=ltr] .q-datetime-clock-pointer,[dir=rtl] .q-datetime-clock-pointer{left:0;right:0}.q-datetime-clock-pointer span{bottom:-8px;height:8px;min-height:0;min-width:0;position:absolute;width:8px}[dir] .q-datetime-clock-pointer span{background:currentColor;border-radius:50%}[dir=ltr] .q-datetime-clock-pointer span{-webkit-transform:translate(-50%,-50%);left:0;transform:translate(-50%,-50%)}[dir=rtl] .q-datetime-clock-pointer span{-webkit-transform:translate(50%,-50%);right:0;transform:translate(50%,-50%)}.q-datetime-arrow{color:#757575}[dir] .q-datetime-dark{background:#424242;background:var(--q-color-dark)}.q-datetime-dark .q-datetime-arrow{color:#bdbdbd;color:var(--q-color-light)}[dir] .q-datetime-dark .q-datetime-clock,[dir] .q-datetime-dark .q-datetime-header{background:#616161}.q-datetime-dark .q-datetime-view-day,.q-datetime-dark .q-datetime-view-month>.q-btn:not(.active),.q-datetime-dark .q-datetime-view-year>.q-btn:not(.active){color:#fff}.q-datetime-dark .q-datetime-days div.q-datetime-day-active>span,.q-datetime-dark .q-datetime-days div:not(.q-datetime-fillerday):not(.disabled):not(.q-datetime-day-active):hover{color:#000}[dir] body.desktop .q-datetime-clock-position:not(.active):hover{background:#f5f5f5!important}body.desktop .q-datetime-dark .q-datetime-clock-position:not(.active):hover{color:#000}.q-datetime-clock-position{-webkit-transform:translate(-50%,-50%);font-size:12px;height:32px;line-height:32px;min-height:32px;position:absolute;transform:translate(-50%,-50%);width:32px}[dir] .q-datetime-clock-position{border-radius:50%;margin:0;padding:0}.q-datetime-clock-position:not(.active){color:#000}.q-datetime-dark .q-datetime-clock-position:not(.active){color:#fff}[dir] .q-datetime-clock-position.active{background:currentColor}.q-datetime-clock-position.active>span{color:#fff}.q-datetime-clock-pos-0{left:50%;top:0}.q-datetime-clock-pos-1{left:75%;top:6.7%}.q-datetime-clock-pos-2{left:93.3%;top:25%}.q-datetime-clock-pos-3{left:100%;top:50%}.q-datetime-clock-pos-4{left:93.3%;top:75%}.q-datetime-clock-pos-5{left:75%;top:93.3%}.q-datetime-clock-pos-6{left:50%;top:100%}.q-datetime-clock-pos-7{left:25%;top:93.3%}.q-datetime-clock-pos-8{left:6.7%;top:75%}.q-datetime-clock-pos-9{left:0;top:50%}.q-datetime-clock-pos-10{left:6.7%;top:25%}.q-datetime-clock-pos-11{left:25%;top:6.7%}.q-datetime-clock-pos-0.fmt24,.q-datetime-clock-pos-12{left:50%;top:0}.q-datetime-clock-pos-1.fmt24{left:62.94%;top:1.7%}.q-datetime-clock-pos-2.fmt24{left:75%;top:6.7%}.q-datetime-clock-pos-3.fmt24{left:85.36%;top:14.64%}.q-datetime-clock-pos-4.fmt24{left:93.3%;top:25%}.q-datetime-clock-pos-5.fmt24{left:98.3%;top:37.06%}.q-datetime-clock-pos-6.fmt24{left:100%;top:50%}.q-datetime-clock-pos-7.fmt24{left:98.3%;top:62.94%}.q-datetime-clock-pos-8.fmt24{left:93.3%;top:75%}.q-datetime-clock-pos-9.fmt24{left:85.36%;top:85.36%}.q-datetime-clock-pos-10.fmt24{left:75%;top:93.3%}.q-datetime-clock-pos-11.fmt24{left:62.94%;top:98.3%}.q-datetime-clock-pos-12.fmt24{left:50%;top:100%}.q-datetime-clock-pos-13.fmt24{left:37.06%;top:98.3%}.q-datetime-clock-pos-14.fmt24{left:25%;top:93.3%}.q-datetime-clock-pos-15.fmt24{left:14.64%;top:85.36%}.q-datetime-clock-pos-16.fmt24{left:6.7%;top:75%}.q-datetime-clock-pos-17.fmt24{left:1.7%;top:62.94%}.q-datetime-clock-pos-18.fmt24{left:0;top:50%}.q-datetime-clock-pos-19.fmt24{left:1.7%;top:37.06%}.q-datetime-clock-pos-20.fmt24{left:6.7%;top:25%}.q-datetime-clock-pos-21.fmt24{left:14.64%;top:14.64%}.q-datetime-clock-pos-22.fmt24{left:25%;top:6.7%}.q-datetime-clock-pos-23.fmt24{left:37.06%;top:1.7%}[dir=ltr] .q-datetime-range.row .q-datetime-range-left{border-bottom-right-radius:0;border-top-right-radius:0}[dir=ltr] .q-datetime-range.row .q-datetime-range-right,[dir=rtl] .q-datetime-range.row .q-datetime-range-left{border-bottom-left-radius:0;border-top-left-radius:0}[dir=rtl] .q-datetime-range.row .q-datetime-range-right{border-bottom-right-radius:0;border-top-right-radius:0}[dir] .q-datetime-range.column>div+div{margin-top:10px}@media (max-width:767px){[dir=ltr] .q-datetime-ampm{margin-left:1.5rem}[dir=rtl] .q-datetime-ampm{margin-right:1.5rem}[dir] .q-datetime-datestring span{margin:10px 5px}[dir] .q-datetime-datestring span.small{margin-top:1.3rem}.q-datetime{width:290px}[dir] .q-datetime:not(.no-border):not(.q-datetime-dark) .q-datetime-content{border:solid #e0e0e0;border-width:0 1px 1px}[dir] .q-datetime:not(.no-border).q-datetime-dark{border:1px solid;border-color:var(--q-color-dark)}}@media (min-width:768px){[dir] .q-datetime-datestring{padding:10px 0}[dir] .q-datetime-ampm{margin-top:5px}[dir] .q-datetime-ampm div{margin:2px 0}.q-datetime-header{position:relative;width:170px}.q-datetime-weekdaystring{position:absolute;top:0}[dir=ltr] .q-datetime-weekdaystring,[dir=rtl] .q-datetime-weekdaystring{left:0;right:0}.q-datetime-content{width:290px}.q-datetime{width:480px}[dir] .q-datetime:not(.no-border):not(.q-datetime-dark) .q-datetime-content{border-color:#e0e0e0;border-style:solid}[dir=ltr] .q-datetime:not(.no-border):not(.q-datetime-dark) .q-datetime-content{border-width:1px 1px 1px 0}[dir=rtl] .q-datetime:not(.no-border):not(.q-datetime-dark) .q-datetime-content{border-width:1px 0 1px 1px}[dir] .q-datetime:not(.no-border).q-datetime-dark{border:1px solid;border-color:var(--q-color-dark)}.q-datetime-minimal{width:320px}}.q-dot{height:10px;opacity:.8;position:absolute;top:-2px;width:10px}[dir] .q-dot{background:#f44336;border-radius:50%}[dir=ltr] .q-dot{right:-10px}[dir=rtl] .q-dot{left:-10px}[dir] .q-editor{border:1px solid #ccc}[dir] .q-editor.disabled{border-style:dashed}[dir] .q-editor.fullscreen{border:0!important}.q-editor-content{min-height:10em;outline:0}[dir] .q-editor-content{background:#fff;padding:10px}.q-editor-content hr{height:1px;outline:0}[dir] .q-editor-content hr{background:#ccc;border:0;margin:1px}[dir] .q-editor-toolbar-padding{padding:4px}.q-editor-toolbar{min-height:37px}[dir] .q-editor-toolbar{background:#e0e0e0;border-bottom:1px solid #ccc}.q-editor-toolbar .q-btn-group{-webkit-box-shadow:none}[dir] .q-editor-toolbar .q-btn-group{box-shadow:none}[dir=ltr] .q-editor-toolbar .q-btn-group+.q-btn-group{margin-left:5px}[dir=rtl] .q-editor-toolbar .q-btn-group+.q-btn-group{margin-right:5px}[dir=ltr] .q-editor-toolbar-separator .q-btn-group+.q-btn-group{padding-left:5px}[dir=rtl] .q-editor-toolbar-separator .q-btn-group+.q-btn-group{padding-right:5px}.q-editor-toolbar-separator .q-btn-group+.q-btn-group:before{bottom:0;content:"";height:100%;position:absolute;top:0;width:1px}[dir] .q-editor-toolbar-separator .q-btn-group+.q-btn-group:before{background:#ccc}[dir=ltr] .q-editor-toolbar-separator .q-btn-group+.q-btn-group:before{left:0}[dir=rtl] .q-editor-toolbar-separator .q-btn-group+.q-btn-group:before{right:0}.q-editor-input input{color:inherit}.q-fab{position:relative;vertical-align:middle}.z-fab{z-index:990}.q-fab-opened .q-fab-actions{-webkit-transform:scaleX(1) scaleY(1) translateX(0) translateY(0);opacity:1;pointer-events:all}[dir] .q-fab-opened .q-fab-actions{transform:scaleX(1) scaleY(1) translateX(0) translateY(0)}.q-fab-opened .q-fab-icon{opacity:0}[dir=ltr] .q-fab-opened .q-fab-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}[dir=rtl] .q-fab-opened .q-fab-icon{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.q-fab-opened .q-fab-active-icon{-webkit-transform:rotate(0deg);opacity:1}[dir] .q-fab-opened .q-fab-active-icon{transform:rotate(0deg)}.q-fab-active-icon,.q-fab-icon{transition:opacity .4s,-webkit-transform .4s;transition:opacity .4s,transform .4s;transition:opacity .4s,transform .4s,-webkit-transform .4s}[dir] .q-fab-active-icon,[dir] .q-fab-icon{-webkit-transition:opacity .4s,-webkit-transform .4s}.q-fab-icon{-webkit-transform:rotate(0deg);opacity:1}[dir] .q-fab-icon{transform:rotate(0deg)}.q-fab-active-icon{opacity:0}[dir=ltr] .q-fab-active-icon{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}[dir=rtl] .q-fab-active-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.q-fab-actions{opacity:0;pointer-events:none;position:absolute;transition:all .2s ease-in}[dir] .q-fab-actions{-webkit-transition:all .2s ease-in}[dir] .q-fab-actions .q-btn{margin:5px}.q-fab-right{bottom:0;top:0}[dir=ltr] .q-fab-right{-webkit-transform:scaleX(.4) scaleY(.4) translateX(-100%);left:120%;transform:scaleX(.4) scaleY(.4) translateX(-100%)}[dir=rtl] .q-fab-right{-webkit-transform:scaleX(.4) scaleY(.4) translateX(100%);right:120%;transform:scaleX(.4) scaleY(.4) translateX(100%)}.q-fab-left{-ms-flex-direction:row-reverse;-webkit-box-direction:reverse;-webkit-box-orient:horizontal;bottom:0;flex-direction:row-reverse;top:0}[dir=ltr] .q-fab-left{-webkit-transform:scaleX(.4) scaleY(.4) translateX(100%);right:120%;transform:scaleX(.4) scaleY(.4) translateX(100%)}[dir=rtl] .q-fab-left{-webkit-transform:scaleX(.4) scaleY(.4) translateX(-100%);left:120%;transform:scaleX(.4) scaleY(.4) translateX(-100%)}.q-fab-up{-ms-flex-direction:column-reverse;-ms-flex-pack:center;-webkit-box-direction:reverse;-webkit-box-orient:vertical;-webkit-box-pack:center;-webkit-transform:scaleX(.4) scaleY(.4) translateY(100%);bottom:120%;flex-direction:column-reverse;justify-content:center}[dir] .q-fab-up{transform:scaleX(.4) scaleY(.4) translateY(100%)}[dir=ltr] .q-fab-up,[dir=rtl] .q-fab-up{left:0;right:0}.q-fab-down{-ms-flex-direction:column;-ms-flex-pack:center;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-box-pack:center;-webkit-transform:scaleX(.4) scaleY(.4) translateY(-100%);flex-direction:column;justify-content:center;top:120%}[dir] .q-fab-down{transform:scaleX(.4) scaleY(.4) translateY(-100%)}[dir=ltr] .q-fab-down,[dir=rtl] .q-fab-down{left:0;right:0}.q-field-icon{color:#979797;font-size:28px;height:28px;min-width:28px;width:28px}[dir=ltr] .q-field-icon{margin-right:16px}[dir=rtl] .q-field-icon{margin-left:16px}.q-field-label{color:#979797}[dir=ltr] .q-field-label{padding-right:8px}[dir=rtl] .q-field-label{padding-left:8px}.q-field-label-inner{min-height:28px}[dir=ltr] .q-field-label-hint{padding-left:8px}[dir=rtl] .q-field-label-hint{padding-right:8px}.q-field-bottom{color:#979797;font-size:12px}[dir] .q-field-bottom{padding-top:8px}[dir] .q-field-no-input{border-top:1px solid rgba(0,0,0,.12);margin-top:8px}.q-field-counter{color:#979797}[dir=ltr] .q-field-counter{padding-left:8px}[dir=rtl] .q-field-counter{padding-right:8px}.q-field-dark .q-field-bottom,.q-field-dark .q-field-counter,.q-field-dark .q-field-icon,.q-field-dark .q-field-label{color:#a7a7a7}[dir] .q-field-dark .q-field-no-input{border-top:1px solid #979797}.q-field-with-error .q-field-bottom,.q-field-with-error .q-field-icon,.q-field-with-error .q-field-label{color:#db2828;color:var(--q-color-negative)}[dir] .q-field-with-error .q-field-no-input{border-top:1px solid #db2828;border-top-color:var(--q-color-negative);border-top-style:solid;border-top-width:1px}.q-field-with-warning .q-field-bottom,.q-field-with-warning .q-field-icon,.q-field-with-warning .q-field-label{color:#f2c037;color:var(--q-color-warning)}[dir] .q-field-with-warning .q-field-no-input{border-top:1px solid #f2c037;border-top-color:var(--q-color-warning);border-top-style:solid;border-top-width:1px}[dir] .q-field-vertical .q-field-label+.q-field-content{padding-top:8px}[dir] .q-field-vertical.q-field-floating.q-field-no-label .q-field-margin{margin-top:12px}.q-field-vertical.q-field-no-label .q-field-label{display:none}[dir] .q-field-horizontal.q-field-floating .q-field-margin{margin-top:12px}[dir] .q-field-horizontal .q-field-label+.q-field-content{padding-top:0}@media (max-width:575px){[dir] .q-field-responsive .q-field-label+.q-field-content{padding-top:8px}[dir] .q-field-responsive.q-field-floating.q-field-no-label .q-field-margin{margin-top:12px}.q-field-responsive.q-field-no-label .q-field-label{display:none}}@media (min-width:576px){[dir] .q-field-responsive.q-field-floating .q-field-margin{margin-top:12px}[dir] .q-field-responsive .q-field-label+.q-field-content{padding-top:0}}[dir] .q-inner-loading{background:hsla(0,0%,100%,.6)}[dir] .q-inner-loading.dark{background:rgba(0,0,0,.4)}.q-field-bottom,.q-field-icon,.q-field-label,.q-if,.q-if-addon,.q-if-control,.q-if-label,.q-if:after,.q-if:before{transition:all .45s cubic-bezier(.23,1,.32,1)}[dir] .q-field-bottom,[dir] .q-field-icon,[dir] .q-field-label,[dir] .q-if,[dir] .q-if-addon,[dir] .q-if-control,[dir] .q-if-label,[dir] .q-if:after,[dir] .q-if:before{-webkit-transition:all .45s cubic-bezier(.23,1,.32,1)}.q-if{min-height:32px;outline:0}[dir] .q-if{padding-bottom:8px}.q-if:not(.q-if-hide-underline):not(.q-if-inverted):after,.q-if:not(.q-if-hide-underline):not(.q-if-inverted):before{content:""}.q-if:after,.q-if:before{bottom:0;position:absolute}[dir] .q-if:after,[dir] .q-if:before{background:currentColor}[dir=ltr] .q-if:after,[dir=ltr] .q-if:before,[dir=rtl] .q-if:after,[dir=rtl] .q-if:before{left:0;right:0}.q-if:before{-webkit-transform:scaleY(1);color:#bdbdbd;color:var(--q-color-light);height:1px}[dir] .q-if:before{transform:scaleY(1)}.q-if:after{color:currentColor;height:2px;width:0}.q-if:hover:before{color:#000}[dir] .q-if .group{margin:-5px}[dir] .q-if .group:not(:first-child){margin-top:0}.q-if-hide-underline:not(.q-if-inverted){min-height:24px}[dir] .q-if-hide-underline:not(.q-if-inverted){padding-bottom:0}.q-if-focusable{outline:0}[dir] .q-if-focusable{cursor:pointer}.q-if-inner{-ms-flex-align:center;-webkit-box-align:center;align-items:center;min-height:24px!important}.q-if-has-label{min-height:41px}.q-if-has-label .q-if-inner{min-height:36px!important}[dir] .q-if-has-label .q-if-inner{padding-top:12px}.q-if-label{-moz-user-select:none;-ms-user-select:none;-webkit-transform:scale(1) translate(0);-webkit-user-select:none;pointer-events:none;top:15px;user-select:none}[dir] .q-if-label{transform:scale(1) translate(0)}[dir=ltr] .q-if-label{-webkit-transform-origin:left top 0;left:0;right:0;transform-origin:left top 0}[dir=rtl] .q-if-label{-webkit-transform-origin:right top 0;left:0;right:0;transform-origin:right top 0}.q-if-label-above{-webkit-transform:scale(.75) translateY(-22px)}[dir] .q-if-label-above{transform:scale(.75) translateY(-22px)}.q-if-addon{opacity:0;pointer-events:none}[dir=ltr] .q-if-addon-left{padding-right:1px}[dir=ltr] .q-if-addon-right,[dir=rtl] .q-if-addon-left{padding-left:1px}[dir=rtl] .q-if-addon-right{padding-right:1px}.q-if-addon-visible{opacity:1}.q-if-control{-ms-flex-item-align:end;align-self:flex-end;font-size:24px;width:24px}[dir] .q-if-control,[dir] .q-if-control.q-icon{cursor:pointer}.q-if-control:hover{opacity:.7}[dir=ltr] .q-if-control-before{margin-left:0;margin-right:4px}[dir=rtl] .q-if-control-before{margin-left:4px;margin-right:0}.q-if-addon,.q-if-control,.q-if-label{color:#979797}.q-if-inverted{-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);min-height:38px}[dir] .q-if-inverted{border-radius:2px;box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);padding:8px}.q-if-inverted .q-input-target{color:inherit}.q-if-inverted .q-if-addon,.q-if-inverted .q-if-control,.q-if-inverted .q-if-label{color:#ddd}div.q-input-target{min-width:35px}.q-if-dark:hover:before,.q-if-dark:not(.q-if-inverted-light) .q-input-target{color:#fff}.q-if-inverted-light .q-if-addon,.q-if-inverted-light .q-if-control,.q-if-inverted-light .q-if-label{color:#656565}.q-if-focused:after{width:100%}.q-if-focused .q-if-addon,.q-if-focused .q-if-control,.q-if-focused .q-if-label{color:currentColor!important}.q-if-error:after,.q-if-error:before,.q-if-error:not(.q-if-inverted) .q-if-label{color:#db2828;color:var(--q-color-negative)}.q-if-error:hover:before{color:#ec8b8b;color:var(--q-color-negative-l)}.q-if-warning:after,.q-if-warning:before,.q-if-warning:not(.q-if-inverted) .q-if-label{color:#f2c037;color:var(--q-color-warning)}.q-if-warning:hover:before{color:#f8dd93;color:var(--q-color-warning-l)}[dir] .q-if-disabled{cursor:not-allowed!important}.q-if-disabled .q-chip,.q-if-disabled .q-if-control,.q-if-disabled .q-if-label,.q-if-disabled .q-input-target{opacity:.6}[dir] .q-if-disabled .q-chip,[dir] .q-if-disabled .q-if-control,[dir] .q-if-disabled .q-if-label,[dir] .q-if-disabled .q-input-target{cursor:not-allowed!important}[dir] .q-if-disabled:before{background-color:transparent;background-position:bottom;background-repeat:repeat-x;background-size:3px 1px}[dir=ltr] .q-if-disabled:before{background-image:-webkit-gradient(linear,left top,right top,color-stop(0,rgba(0,0,0,.38)),color-stop(33%,rgba(0,0,0,.38)),color-stop(0,transparent));background-image:linear-gradient(90deg,rgba(0,0,0,.38),rgba(0,0,0,.38) 33%,transparent 0)}[dir=rtl] .q-if-disabled:before{background-image:-webkit-gradient(linear,right top,left top,color-stop(0,rgba(0,0,0,.38)),color-stop(33%,rgba(0,0,0,.38)),color-stop(0,transparent));background-image:linear-gradient(-90deg,rgba(0,0,0,.38),rgba(0,0,0,.38) 33%,transparent 0)}[dir=ltr] .q-if-disabled.q-if-dark:before{background-image:-webkit-gradient(linear,left top,right top,color-stop(0,hsla(0,0%,100%,.7)),color-stop(33%,hsla(0,0%,100%,.7)),color-stop(0,transparent));background-image:linear-gradient(90deg,hsla(0,0%,100%,.7),hsla(0,0%,100%,.7) 33%,transparent 0)}[dir=rtl] .q-if-disabled.q-if-dark:before{background-image:-webkit-gradient(linear,right top,left top,color-stop(0,hsla(0,0%,100%,.7)),color-stop(33%,hsla(0,0%,100%,.7)),color-stop(0,transparent));background-image:linear-gradient(-90deg,hsla(0,0%,100%,.7),hsla(0,0%,100%,.7) 33%,transparent 0)}.q-input-shadow,.q-input-target{-ms-flex-align:center;-webkit-box-align:center;align-items:center;color:#000;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:inherit;min-height:18px;outline:0;resize:none}[dir] .q-input-shadow,[dir] .q-input-target{background:transparent;border:0;padding:0}[dir=ltr] .q-input-shadow:-webkit-autofill,[dir=ltr] .q-input-target:-webkit-autofill,[dir=rtl] .q-input-shadow:-webkit-autofill,[dir=rtl] .q-input-target:-webkit-autofill{-webkit-animation-fill-mode:both;-webkit-animation-name:webkit-autofill-on}[dir=ltr] .q-input-shadow.q-input-autofill:not(:-webkit-autofill),[dir=ltr] .q-input-target.q-input-autofill:not(:-webkit-autofill),[dir=rtl] .q-input-shadow.q-input-autofill:not(:-webkit-autofill),[dir=rtl] .q-input-target.q-input-autofill:not(:-webkit-autofill){-webkit-animation-fill-mode:both;-webkit-animation-name:webkit-autofill-off}.q-input-shadow::-ms-clear,.q-input-shadow::-ms-reveal,.q-input-target::-ms-clear,.q-input-target::-ms-reveal{display:none;height:0;width:0}.q-input-shadow:invalid,.q-input-target:invalid{-webkit-box-shadow:inherit}[dir] .q-input-shadow:invalid,[dir] .q-input-target:invalid{box-shadow:inherit}input.q-input-target{height:19px;outline:0}.q-input-chips{min-height:36px!important}.q-if .q-input-target-placeholder{color:#979797!important}.q-if .q-input-target::-webkit-input-placeholder{color:#979797!important}.q-if .q-input-target::-moz-placeholder{color:#979797!important}.q-if .q-input-target:-ms-input-placeholder{color:#979797!important}.q-if-dark .q-input-target-placeholder{color:#979797!important}.q-if-dark .q-input-target::-webkit-input-placeholder{color:#979797!important}.q-if-dark .q-input-target::-moz-placeholder{color:#979797!important}.q-if-dark .q-input-target:-ms-input-placeholder{color:#979797!important}.q-if-inverted:not(.q-if-inverted-light) .q-input-target-placeholder{color:#ddd!important}.q-if-inverted:not(.q-if-inverted-light) .q-input-target::-webkit-input-placeholder{color:#ddd!important}.q-if-inverted:not(.q-if-inverted-light) .q-input-target::-moz-placeholder{color:#ddd!important}.q-if-inverted:not(.q-if-inverted-light) .q-input-target:-ms-input-placeholder{color:#ddd!important}.q-input-shadow{height:auto;overflow:hidden;pointer-events:none;visibility:hidden}.q-jumbotron{position:relative}[dir] .q-jumbotron{background-color:#eee;background-repeat:no-repeat;background-size:cover;border-radius:2px;padding:2rem 1rem}.q-jumbotron-dark{color:#fff}[dir] .q-jumbotron-dark{background-color:#757575}[dir] .q-jumbotron-dark hr.q-hr{background:hsla(0,0%,100%,.36)}@media (min-width:768px){[dir] .q-jumbotron{padding:4rem 2rem}}.q-knob,.q-knob>div{display:inline-block;position:relative}.q-knob>div{height:100%;width:100%}.q-knob-label{bottom:0;pointer-events:none;position:absolute;top:0;width:100%}[dir=ltr] .q-knob-label,[dir=rtl] .q-knob-label{left:0;right:0}.q-knob-label i{font-size:130%}.q-layout{min-height:100vh;width:100%}.q-layout-header{-webkit-box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px rgba(0,0,0,.14),0 1px 10px rgba(0,0,0,.12)}[dir] .q-layout-header{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px rgba(0,0,0,.14),0 1px 10px rgba(0,0,0,.12)}.q-layout-header-hidden{-webkit-transform:translateY(-110%)}[dir] .q-layout-header-hidden{transform:translateY(-110%)}.q-layout-footer{-webkit-box-shadow:0 -2px 4px -1px rgba(0,0,0,.2),0 -4px 5px rgba(0,0,0,.14),0 -1px 10px rgba(0,0,0,.12)}[dir] .q-layout-footer{box-shadow:0 -2px 4px -1px rgba(0,0,0,.2),0 -4px 5px rgba(0,0,0,.14),0 -1px 10px rgba(0,0,0,.12)}.q-layout-footer-hidden{-webkit-transform:translateY(110%)}[dir] .q-layout-footer-hidden{transform:translateY(110%)}.q-layout-drawer{bottom:0;position:absolute;top:0;z-index:1000}[dir] .q-layout-drawer{background:#fff}.q-layout-drawer.on-top{z-index:3000}.q-layout-drawer-delimiter{-webkit-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[dir] .q-layout-drawer-delimiter{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[dir=ltr] .q-layout-drawer-left{-webkit-transform:translateX(-100%);left:0;transform:translateX(-100%)}[dir=ltr] .q-layout-drawer-right,[dir=rtl] .q-layout-drawer-left{-webkit-transform:translateX(100%);right:0;transform:translateX(100%)}[dir=rtl] .q-layout-drawer-right{-webkit-transform:translateX(-100%);left:0;transform:translateX(-100%)}.q-layout,.q-layout-footer,.q-layout-header,.q-layout-page{position:relative}.q-layout-footer,.q-layout-header{z-index:2000}.q-layout-backdrop{will-change:background-color;z-index:2999!important}[dir] .q-layout-drawer-mini{padding:0!important}.q-layout-drawer-mini .q-item,.q-layout-drawer-mini .q-item-side{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}[dir] .q-layout-drawer-mini .q-item,[dir] .q-layout-drawer-mini .q-item-side{text-align:center}.q-layout-drawer-mini .q-collapsible-inner>div:last-of-type,.q-layout-drawer-mini .q-item-main,.q-layout-drawer-mini .q-item-side-right,.q-layout-drawer-mini .q-list-header,.q-layout-drawer-mini .q-mini-drawer-hide,.q-layout-drawer-mobile .q-mini-drawer-hide,.q-layout-drawer-mobile .q-mini-drawer-only,.q-layout-drawer-normal .q-mini-drawer-only{display:none}.q-layout-drawer-opener{height:100vh;width:15px;z-index:2001}.q-page-sticky-shrink{pointer-events:none}.q-page-sticky-shrink>span{pointer-events:auto}body.q-ios-statusbar-padding .q-layout-drawer.top-padding,body.q-ios-statusbar-padding .q-layout-header>.q-tabs:nth-child(2) .q-tabs-head,body.q-ios-statusbar-padding .q-layout-header>.q-toolbar:nth-child(2){min-height:70px}[dir] body.q-ios-statusbar-padding .q-layout-drawer.top-padding,[dir] body.q-ios-statusbar-padding .q-layout-header>.q-tabs:nth-child(2) .q-tabs-head,[dir] body.q-ios-statusbar-padding .q-layout-header>.q-toolbar:nth-child(2){padding-top:20px}.q-layout-animate .q-layout-transition{transition:all .12s ease-in}[dir] .q-layout-animate .q-layout-transition{-webkit-transition:all .12s ease-in}.q-body-drawer-toggle{overflow-x:hidden}@media (max-width:767px){[dir] .layout-padding{padding:1.5rem .5rem}[dir] .layout-padding.horizontal{padding:0 .5rem}}@media (min-width:768px) and (max-width:991px){[dir] .layout-padding{margin:auto;padding:1.5rem 2rem}[dir] .layout-padding.horizontal{padding:0 2rem}}@media (min-width:992px) and (max-width:1199px){[dir] .layout-padding{margin:auto;padding:2.5rem 3rem}[dir] .layout-padding.horizontal{padding:0 3rem}}@media (min-width:1200px){[dir] .layout-padding{margin:auto;padding:3rem 4rem}[dir] .layout-padding.horizontal{padding:0 4rem}}.q-item-stamp{font-size:.8rem;line-height:.8rem;white-space:nowrap}[dir] .q-item-stamp{margin:.3rem 0}.q-item-side{-ms-flex:0 0 auto;-webkit-box-flex:0;color:#737373;flex:0 0 auto;min-width:38px}[dir=ltr] .q-item-side-right{text-align:right}[dir=rtl] .q-item-side-right{text-align:left}.q-item-avatar,.q-item-avatar img{height:38px;width:38px}[dir] .q-item-avatar,[dir] .q-item-avatar img{border-radius:50%}.q-item-icon,.q-item-letter{font-size:24px}.q-item-inverted{color:#fff;height:38px;width:38px}[dir] .q-item-inverted{background:#737373;border-radius:50%}.q-item-inverted,.q-item-inverted .q-icon{font-size:20px}.q-item-main{-ms-flex:1 1 auto;-webkit-box-flex:1;flex:1 1 auto;min-width:0}[dir=ltr] .q-item-main-inset{margin-left:48px}[dir=rtl] .q-item-main-inset{margin-right:48px}.q-item-label>span{color:#757575}.q-item-sublabel{color:#757575;font-size:90%}[dir] .q-item-sublabel{margin-top:.2rem}.q-item-sublabel>span{font-weight:500}[dir=ltr] .q-item-section+.q-item-section{margin-left:10px}[dir=rtl] .q-item-section+.q-item-section{margin-right:10px}.q-item{-ms-flex-align:center;-webkit-box-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex;font-size:1rem;min-height:40px;position:relative}[dir] .q-item{padding:8px 16px}[dir=ltr] .q-item{text-align:left}[dir=rtl] .q-item{text-align:right}[dir] .q-item.active,[dir] .q-item.router-link-active,[dir] .q-item:focus{background:hsla(0,0%,74%,.4)}.q-item:focus{outline:0}.q-item-image{max-height:114px;max-width:114px;min-width:114px}.q-item-multiline,.q-list-multiline>.q-item{-ms-flex-align:start;-webkit-box-align:start;align-items:flex-start}[dir] .q-item-link,[dir] .q-list-link>.q-item{cursor:pointer}[dir] .q-item-highlight:hover,[dir] .q-item-link:hover,[dir] .q-list-highlight>.q-item:hover,[dir] .q-list-link>.q-item:hover{background:hsla(0,0%,74%,.5)}[dir] .q-item-division+.q-item-separator,[dir] .q-list-separator>.q-item-division+.q-item-division{border-top:1px solid #e0e0e0}.q-item-division+.q-item-inset-separator:after,.q-list-inset-separator>.q-item-division+.q-item-division:after{content:"";height:1px;position:absolute;top:0}[dir] .q-item-division+.q-item-inset-separator:after,[dir] .q-list-inset-separator>.q-item-division+.q-item-division:after{background:#e0e0e0}[dir=ltr] .q-item-division+.q-item-inset-separator:after,[dir=ltr] .q-list-inset-separator>.q-item-division+.q-item-division:after{left:64px;right:0}[dir=rtl] .q-item-division+.q-item-inset-separator:after,[dir=rtl] .q-list-inset-separator>.q-item-division+.q-item-division:after{left:0;right:64px}.q-item-dense,.q-list-dense>.q-item{min-height:8px}[dir] .q-item-dense,[dir] .q-list-dense>.q-item{padding:3px 16px}.q-item-sparse,.q-list-sparse>.q-item{min-height:56px}[dir] .q-item-sparse,[dir] .q-list-sparse>.q-item{padding:22.4px 16px}[dir] .q-list-striped-odd>.q-item:nth-child(odd),[dir] .q-list-striped>.q-item:nth-child(2n){background-color:hsla(0,0%,74%,.65)}[dir] .q-list{border:1px solid #e0e0e0;padding:8px 0}.q-item-separator-component{height:1px}[dir] .q-item-separator-component{background-color:#e0e0e0;border:0;margin:8px 0}.q-item-separator-component:last-child{display:none}[dir] .q-item-separator-component+.q-list-header{margin-top:-8px}[dir=ltr] .q-item-separator-inset-component{margin-left:64px}[dir=rtl] .q-item-separator-inset-component{margin-right:64px}.q-list-header{color:#757575;font-size:14px;font-weight:500;line-height:18px;min-height:48px}[dir] .q-list-header{padding:15px 16px}[dir=ltr] .q-list-header-inset{padding-left:64px}[dir=rtl] .q-list-header-inset{padding-right:64px}.q-item-dark .q-item-side,.q-list-dark .q-item-side{color:#bbb}.q-item-dark .q-item-inverted,.q-list-dark .q-item-inverted{color:#000}[dir] .q-item-dark .q-item-inverted,[dir] .q-list-dark .q-item-inverted{background:#bbb}.q-item-dark .q-item-label>span,.q-item-dark .q-item-sublabel,.q-list-dark .q-item-label>span,.q-list-dark .q-item-sublabel{color:#bdbdbd}.q-item-dark .q-item,.q-list-dark .q-item{color:#fff}[dir] .q-item-dark .q-item.active,[dir] .q-item-dark .q-item.router-link-active,[dir] .q-item-dark .q-item:focus,[dir] .q-list-dark .q-item.active,[dir] .q-list-dark .q-item.router-link-active,[dir] .q-list-dark .q-item:focus{background:hsla(0,0%,46%,.2)}[dir] .q-list-dark{border:1px solid hsla(0,0%,100%,.32)}[dir] .q-list-dark .q-item-division+.q-item-separator,[dir] .q-list-dark.q-list-separator>.q-item-division+.q-item-division{border-top:1px solid hsla(0,0%,100%,.32)}[dir] .q-list-dark .q-item-division+.q-item-inset-separator:after,[dir] .q-list-dark.q-list-inset-separator>.q-item-division+.q-item-division:after{background:hsla(0,0%,100%,.32)}[dir] .q-list-dark.q-list-striped-odd>.q-item:nth-child(odd),[dir] .q-list-dark.q-list-striped>.q-item:nth-child(2n){background-color:hsla(0,0%,46%,.45)}[dir] .q-list-dark .q-item-separator-component{background-color:hsla(0,0%,100%,.32)}.q-list-dark .q-list-header{color:hsla(0,0%,100%,.64)}[dir] .q-list-dark .q-item-highlight:hover,[dir] .q-list-dark .q-item-link:hover,[dir] .q-list-dark.q-list-highlight>.q-item:hover,[dir] .q-list-dark.q-list-link>.q-item:hover{background:hsla(0,0%,46%,.3)}body.with-loading{overflow:hidden}[dir] .q-loading{background:rgba(0,0,0,.4)}.q-loading>div{max-width:450px}[dir] .q-loading>div{margin:40px 20px 0;text-align:center;text-shadow:0 0 7px #000}.modal-content{-webkit-backface-visibility:hidden;-webkit-box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px rgba(0,0,0,.14),0 1px 10px rgba(0,0,0,.12);max-height:80vh;min-width:280px;outline:0;overflow-y:auto;position:relative;will-change:scroll-position}[dir] .modal-content{background:#fff;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px rgba(0,0,0,.14),0 1px 10px rgba(0,0,0,.12)}.modal{z-index:5000}[dir] .modal.minimized,[dir] .modal.with-backdrop{background:rgba(0,0,0,.4)}.modal.minimized .modal-content{max-height:80vh;max-width:80vw}.modal.maximized .modal-content{height:100%;max-height:100%;max-width:100%;width:100%}.q-modal-enter,.q-modal-leave-active{opacity:0}@media (min-width:768px){[dir] .modal:not(.maximized){background:rgba(0,0,0,.4)}.modal:not(.maximized).q-modal-enter .modal-content{-webkit-transform:scale(1.2)}[dir] .modal:not(.maximized).q-modal-enter .modal-content{transform:scale(1.2)}.modal:not(.maximized).q-modal-leave-active .modal-content{-webkit-transform:scale(.8)}[dir] .modal:not(.maximized).q-modal-leave-active .modal-content{transform:scale(.8)}.modal.maximized.q-modal-enter .modal-content,.modal.maximized.q-modal-leave-active .modal-content{-webkit-transform:translateY(30%)}[dir] .modal.maximized.q-modal-enter .modal-content,[dir] .modal.maximized.q-modal-leave-active .modal-content{transform:translateY(30%)}}@media (max-width:767px){.q-responsive-modal{overflow:hidden}.modal:not(.minimized) .modal-content{height:100%;max-height:100%;max-width:100%;width:100%}.modal:not(.minimized).q-modal-enter .modal-content,.modal:not(.minimized).q-modal-leave-active .modal-content{-webkit-transform:translateY(30%)}[dir] .modal:not(.minimized).q-modal-enter .modal-content,[dir] .modal:not(.minimized).q-modal-leave-active .modal-content{transform:translateY(30%)}.modal.minimized.q-modal-enter .modal-content{-webkit-transform:scale(1.2)}[dir] .modal.minimized.q-modal-enter .modal-content{transform:scale(1.2)}.modal.minimized.q-modal-leave-active .modal-content{-webkit-transform:scale(.8)}[dir] .modal.minimized.q-modal-leave-active .modal-content{transform:scale(.8)}}.q-maximized-modal{overflow:hidden}.modal,.modal-content{transition:all .2s ease-in-out}[dir] .modal,[dir] .modal-content{-webkit-transition:all .2s ease-in-out}.modal-header{font-size:1.6rem;font-weight:500}[dir] .modal-header{padding:24px 24px 10px}[dir=ltr] .modal-header{text-align:left}[dir=rtl] .modal-header{text-align:right}.modal-body{color:rgba(0,0,0,.5)}[dir] .modal-body{padding:10px 24px}.big-modal-scroll,.modal-scroll,.small-modal-scroll{-webkit-overflow-scrolling:touch;overflow:auto;will-change:scroll-position}.small-modal-scroll{max-height:156px}.modal-scroll{max-height:240px}.big-modal-scroll{max-height:480px}.modal-buttons{-ms-flex-pack:end;-webkit-box-pack:end;color:#027be3;color:var(--q-color-primary);justify-content:flex-end}[dir] .modal-buttons{padding:22px 8px 8px}[dir=ltr] .modal-buttons.row .q-btn+.q-btn{margin-left:8px}[dir=rtl] .modal-buttons.row .q-btn+.q-btn{margin-right:8px}.modal-buttons.column{-ms-flex-align:end;-webkit-box-align:end;align-items:flex-end}[dir] .modal-buttons.column .q-btn+.q-btn{margin-top:8px}.q-modal-bottom-enter,.q-modal-bottom-leave-active{opacity:0}.q-modal-bottom-enter .modal-content,.q-modal-bottom-leave-active .modal-content{-webkit-transform:translateY(30%)}[dir] .q-modal-bottom-enter .modal-content,[dir] .q-modal-bottom-leave-active .modal-content{transform:translateY(30%)}.q-modal-top-enter,.q-modal-top-leave-active{opacity:0}.q-modal-top-enter .modal-content,.q-modal-top-leave-active .modal-content{-webkit-transform:translateY(-30%)}[dir] .q-modal-top-enter .modal-content,[dir] .q-modal-top-leave-active .modal-content{transform:translateY(-30%)}.q-modal-right-enter,.q-modal-right-leave-active{opacity:0}[dir=ltr] .q-modal-right-enter .modal-content,[dir=ltr] .q-modal-right-leave-active .modal-content{-webkit-transform:translateX(30%);transform:translateX(30%)}[dir=rtl] .q-modal-right-enter .modal-content,[dir=rtl] .q-modal-right-leave-active .modal-content{-webkit-transform:translateX(-30%);transform:translateX(-30%)}.q-modal-left-enter,.q-modal-left-leave-active{opacity:0}[dir=ltr] .q-modal-left-enter .modal-content,[dir=ltr] .q-modal-left-leave-active .modal-content{-webkit-transform:translateX(-30%);transform:translateX(-30%)}[dir=rtl] .q-modal-left-enter .modal-content,[dir=rtl] .q-modal-left-leave-active .modal-content{-webkit-transform:translateX(30%);transform:translateX(30%)}.q-notifications>div{z-index:9500}.q-notification-list{pointer-events:none;position:relative}[dir] .q-notification-list{margin-bottom:10px}[dir=ltr] .q-notification-list,[dir=rtl] .q-notification-list{left:0;right:0}.q-notification-list-center{bottom:0;top:0}.q-notification-list-top{top:0}.q-notification-list-bottom{bottom:0}.q-notification{display:inline-block;max-width:100%;pointer-events:all;transition:all 1s;z-index:9500}[dir] .q-notification{-webkit-transition:all 1s;border-radius:5px;margin:10px 10px 0}.q-notification-top-enter,.q-notification-top-leave-to,.q-notification-top-left-enter,.q-notification-top-left-leave-to,.q-notification-top-right-enter,.q-notification-top-right-leave-to{-webkit-transform:translateY(-50px);opacity:0;z-index:9499}[dir] .q-notification-top-enter,[dir] .q-notification-top-leave-to,[dir] .q-notification-top-left-enter,[dir] .q-notification-top-left-leave-to,[dir] .q-notification-top-right-enter,[dir] .q-notification-top-right-leave-to{transform:translateY(-50px)}.q-notification-bottom-enter,.q-notification-bottom-leave-to,.q-notification-bottom-left-enter,.q-notification-bottom-left-leave-to,.q-notification-bottom-right-enter,.q-notification-bottom-right-leave-to,.q-notification-center-enter,.q-notification-center-leave-to,.q-notification-left-enter,.q-notification-left-leave-to,.q-notification-right-enter,.q-notification-right-leave-to{-webkit-transform:translateY(50px);opacity:0;z-index:9499}[dir] .q-notification-bottom-enter,[dir] .q-notification-bottom-leave-to,[dir] .q-notification-bottom-left-enter,[dir] .q-notification-bottom-left-leave-to,[dir] .q-notification-bottom-right-enter,[dir] .q-notification-bottom-right-leave-to,[dir] .q-notification-center-enter,[dir] .q-notification-center-leave-to,[dir] .q-notification-left-enter,[dir] .q-notification-left-leave-to,[dir] .q-notification-right-enter,[dir] .q-notification-right-leave-to{transform:translateY(50px)}.q-notification-bottom-leave-active,.q-notification-bottom-left-leave-active,.q-notification-bottom-right-leave-active,.q-notification-center-leave-active,.q-notification-left-leave-active,.q-notification-right-leave-active,.q-notification-top-leave-active,.q-notification-top-left-leave-active,.q-notification-top-right-leave-active{position:absolute;z-index:9499}[dir=ltr] .q-notification-bottom-leave-active,[dir=ltr] .q-notification-bottom-left-leave-active,[dir=ltr] .q-notification-bottom-right-leave-active,[dir=ltr] .q-notification-center-leave-active,[dir=ltr] .q-notification-left-leave-active,[dir=ltr] .q-notification-right-leave-active,[dir=ltr] .q-notification-top-leave-active,[dir=ltr] .q-notification-top-left-leave-active,[dir=ltr] .q-notification-top-right-leave-active,[dir=rtl] .q-notification-bottom-leave-active,[dir=rtl] .q-notification-bottom-left-leave-active,[dir=rtl] .q-notification-bottom-right-leave-active,[dir=rtl] .q-notification-center-leave-active,[dir=rtl] .q-notification-left-leave-active,[dir=rtl] .q-notification-right-leave-active,[dir=rtl] .q-notification-top-leave-active,[dir=rtl] .q-notification-top-left-leave-active,[dir=rtl] .q-notification-top-right-leave-active{margin-left:0;margin-right:0}.q-notification-center-leave-active,.q-notification-top-leave-active{top:0}.q-notification-bottom-leave-active,.q-notification-bottom-left-leave-active,.q-notification-bottom-right-leave-active{bottom:0}.q-option-inner{display:inline-block;line-height:0}[dir=ltr] .q-option-inner+.q-option-label{margin-left:8px}[dir=rtl] .q-option-inner+.q-option-label{margin-right:8px}.q-option{vertical-align:middle}.q-option input{display:none!important}[dir=ltr] .q-option.reverse .q-option-inner+.q-option-label{margin-left:0;margin-right:8px}[dir=rtl] .q-option.reverse .q-option-inner+.q-option-label{margin-left:8px;margin-right:0}.q-option-group-inline-opts>div{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}[dir] .q-option-group{margin:-5px;padding:5px 0}[dir] .q-pagination input{text-align:center}[dir] .q-pagination .q-btn{padding:0 5px!important}.q-pagination .q-btn.disabled{color:#777;color:var(--q-color-faded)}.q-parallax{overflow:hidden;position:relative;width:100%}[dir] .q-parallax{border-radius:inherit}.q-parallax-image>img{bottom:0;min-height:100%;min-width:100%;position:absolute;visibility:hidden}[dir=ltr] .q-parallax-image>img{left:50%}[dir=rtl] .q-parallax-image>img{right:50%}.q-parallax-image>img.ready{visibility:visible}[dir] .q-parallax-text{text-shadow:0 0 5px #fff}.q-popover{-webkit-box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px rgba(0,0,0,.14),0 1px 10px rgba(0,0,0,.12);max-width:100vw;outline:0;overflow-x:hidden;overflow-y:auto;position:fixed;z-index:8000}[dir] .q-popover{background:#fff;box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px rgba(0,0,0,.14),0 1px 10px rgba(0,0,0,.12)}[dir] .q-popover>.q-list:only-child{border:none}body div .q-popover{display:none}.q-progress{display:block;height:5px;overflow:hidden;position:relative;width:100%}[dir] .q-progress{background-clip:padding-box}[dir] .q-progress-model{background:currentColor}[dir=ltr] .q-progress-model.animate{-webkit-animation:q-progress-stripes-ltr 2s linear infinite;animation:q-progress-stripes-ltr 2s linear infinite}[dir=rtl] .q-progress-model.animate{-webkit-animation:q-progress-stripes-rtl 2s linear infinite;animation:q-progress-stripes-rtl 2s linear infinite}.q-progress-model:not(.indeterminate){bottom:0;position:absolute;top:0;transition:width .3s linear}[dir] .q-progress-model:not(.indeterminate){-webkit-transition:width .3s linear}.q-progress-model.indeterminate:after,.q-progress-model.indeterminate:before{bottom:0;content:"";position:absolute;top:0;will-change:left,right}[dir] .q-progress-model.indeterminate:after,[dir] .q-progress-model.indeterminate:before{background:inherit}[dir=ltr] .q-progress-model.indeterminate:after,[dir=ltr] .q-progress-model.indeterminate:before{left:0}[dir=rtl] .q-progress-model.indeterminate:after,[dir=rtl] .q-progress-model.indeterminate:before{right:0}[dir=ltr] .q-progress-model.indeterminate:before{-webkit-animation:q-progress-indeterminate-ltr 2.1s cubic-bezier(.65,.815,.735,.395) infinite;animation:q-progress-indeterminate-ltr 2.1s cubic-bezier(.65,.815,.735,.395) infinite}[dir=rtl] .q-progress-model.indeterminate:before{-webkit-animation:q-progress-indeterminate-rtl 2.1s cubic-bezier(.65,.815,.735,.395) infinite;animation:q-progress-indeterminate-rtl 2.1s cubic-bezier(.65,.815,.735,.395) infinite}[dir=ltr] .q-progress-model.indeterminate:after{-webkit-animation:q-progress-indeterminate-short-ltr 2.1s cubic-bezier(.165,.84,.44,1) infinite;-webkit-animation-delay:1.15s;animation:q-progress-indeterminate-short-ltr 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation-delay:1.15s}[dir=rtl] .q-progress-model.indeterminate:after{-webkit-animation:q-progress-indeterminate-short-rtl 2.1s cubic-bezier(.165,.84,.44,1) infinite;-webkit-animation-delay:1.15s;animation:q-progress-indeterminate-short-rtl 2.1s cubic-bezier(.165,.84,.44,1) infinite;animation-delay:1.15s}[dir] .q-progress-model.stripe,[dir] .q-progress-model.stripe:after,[dir] .q-progress-model.stripe:before{background-size:40px 40px!important}[dir=ltr] .q-progress-model.stripe,[dir=ltr] .q-progress-model.stripe:after,[dir=ltr] .q-progress-model.stripe:before{background-image:linear-gradient(45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)!important}[dir=rtl] .q-progress-model.stripe,[dir=rtl] .q-progress-model.stripe:after,[dir=rtl] .q-progress-model.stripe:before{background-image:linear-gradient(-45deg,hsla(0,0%,100%,.15) 25%,transparent 0,transparent 50%,hsla(0,0%,100%,.15) 0,hsla(0,0%,100%,.15) 75%,transparent 0,transparent)!important}.q-progress-track{bottom:0;top:0;transition:width .3s linear}[dir] .q-progress-track{-webkit-transition:width .3s linear}[dir=ltr] .q-progress-track{left:0}[dir=rtl] .q-progress-track{right:0}.q-progress-buffer{-webkit-mask:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZWxsaXBzZSBjeD0iMiIgY3k9IjIiIHJ4PSIyIiByeT0iMiI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iY3giIGZyb209IjIiIHRvPSItMTAiIGR1cj0iMC42cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz48L2VsbGlwc2U+PGVsbGlwc2UgY3g9IjE0IiBjeT0iMiIgcng9IjIiIHJ5PSIyIiBjbGFzcz0ibG9hZGVyIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJjeCIgZnJvbT0iMTQiIHRvPSIyIiBkdXI9IjAuNnMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+PC9lbGxpcHNlPjwvc3ZnPg==");-webkit-transform:translateY(-50%);height:4px;mask:url("data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZWxsaXBzZSBjeD0iMiIgY3k9IjIiIHJ4PSIyIiByeT0iMiI+PGFuaW1hdGUgYXR0cmlidXRlTmFtZT0iY3giIGZyb209IjIiIHRvPSItMTAiIGR1cj0iMC42cyIgcmVwZWF0Q291bnQ9ImluZGVmaW5pdGUiLz48L2VsbGlwc2U+PGVsbGlwc2UgY3g9IjE0IiBjeT0iMiIgcng9IjIiIHJ5PSIyIiBjbGFzcz0ibG9hZGVyIj48YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJjeCIgZnJvbT0iMTQiIHRvPSIyIiBkdXI9IjAuNnMiIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIi8+PC9lbGxpcHNlPjwvc3ZnPg==");top:50%;transition:width .3s linear}[dir] .q-progress-buffer{-webkit-transition:width .3s linear;transform:translateY(-50%)}[dir=ltr] .q-progress-buffer{right:0}[dir=rtl] .q-progress-buffer{left:0}.q-progress-buffer,.q-progress-track{opacity:.2;position:absolute}[dir] .q-progress-buffer,[dir] .q-progress-track{background:currentColor}.pull-to-refresh{position:relative}.pull-to-refresh-message{font-size:1rem;height:65px}.pull-to-refresh-message .q-icon{font-size:2rem;transition:all .3s}[dir] .pull-to-refresh-message .q-icon{-webkit-transition:all .3s}[dir=ltr] .pull-to-refresh-message .q-icon{margin-right:15px}[dir=rtl] .pull-to-refresh-message .q-icon{margin-left:15px}.q-radio-checked,.q-radio-unchecked,.q-radio .q-option-inner{font-size:21px;height:21px;min-width:21px;opacity:1;transition:-webkit-transform .45s cubic-bezier(.23,1,.32,1);transition:transform .45s cubic-bezier(.23,1,.32,1);transition:transform .45s cubic-bezier(.23,1,.32,1),-webkit-transform .45s cubic-bezier(.23,1,.32,1);width:21px}[dir] .q-radio-checked,[dir] .q-radio-unchecked,[dir] .q-radio .q-option-inner{-webkit-transition:-webkit-transform .45s cubic-bezier(.23,1,.32,1)}.q-radio-unchecked{opacity:1}.q-radio-checked{-webkit-transform:scale(0);-webkit-transform-origin:50% 50% 0}[dir] .q-radio-checked{transform:scale(0);transform-origin:50% 50% 0}.q-radio .q-option-inner.active .q-radio-unchecked{opacity:0}.q-radio .q-option-inner.active .q-radio-checked{-webkit-transform:scale(1)}[dir] .q-radio .q-option-inner.active .q-radio-checked{transform:scale(1)}.q-rating{color:#ffeb3b;vertical-align:middle}.q-rating span{display:inherit;pointer-events:none}.q-rating i{color:currentColor;opacity:.4;pointer-events:all;position:relative}[dir] .q-rating i{cursor:default;text-shadow:0 1px 3px rgba(0,0,0,.12),0 1px 2px rgba(0,0,0,.24)}.q-rating i.hovered{-webkit-transform:scale(1.3)}[dir] .q-rating i.hovered{transform:scale(1.3)}.q-rating i.exselected{opacity:.7}.q-rating i.active{opacity:1}[dir=ltr] .q-rating i+i{margin-left:.3rem}[dir=rtl] .q-rating i+i{margin-right:.3rem}[dir] .q-rating.editable i{cursor:pointer}.q-rating:not(.editable) span,.q-rating i{outline:0}.q-scrollarea-thumb{opacity:.2;transition:opacity .3s;width:10px}[dir] .q-scrollarea-thumb{-webkit-transition:opacity .3s;background:#000}[dir=ltr] .q-scrollarea-thumb{right:0}[dir=rtl] .q-scrollarea-thumb{left:0}.q-scrollarea-thumb.invisible-thumb{opacity:0!important}.q-scrollarea-thumb:hover{opacity:.3}.q-scrollarea-thumb:active{opacity:.5}[dir] .q-toolbar .q-search{background:hsla(0,0%,100%,.25)}[dir] body.desktop .q-select-highlight{background:hsla(0,0%,74%,.5)!important}.q-slider-mark,.q-slider-track{opacity:.4}[dir] .q-slider-mark,[dir] .q-slider-track{background:currentColor}.q-slider-track{-webkit-transform:translateY(-50%);height:2px;position:absolute;top:50%;width:100%}[dir] .q-slider-track{transform:translateY(-50%)}[dir=ltr] .q-slider-track{left:0}[dir=rtl] .q-slider-track{right:0}.q-slider-track:not(.dragging){transition:all .3s ease}[dir] .q-slider-track:not(.dragging){-webkit-transition:all .3s ease}.q-slider-track.active-track{opacity:1}.q-slider-track.track-draggable.dragging{height:4px;transition:height .3s ease}[dir] .q-slider-track.track-draggable.dragging{-webkit-transition:height .3s ease}[dir] .q-slider-track.handle-at-minimum{background:transparent}.q-slider-mark{height:10px;position:absolute;top:50%;width:2px}[dir=ltr] .q-slider-mark{-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}[dir=rtl] .q-slider-mark{-webkit-transform:translateX(50%) translateY(-50%);transform:translateX(50%) translateY(-50%)}.q-slider-handle-container{height:100%;position:relative}[dir=ltr] .q-slider-handle-container,[dir=rtl] .q-slider-handle-container{margin-left:6px;margin-right:6px}.q-slider-label{opacity:0;top:0;transition:all .2s}[dir] .q-slider-label{-webkit-transition:all .2s;padding:2px 4px}[dir=ltr] .q-slider-label{-webkit-transform:translateX(-50%) translateY(0) scale(0);left:6px;transform:translateX(-50%) translateY(0) scale(0)}[dir=rtl] .q-slider-label{-webkit-transform:translateX(50%) translateY(0) scale(0);right:6px;transform:translateX(50%) translateY(0) scale(0)}.q-slider-label.label-always{opacity:1}[dir=ltr] .q-slider-label.label-always{-webkit-transform:translateX(-50%) translateY(-139%) scale(1);transform:translateX(-50%) translateY(-139%) scale(1)}[dir=rtl] .q-slider-label.label-always{-webkit-transform:translateX(50%) translateY(-139%) scale(1);transform:translateX(50%) translateY(-139%) scale(1)}.q-slider-handle{-webkit-transform-origin:center;height:12px;outline:0;position:absolute;top:50%;transition:all .3s ease;width:12px}[dir] .q-slider-handle{-webkit-transition:all .3s ease;background:currentColor;transform-origin:center}[dir=ltr] .q-slider-handle{-webkit-transform:translate3d(-50%,-50%,0);transform:translate3d(-50%,-50%,0)}[dir=rtl] .q-slider-handle{-webkit-transform:translate3d(50%,-50%,0);transform:translate3d(50%,-50%,0)}.q-slider-handle .q-chip{max-width:unset}.q-slider-handle.dragging{transition:opacity .3s ease,-webkit-transform .3s ease;transition:opacity .3s ease,transform .3s ease;transition:opacity .3s ease,transform .3s ease,-webkit-transform .3s ease}[dir] .q-slider-handle.dragging{-webkit-transition:opacity .3s ease,-webkit-transform .3s ease}[dir=ltr] .q-slider-handle.dragging{-webkit-transform:translate3d(-50%,-50%,0) scale(1.3);transform:translate3d(-50%,-50%,0) scale(1.3)}[dir=rtl] .q-slider-handle.dragging{-webkit-transform:translate3d(50%,-50%,0) scale(1.3);transform:translate3d(50%,-50%,0) scale(1.3)}.q-slider-handle.dragging .q-slider-label{opacity:1}[dir=ltr] .q-slider-handle.dragging .q-slider-label{-webkit-transform:translateX(-50%) translateY(-139%) scale(1);transform:translateX(-50%) translateY(-139%) scale(1)}[dir=rtl] .q-slider-handle.dragging .q-slider-label{-webkit-transform:translateX(50%) translateY(-139%) scale(1);transform:translateX(50%) translateY(-139%) scale(1)}[dir] .q-slider-handle.handle-at-minimum{background:#fff}.q-slider-handle.handle-at-minimum:after{bottom:0;content:"";position:absolute;top:0}[dir] .q-slider-handle.handle-at-minimum:after{background:transparent;border:2px solid;border-radius:inherit}[dir=ltr] .q-slider-handle.handle-at-minimum:after,[dir=rtl] .q-slider-handle.handle-at-minimum:after{left:0;right:0}.q-slider-ring{-webkit-transform:scale(0);height:200%;opacity:0;pointer-events:none;position:absolute;top:-50%;transition:all .2s ease-in;width:200%}[dir] .q-slider-ring{-webkit-transition:all .2s ease-in;background:currentColor;border-radius:inherit;transform:scale(0)}[dir=ltr] .q-slider-ring{left:-50%}[dir=rtl] .q-slider-ring{right:-50%}.q-slider:not(.disabled):not(.readonly) .q-slider-handle:focus .q-slider-ring,.q-slider:not(.disabled):not(.readonly):focus .q-slider-ring,.q-slider:not(.disabled):not(.readonly):hover .q-slider-ring{-webkit-transform:scale(1);opacity:.4}[dir] .q-slider:not(.disabled):not(.readonly) .q-slider-handle:focus .q-slider-ring,[dir] .q-slider:not(.disabled):not(.readonly):focus .q-slider-ring,[dir] .q-slider:not(.disabled):not(.readonly):hover .q-slider-ring{transform:scale(1)}[dir] .q-slider.disabled .q-slider-handle{border:2px solid #fff}[dir] .q-slider.disabled .q-slider-handle.handle-at-minimum{background:currentColor}.q-slider{color:#027be3;color:var(--q-color-primary);height:28px;width:100%}[dir] .q-slider{cursor:pointer}.q-slider.label-always,.q-slider.with-padding{height:64px}[dir] .q-slider.label-always,[dir] .q-slider.with-padding{padding:36px 0 8px}.q-slider.has-error{color:#db2828;color:var(--q-color-negative)}.q-slider.has-warning{color:#f2c037;color:var(--q-color-warning)}.q-spinner{vertical-align:middle}.q-spinner-mat{-webkit-animation:q-spin 2s linear infinite;-webkit-transform-origin:center center;animation:q-spin 2s linear infinite;transform-origin:center center}.q-spinner-mat .path{-webkit-animation:q-mat-dash 1.5s ease-in-out infinite;animation:q-mat-dash 1.5s ease-in-out infinite;stroke-dasharray:1,200;stroke-dashoffset:0;stroke-linecap:round}.q-stepper{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}[dir] .q-stepper{border-radius:2px;box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}.q-stepper-title{font-size:14px}.q-stepper-subtitle{font-size:12px;opacity:.7}.q-stepper-dot{font-size:14px;height:24px;width:24px}[dir] .q-stepper-dot{background:currentColor;border-radius:50%}[dir=ltr] .q-stepper-dot{margin-right:8px}[dir=rtl] .q-stepper-dot{margin-left:8px}.q-stepper-dot span{color:#fff}.q-stepper-tab{-ms-flex-direction:row;-webkit-box-direction:normal;-webkit-box-orient:horizontal;flex-direction:row;font-size:14px;transition:color .28s,background .28s}[dir] .q-stepper-tab{-webkit-transition:color .28s,background .28s;padding:24px}.q-stepper-tab.step-waiting{color:#000}.q-stepper-tab.step-waiting .q-stepper-dot{color:rgba(0,0,0,.42)}.q-stepper-tab.step-navigation{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;user-select:none}[dir] .q-stepper-tab.step-navigation{cursor:pointer}.q-stepper-tab.step-color{color:currentColor}.q-stepper-tab.step-active .q-stepper-title{font-weight:700}.q-stepper-tab.step-disabled{color:rgba(0,0,0,.42)}.q-stepper-tab.step-error{color:#db2828;color:var(--q-color-negative)}[dir] .q-stepper-tab.step-error .q-stepper-dot{background:transparent}.q-stepper-tab.step-error .q-stepper-dot span{color:#db2828;color:var(--q-color-negative);font-size:24px}.q-stepper-header{min-height:72px}.q-stepper-header:not(.alternative-labels) .q-stepper-tab{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.q-stepper-header:not(.alternative-labels) .q-stepper-dot:after{display:none}.q-stepper-header.alternative-labels{min-height:104px}.q-stepper-header.alternative-labels .q-stepper-tab{-ms-flex-direction:column;-ms-flex-pack:start;-webkit-box-direction:normal;-webkit-box-orient:vertical;-webkit-box-pack:start;flex-direction:column;justify-content:flex-start}[dir] .q-stepper-header.alternative-labels .q-stepper-tab{padding:24px 32px}[dir=ltr] .q-stepper-header.alternative-labels .q-stepper-dot{margin-right:0}[dir=rtl] .q-stepper-header.alternative-labels .q-stepper-dot{margin-left:0}[dir] .q-stepper-header.alternative-labels .q-stepper-label{margin-top:8px;text-align:center}.q-stepper-header.alternative-labels .q-stepper-label:after,.q-stepper-header.alternative-labels .q-stepper-label:before{display:none}.q-stepper-step-content{color:#000}[dir] .q-stepper-horizontal .q-stepper-step-inner{padding:24px}[dir] .q-stepper-horizontal .q-stepper-nav{margin:0 16px 8px}[dir] .q-stepper-horizontal .q-stepper-step .q-stepper-nav{margin:16px 0 0}.q-stepper-horizontal .q-stepper-first .q-stepper-dot:before,.q-stepper-horizontal .q-stepper-last .q-stepper-dot:after,.q-stepper-horizontal .q-stepper-last .q-stepper-label:after,.q-stepper-horizontal .q-stepper-step .q-stepper-nav>div.col{display:none}.q-stepper-horizontal .q-stepper-tab{overflow:hidden}.q-stepper-horizontal .q-stepper-line:after,.q-stepper-horizontal .q-stepper-line:before{height:1px;position:absolute;top:50%;width:100vw}[dir] .q-stepper-horizontal .q-stepper-line:after,[dir] .q-stepper-horizontal .q-stepper-line:before{background:rgba(0,0,0,.12)}.q-stepper-horizontal .q-stepper-dot:after,.q-stepper-horizontal .q-stepper-label:after{content:""}[dir=ltr] .q-stepper-horizontal .q-stepper-dot:after,[dir=ltr] .q-stepper-horizontal .q-stepper-label:after{left:100%;margin-left:8px}[dir=rtl] .q-stepper-horizontal .q-stepper-dot:after,[dir=rtl] .q-stepper-horizontal .q-stepper-label:after{margin-right:8px;right:100%}.q-stepper-horizontal .q-stepper-dot:before{content:""}[dir=ltr] .q-stepper-horizontal .q-stepper-dot:before{margin-right:8px;right:100%}[dir=rtl] .q-stepper-horizontal .q-stepper-dot:before{left:100%;margin-left:8px}[dir] .q-stepper-vertical{padding:8px 0 18px}[dir] .q-stepper-vertical .q-stepper-tab{padding:12px 16px}[dir] .q-stepper-vertical .q-stepper-label{padding-top:4px}.q-stepper-vertical .q-stepper-title{line-height:18px}[dir=ltr] .q-stepper-vertical .q-stepper-step-inner{padding:0 24px 24px 48px}[dir=rtl] .q-stepper-vertical .q-stepper-step-inner{padding:0 48px 24px 24px}[dir] .q-stepper-vertical .q-stepper-nav{margin-top:16px}.q-stepper-vertical .q-stepper-first .q-stepper-dot:before,.q-stepper-vertical .q-stepper-last .q-stepper-dot:after,.q-stepper-vertical .q-stepper-nav>div.col{display:none}.q-stepper-vertical .q-stepper-step{overflow:hidden}.q-stepper-vertical .q-stepper-dot:after,.q-stepper-vertical .q-stepper-dot:before{content:"";height:100vh;position:absolute;width:1px}[dir] .q-stepper-vertical .q-stepper-dot:after,[dir] .q-stepper-vertical .q-stepper-dot:before{background:rgba(0,0,0,.12)}[dir=ltr] .q-stepper-vertical .q-stepper-dot:after,[dir=ltr] .q-stepper-vertical .q-stepper-dot:before{left:50%}[dir=rtl] .q-stepper-vertical .q-stepper-dot:after,[dir=rtl] .q-stepper-vertical .q-stepper-dot:before{right:50%}.q-stepper-vertical .q-stepper-dot:before{bottom:100%}[dir] .q-stepper-vertical .q-stepper-dot:before{margin-bottom:8px}.q-stepper-vertical .q-stepper-dot:after{top:100%}[dir] .q-stepper-vertical .q-stepper-dot:after{margin-top:8px}[dir] body.desktop .q-stepper-tab.step-navigation:hover{background:rgba(0,0,0,.05)}@media (max-width:767px){.q-stepper-horizontal.q-stepper-contractable .q-stepper-header{min-height:72px}[dir] .q-stepper-horizontal.q-stepper-contractable .q-stepper-tab{padding:24px 0}.q-stepper-horizontal.q-stepper-contractable .q-stepper-tab:not(:last-child) .q-stepper-dot:after{display:block!important}[dir] .q-stepper-horizontal.q-stepper-contractable .q-stepper-dot{margin:0}.q-stepper-horizontal.q-stepper-contractable .q-stepper-label{display:none}}.q-tabs{-ms-flex-direction:column;-webkit-box-direction:normal;-webkit-box-orient:vertical;flex-direction:column}.q-tabs-scroller{overflow:hidden}[dir] .q-tab-pane{border:1px solid rgba(0,0,0,.1);padding:12px}[dir] .q-tabs-no-pane-border .q-tab-pane{border:0}.q-tabs-panes:empty{display:none}.q-tabs-normal .q-tab-icon,.q-tabs-normal .q-tab-label{opacity:.7}.q-tab{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;min-height:48px;text-transform:uppercase;transition:color .3s,background .3s;user-select:none;white-space:nowrap}[dir] .q-tab{-webkit-transition:color .3s,background .3s;cursor:pointer;padding:8px 10px}.q-tab.q-link{outline:0}[dir] .q-tab .q-tab-icon-parent+.q-tab-label-parent{margin-top:4px}.q-tab .q-chip{color:#fff;min-height:auto;top:-8px}[dir] .q-tab .q-chip{background:rgba(244,67,54,.75)}[dir=ltr] .q-tab .q-chip{left:auto;right:-10px}[dir=rtl] .q-tab .q-chip{left:-10px;right:auto}.q-tab.active .q-tab-icon,.q-tab.active .q-tab-label{opacity:1}[dir] .q-tab-label{text-align:center}.q-tab-icon{font-size:27px}.q-tab-focus-helper{outline:0;z-index:-1}.q-tab-focus-helper:focus{opacity:.1;z-index:unset}[dir] .q-tab-focus-helper:focus{background:currentColor}@media (max-width:767px){.q-tab.hide-icon .q-tab-icon-parent,.q-tab.hide-label .q-tab-label-parent{display:none!important}[dir] .q-tab.hide-icon .q-tab-label{margin-top:0}.q-tab-full.hide-none .q-tab-label-parent .q-tab-meta{display:none}}@media (min-width:768px){.q-tab-full .q-tab-label-parent .q-tab-meta{display:none}}@media (max-width:991px){.q-tabs-head:not(.scrollable) .q-tab,.q-tabs-head:not(.scrollable) .q-tabs-scroller{-ms-flex:1 1 auto;-webkit-box-flex:1;flex:1 1 auto}}@media (min-width:992px){[dir=ltr] .q-tab,[dir=rtl] .q-tab{padding-left:25px;padding-right:25px}[dir=ltr] .q-tabs-head:not(.scrollable),[dir=rtl] .q-tabs-head:not(.scrollable){padding-left:12px;padding-right:12px}}.q-tabs-head{font-size:.95rem;font-weight:500;min-height:48px;overflow:hidden;position:relative;transition:color .18s ease-in,-webkit-box-shadow .18s ease-in;transition:color .18s ease-in,box-shadow .18s ease-in;transition:color .18s ease-in,box-shadow .18s ease-in,-webkit-box-shadow .18s ease-in}[dir] .q-tabs-head{-webkit-transition:color .18s ease-in,-webkit-box-shadow .18s ease-in}.q-tabs-head:not(.scrollable) .q-tabs-left-scroll,.q-tabs-head:not(.scrollable) .q-tabs-right-scroll{display:none!important}.q-tabs-left-scroll,.q-tabs-right-scroll{color:#fff;height:100%;position:absolute;top:0}[dir] .q-tabs-left-scroll,[dir] .q-tabs-right-scroll{cursor:pointer}.q-tabs-left-scroll .q-icon,.q-tabs-right-scroll .q-icon{font-size:32.4px;visibility:hidden}[dir] .q-tabs-left-scroll .q-icon,[dir] .q-tabs-right-scroll .q-icon{text-shadow:0 0 10px #000}.q-tabs-left-scroll.disabled,.q-tabs-right-scroll.disabled{display:none}.q-tabs:hover .q-tabs-left-scroll .q-icon,.q-tabs:hover .q-tabs-right-scroll .q-icon{visibility:visible}.q-tabs-left-scroll{left:0}.q-tabs-right-scroll{right:0}.q-tabs-align-justify .q-tab,.q-tabs-align-justify .q-tabs-scroller{-ms-flex:1 1 auto;-webkit-box-flex:1;flex:1 1 auto}.q-tabs-align-center{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.q-tabs-align-right{-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end}.q-tabs-bar{height:0;position:absolute}[dir] .q-tabs-bar{border:0 solid}[dir=ltr] .q-tabs-bar,[dir=rtl] .q-tabs-bar{left:0;right:0}.q-tabs-global-bar{-webkit-transform:scale(0);-webkit-transition-duration:.15s;-webkit-transition-timing-function:cubic-bezier(.4,0,1,1);transition:-webkit-transform;transition:transform;transition:transform,-webkit-transform;width:1px}[dir] .q-tabs-global-bar{-webkit-transition:-webkit-transform;transform:scale(0);transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,1,1)}[dir=ltr] .q-tabs-global-bar{-webkit-transform-origin:left center;transform-origin:left center}[dir=rtl] .q-tabs-global-bar{-webkit-transform-origin:right center;transform-origin:right center}.q-tabs-global-bar.contract{-webkit-transition-duration:.18s;-webkit-transition-timing-function:cubic-bezier(0,0,.2,1)}[dir] .q-tabs-global-bar.contract{transition-duration:.18s;transition-timing-function:cubic-bezier(0,0,.2,1)}.q-tabs-global-bar-container.highlight>.q-tabs-global-bar{display:none}.q-tabs-two-lines .q-tab{white-space:normal}.q-tabs-two-lines .q-tab .q-tab-label{-webkit-box-orient:vertical;-webkit-line-clamp:2;display:-webkit-box;overflow:hidden}.q-tabs-position-top .q-tabs-bar{bottom:0}[dir] .q-tabs-position-top .q-tabs-bar{border-bottom-width:2px}.q-tabs-position-bottom .q-tabs-bar{top:0}[dir] .q-tabs-position-bottom .q-tabs-bar{border-top-width:2px}.q-tabs-position-bottom .q-tabs-panes{-ms-flex-order:-1;-webkit-box-ordinal-group:0;order:-1}[dir] .q-tabs-inverted .q-tabs-head{background:#fff}[dir] .q-tabs-inverted.q-tabs-position-top .q-tabs-panes{border-top:1px solid rgba(0,0,0,.1)}[dir] .q-tabs-inverted.q-tabs-position-top .q-tab-pane{border-top:0}[dir] .q-tabs-inverted.q-tabs-position-bottom .q-tabs-panes{border-bottom:1px solid rgba(0,0,0,.1)}[dir] .q-tabs-inverted.q-tabs-position-bottom .q-tab-pane{border-bottom:0}body.mobile .q-tabs-scroller{-webkit-overflow-scrolling:touch;overflow-x:auto;overflow-y:hidden;will-change:scroll-position}body.desktop .q-tab:before{bottom:0;opacity:.1;position:absolute;top:0}[dir] body.desktop .q-tab:before{background:currentColor}[dir=ltr] body.desktop .q-tab:before,[dir=rtl] body.desktop .q-tab:before{left:0;right:0}body.desktop .q-tab:hover:before{content:""}.q-table-container{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12);position:relative}[dir] .q-table-container{border-radius:2px;box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}[dir] .q-table-container.fullscreen{background-color:inherit}.q-table-top{min-height:64px}[dir] .q-table-top{padding:8px 24px}.q-table-top:before{bottom:0;content:"";opacity:.2;pointer-events:none;position:absolute;top:0;transition:.3s cubic-bezier(.25,.8,.5,1)}[dir] .q-table-top:before{-webkit-transition:.3s cubic-bezier(.25,.8,.5,1)}[dir=ltr] .q-table-top:before,[dir=rtl] .q-table-top:before{left:0;right:0}.q-table-top .q-table-control{-ms-flex-wrap:wrap;flex-wrap:wrap;min-height:36px}[dir] .q-table-top .q-table-control{padding:8px 0}.q-table-title{font-size:20px;font-weight:400;letter-spacing:.005em}.q-table-separator{min-width:8px!important}.q-table-nodata .q-icon{font-size:200%}[dir=ltr] .q-table-nodata .q-icon{padding-right:15px}[dir=rtl] .q-table-nodata .q-icon{padding-left:15px}.q-table-progress{height:0!important}[dir] .q-table-progress td{border-bottom:1px solid transparent!important;padding:0!important}.q-table-progress .q-progress{bottom:0;height:2px;position:absolute}.q-table-middle{max-width:100%}.q-table-bottom{font-size:12px;min-height:48px}[dir=ltr] .q-table-bottom{padding:4px 14px 4px 24px}[dir=rtl] .q-table-bottom{padding:4px 24px 4px 14px}.q-table-bottom .q-table-control{min-height:24px}.q-table-control{-ms-flex-align:center;-webkit-box-align:center;align-items:center;display:-webkit-box;display:-ms-flexbox;display:flex}.q-table-sort-icon{font-size:120%;opacity:0;transition:.3s cubic-bezier(.25,.8,.5,1);will-change:opacity,transform}[dir] .q-table-sort-icon{-webkit-transition:.3s cubic-bezier(.25,.8,.5,1)}[dir=ltr] .q-table-sort-icon-center,[dir=ltr] .q-table-sort-icon-left{margin-left:4px}[dir=ltr] .q-table-sort-icon-right,[dir=rtl] .q-table-sort-icon-center,[dir=rtl] .q-table-sort-icon-left{margin-right:4px}[dir=rtl] .q-table-sort-icon-right{margin-left:4px}.q-table{border-collapse:collapse;border-spacing:0;max-width:100%;width:100%}.q-table thead tr{height:56px}.q-table th{-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none;font-size:12px;font-weight:500;transition:.3s cubic-bezier(.25,.8,.5,1);user-select:none}[dir] .q-table th{-webkit-transition:.3s cubic-bezier(.25,.8,.5,1)}[dir] .q-table th.sortable{cursor:pointer}.q-table th.sortable:hover .q-table-sort-icon{opacity:.5}.q-table th.sorted .q-table-sort-icon{opacity:1!important}[dir=ltr] .q-table th.sort-desc .q-table-sort-icon{-webkit-transform:rotate(180deg);transform:rotate(180deg)}[dir=rtl] .q-table th.sort-desc .q-table-sort-icon{-webkit-transform:rotate(-180deg);transform:rotate(-180deg)}.q-table tbody tr{transition:.3s cubic-bezier(.25,.8,.5,1);will-change:background}[dir] .q-table tbody tr{-webkit-transition:.3s cubic-bezier(.25,.8,.5,1)}.q-table td,.q-table th{position:relative;white-space:nowrap}[dir] .q-table td,[dir] .q-table th{padding:7px 24px}[dir] .q-table td,[dir] .q-table th,[dir] .q-table thead{border-style:solid;border-width:0}.q-table tbody td{font-size:13px;font-weight:400;height:48px}[dir] .q-table .q-radial-ripple{margin-bottom:-100%}.q-table-col-auto-width{width:1px}[dir=ltr] .q-table-bottom-item{margin-right:24px}[dir=rtl] .q-table-bottom-item{margin-left:24px}[dir] .q-table-horizontal-separator tbody td,[dir] .q-table-horizontal-separator thead,[dir] .q-table-vertical-separator thead{border-width:0 0 1px}[dir=ltr] .q-table-vertical-separator td{border-width:0 0 0 1px}[dir=rtl] .q-table-vertical-separator td{border-width:0 1px 0 0}[dir=ltr] .q-table-vertical-separator td:first-child{border-left:0}[dir=rtl] .q-table-vertical-separator td:first-child{border-right:0}[dir] .q-table-cell-separator td{border-width:1px}[dir=ltr] .q-table-cell-separator td:first-child{border-left:0}[dir=ltr] .q-table-cell-separator td:last-child,[dir=rtl] .q-table-cell-separator td:first-child{border-right:0}[dir=rtl] .q-table-cell-separator td:last-child{border-left:0}.q-table-dense .q-table-top{min-height:48px}[dir=ltr] .q-table-dense .q-table-bottom,[dir=ltr] .q-table-dense .q-table-top,[dir=rtl] .q-table-dense .q-table-bottom,[dir=rtl] .q-table-dense .q-table-top{padding-left:8px;padding-right:8px}.q-table-dense .q-table-bottom{min-height:42px}.q-table-dense .q-table-sort-icon{font-size:110%}[dir] .q-table-dense .q-table td,[dir] .q-table-dense .q-table th{padding:4px 8px}.q-table-dense .q-table thead tr{height:40px}.q-table-dense .q-table tbody td{height:28px}[dir=ltr] .q-table-dense .q-table-bottom-item{margin-right:8px}[dir=rtl] .q-table-dense .q-table-bottom-item{margin-left:8px}@media (max-width:767px){.q-table-top{min-height:48px}[dir=ltr] .q-table-bottom,[dir=ltr] .q-table-top,[dir=rtl] .q-table-bottom,[dir=rtl] .q-table-top{padding-left:8px;padding-right:8px}.q-table-bottom{min-height:42px}.q-table-sort-icon{font-size:110%}[dir] .q-table td,[dir] .q-table th{padding:4px 8px}.q-table thead tr{height:40px}.q-table tbody td{height:28px}[dir=ltr] .q-table-bottom-item{margin-right:8px}[dir=rtl] .q-table-bottom-item{margin-left:8px}}.q-table-bottom{color:rgba(0,0,0,.54)}[dir] .q-table-bottom{border-top:1px solid rgba(0,0,0,.12)}.q-table{color:rgba(0,0,0,.87)}[dir] .q-table td,[dir] .q-table th,[dir] .q-table thead,[dir] .q-table tr{border-color:rgba(0,0,0,.12)}.q-table th{color:rgba(0,0,0,.54)}.q-table th.sortable:hover,.q-table th.sorted{color:rgba(0,0,0,.87)}[dir] .q-table tbody tr.selected{background:rgba(0,0,0,.06)}[dir] .q-table tbody tr:hover{background:rgba(0,0,0,.03)}.q-table-dark{color:#eee}.q-table-dark .q-table-bottom,.q-table-dark .q-table-top{color:hsla(0,0%,100%,.64)}[dir] .q-table-dark .q-table-bottom,[dir] .q-table-dark .q-table-top{border-top:1px solid hsla(0,0%,100%,.12)}[dir] .q-table-dark td,[dir] .q-table-dark th,[dir] .q-table-dark thead,[dir] .q-table-dark tr{border-color:hsla(0,0%,100%,.12)}.q-table-dark th{color:hsla(0,0%,100%,.64)}.q-table-dark th.sortable:hover,.q-table-dark th.sorted{color:#eee}[dir] .q-table-dark tbody tr.selected{background:hsla(0,0%,100%,.2)}[dir] .q-table-dark tbody tr:hover{background:hsla(0,0%,100%,.1)}.q-timeline{list-style:none;width:100%}[dir] .q-timeline{padding:0}.q-timeline h6{line-height:inherit}[dir] .q-timeline-title{margin-bottom:16px;margin-top:0}.q-timeline-subtitle{font-size:12px;font-weight:700;letter-spacing:1px;opacity:.4;text-transform:uppercase}[dir] .q-timeline-subtitle{margin-bottom:8px}.q-timeline-dot{bottom:0;position:absolute;top:0;width:15px}[dir=ltr] .q-timeline-dot{left:0}[dir=rtl] .q-timeline-dot{right:0}.q-timeline-dot:after,.q-timeline-dot:before{content:"";display:block;position:absolute}[dir] .q-timeline-dot:after,[dir] .q-timeline-dot:before{background:currentColor}.q-timeline-dot:before{height:15px;top:4px;transition:background .3s ease-in-out,border .3s ease-in-out;width:15px}[dir] .q-timeline-dot:before{-webkit-transition:background .3s ease-in-out,border .3s ease-in-out;border:3px solid transparent;border-radius:100%}[dir=ltr] .q-timeline-dot:before{left:0}[dir=rtl] .q-timeline-dot:before{right:0}.q-timeline-dot:after{bottom:0;opacity:.4;top:24px;width:3px}[dir=ltr] .q-timeline-dot:after{left:6px}[dir=rtl] .q-timeline-dot:after{right:6px}.q-timeline-entry-with-icon .q-timeline-dot{width:31px}[dir=ltr] .q-timeline-entry-with-icon .q-timeline-dot{left:-8px}[dir=rtl] .q-timeline-entry-with-icon .q-timeline-dot{right:-8px}.q-timeline-entry-with-icon .q-timeline-dot:before{height:31px;width:31px}.q-timeline-entry-with-icon .q-timeline-dot:after{top:41px}[dir=ltr] .q-timeline-entry-with-icon .q-timeline-dot:after{left:14px}[dir=rtl] .q-timeline-entry-with-icon .q-timeline-dot:after{right:14px}.q-timeline-entry-with-icon .q-timeline-dot .q-icon{color:#fff;font-size:23px;position:absolute;top:8px;transition:color .3s ease-in-out}[dir] .q-timeline-entry-with-icon .q-timeline-dot .q-icon{-webkit-transition:color .3s ease-in-out}[dir=ltr] .q-timeline-entry-with-icon .q-timeline-dot .q-icon{left:4px}[dir=rtl] .q-timeline-entry-with-icon .q-timeline-dot .q-icon{right:4px}[dir] .q-timeline-entry-with-icon .q-timeline-subtitle{padding-top:8px}.q-timeline-dark{color:#fff}.q-timeline-dark .q-timeline-subtitle{opacity:.7}.q-timeline-entry{line-height:22px;position:relative}[dir=ltr] .q-timeline-entry{padding-left:40px}[dir=rtl] .q-timeline-entry{padding-right:40px}[dir] .q-timeline-entry:last-child{padding-bottom:0}.q-timeline-entry:last-child .q-timeline-dot:after{content:none}[dir] .q-timeline-entry:hover .q-timeline-dot:before{background:transparent;border:3px solid}.q-timeline-entry.q-timeline-entry-with-icon:hover .q-timeline-dot .q-icon{color:currentColor}[dir] .q-timeline-content{padding-bottom:24px}.q-timeline-heading{position:relative}[dir] .q-timeline-heading:first-child .q-timeline-heading-title{padding-top:0}[dir] .q-timeline-heading:last-child .q-timeline-heading-title{padding-bottom:0}[dir] .q-timeline-heading-title{margin:0;padding:32px 0}@media (min-width:768px) and (max-width:991px){.q-timeline-heading{display:table-row;font-size:200%}.q-timeline-heading>div{display:table-cell}[dir=ltr] .q-timeline-heading-title{margin-left:-50px}[dir=rtl] .q-timeline-heading-title{margin-right:-50px}.q-timeline{display:table}.q-timeline-entry{display:table-row}[dir] .q-timeline-entry{padding:0}.q-timeline-content,.q-timeline-dot,.q-timeline-subtitle{display:table-cell;vertical-align:top}.q-timeline-subtitle{width:35%}[dir=ltr] .q-timeline-subtitle{text-align:right}[dir=rtl] .q-timeline-subtitle{text-align:left}.q-timeline-dot{position:relative}[dir=ltr] .q-timeline-content{padding-left:30px}[dir=rtl] .q-timeline-content{padding-right:30px}[dir] .q-timeline-entry-with-icon .q-timeline-content{padding-top:8px}[dir=ltr] .q-timeline-subtitle{padding-right:30px}[dir=rtl] .q-timeline-subtitle{padding-left:30px}}@media (min-width:992px){[dir] .q-timeline-heading-title{text-align:center}[dir=ltr] .q-timeline-heading-title{margin-left:0}[dir=rtl] .q-timeline-heading-title{margin-right:0}.q-timeline-content,.q-timeline-dot,.q-timeline-entry,.q-timeline-subtitle{display:block}[dir] .q-timeline-content,[dir] .q-timeline-dot,[dir] .q-timeline-entry,[dir] .q-timeline-subtitle{margin:0;padding:0}.q-timeline-dot{position:absolute}[dir=ltr] .q-timeline-dot{left:50%;margin-left:-7.15px}[dir=rtl] .q-timeline-dot{margin-right:-7.15px;right:50%}[dir=ltr] .q-timeline-entry-with-icon .q-timeline-dot{left:50%;margin-left:-15px}[dir=rtl] .q-timeline-entry-with-icon .q-timeline-dot{margin-right:-15px;right:50%}.q-timeline-content,.q-timeline-subtitle{width:50%}[dir=ltr] .q-timeline-entry-left .q-timeline-content,[dir=ltr] .q-timeline-entry-right .q-timeline-subtitle{float:left;padding-right:30px;text-align:right}[dir=ltr] .q-timeline-entry-left .q-timeline-subtitle,[dir=ltr] .q-timeline-entry-right .q-timeline-content,[dir=rtl] .q-timeline-entry-left .q-timeline-content,[dir=rtl] .q-timeline-entry-right .q-timeline-subtitle{float:right;padding-left:30px;text-align:left}[dir=rtl] .q-timeline-entry-left .q-timeline-subtitle,[dir=rtl] .q-timeline-entry-right .q-timeline-content{float:left;padding-right:30px;text-align:right}[dir] .q-timeline-entry-with-icon .q-timeline-content{padding-top:8px}.q-timeline-entry{overflow:hidden}[dir] .q-timeline-entry{padding-bottom:24px}}.q-toggle-base{height:12px;opacity:.5;transition:all .45s cubic-bezier(.23,1,.32,1);width:100%}[dir] .q-toggle-base{-webkit-transition:all .45s cubic-bezier(.23,1,.32,1);background:currentColor;border-radius:30px}.q-toggle-handle{-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);height:21px;line-height:21px;position:absolute;top:0;transition:all .45s cubic-bezier(.23,1,.32,1);width:21px}[dir] .q-toggle-handle{-webkit-transition:all .45s cubic-bezier(.23,1,.32,1);background:#f5f5f5;border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12)}[dir=ltr] .q-toggle-handle{left:0}[dir=rtl] .q-toggle-handle{right:0}.q-toggle .q-option-inner{height:21px;min-width:40px;width:40px}[dir] .q-toggle .q-option-inner{padding:5px 0}[dir] .q-toggle .q-option-inner.active .q-toggle-handle{background:currentColor}[dir=ltr] .q-toggle .q-option-inner.active .q-toggle-handle{left:19px}[dir=rtl] .q-toggle .q-option-inner.active .q-toggle-handle{right:19px}.q-toggle .q-option-inner.active .q-toggle-icon{color:#fff}.q-toolbar{min-height:50px;overflow:hidden;width:100%}[dir] .q-toolbar{padding:4px 12px}[dir] .q-toolbar-inverted{background:#fff}.q-toolbar-title{-ms-flex:1;-webkit-box-flex:1;flex:1;font-size:18px;font-weight:500;max-width:100%;min-width:1px}[dir] .q-toolbar-title{padding:0 12px}.q-toolbar-subtitle{font-size:12px;opacity:.7}.q-toolbar-subtitle,.q-toolbar-title{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.q-tooltip{-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px rgba(0,0,0,.14),0 1px 18px rgba(0,0,0,.12);color:#fafafa;overflow-x:hidden;overflow-y:auto;pointer-events:none;position:fixed;z-index:9000}[dir] .q-tooltip{background:#747474;border-radius:2px;box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px rgba(0,0,0,.14),0 1px 18px rgba(0,0,0,.12);padding:10px}.q-tree-node{list-style-type:none;position:relative}[dir] .q-tree-node{margin:0}[dir=ltr] .q-tree-node{padding:0 0 3px 22px}[dir=rtl] .q-tree-node{padding:0 22px 3px 0}.q-tree-node:after{bottom:0;content:"";position:absolute;top:-3px;width:1px}[dir=ltr] .q-tree-node:after{border-left:1px solid;left:-13px;right:auto}[dir=rtl] .q-tree-node:after{border-right:1px solid;left:auto;right:-13px}.q-tree-node:last-child:after{display:none}.q-tree-node-header:before{bottom:50%;content:"";position:absolute;top:-3px;width:35px}[dir] .q-tree-node-header:before{border-bottom:1px solid}[dir=ltr] .q-tree-node-header:before{border-left:1px solid;left:-35px}[dir=rtl] .q-tree-node-header:before{border-right:1px solid;right:-35px}[dir=ltr] .q-tree-children{padding-left:25px}[dir=rtl] .q-tree-children{padding-right:25px}.q-tree-children.disabled{pointer-events:none}[dir=ltr] .q-tree-node-body{padding:5px 0 8px 5px}[dir=rtl] .q-tree-node-body{padding:5px 5px 8px 0}[dir=ltr] .q-tree-node-parent{padding-left:2px}[dir=rtl] .q-tree-node-parent{padding-right:2px}.q-tree-node-parent>.q-tree-node-header:before{width:15px}[dir=ltr] .q-tree-node-parent>.q-tree-node-header:before{left:-15px}[dir=rtl] .q-tree-node-parent>.q-tree-node-header:before{right:-15px}[dir=ltr] .q-tree-node-parent>.q-tree-node-collapsible>.q-tree-node-body{padding:5px 0 8px 27px}[dir=rtl] .q-tree-node-parent>.q-tree-node-collapsible>.q-tree-node-body{padding:5px 27px 8px 0}.q-tree-node-parent>.q-tree-node-collapsible>.q-tree-node-body:after{bottom:50px;content:"";height:100%;position:absolute;top:0;width:1px}[dir=ltr] .q-tree-node-parent>.q-tree-node-collapsible>.q-tree-node-body:after{border-left:1px solid;left:12px;right:auto}[dir=rtl] .q-tree-node-parent>.q-tree-node-collapsible>.q-tree-node-body:after{border-right:1px solid;left:auto;right:12px}[dir] .q-tree-node-link{cursor:pointer}[dir] .q-tree-node-selected{background:rgba(0,0,0,.15)}[dir] .q-tree-dark .q-tree-node-selected{background:hsla(0,0%,100%,.4)}[dir] body.desktop .q-tree-node-link:hover{background:rgba(0,0,0,.1)}[dir] body.desktop .q-tree-dark .q-tree-node-link:hover{background:hsla(0,0%,100%,.3)}[dir] .q-tree-node-header{border-radius:2px;margin-top:3px;padding:4px}.q-tree-node-header.disabled{pointer-events:none}.q-tree-icon{font-size:1.5em}.q-tree-img{height:3em}.q-tree-img.avatar{height:2em;width:2em}.q-tree-arrow{font-size:1rem;height:1rem;width:1rem}[dir=ltr] .q-tree-arrow-rotate{-webkit-transform:rotate(90deg);transform:rotate(90deg)}[dir=rtl] .q-tree-arrow-rotate{-webkit-transform:rotate(-90deg);transform:rotate(-90deg)}[dir=rtl] .q-tree-arrow{-webkit-transform:rotate(180deg);transform:rotate(180deg)}[dir=rtl] .q-tree-arrow-rotate{-webkit-transform:rotate(90deg);transform:rotate(90deg)}[dir] .q-tree>.q-tree-node{padding:0}.q-tree>.q-tree-node:after,.q-tree>.q-tree-node>.q-tree-node-header:before{display:none}[dir=ltr] .q-tree>.q-tree-node-child>.q-tree-node-header{padding-left:24px}[dir=rtl] .q-tree>.q-tree-node-child>.q-tree-node-header{padding-right:24px}[dir=ltr] .q-uploader-expanded .q-if,[dir=rtl] .q-uploader-expanded .q-if{border-bottom-left-radius:0;border-bottom-right-radius:0}.q-uploader-input{font-size:0;height:100%;max-width:100%;opacity:0;width:100%}.q-uploader-pick-button[disabled] .q-uploader-input{display:none}.q-uploader-files{font-size:14px;max-height:500px}[dir] .q-uploader-files{border:1px solid #e0e0e0}[dir] .q-uploader-files-no-border .q-uploader-files{border-top:0!important}[dir] .q-uploader-file:not(:last-child){border-bottom:1px solid #e0e0e0}.q-uploader-progress-bg,.q-uploader-progress-text{pointer-events:none}.q-uploader-progress-bg{height:100%;opacity:.2}.q-uploader-progress-text{bottom:0;font-size:40px;opacity:.1}[dir=ltr] .q-uploader-progress-text{right:44px}[dir=rtl] .q-uploader-progress-text{left:44px}.q-uploader-dnd{outline:2px dashed currentColor;outline-offset:-6px}[dir] .q-uploader-dnd{background:hsla(0,0%,100%,.6)}[dir] .q-uploader-dnd.inverted{background:rgba(0,0,0,.3)}.q-uploader-dark .q-uploader-files{color:#fff}[dir] .q-uploader-dark .q-uploader-files{border:1px solid #a7a7a7}.q-uploader-dark .q-uploader-bg{color:#fff}.q-uploader-dark .q-uploader-progress-text{opacity:.2}[dir] .q-uploader-dark .q-uploader-file:not(:last-child){border-bottom:1px solid #424242;border-bottom-color:var(--q-color-dark);border-bottom-style:solid;border-bottom-width:1px}img.responsive{height:auto;max-width:100%}img.avatar{-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12);height:50px;vertical-align:middle;width:50px}[dir] img.avatar{border-radius:50%;box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12)}.q-video{overflow:hidden;position:relative}[dir] .q-video{border-radius:inherit}.q-video embed,.q-video iframe,.q-video object{height:100%;width:100%}:root{--q-color-dark:#424242;--q-color-faded:#777;--q-color-info:#31ccec;--q-color-light:#bdbdbd;--q-color-light-d:#aaa;--q-color-negative:#db2828;--q-color-negative-l:#ec8b8b;--q-color-positive:#21ba45;--q-color-primary:#027be3;--q-color-secondary:#26a69a;--q-color-tertiary:#555;--q-color-warning:#f2c037;--q-color-warning-l:#f8dd93}.text-primary{color:#027be3!important;color:var(--q-color-primary)!important}[dir] .bg-primary{background:#027be3!important;background:var(--q-color-primary)!important}.text-secondary{color:#26a69a!important;color:var(--q-color-secondary)!important}[dir] .bg-secondary{background:#26a69a!important;background:var(--q-color-secondary)!important}.text-tertiary{color:#555!important;color:var(--q-color-tertiary)!important}[dir] .bg-tertiary{background:#555!important;background:var(--q-color-tertiary)!important}.text-faded{color:#777!important;color:var(--q-color-faded)!important}[dir] .bg-faded{background:#777!important;background:var(--q-color-faded)!important}.text-positive{color:#21ba45!important;color:var(--q-color-positive)!important}[dir] .bg-positive{background:#21ba45!important;background:var(--q-color-positive)!important}.text-negative{color:#db2828!important;color:var(--q-color-negative)!important}[dir] .bg-negative{background:#db2828!important;background:var(--q-color-negative)!important}.text-info{color:#31ccec!important;color:var(--q-color-info)!important}[dir] .bg-info{background:#31ccec!important;background:var(--q-color-info)!important}.text-warning{color:#f2c037!important;color:var(--q-color-warning)!important}[dir] .bg-warning{background:#f2c037!important;background:var(--q-color-warning)!important}.text-white{color:#fff!important}[dir] .bg-white{background:#fff!important}.text-black{color:#000!important}[dir] .bg-black{background:#000!important}.text-light{color:#bdbdbd!important;color:var(--q-color-light)!important}[dir] .bg-light{background:#bdbdbd!important;background:var(--q-color-light)!important}.text-dark{color:#424242!important;color:var(--q-color-dark)!important}[dir] .bg-dark{background:#424242!important;background:var(--q-color-dark)!important}.text-transparent{color:transparent!important}[dir] .bg-transparent{background:transparent!important}.text-red{color:#f44336!important}.text-red-1{color:#ffebee!important}.text-red-2{color:#ffcdd2!important}.text-red-3{color:#ef9a9a!important}.text-red-4{color:#e57373!important}.text-red-5{color:#ef5350!important}.text-red-6{color:#f44336!important}.text-red-7{color:#e53935!important}.text-red-8{color:#d32f2f!important}.text-red-9{color:#c62828!important}.text-red-10{color:#b71c1c!important}.text-red-11{color:#ff8a80!important}.text-red-12{color:#ff5252!important}.text-red-13{color:#ff1744!important}.text-red-14{color:#d50000!important}.text-pink{color:#e91e63!important}.text-pink-1{color:#fce4ec!important}.text-pink-2{color:#f8bbd0!important}.text-pink-3{color:#f48fb1!important}.text-pink-4{color:#f06292!important}.text-pink-5{color:#ec407a!important}.text-pink-6{color:#e91e63!important}.text-pink-7{color:#d81b60!important}.text-pink-8{color:#c2185b!important}.text-pink-9{color:#ad1457!important}.text-pink-10{color:#880e4f!important}.text-pink-11{color:#ff80ab!important}.text-pink-12{color:#ff4081!important}.text-pink-13{color:#f50057!important}.text-pink-14{color:#c51162!important}.text-purple{color:#9c27b0!important}.text-purple-1{color:#f3e5f5!important}.text-purple-2{color:#e1bee7!important}.text-purple-3{color:#ce93d8!important}.text-purple-4{color:#ba68c8!important}.text-purple-5{color:#ab47bc!important}.text-purple-6{color:#9c27b0!important}.text-purple-7{color:#8e24aa!important}.text-purple-8{color:#7b1fa2!important}.text-purple-9{color:#6a1b9a!important}.text-purple-10{color:#4a148c!important}.text-purple-11{color:#ea80fc!important}.text-purple-12{color:#e040fb!important}.text-purple-13{color:#d500f9!important}.text-purple-14{color:#a0f!important}.text-deep-purple{color:#673ab7!important}.text-deep-purple-1{color:#ede7f6!important}.text-deep-purple-2{color:#d1c4e9!important}.text-deep-purple-3{color:#b39ddb!important}.text-deep-purple-4{color:#9575cd!important}.text-deep-purple-5{color:#7e57c2!important}.text-deep-purple-6{color:#673ab7!important}.text-deep-purple-7{color:#5e35b1!important}.text-deep-purple-8{color:#512da8!important}.text-deep-purple-9{color:#4527a0!important}.text-deep-purple-10{color:#311b92!important}.text-deep-purple-11{color:#b388ff!important}.text-deep-purple-12{color:#7c4dff!important}.text-deep-purple-13{color:#651fff!important}.text-deep-purple-14{color:#6200ea!important}.text-indigo{color:#3f51b5!important}.text-indigo-1{color:#e8eaf6!important}.text-indigo-2{color:#c5cae9!important}.text-indigo-3{color:#9fa8da!important}.text-indigo-4{color:#7986cb!important}.text-indigo-5{color:#5c6bc0!important}.text-indigo-6{color:#3f51b5!important}.text-indigo-7{color:#3949ab!important}.text-indigo-8{color:#303f9f!important}.text-indigo-9{color:#283593!important}.text-indigo-10{color:#1a237e!important}.text-indigo-11{color:#8c9eff!important}.text-indigo-12{color:#536dfe!important}.text-indigo-13{color:#3d5afe!important}.text-indigo-14{color:#304ffe!important}.text-blue{color:#2196f3!important}.text-blue-1{color:#e3f2fd!important}.text-blue-2{color:#bbdefb!important}.text-blue-3{color:#90caf9!important}.text-blue-4{color:#64b5f6!important}.text-blue-5{color:#42a5f5!important}.text-blue-6{color:#2196f3!important}.text-blue-7{color:#1e88e5!important}.text-blue-8{color:#1976d2!important}.text-blue-9{color:#1565c0!important}.text-blue-10{color:#0d47a1!important}.text-blue-11{color:#82b1ff!important}.text-blue-12{color:#448aff!important}.text-blue-13{color:#2979ff!important}.text-blue-14{color:#2962ff!important}.text-light-blue{color:#03a9f4!important}.text-light-blue-1{color:#e1f5fe!important}.text-light-blue-2{color:#b3e5fc!important}.text-light-blue-3{color:#81d4fa!important}.text-light-blue-4{color:#4fc3f7!important}.text-light-blue-5{color:#29b6f6!important}.text-light-blue-6{color:#03a9f4!important}.text-light-blue-7{color:#039be5!important}.text-light-blue-8{color:#0288d1!important}.text-light-blue-9{color:#0277bd!important}.text-light-blue-10{color:#01579b!important}.text-light-blue-11{color:#80d8ff!important}.text-light-blue-12{color:#40c4ff!important}.text-light-blue-13{color:#00b0ff!important}.text-light-blue-14{color:#0091ea!important}.text-cyan{color:#00bcd4!important}.text-cyan-1{color:#e0f7fa!important}.text-cyan-2{color:#b2ebf2!important}.text-cyan-3{color:#80deea!important}.text-cyan-4{color:#4dd0e1!important}.text-cyan-5{color:#26c6da!important}.text-cyan-6{color:#00bcd4!important}.text-cyan-7{color:#00acc1!important}.text-cyan-8{color:#0097a7!important}.text-cyan-9{color:#00838f!important}.text-cyan-10{color:#006064!important}.text-cyan-11{color:#84ffff!important}.text-cyan-12{color:#18ffff!important}.text-cyan-13{color:#00e5ff!important}.text-cyan-14{color:#00b8d4!important}.text-teal{color:#009688!important}.text-teal-1{color:#e0f2f1!important}.text-teal-2{color:#b2dfdb!important}.text-teal-3{color:#80cbc4!important}.text-teal-4{color:#4db6ac!important}.text-teal-5{color:#26a69a!important}.text-teal-6{color:#009688!important}.text-teal-7{color:#00897b!important}.text-teal-8{color:#00796b!important}.text-teal-9{color:#00695c!important}.text-teal-10{color:#004d40!important}.text-teal-11{color:#a7ffeb!important}.text-teal-12{color:#64ffda!important}.text-teal-13{color:#1de9b6!important}.text-teal-14{color:#00bfa5!important}.text-green{color:#4caf50!important}.text-green-1{color:#e8f5e9!important}.text-green-2{color:#c8e6c9!important}.text-green-3{color:#a5d6a7!important}.text-green-4{color:#81c784!important}.text-green-5{color:#66bb6a!important}.text-green-6{color:#4caf50!important}.text-green-7{color:#43a047!important}.text-green-8{color:#388e3c!important}.text-green-9{color:#2e7d32!important}.text-green-10{color:#1b5e20!important}.text-green-11{color:#b9f6ca!important}.text-green-12{color:#69f0ae!important}.text-green-13{color:#00e676!important}.text-green-14{color:#00c853!important}.text-light-green{color:#8bc34a!important}.text-light-green-1{color:#f1f8e9!important}.text-light-green-2{color:#dcedc8!important}.text-light-green-3{color:#c5e1a5!important}.text-light-green-4{color:#aed581!important}.text-light-green-5{color:#9ccc65!important}.text-light-green-6{color:#8bc34a!important}.text-light-green-7{color:#7cb342!important}.text-light-green-8{color:#689f38!important}.text-light-green-9{color:#558b2f!important}.text-light-green-10{color:#33691e!important}.text-light-green-11{color:#ccff90!important}.text-light-green-12{color:#b2ff59!important}.text-light-green-13{color:#76ff03!important}.text-light-green-14{color:#64dd17!important}.text-lime{color:#cddc39!important}.text-lime-1{color:#f9fbe7!important}.text-lime-2{color:#f0f4c3!important}.text-lime-3{color:#e6ee9c!important}.text-lime-4{color:#dce775!important}.text-lime-5{color:#d4e157!important}.text-lime-6{color:#cddc39!important}.text-lime-7{color:#c0ca33!important}.text-lime-8{color:#afb42b!important}.text-lime-9{color:#9e9d24!important}.text-lime-10{color:#827717!important}.text-lime-11{color:#f4ff81!important}.text-lime-12{color:#eeff41!important}.text-lime-13{color:#c6ff00!important}.text-lime-14{color:#aeea00!important}.text-yellow{color:#ffeb3b!important}.text-yellow-1{color:#fffde7!important}.text-yellow-2{color:#fff9c4!important}.text-yellow-3{color:#fff59d!important}.text-yellow-4{color:#fff176!important}.text-yellow-5{color:#ffee58!important}.text-yellow-6{color:#ffeb3b!important}.text-yellow-7{color:#fdd835!important}.text-yellow-8{color:#fbc02d!important}.text-yellow-9{color:#f9a825!important}.text-yellow-10{color:#f57f17!important}.text-yellow-11{color:#ffff8d!important}.text-yellow-12{color:#ff0!important}.text-yellow-13{color:#ffea00!important}.text-yellow-14{color:#ffd600!important}.text-amber{color:#ffc107!important}.text-amber-1{color:#fff8e1!important}.text-amber-2{color:#ffecb3!important}.text-amber-3{color:#ffe082!important}.text-amber-4{color:#ffd54f!important}.text-amber-5{color:#ffca28!important}.text-amber-6{color:#ffc107!important}.text-amber-7{color:#ffb300!important}.text-amber-8{color:#ffa000!important}.text-amber-9{color:#ff8f00!important}.text-amber-10{color:#ff6f00!important}.text-amber-11{color:#ffe57f!important}.text-amber-12{color:#ffd740!important}.text-amber-13{color:#ffc400!important}.text-amber-14{color:#ffab00!important}.text-orange{color:#ff9800!important}.text-orange-1{color:#fff3e0!important}.text-orange-2{color:#ffe0b2!important}.text-orange-3{color:#ffcc80!important}.text-orange-4{color:#ffb74d!important}.text-orange-5{color:#ffa726!important}.text-orange-6{color:#ff9800!important}.text-orange-7{color:#fb8c00!important}.text-orange-8{color:#f57c00!important}.text-orange-9{color:#ef6c00!important}.text-orange-10{color:#e65100!important}.text-orange-11{color:#ffd180!important}.text-orange-12{color:#ffab40!important}.text-orange-13{color:#ff9100!important}.text-orange-14{color:#ff6d00!important}.text-deep-orange{color:#ff5722!important}.text-deep-orange-1{color:#fbe9e7!important}.text-deep-orange-2{color:#ffccbc!important}.text-deep-orange-3{color:#ffab91!important}.text-deep-orange-4{color:#ff8a65!important}.text-deep-orange-5{color:#ff7043!important}.text-deep-orange-6{color:#ff5722!important}.text-deep-orange-7{color:#f4511e!important}.text-deep-orange-8{color:#e64a19!important}.text-deep-orange-9{color:#d84315!important}.text-deep-orange-10{color:#bf360c!important}.text-deep-orange-11{color:#ff9e80!important}.text-deep-orange-12{color:#ff6e40!important}.text-deep-orange-13{color:#ff3d00!important}.text-deep-orange-14{color:#dd2c00!important}.text-brown{color:#795548!important}.text-brown-1{color:#efebe9!important}.text-brown-2{color:#d7ccc8!important}.text-brown-3{color:#bcaaa4!important}.text-brown-4{color:#a1887f!important}.text-brown-5{color:#8d6e63!important}.text-brown-6{color:#795548!important}.text-brown-7{color:#6d4c41!important}.text-brown-8{color:#5d4037!important}.text-brown-9{color:#4e342e!important}.text-brown-10{color:#3e2723!important}.text-brown-11{color:#d7ccc8!important}.text-brown-12{color:#bcaaa4!important}.text-brown-13{color:#8d6e63!important}.text-brown-14{color:#5d4037!important}.text-grey{color:#9e9e9e!important}.text-grey-1{color:#fafafa!important}.text-grey-2{color:#f5f5f5!important}.text-grey-3{color:#eee!important}.text-grey-4{color:#e0e0e0!important}.text-grey-5{color:#bdbdbd!important}.text-grey-6{color:#9e9e9e!important}.text-grey-7{color:#757575!important}.text-grey-8{color:#616161!important}.text-grey-9{color:#424242!important}.text-grey-10{color:#212121!important}.text-grey-11{color:#f5f5f5!important}.text-grey-12{color:#eee!important}.text-grey-13{color:#bdbdbd!important}.text-grey-14{color:#616161!important}.text-blue-grey{color:#607d8b!important}.text-blue-grey-1{color:#eceff1!important}.text-blue-grey-2{color:#cfd8dc!important}.text-blue-grey-3{color:#b0bec5!important}.text-blue-grey-4{color:#90a4ae!important}.text-blue-grey-5{color:#78909c!important}.text-blue-grey-6{color:#607d8b!important}.text-blue-grey-7{color:#546e7a!important}.text-blue-grey-8{color:#455a64!important}.text-blue-grey-9{color:#37474f!important}.text-blue-grey-10{color:#263238!important}.text-blue-grey-11{color:#cfd8dc!important}.text-blue-grey-12{color:#b0bec5!important}.text-blue-grey-13{color:#78909c!important}.text-blue-grey-14{color:#455a64!important}[dir] .bg-red{background:#f44336!important}[dir] .bg-red-1{background:#ffebee!important}[dir] .bg-red-2{background:#ffcdd2!important}[dir] .bg-red-3{background:#ef9a9a!important}[dir] .bg-red-4{background:#e57373!important}[dir] .bg-red-5{background:#ef5350!important}[dir] .bg-red-6{background:#f44336!important}[dir] .bg-red-7{background:#e53935!important}[dir] .bg-red-8{background:#d32f2f!important}[dir] .bg-red-9{background:#c62828!important}[dir] .bg-red-10{background:#b71c1c!important}[dir] .bg-red-11{background:#ff8a80!important}[dir] .bg-red-12{background:#ff5252!important}[dir] .bg-red-13{background:#ff1744!important}[dir] .bg-red-14{background:#d50000!important}[dir] .bg-pink{background:#e91e63!important}[dir] .bg-pink-1{background:#fce4ec!important}[dir] .bg-pink-2{background:#f8bbd0!important}[dir] .bg-pink-3{background:#f48fb1!important}[dir] .bg-pink-4{background:#f06292!important}[dir] .bg-pink-5{background:#ec407a!important}[dir] .bg-pink-6{background:#e91e63!important}[dir] .bg-pink-7{background:#d81b60!important}[dir] .bg-pink-8{background:#c2185b!important}[dir] .bg-pink-9{background:#ad1457!important}[dir] .bg-pink-10{background:#880e4f!important}[dir] .bg-pink-11{background:#ff80ab!important}[dir] .bg-pink-12{background:#ff4081!important}[dir] .bg-pink-13{background:#f50057!important}[dir] .bg-pink-14{background:#c51162!important}[dir] .bg-purple{background:#9c27b0!important}[dir] .bg-purple-1{background:#f3e5f5!important}[dir] .bg-purple-2{background:#e1bee7!important}[dir] .bg-purple-3{background:#ce93d8!important}[dir] .bg-purple-4{background:#ba68c8!important}[dir] .bg-purple-5{background:#ab47bc!important}[dir] .bg-purple-6{background:#9c27b0!important}[dir] .bg-purple-7{background:#8e24aa!important}[dir] .bg-purple-8{background:#7b1fa2!important}[dir] .bg-purple-9{background:#6a1b9a!important}[dir] .bg-purple-10{background:#4a148c!important}[dir] .bg-purple-11{background:#ea80fc!important}[dir] .bg-purple-12{background:#e040fb!important}[dir] .bg-purple-13{background:#d500f9!important}[dir] .bg-purple-14{background:#a0f!important}[dir] .bg-deep-purple{background:#673ab7!important}[dir] .bg-deep-purple-1{background:#ede7f6!important}[dir] .bg-deep-purple-2{background:#d1c4e9!important}[dir] .bg-deep-purple-3{background:#b39ddb!important}[dir] .bg-deep-purple-4{background:#9575cd!important}[dir] .bg-deep-purple-5{background:#7e57c2!important}[dir] .bg-deep-purple-6{background:#673ab7!important}[dir] .bg-deep-purple-7{background:#5e35b1!important}[dir] .bg-deep-purple-8{background:#512da8!important}[dir] .bg-deep-purple-9{background:#4527a0!important}[dir] .bg-deep-purple-10{background:#311b92!important}[dir] .bg-deep-purple-11{background:#b388ff!important}[dir] .bg-deep-purple-12{background:#7c4dff!important}[dir] .bg-deep-purple-13{background:#651fff!important}[dir] .bg-deep-purple-14{background:#6200ea!important}[dir] .bg-indigo{background:#3f51b5!important}[dir] .bg-indigo-1{background:#e8eaf6!important}[dir] .bg-indigo-2{background:#c5cae9!important}[dir] .bg-indigo-3{background:#9fa8da!important}[dir] .bg-indigo-4{background:#7986cb!important}[dir] .bg-indigo-5{background:#5c6bc0!important}[dir] .bg-indigo-6{background:#3f51b5!important}[dir] .bg-indigo-7{background:#3949ab!important}[dir] .bg-indigo-8{background:#303f9f!important}[dir] .bg-indigo-9{background:#283593!important}[dir] .bg-indigo-10{background:#1a237e!important}[dir] .bg-indigo-11{background:#8c9eff!important}[dir] .bg-indigo-12{background:#536dfe!important}[dir] .bg-indigo-13{background:#3d5afe!important}[dir] .bg-indigo-14{background:#304ffe!important}[dir] .bg-blue{background:#2196f3!important}[dir] .bg-blue-1{background:#e3f2fd!important}[dir] .bg-blue-2{background:#bbdefb!important}[dir] .bg-blue-3{background:#90caf9!important}[dir] .bg-blue-4{background:#64b5f6!important}[dir] .bg-blue-5{background:#42a5f5!important}[dir] .bg-blue-6{background:#2196f3!important}[dir] .bg-blue-7{background:#1e88e5!important}[dir] .bg-blue-8{background:#1976d2!important}[dir] .bg-blue-9{background:#1565c0!important}[dir] .bg-blue-10{background:#0d47a1!important}[dir] .bg-blue-11{background:#82b1ff!important}[dir] .bg-blue-12{background:#448aff!important}[dir] .bg-blue-13{background:#2979ff!important}[dir] .bg-blue-14{background:#2962ff!important}[dir] .bg-light-blue{background:#03a9f4!important}[dir] .bg-light-blue-1{background:#e1f5fe!important}[dir] .bg-light-blue-2{background:#b3e5fc!important}[dir] .bg-light-blue-3{background:#81d4fa!important}[dir] .bg-light-blue-4{background:#4fc3f7!important}[dir] .bg-light-blue-5{background:#29b6f6!important}[dir] .bg-light-blue-6{background:#03a9f4!important}[dir] .bg-light-blue-7{background:#039be5!important}[dir] .bg-light-blue-8{background:#0288d1!important}[dir] .bg-light-blue-9{background:#0277bd!important}[dir] .bg-light-blue-10{background:#01579b!important}[dir] .bg-light-blue-11{background:#80d8ff!important}[dir] .bg-light-blue-12{background:#40c4ff!important}[dir] .bg-light-blue-13{background:#00b0ff!important}[dir] .bg-light-blue-14{background:#0091ea!important}[dir] .bg-cyan{background:#00bcd4!important}[dir] .bg-cyan-1{background:#e0f7fa!important}[dir] .bg-cyan-2{background:#b2ebf2!important}[dir] .bg-cyan-3{background:#80deea!important}[dir] .bg-cyan-4{background:#4dd0e1!important}[dir] .bg-cyan-5{background:#26c6da!important}[dir] .bg-cyan-6{background:#00bcd4!important}[dir] .bg-cyan-7{background:#00acc1!important}[dir] .bg-cyan-8{background:#0097a7!important}[dir] .bg-cyan-9{background:#00838f!important}[dir] .bg-cyan-10{background:#006064!important}[dir] .bg-cyan-11{background:#84ffff!important}[dir] .bg-cyan-12{background:#18ffff!important}[dir] .bg-cyan-13{background:#00e5ff!important}[dir] .bg-cyan-14{background:#00b8d4!important}[dir] .bg-teal{background:#009688!important}[dir] .bg-teal-1{background:#e0f2f1!important}[dir] .bg-teal-2{background:#b2dfdb!important}[dir] .bg-teal-3{background:#80cbc4!important}[dir] .bg-teal-4{background:#4db6ac!important}[dir] .bg-teal-5{background:#26a69a!important}[dir] .bg-teal-6{background:#009688!important}[dir] .bg-teal-7{background:#00897b!important}[dir] .bg-teal-8{background:#00796b!important}[dir] .bg-teal-9{background:#00695c!important}[dir] .bg-teal-10{background:#004d40!important}[dir] .bg-teal-11{background:#a7ffeb!important}[dir] .bg-teal-12{background:#64ffda!important}[dir] .bg-teal-13{background:#1de9b6!important}[dir] .bg-teal-14{background:#00bfa5!important}[dir] .bg-green{background:#4caf50!important}[dir] .bg-green-1{background:#e8f5e9!important}[dir] .bg-green-2{background:#c8e6c9!important}[dir] .bg-green-3{background:#a5d6a7!important}[dir] .bg-green-4{background:#81c784!important}[dir] .bg-green-5{background:#66bb6a!important}[dir] .bg-green-6{background:#4caf50!important}[dir] .bg-green-7{background:#43a047!important}[dir] .bg-green-8{background:#388e3c!important}[dir] .bg-green-9{background:#2e7d32!important}[dir] .bg-green-10{background:#1b5e20!important}[dir] .bg-green-11{background:#b9f6ca!important}[dir] .bg-green-12{background:#69f0ae!important}[dir] .bg-green-13{background:#00e676!important}[dir] .bg-green-14{background:#00c853!important}[dir] .bg-light-green{background:#8bc34a!important}[dir] .bg-light-green-1{background:#f1f8e9!important}[dir] .bg-light-green-2{background:#dcedc8!important}[dir] .bg-light-green-3{background:#c5e1a5!important}[dir] .bg-light-green-4{background:#aed581!important}[dir] .bg-light-green-5{background:#9ccc65!important}[dir] .bg-light-green-6{background:#8bc34a!important}[dir] .bg-light-green-7{background:#7cb342!important}[dir] .bg-light-green-8{background:#689f38!important}[dir] .bg-light-green-9{background:#558b2f!important}[dir] .bg-light-green-10{background:#33691e!important}[dir] .bg-light-green-11{background:#ccff90!important}[dir] .bg-light-green-12{background:#b2ff59!important}[dir] .bg-light-green-13{background:#76ff03!important}[dir] .bg-light-green-14{background:#64dd17!important}[dir] .bg-lime{background:#cddc39!important}[dir] .bg-lime-1{background:#f9fbe7!important}[dir] .bg-lime-2{background:#f0f4c3!important}[dir] .bg-lime-3{background:#e6ee9c!important}[dir] .bg-lime-4{background:#dce775!important}[dir] .bg-lime-5{background:#d4e157!important}[dir] .bg-lime-6{background:#cddc39!important}[dir] .bg-lime-7{background:#c0ca33!important}[dir] .bg-lime-8{background:#afb42b!important}[dir] .bg-lime-9{background:#9e9d24!important}[dir] .bg-lime-10{background:#827717!important}[dir] .bg-lime-11{background:#f4ff81!important}[dir] .bg-lime-12{background:#eeff41!important}[dir] .bg-lime-13{background:#c6ff00!important}[dir] .bg-lime-14{background:#aeea00!important}[dir] .bg-yellow{background:#ffeb3b!important}[dir] .bg-yellow-1{background:#fffde7!important}[dir] .bg-yellow-2{background:#fff9c4!important}[dir] .bg-yellow-3{background:#fff59d!important}[dir] .bg-yellow-4{background:#fff176!important}[dir] .bg-yellow-5{background:#ffee58!important}[dir] .bg-yellow-6{background:#ffeb3b!important}[dir] .bg-yellow-7{background:#fdd835!important}[dir] .bg-yellow-8{background:#fbc02d!important}[dir] .bg-yellow-9{background:#f9a825!important}[dir] .bg-yellow-10{background:#f57f17!important}[dir] .bg-yellow-11{background:#ffff8d!important}[dir] .bg-yellow-12{background:#ff0!important}[dir] .bg-yellow-13{background:#ffea00!important}[dir] .bg-yellow-14{background:#ffd600!important}[dir] .bg-amber{background:#ffc107!important}[dir] .bg-amber-1{background:#fff8e1!important}[dir] .bg-amber-2{background:#ffecb3!important}[dir] .bg-amber-3{background:#ffe082!important}[dir] .bg-amber-4{background:#ffd54f!important}[dir] .bg-amber-5{background:#ffca28!important}[dir] .bg-amber-6{background:#ffc107!important}[dir] .bg-amber-7{background:#ffb300!important}[dir] .bg-amber-8{background:#ffa000!important}[dir] .bg-amber-9{background:#ff8f00!important}[dir] .bg-amber-10{background:#ff6f00!important}[dir] .bg-amber-11{background:#ffe57f!important}[dir] .bg-amber-12{background:#ffd740!important}[dir] .bg-amber-13{background:#ffc400!important}[dir] .bg-amber-14{background:#ffab00!important}[dir] .bg-orange{background:#ff9800!important}[dir] .bg-orange-1{background:#fff3e0!important}[dir] .bg-orange-2{background:#ffe0b2!important}[dir] .bg-orange-3{background:#ffcc80!important}[dir] .bg-orange-4{background:#ffb74d!important}[dir] .bg-orange-5{background:#ffa726!important}[dir] .bg-orange-6{background:#ff9800!important}[dir] .bg-orange-7{background:#fb8c00!important}[dir] .bg-orange-8{background:#f57c00!important}[dir] .bg-orange-9{background:#ef6c00!important}[dir] .bg-orange-10{background:#e65100!important}[dir] .bg-orange-11{background:#ffd180!important}[dir] .bg-orange-12{background:#ffab40!important}[dir] .bg-orange-13{background:#ff9100!important}[dir] .bg-orange-14{background:#ff6d00!important}[dir] .bg-deep-orange{background:#ff5722!important}[dir] .bg-deep-orange-1{background:#fbe9e7!important}[dir] .bg-deep-orange-2{background:#ffccbc!important}[dir] .bg-deep-orange-3{background:#ffab91!important}[dir] .bg-deep-orange-4{background:#ff8a65!important}[dir] .bg-deep-orange-5{background:#ff7043!important}[dir] .bg-deep-orange-6{background:#ff5722!important}[dir] .bg-deep-orange-7{background:#f4511e!important}[dir] .bg-deep-orange-8{background:#e64a19!important}[dir] .bg-deep-orange-9{background:#d84315!important}[dir] .bg-deep-orange-10{background:#bf360c!important}[dir] .bg-deep-orange-11{background:#ff9e80!important}[dir] .bg-deep-orange-12{background:#ff6e40!important}[dir] .bg-deep-orange-13{background:#ff3d00!important}[dir] .bg-deep-orange-14{background:#dd2c00!important}[dir] .bg-brown{background:#795548!important}[dir] .bg-brown-1{background:#efebe9!important}[dir] .bg-brown-2{background:#d7ccc8!important}[dir] .bg-brown-3{background:#bcaaa4!important}[dir] .bg-brown-4{background:#a1887f!important}[dir] .bg-brown-5{background:#8d6e63!important}[dir] .bg-brown-6{background:#795548!important}[dir] .bg-brown-7{background:#6d4c41!important}[dir] .bg-brown-8{background:#5d4037!important}[dir] .bg-brown-9{background:#4e342e!important}[dir] .bg-brown-10{background:#3e2723!important}[dir] .bg-brown-11{background:#d7ccc8!important}[dir] .bg-brown-12{background:#bcaaa4!important}[dir] .bg-brown-13{background:#8d6e63!important}[dir] .bg-brown-14{background:#5d4037!important}[dir] .bg-grey{background:#9e9e9e!important}[dir] .bg-grey-1{background:#fafafa!important}[dir] .bg-grey-2{background:#f5f5f5!important}[dir] .bg-grey-3{background:#eee!important}[dir] .bg-grey-4{background:#e0e0e0!important}[dir] .bg-grey-5{background:#bdbdbd!important}[dir] .bg-grey-6{background:#9e9e9e!important}[dir] .bg-grey-7{background:#757575!important}[dir] .bg-grey-8{background:#616161!important}[dir] .bg-grey-9{background:#424242!important}[dir] .bg-grey-10{background:#212121!important}[dir] .bg-grey-11{background:#f5f5f5!important}[dir] .bg-grey-12{background:#eee!important}[dir] .bg-grey-13{background:#bdbdbd!important}[dir] .bg-grey-14{background:#616161!important}[dir] .bg-blue-grey{background:#607d8b!important}[dir] .bg-blue-grey-1{background:#eceff1!important}[dir] .bg-blue-grey-2{background:#cfd8dc!important}[dir] .bg-blue-grey-3{background:#b0bec5!important}[dir] .bg-blue-grey-4{background:#90a4ae!important}[dir] .bg-blue-grey-5{background:#78909c!important}[dir] .bg-blue-grey-6{background:#607d8b!important}[dir] .bg-blue-grey-7{background:#546e7a!important}[dir] .bg-blue-grey-8{background:#455a64!important}[dir] .bg-blue-grey-9{background:#37474f!important}[dir] .bg-blue-grey-10{background:#263238!important}[dir] .bg-blue-grey-11{background:#cfd8dc!important}[dir] .bg-blue-grey-12{background:#b0bec5!important}[dir] .bg-blue-grey-13{background:#78909c!important}[dir] .bg-blue-grey-14{background:#455a64!important}.shadow-transition{transition:-webkit-box-shadow .28s cubic-bezier(.4,0,.2,1)!important;transition:box-shadow .28s cubic-bezier(.4,0,.2,1)!important;transition:box-shadow .28s cubic-bezier(.4,0,.2,1),-webkit-box-shadow .28s cubic-bezier(.4,0,.2,1)!important}[dir] .shadow-transition{-webkit-transition:-webkit-box-shadow .28s cubic-bezier(.4,0,.2,1)!important}.shadow-1{-webkit-box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12)}[dir] .shadow-1{box-shadow:0 1px 3px rgba(0,0,0,.2),0 1px 1px rgba(0,0,0,.14),0 2px 1px -1px rgba(0,0,0,.12)}.shadow-up-1{-webkit-box-shadow:0 -1px 3px rgba(0,0,0,.2),0 -1px 1px rgba(0,0,0,.14),0 -2px 1px -1px rgba(0,0,0,.12)}[dir] .shadow-up-1{box-shadow:0 -1px 3px rgba(0,0,0,.2),0 -1px 1px rgba(0,0,0,.14),0 -2px 1px -1px rgba(0,0,0,.12)}.shadow-2{-webkit-box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}[dir] .shadow-2{box-shadow:0 1px 5px rgba(0,0,0,.2),0 2px 2px rgba(0,0,0,.14),0 3px 1px -2px rgba(0,0,0,.12)}.shadow-up-2{-webkit-box-shadow:0 -1px 5px rgba(0,0,0,.2),0 -2px 2px rgba(0,0,0,.14),0 -3px 1px -2px rgba(0,0,0,.12)}[dir] .shadow-up-2{box-shadow:0 -1px 5px rgba(0,0,0,.2),0 -2px 2px rgba(0,0,0,.14),0 -3px 1px -2px rgba(0,0,0,.12)}.shadow-3{-webkit-box-shadow:0 1px 8px rgba(0,0,0,.2),0 3px 4px rgba(0,0,0,.14),0 3px 3px -2px rgba(0,0,0,.12)}[dir] .shadow-3{box-shadow:0 1px 8px rgba(0,0,0,.2),0 3px 4px rgba(0,0,0,.14),0 3px 3px -2px rgba(0,0,0,.12)}.shadow-up-3{-webkit-box-shadow:0 -1px 8px rgba(0,0,0,.2),0 -3px 4px rgba(0,0,0,.14),0 -3px 3px -2px rgba(0,0,0,.12)}[dir] .shadow-up-3{box-shadow:0 -1px 8px rgba(0,0,0,.2),0 -3px 4px rgba(0,0,0,.14),0 -3px 3px -2px rgba(0,0,0,.12)}.shadow-4{-webkit-box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px rgba(0,0,0,.14),0 1px 10px rgba(0,0,0,.12)}[dir] .shadow-4{box-shadow:0 2px 4px -1px rgba(0,0,0,.2),0 4px 5px rgba(0,0,0,.14),0 1px 10px rgba(0,0,0,.12)}.shadow-up-4{-webkit-box-shadow:0 -2px 4px -1px rgba(0,0,0,.2),0 -4px 5px rgba(0,0,0,.14),0 -1px 10px rgba(0,0,0,.12)}[dir] .shadow-up-4{box-shadow:0 -2px 4px -1px rgba(0,0,0,.2),0 -4px 5px rgba(0,0,0,.14),0 -1px 10px rgba(0,0,0,.12)}.shadow-5{-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px rgba(0,0,0,.14),0 1px 14px rgba(0,0,0,.12)}[dir] .shadow-5{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 5px 8px rgba(0,0,0,.14),0 1px 14px rgba(0,0,0,.12)}.shadow-up-5{-webkit-box-shadow:0 -3px 5px -1px rgba(0,0,0,.2),0 -5px 8px rgba(0,0,0,.14),0 -1px 14px rgba(0,0,0,.12)}[dir] .shadow-up-5{box-shadow:0 -3px 5px -1px rgba(0,0,0,.2),0 -5px 8px rgba(0,0,0,.14),0 -1px 14px rgba(0,0,0,.12)}.shadow-6{-webkit-box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px rgba(0,0,0,.14),0 1px 18px rgba(0,0,0,.12)}[dir] .shadow-6{box-shadow:0 3px 5px -1px rgba(0,0,0,.2),0 6px 10px rgba(0,0,0,.14),0 1px 18px rgba(0,0,0,.12)}.shadow-up-6{-webkit-box-shadow:0 -3px 5px -1px rgba(0,0,0,.2),0 -6px 10px rgba(0,0,0,.14),0 -1px 18px rgba(0,0,0,.12)}[dir] .shadow-up-6{box-shadow:0 -3px 5px -1px rgba(0,0,0,.2),0 -6px 10px rgba(0,0,0,.14),0 -1px 18px rgba(0,0,0,.12)}.shadow-7{-webkit-box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}[dir] .shadow-7{box-shadow:0 4px 5px -2px rgba(0,0,0,.2),0 7px 10px 1px rgba(0,0,0,.14),0 2px 16px 1px rgba(0,0,0,.12)}.shadow-up-7{-webkit-box-shadow:0 -4px 5px -2px rgba(0,0,0,.2),0 -7px 10px 1px rgba(0,0,0,.14),0 -2px 16px 1px rgba(0,0,0,.12)}[dir] .shadow-up-7{box-shadow:0 -4px 5px -2px rgba(0,0,0,.2),0 -7px 10px 1px rgba(0,0,0,.14),0 -2px 16px 1px rgba(0,0,0,.12)}.shadow-8{-webkit-box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}[dir] .shadow-8{box-shadow:0 5px 5px -3px rgba(0,0,0,.2),0 8px 10px 1px rgba(0,0,0,.14),0 3px 14px 2px rgba(0,0,0,.12)}.shadow-up-8{-webkit-box-shadow:0 -5px 5px -3px rgba(0,0,0,.2),0 -8px 10px 1px rgba(0,0,0,.14),0 -3px 14px 2px rgba(0,0,0,.12)}[dir] .shadow-up-8{box-shadow:0 -5px 5px -3px rgba(0,0,0,.2),0 -8px 10px 1px rgba(0,0,0,.14),0 -3px 14px 2px rgba(0,0,0,.12)}.shadow-9{-webkit-box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}[dir] .shadow-9{box-shadow:0 5px 6px -3px rgba(0,0,0,.2),0 9px 12px 1px rgba(0,0,0,.14),0 3px 16px 2px rgba(0,0,0,.12)}.shadow-up-9{-webkit-box-shadow:0 -5px 6px -3px rgba(0,0,0,.2),0 -9px 12px 1px rgba(0,0,0,.14),0 -3px 16px 2px rgba(0,0,0,.12)}[dir] .shadow-up-9{box-shadow:0 -5px 6px -3px rgba(0,0,0,.2),0 -9px 12px 1px rgba(0,0,0,.14),0 -3px 16px 2px rgba(0,0,0,.12)}.shadow-10{-webkit-box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}[dir] .shadow-10{box-shadow:0 6px 6px -3px rgba(0,0,0,.2),0 10px 14px 1px rgba(0,0,0,.14),0 4px 18px 3px rgba(0,0,0,.12)}.shadow-up-10{-webkit-box-shadow:0 -6px 6px -3px rgba(0,0,0,.2),0 -10px 14px 1px rgba(0,0,0,.14),0 -4px 18px 3px rgba(0,0,0,.12)}[dir] .shadow-up-10{box-shadow:0 -6px 6px -3px rgba(0,0,0,.2),0 -10px 14px 1px rgba(0,0,0,.14),0 -4px 18px 3px rgba(0,0,0,.12)}.shadow-11{-webkit-box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}[dir] .shadow-11{box-shadow:0 6px 7px -4px rgba(0,0,0,.2),0 11px 15px 1px rgba(0,0,0,.14),0 4px 20px 3px rgba(0,0,0,.12)}.shadow-up-11{-webkit-box-shadow:0 -6px 7px -4px rgba(0,0,0,.2),0 -11px 15px 1px rgba(0,0,0,.14),0 -4px 20px 3px rgba(0,0,0,.12)}[dir] .shadow-up-11{box-shadow:0 -6px 7px -4px rgba(0,0,0,.2),0 -11px 15px 1px rgba(0,0,0,.14),0 -4px 20px 3px rgba(0,0,0,.12)}.shadow-12{-webkit-box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}[dir] .shadow-12{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 12px 17px 2px rgba(0,0,0,.14),0 5px 22px 4px rgba(0,0,0,.12)}.shadow-up-12{-webkit-box-shadow:0 -7px 8px -4px rgba(0,0,0,.2),0 -12px 17px 2px rgba(0,0,0,.14),0 -5px 22px 4px rgba(0,0,0,.12)}[dir] .shadow-up-12{box-shadow:0 -7px 8px -4px rgba(0,0,0,.2),0 -12px 17px 2px rgba(0,0,0,.14),0 -5px 22px 4px rgba(0,0,0,.12)}.shadow-13{-webkit-box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}[dir] .shadow-13{box-shadow:0 7px 8px -4px rgba(0,0,0,.2),0 13px 19px 2px rgba(0,0,0,.14),0 5px 24px 4px rgba(0,0,0,.12)}.shadow-up-13{-webkit-box-shadow:0 -7px 8px -4px rgba(0,0,0,.2),0 -13px 19px 2px rgba(0,0,0,.14),0 -5px 24px 4px rgba(0,0,0,.12)}[dir] .shadow-up-13{box-shadow:0 -7px 8px -4px rgba(0,0,0,.2),0 -13px 19px 2px rgba(0,0,0,.14),0 -5px 24px 4px rgba(0,0,0,.12)}.shadow-14{-webkit-box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}[dir] .shadow-14{box-shadow:0 7px 9px -4px rgba(0,0,0,.2),0 14px 21px 2px rgba(0,0,0,.14),0 5px 26px 4px rgba(0,0,0,.12)}.shadow-up-14{-webkit-box-shadow:0 -7px 9px -4px rgba(0,0,0,.2),0 -14px 21px 2px rgba(0,0,0,.14),0 -5px 26px 4px rgba(0,0,0,.12)}[dir] .shadow-up-14{box-shadow:0 -7px 9px -4px rgba(0,0,0,.2),0 -14px 21px 2px rgba(0,0,0,.14),0 -5px 26px 4px rgba(0,0,0,.12)}.shadow-15{-webkit-box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}[dir] .shadow-15{box-shadow:0 8px 9px -5px rgba(0,0,0,.2),0 15px 22px 2px rgba(0,0,0,.14),0 6px 28px 5px rgba(0,0,0,.12)}.shadow-up-15{-webkit-box-shadow:0 -8px 9px -5px rgba(0,0,0,.2),0 -15px 22px 2px rgba(0,0,0,.14),0 -6px 28px 5px rgba(0,0,0,.12)}[dir] .shadow-up-15{box-shadow:0 -8px 9px -5px rgba(0,0,0,.2),0 -15px 22px 2px rgba(0,0,0,.14),0 -6px 28px 5px rgba(0,0,0,.12)}.shadow-16{-webkit-box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}[dir] .shadow-16{box-shadow:0 8px 10px -5px rgba(0,0,0,.2),0 16px 24px 2px rgba(0,0,0,.14),0 6px 30px 5px rgba(0,0,0,.12)}.shadow-up-16{-webkit-box-shadow:0 -8px 10px -5px rgba(0,0,0,.2),0 -16px 24px 2px rgba(0,0,0,.14),0 -6px 30px 5px rgba(0,0,0,.12)}[dir] .shadow-up-16{box-shadow:0 -8px 10px -5px rgba(0,0,0,.2),0 -16px 24px 2px rgba(0,0,0,.14),0 -6px 30px 5px rgba(0,0,0,.12)}.shadow-17{-webkit-box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}[dir] .shadow-17{box-shadow:0 8px 11px -5px rgba(0,0,0,.2),0 17px 26px 2px rgba(0,0,0,.14),0 6px 32px 5px rgba(0,0,0,.12)}.shadow-up-17{-webkit-box-shadow:0 -8px 11px -5px rgba(0,0,0,.2),0 -17px 26px 2px rgba(0,0,0,.14),0 -6px 32px 5px rgba(0,0,0,.12)}[dir] .shadow-up-17{box-shadow:0 -8px 11px -5px rgba(0,0,0,.2),0 -17px 26px 2px rgba(0,0,0,.14),0 -6px 32px 5px rgba(0,0,0,.12)}.shadow-18{-webkit-box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}[dir] .shadow-18{box-shadow:0 9px 11px -5px rgba(0,0,0,.2),0 18px 28px 2px rgba(0,0,0,.14),0 7px 34px 6px rgba(0,0,0,.12)}.shadow-up-18{-webkit-box-shadow:0 -9px 11px -5px rgba(0,0,0,.2),0 -18px 28px 2px rgba(0,0,0,.14),0 -7px 34px 6px rgba(0,0,0,.12)}[dir] .shadow-up-18{box-shadow:0 -9px 11px -5px rgba(0,0,0,.2),0 -18px 28px 2px rgba(0,0,0,.14),0 -7px 34px 6px rgba(0,0,0,.12)}.shadow-19{-webkit-box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}[dir] .shadow-19{box-shadow:0 9px 12px -6px rgba(0,0,0,.2),0 19px 29px 2px rgba(0,0,0,.14),0 7px 36px 6px rgba(0,0,0,.12)}.shadow-up-19{-webkit-box-shadow:0 -9px 12px -6px rgba(0,0,0,.2),0 -19px 29px 2px rgba(0,0,0,.14),0 -7px 36px 6px rgba(0,0,0,.12)}[dir] .shadow-up-19{box-shadow:0 -9px 12px -6px rgba(0,0,0,.2),0 -19px 29px 2px rgba(0,0,0,.14),0 -7px 36px 6px rgba(0,0,0,.12)}.shadow-20{-webkit-box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}[dir] .shadow-20{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 20px 31px 3px rgba(0,0,0,.14),0 8px 38px 7px rgba(0,0,0,.12)}.shadow-up-20{-webkit-box-shadow:0 -10px 13px -6px rgba(0,0,0,.2),0 -20px 31px 3px rgba(0,0,0,.14),0 -8px 38px 7px rgba(0,0,0,.12)}[dir] .shadow-up-20{box-shadow:0 -10px 13px -6px rgba(0,0,0,.2),0 -20px 31px 3px rgba(0,0,0,.14),0 -8px 38px 7px rgba(0,0,0,.12)}.shadow-21{-webkit-box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}[dir] .shadow-21{box-shadow:0 10px 13px -6px rgba(0,0,0,.2),0 21px 33px 3px rgba(0,0,0,.14),0 8px 40px 7px rgba(0,0,0,.12)}.shadow-up-21{-webkit-box-shadow:0 -10px 13px -6px rgba(0,0,0,.2),0 -21px 33px 3px rgba(0,0,0,.14),0 -8px 40px 7px rgba(0,0,0,.12)}[dir] .shadow-up-21{box-shadow:0 -10px 13px -6px rgba(0,0,0,.2),0 -21px 33px 3px rgba(0,0,0,.14),0 -8px 40px 7px rgba(0,0,0,.12)}.shadow-22{-webkit-box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}[dir] .shadow-22{box-shadow:0 10px 14px -6px rgba(0,0,0,.2),0 22px 35px 3px rgba(0,0,0,.14),0 8px 42px 7px rgba(0,0,0,.12)}.shadow-up-22{-webkit-box-shadow:0 -10px 14px -6px rgba(0,0,0,.2),0 -22px 35px 3px rgba(0,0,0,.14),0 -8px 42px 7px rgba(0,0,0,.12)}[dir] .shadow-up-22{box-shadow:0 -10px 14px -6px rgba(0,0,0,.2),0 -22px 35px 3px rgba(0,0,0,.14),0 -8px 42px 7px rgba(0,0,0,.12)}.shadow-23{-webkit-box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}[dir] .shadow-23{box-shadow:0 11px 14px -7px rgba(0,0,0,.2),0 23px 36px 3px rgba(0,0,0,.14),0 9px 44px 8px rgba(0,0,0,.12)}.shadow-up-23{-webkit-box-shadow:0 -11px 14px -7px rgba(0,0,0,.2),0 -23px 36px 3px rgba(0,0,0,.14),0 -9px 44px 8px rgba(0,0,0,.12)}[dir] .shadow-up-23{box-shadow:0 -11px 14px -7px rgba(0,0,0,.2),0 -23px 36px 3px rgba(0,0,0,.14),0 -9px 44px 8px rgba(0,0,0,.12)}.shadow-24{-webkit-box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}[dir] .shadow-24{box-shadow:0 11px 15px -7px rgba(0,0,0,.2),0 24px 38px 3px rgba(0,0,0,.14),0 9px 46px 8px rgba(0,0,0,.12)}.shadow-up-24{-webkit-box-shadow:0 -11px 15px -7px rgba(0,0,0,.2),0 -24px 38px 3px rgba(0,0,0,.14),0 -9px 46px 8px rgba(0,0,0,.12)}[dir] .shadow-up-24{box-shadow:0 -11px 15px -7px rgba(0,0,0,.2),0 -24px 38px 3px rgba(0,0,0,.14),0 -9px 46px 8px rgba(0,0,0,.12)}.no-shadow,.shadow-0{-webkit-box-shadow:none!important}[dir] .no-shadow,[dir] .shadow-0{box-shadow:none!important}.inset-shadow{-webkit-box-shadow:0 7px 9px -7px rgba(0,0,0,.7) inset!important}[dir] .inset-shadow{box-shadow:inset 0 7px 9px -7px rgba(0,0,0,.7)!important}.z-marginals{z-index:2000}.z-notify{z-index:9500}.z-fullscreen{z-index:6000}.column,.flex,.row{-ms-flex-wrap:wrap;display:-webkit-box;display:-ms-flexbox;display:flex;flex-wrap:wrap}.column.inline,.flex.inline,.row.inline{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.row.reverse{-ms-flex-direction:row-reverse;-webkit-box-direction:reverse;-webkit-box-orient:horizontal;flex-direction:row-reverse}.column{-ms-flex-direction:column;-webkit-box-direction:normal;flex-direction:column}.column,.column.reverse{-webkit-box-orient:vertical}.column.reverse{-ms-flex-direction:column-reverse;-webkit-box-direction:reverse;flex-direction:column-reverse}.wrap{-ms-flex-wrap:wrap;flex-wrap:wrap}.no-wrap{-ms-flex-wrap:nowrap;flex-wrap:nowrap}.reverse-wrap{-ms-flex-wrap:wrap-reverse;flex-wrap:wrap-reverse}.order-first{-ms-flex-order:-10000;-webkit-box-ordinal-group:-9999;order:-10000}.order-last{-ms-flex-order:10000;-webkit-box-ordinal-group:10001;order:10000}.order-none{-ms-flex-order:0;-webkit-box-ordinal-group:1;order:0}.justify-start{-ms-flex-pack:start;-webkit-box-pack:start;justify-content:flex-start}.justify-end{-ms-flex-pack:end;-webkit-box-pack:end;justify-content:flex-end}.flex-center,.justify-center{-ms-flex-pack:center;-webkit-box-pack:center;justify-content:center}.justify-between{-ms-flex-pack:justify;-webkit-box-pack:justify;justify-content:space-between}.justify-around{-ms-flex-pack:distribute;justify-content:space-around}.items-start{-ms-flex-align:start;-webkit-box-align:start;align-items:flex-start}.items-end{-ms-flex-align:end;-webkit-box-align:end;align-items:flex-end}.flex-center,.items-center{-ms-flex-align:center;-webkit-box-align:center;align-items:center}.items-baseline{-ms-flex-align:baseline;-webkit-box-align:baseline;align-items:baseline}.items-stretch{-ms-flex-align:stretch;-webkit-box-align:stretch;align-items:stretch}.content-start{-ms-flex-line-pack:start;align-content:flex-start}.content-end{-ms-flex-line-pack:end;align-content:flex-end}.content-center{-ms-flex-line-pack:center;align-content:center}.content-stretch{-ms-flex-line-pack:stretch;align-content:stretch}.content-between{-ms-flex-line-pack:justify;align-content:space-between}.content-around{-ms-flex-line-pack:distribute;align-content:space-around}.self-start{-ms-flex-item-align:start;align-self:flex-start}.self-end{-ms-flex-item-align:end;align-self:flex-end}.self-center{-ms-flex-item-align:center;align-self:center}.self-baseline{-ms-flex-item-align:baseline;align-self:baseline}.self-stretch{-ms-flex-item-align:stretch;align-self:stretch}[dir=ltr] .gutter-none,[dir=ltr] .gutter-x-none{margin-left:0}[dir=rtl] .gutter-none,[dir=rtl] .gutter-x-none{margin-right:0}[dir=ltr] .gutter-none>div,[dir=ltr] .gutter-x-none>div{padding-left:0}[dir=rtl] .gutter-none>div,[dir=rtl] .gutter-x-none>div{padding-right:0}[dir] .gutter-none,[dir] .gutter-y-none{margin-top:0}[dir] .gutter-none>div,[dir] .gutter-y-none>div{padding-top:0}[dir=ltr] .gutter-x-xs,[dir=ltr] .gutter-xs{margin-left:-8px}[dir=rtl] .gutter-x-xs,[dir=rtl] .gutter-xs{margin-right:-8px}[dir=ltr] .gutter-x-xs>div,[dir=ltr] .gutter-xs>div{padding-left:8px}[dir=rtl] .gutter-x-xs>div,[dir=rtl] .gutter-xs>div{padding-right:8px}[dir] .gutter-xs,[dir] .gutter-y-xs{margin-top:-8px}[dir] .gutter-xs>div,[dir] .gutter-y-xs>div{padding-top:8px}[dir=ltr] .gutter-sm,[dir=ltr] .gutter-x-sm{margin-left:-16px}[dir=rtl] .gutter-sm,[dir=rtl] .gutter-x-sm{margin-right:-16px}[dir=ltr] .gutter-sm>div,[dir=ltr] .gutter-x-sm>div{padding-left:16px}[dir=rtl] .gutter-sm>div,[dir=rtl] .gutter-x-sm>div{padding-right:16px}[dir] .gutter-sm,[dir] .gutter-y-sm{margin-top:-16px}[dir] .gutter-sm>div,[dir] .gutter-y-sm>div{padding-top:16px}[dir=ltr] .gutter-md,[dir=ltr] .gutter-x-md{margin-left:-32px}[dir=rtl] .gutter-md,[dir=rtl] .gutter-x-md{margin-right:-32px}[dir=ltr] .gutter-md>div,[dir=ltr] .gutter-x-md>div{padding-left:32px}[dir=rtl] .gutter-md>div,[dir=rtl] .gutter-x-md>div{padding-right:32px}[dir] .gutter-md,[dir] .gutter-y-md{margin-top:-32px}[dir] .gutter-md>div,[dir] .gutter-y-md>div{padding-top:32px}[dir=ltr] .gutter-lg,[dir=ltr] .gutter-x-lg{margin-left:-48px}[dir=rtl] .gutter-lg,[dir=rtl] .gutter-x-lg{margin-right:-48px}[dir=ltr] .gutter-lg>div,[dir=ltr] .gutter-x-lg>div{padding-left:48px}[dir=rtl] .gutter-lg>div,[dir=rtl] .gutter-x-lg>div{padding-right:48px}[dir] .gutter-lg,[dir] .gutter-y-lg{margin-top:-48px}[dir] .gutter-lg>div,[dir] .gutter-y-lg>div{padding-top:48px}[dir=ltr] .gutter-x-xl,[dir=ltr] .gutter-xl{margin-left:-64px}[dir=rtl] .gutter-x-xl,[dir=rtl] .gutter-xl{margin-right:-64px}[dir=ltr] .gutter-x-xl>div,[dir=ltr] .gutter-xl>div{padding-left:64px}[dir=rtl] .gutter-x-xl>div,[dir=rtl] .gutter-xl>div{padding-right:64px}[dir] .gutter-xl,[dir] .gutter-y-xl{margin-top:-64px}[dir] .gutter-xl>div,[dir] .gutter-y-xl>div{padding-top:64px}@media (min-width:0){.flex>.col,.flex>.col-0,.flex>.col-1,.flex>.col-2,.flex>.col-3,.flex>.col-4,.flex>.col-5,.flex>.col-6,.flex>.col-7,.flex>.col-8,.flex>.col-9,.flex>.col-10,.flex>.col-11,.flex>.col-12,.flex>.col-auto,.flex>.col-grow,.flex>.col-xs,.flex>.col-xs-0,.flex>.col-xs-1,.flex>.col-xs-2,.flex>.col-xs-3,.flex>.col-xs-4,.flex>.col-xs-5,.flex>.col-xs-6,.flex>.col-xs-7,.flex>.col-xs-8,.flex>.col-xs-9,.flex>.col-xs-10,.flex>.col-xs-11,.flex>.col-xs-12,.flex>.col-xs-auto,.flex>.col-xs-grow,.row>.col,.row>.col-0,.row>.col-1,.row>.col-2,.row>.col-3,.row>.col-4,.row>.col-5,.row>.col-6,.row>.col-7,.row>.col-8,.row>.col-9,.row>.col-10,.row>.col-11,.row>.col-12,.row>.col-auto,.row>.col-grow,.row>.col-xs,.row>.col-xs-0,.row>.col-xs-1,.row>.col-xs-2,.row>.col-xs-3,.row>.col-xs-4,.row>.col-xs-5,.row>.col-xs-6,.row>.col-xs-7,.row>.col-xs-8,.row>.col-xs-9,.row>.col-xs-10,.row>.col-xs-11,.row>.col-xs-12,.row>.col-xs-auto,.row>.col-xs-grow{max-width:100%;min-width:0;width:auto}.column>.col,.column>.col-0,.column>.col-1,.column>.col-2,.column>.col-3,.column>.col-4,.column>.col-5,.column>.col-6,.column>.col-7,.column>.col-8,.column>.col-9,.column>.col-10,.column>.col-11,.column>.col-12,.column>.col-auto,.column>.col-grow,.column>.col-xs,.column>.col-xs-0,.column>.col-xs-1,.column>.col-xs-2,.column>.col-xs-3,.column>.col-xs-4,.column>.col-xs-5,.column>.col-xs-6,.column>.col-xs-7,.column>.col-xs-8,.column>.col-xs-9,.column>.col-xs-10,.column>.col-xs-11,.column>.col-xs-12,.column>.col-xs-auto,.column>.col-xs-grow,.flex>.col,.flex>.col-0,.flex>.col-1,.flex>.col-2,.flex>.col-3,.flex>.col-4,.flex>.col-5,.flex>.col-6,.flex>.col-7,.flex>.col-8,.flex>.col-9,.flex>.col-10,.flex>.col-11,.flex>.col-12,.flex>.col-auto,.flex>.col-grow,.flex>.col-xs,.flex>.col-xs-0,.flex>.col-xs-1,.flex>.col-xs-2,.flex>.col-xs-3,.flex>.col-xs-4,.flex>.col-xs-5,.flex>.col-xs-6,.flex>.col-xs-7,.flex>.col-xs-8,.flex>.col-xs-9,.flex>.col-xs-10,.flex>.col-xs-11,.flex>.col-xs-12,.flex>.col-xs-auto,.flex>.col-xs-grow{height:auto;max-height:100%;min-height:0}.col,.col-xs{-ms-flex:10000 1 0%;-webkit-box-flex:10000;flex:10000 1 0%}.col-0,.col-1,.col-2,.col-3,.col-4,.col-5,.col-6,.col-7,.col-8,.col-9,.col-10,.col-11,.col-12,.col-auto,.col-xs-0,.col-xs-1,.col-xs-2,.col-xs-3,.col-xs-4,.col-xs-5,.col-xs-6,.col-xs-7,.col-xs-8,.col-xs-9,.col-xs-10,.col-xs-11,.col-xs-12,.col-xs-auto{-ms-flex:0 0 auto;-webkit-box-flex:0;flex:0 0 auto}.col-grow,.col-xs-grow{-ms-flex:1 0 auto;-webkit-box-flex:1;flex:1 0 auto}.row>.col-0,.row>.col-xs-0{height:auto;width:0}[dir=ltr] .row>.offset-0,[dir=ltr] .row>.offset-xs-0{margin-left:0}[dir=rtl] .row>.offset-0,[dir=rtl] .row>.offset-xs-0{margin-right:0}.column>.col-0,.column>.col-xs-0{height:0%;width:auto}.row>.col-1,.row>.col-xs-1{height:auto;width:8.3333%}[dir=ltr] .row>.offset-1,[dir=ltr] .row>.offset-xs-1{margin-left:8.3333%}[dir=rtl] .row>.offset-1,[dir=rtl] .row>.offset-xs-1{margin-right:8.3333%}.column>.col-1,.column>.col-xs-1{height:8.3333%;width:auto}.row>.col-2,.row>.col-xs-2{height:auto;width:16.6667%}[dir=ltr] .row>.offset-2,[dir=ltr] .row>.offset-xs-2{margin-left:16.6667%}[dir=rtl] .row>.offset-2,[dir=rtl] .row>.offset-xs-2{margin-right:16.6667%}.column>.col-2,.column>.col-xs-2{height:16.6667%;width:auto}.row>.col-3,.row>.col-xs-3{height:auto;width:25%}[dir=ltr] .row>.offset-3,[dir=ltr] .row>.offset-xs-3{margin-left:25%}[dir=rtl] .row>.offset-3,[dir=rtl] .row>.offset-xs-3{margin-right:25%}.column>.col-3,.column>.col-xs-3{height:25%;width:auto}.row>.col-4,.row>.col-xs-4{height:auto;width:33.3333%}[dir=ltr] .row>.offset-4,[dir=ltr] .row>.offset-xs-4{margin-left:33.3333%}[dir=rtl] .row>.offset-4,[dir=rtl] .row>.offset-xs-4{margin-right:33.3333%}.column>.col-4,.column>.col-xs-4{height:33.3333%;width:auto}.row>.col-5,.row>.col-xs-5{height:auto;width:41.6667%}[dir=ltr] .row>.offset-5,[dir=ltr] .row>.offset-xs-5{margin-left:41.6667%}[dir=rtl] .row>.offset-5,[dir=rtl] .row>.offset-xs-5{margin-right:41.6667%}.column>.col-5,.column>.col-xs-5{height:41.6667%;width:auto}.row>.col-6,.row>.col-xs-6{height:auto;width:50%}[dir=ltr] .row>.offset-6,[dir=ltr] .row>.offset-xs-6{margin-left:50%}[dir=rtl] .row>.offset-6,[dir=rtl] .row>.offset-xs-6{margin-right:50%}.column>.col-6,.column>.col-xs-6{height:50%;width:auto}.row>.col-7,.row>.col-xs-7{height:auto;width:58.3333%}[dir=ltr] .row>.offset-7,[dir=ltr] .row>.offset-xs-7{margin-left:58.3333%}[dir=rtl] .row>.offset-7,[dir=rtl] .row>.offset-xs-7{margin-right:58.3333%}.column>.col-7,.column>.col-xs-7{height:58.3333%;width:auto}.row>.col-8,.row>.col-xs-8{height:auto;width:66.6667%}[dir=ltr] .row>.offset-8,[dir=ltr] .row>.offset-xs-8{margin-left:66.6667%}[dir=rtl] .row>.offset-8,[dir=rtl] .row>.offset-xs-8{margin-right:66.6667%}.column>.col-8,.column>.col-xs-8{height:66.6667%;width:auto}.row>.col-9,.row>.col-xs-9{height:auto;width:75%}[dir=ltr] .row>.offset-9,[dir=ltr] .row>.offset-xs-9{margin-left:75%}[dir=rtl] .row>.offset-9,[dir=rtl] .row>.offset-xs-9{margin-right:75%}.column>.col-9,.column>.col-xs-9{height:75%;width:auto}.row>.col-10,.row>.col-xs-10{height:auto;width:83.3333%}[dir=ltr] .row>.offset-10,[dir=ltr] .row>.offset-xs-10{margin-left:83.3333%}[dir=rtl] .row>.offset-10,[dir=rtl] .row>.offset-xs-10{margin-right:83.3333%}.column>.col-10,.column>.col-xs-10{height:83.3333%;width:auto}.row>.col-11,.row>.col-xs-11{height:auto;width:91.6667%}[dir=ltr] .row>.offset-11,[dir=ltr] .row>.offset-xs-11{margin-left:91.6667%}[dir=rtl] .row>.offset-11,[dir=rtl] .row>.offset-xs-11{margin-right:91.6667%}.column>.col-11,.column>.col-xs-11{height:91.6667%;width:auto}.row>.col-12,.row>.col-xs-12{height:auto;width:100%}[dir=ltr] .row>.offset-12,[dir=ltr] .row>.offset-xs-12{margin-left:100%}[dir=rtl] .row>.offset-12,[dir=rtl] .row>.offset-xs-12{margin-right:100%}.column>.col-12,.column>.col-xs-12{height:100%;width:auto}}@media (min-width:576px){.flex>.col-sm,.flex>.col-sm-0,.flex>.col-sm-1,.flex>.col-sm-2,.flex>.col-sm-3,.flex>.col-sm-4,.flex>.col-sm-5,.flex>.col-sm-6,.flex>.col-sm-7,.flex>.col-sm-8,.flex>.col-sm-9,.flex>.col-sm-10,.flex>.col-sm-11,.flex>.col-sm-12,.flex>.col-sm-auto,.flex>.col-sm-grow,.row>.col-sm,.row>.col-sm-0,.row>.col-sm-1,.row>.col-sm-2,.row>.col-sm-3,.row>.col-sm-4,.row>.col-sm-5,.row>.col-sm-6,.row>.col-sm-7,.row>.col-sm-8,.row>.col-sm-9,.row>.col-sm-10,.row>.col-sm-11,.row>.col-sm-12,.row>.col-sm-auto,.row>.col-sm-grow{max-width:100%;min-width:0;width:auto}.column>.col-sm,.column>.col-sm-0,.column>.col-sm-1,.column>.col-sm-2,.column>.col-sm-3,.column>.col-sm-4,.column>.col-sm-5,.column>.col-sm-6,.column>.col-sm-7,.column>.col-sm-8,.column>.col-sm-9,.column>.col-sm-10,.column>.col-sm-11,.column>.col-sm-12,.column>.col-sm-auto,.column>.col-sm-grow,.flex>.col-sm,.flex>.col-sm-0,.flex>.col-sm-1,.flex>.col-sm-2,.flex>.col-sm-3,.flex>.col-sm-4,.flex>.col-sm-5,.flex>.col-sm-6,.flex>.col-sm-7,.flex>.col-sm-8,.flex>.col-sm-9,.flex>.col-sm-10,.flex>.col-sm-11,.flex>.col-sm-12,.flex>.col-sm-auto,.flex>.col-sm-grow{height:auto;max-height:100%;min-height:0}.col-sm{-ms-flex:10000 1 0%;-webkit-box-flex:10000;flex:10000 1 0%}.col-sm-0,.col-sm-1,.col-sm-2,.col-sm-3,.col-sm-4,.col-sm-5,.col-sm-6,.col-sm-7,.col-sm-8,.col-sm-9,.col-sm-10,.col-sm-11,.col-sm-12,.col-sm-auto{-ms-flex:0 0 auto;-webkit-box-flex:0;flex:0 0 auto}.col-sm-grow{-ms-flex:1 0 auto;-webkit-box-flex:1;flex:1 0 auto}.row>.col-sm-0{height:auto;width:0}[dir=ltr] .row>.offset-sm-0{margin-left:0}[dir=rtl] .row>.offset-sm-0{margin-right:0}.column>.col-sm-0{height:0%;width:auto}.row>.col-sm-1{height:auto;width:8.3333%}[dir=ltr] .row>.offset-sm-1{margin-left:8.3333%}[dir=rtl] .row>.offset-sm-1{margin-right:8.3333%}.column>.col-sm-1{height:8.3333%;width:auto}.row>.col-sm-2{height:auto;width:16.6667%}[dir=ltr] .row>.offset-sm-2{margin-left:16.6667%}[dir=rtl] .row>.offset-sm-2{margin-right:16.6667%}.column>.col-sm-2{height:16.6667%;width:auto}.row>.col-sm-3{height:auto;width:25%}[dir=ltr] .row>.offset-sm-3{margin-left:25%}[dir=rtl] .row>.offset-sm-3{margin-right:25%}.column>.col-sm-3{height:25%;width:auto}.row>.col-sm-4{height:auto;width:33.3333%}[dir=ltr] .row>.offset-sm-4{margin-left:33.3333%}[dir=rtl] .row>.offset-sm-4{margin-right:33.3333%}.column>.col-sm-4{height:33.3333%;width:auto}.row>.col-sm-5{height:auto;width:41.6667%}[dir=ltr] .row>.offset-sm-5{margin-left:41.6667%}[dir=rtl] .row>.offset-sm-5{margin-right:41.6667%}.column>.col-sm-5{height:41.6667%;width:auto}.row>.col-sm-6{height:auto;width:50%}[dir=ltr] .row>.offset-sm-6{margin-left:50%}[dir=rtl] .row>.offset-sm-6{margin-right:50%}.column>.col-sm-6{height:50%;width:auto}.row>.col-sm-7{height:auto;width:58.3333%}[dir=ltr] .row>.offset-sm-7{margin-left:58.3333%}[dir=rtl] .row>.offset-sm-7{margin-right:58.3333%}.column>.col-sm-7{height:58.3333%;width:auto}.row>.col-sm-8{height:auto;width:66.6667%}[dir=ltr] .row>.offset-sm-8{margin-left:66.6667%}[dir=rtl] .row>.offset-sm-8{margin-right:66.6667%}.column>.col-sm-8{height:66.6667%;width:auto}.row>.col-sm-9{height:auto;width:75%}[dir=ltr] .row>.offset-sm-9{margin-left:75%}[dir=rtl] .row>.offset-sm-9{margin-right:75%}.column>.col-sm-9{height:75%;width:auto}.row>.col-sm-10{height:auto;width:83.3333%}[dir=ltr] .row>.offset-sm-10{margin-left:83.3333%}[dir=rtl] .row>.offset-sm-10{margin-right:83.3333%}.column>.col-sm-10{height:83.3333%;width:auto}.row>.col-sm-11{height:auto;width:91.6667%}[dir=ltr] .row>.offset-sm-11{margin-left:91.6667%}[dir=rtl] .row>.offset-sm-11{margin-right:91.6667%}.column>.col-sm-11{height:91.6667%;width:auto}.row>.col-sm-12{height:auto;width:100%}[dir=ltr] .row>.offset-sm-12{margin-left:100%}[dir=rtl] .row>.offset-sm-12{margin-right:100%}.column>.col-sm-12{height:100%;width:auto}}@media (min-width:768px){.flex>.col-md,.flex>.col-md-0,.flex>.col-md-1,.flex>.col-md-2,.flex>.col-md-3,.flex>.col-md-4,.flex>.col-md-5,.flex>.col-md-6,.flex>.col-md-7,.flex>.col-md-8,.flex>.col-md-9,.flex>.col-md-10,.flex>.col-md-11,.flex>.col-md-12,.flex>.col-md-auto,.flex>.col-md-grow,.row>.col-md,.row>.col-md-0,.row>.col-md-1,.row>.col-md-2,.row>.col-md-3,.row>.col-md-4,.row>.col-md-5,.row>.col-md-6,.row>.col-md-7,.row>.col-md-8,.row>.col-md-9,.row>.col-md-10,.row>.col-md-11,.row>.col-md-12,.row>.col-md-auto,.row>.col-md-grow{max-width:100%;min-width:0;width:auto}.column>.col-md,.column>.col-md-0,.column>.col-md-1,.column>.col-md-2,.column>.col-md-3,.column>.col-md-4,.column>.col-md-5,.column>.col-md-6,.column>.col-md-7,.column>.col-md-8,.column>.col-md-9,.column>.col-md-10,.column>.col-md-11,.column>.col-md-12,.column>.col-md-auto,.column>.col-md-grow,.flex>.col-md,.flex>.col-md-0,.flex>.col-md-1,.flex>.col-md-2,.flex>.col-md-3,.flex>.col-md-4,.flex>.col-md-5,.flex>.col-md-6,.flex>.col-md-7,.flex>.col-md-8,.flex>.col-md-9,.flex>.col-md-10,.flex>.col-md-11,.flex>.col-md-12,.flex>.col-md-auto,.flex>.col-md-grow{height:auto;max-height:100%;min-height:0}.col-md{-ms-flex:10000 1 0%;-webkit-box-flex:10000;flex:10000 1 0%}.col-md-0,.col-md-1,.col-md-2,.col-md-3,.col-md-4,.col-md-5,.col-md-6,.col-md-7,.col-md-8,.col-md-9,.col-md-10,.col-md-11,.col-md-12,.col-md-auto{-ms-flex:0 0 auto;-webkit-box-flex:0;flex:0 0 auto}.col-md-grow{-ms-flex:1 0 auto;-webkit-box-flex:1;flex:1 0 auto}.row>.col-md-0{height:auto;width:0}[dir=ltr] .row>.offset-md-0{margin-left:0}[dir=rtl] .row>.offset-md-0{margin-right:0}.column>.col-md-0{height:0%;width:auto}.row>.col-md-1{height:auto;width:8.3333%}[dir=ltr] .row>.offset-md-1{margin-left:8.3333%}[dir=rtl] .row>.offset-md-1{margin-right:8.3333%}.column>.col-md-1{height:8.3333%;width:auto}.row>.col-md-2{height:auto;width:16.6667%}[dir=ltr] .row>.offset-md-2{margin-left:16.6667%}[dir=rtl] .row>.offset-md-2{margin-right:16.6667%}.column>.col-md-2{height:16.6667%;width:auto}.row>.col-md-3{height:auto;width:25%}[dir=ltr] .row>.offset-md-3{margin-left:25%}[dir=rtl] .row>.offset-md-3{margin-right:25%}.column>.col-md-3{height:25%;width:auto}.row>.col-md-4{height:auto;width:33.3333%}[dir=ltr] .row>.offset-md-4{margin-left:33.3333%}[dir=rtl] .row>.offset-md-4{margin-right:33.3333%}.column>.col-md-4{height:33.3333%;width:auto}.row>.col-md-5{height:auto;width:41.6667%}[dir=ltr] .row>.offset-md-5{margin-left:41.6667%}[dir=rtl] .row>.offset-md-5{margin-right:41.6667%}.column>.col-md-5{height:41.6667%;width:auto}.row>.col-md-6{height:auto;width:50%}[dir=ltr] .row>.offset-md-6{margin-left:50%}[dir=rtl] .row>.offset-md-6{margin-right:50%}.column>.col-md-6{height:50%;width:auto}.row>.col-md-7{height:auto;width:58.3333%}[dir=ltr] .row>.offset-md-7{margin-left:58.3333%}[dir=rtl] .row>.offset-md-7{margin-right:58.3333%}.column>.col-md-7{height:58.3333%;width:auto}.row>.col-md-8{height:auto;width:66.6667%}[dir=ltr] .row>.offset-md-8{margin-left:66.6667%}[dir=rtl] .row>.offset-md-8{margin-right:66.6667%}.column>.col-md-8{height:66.6667%;width:auto}.row>.col-md-9{height:auto;width:75%}[dir=ltr] .row>.offset-md-9{margin-left:75%}[dir=rtl] .row>.offset-md-9{margin-right:75%}.column>.col-md-9{height:75%;width:auto}.row>.col-md-10{height:auto;width:83.3333%}[dir=ltr] .row>.offset-md-10{margin-left:83.3333%}[dir=rtl] .row>.offset-md-10{margin-right:83.3333%}.column>.col-md-10{height:83.3333%;width:auto}.row>.col-md-11{height:auto;width:91.6667%}[dir=ltr] .row>.offset-md-11{margin-left:91.6667%}[dir=rtl] .row>.offset-md-11{margin-right:91.6667%}.column>.col-md-11{height:91.6667%;width:auto}.row>.col-md-12{height:auto;width:100%}[dir=ltr] .row>.offset-md-12{margin-left:100%}[dir=rtl] .row>.offset-md-12{margin-right:100%}.column>.col-md-12{height:100%;width:auto}}@media (min-width:992px){.flex>.col-lg,.flex>.col-lg-0,.flex>.col-lg-1,.flex>.col-lg-2,.flex>.col-lg-3,.flex>.col-lg-4,.flex>.col-lg-5,.flex>.col-lg-6,.flex>.col-lg-7,.flex>.col-lg-8,.flex>.col-lg-9,.flex>.col-lg-10,.flex>.col-lg-11,.flex>.col-lg-12,.flex>.col-lg-auto,.flex>.col-lg-grow,.row>.col-lg,.row>.col-lg-0,.row>.col-lg-1,.row>.col-lg-2,.row>.col-lg-3,.row>.col-lg-4,.row>.col-lg-5,.row>.col-lg-6,.row>.col-lg-7,.row>.col-lg-8,.row>.col-lg-9,.row>.col-lg-10,.row>.col-lg-11,.row>.col-lg-12,.row>.col-lg-auto,.row>.col-lg-grow{max-width:100%;min-width:0;width:auto}.column>.col-lg,.column>.col-lg-0,.column>.col-lg-1,.column>.col-lg-2,.column>.col-lg-3,.column>.col-lg-4,.column>.col-lg-5,.column>.col-lg-6,.column>.col-lg-7,.column>.col-lg-8,.column>.col-lg-9,.column>.col-lg-10,.column>.col-lg-11,.column>.col-lg-12,.column>.col-lg-auto,.column>.col-lg-grow,.flex>.col-lg,.flex>.col-lg-0,.flex>.col-lg-1,.flex>.col-lg-2,.flex>.col-lg-3,.flex>.col-lg-4,.flex>.col-lg-5,.flex>.col-lg-6,.flex>.col-lg-7,.flex>.col-lg-8,.flex>.col-lg-9,.flex>.col-lg-10,.flex>.col-lg-11,.flex>.col-lg-12,.flex>.col-lg-auto,.flex>.col-lg-grow{height:auto;max-height:100%;min-height:0}.col-lg{-ms-flex:10000 1 0%;-webkit-box-flex:10000;flex:10000 1 0%}.col-lg-0,.col-lg-1,.col-lg-2,.col-lg-3,.col-lg-4,.col-lg-5,.col-lg-6,.col-lg-7,.col-lg-8,.col-lg-9,.col-lg-10,.col-lg-11,.col-lg-12,.col-lg-auto{-ms-flex:0 0 auto;-webkit-box-flex:0;flex:0 0 auto}.col-lg-grow{-ms-flex:1 0 auto;-webkit-box-flex:1;flex:1 0 auto}.row>.col-lg-0{height:auto;width:0}[dir=ltr] .row>.offset-lg-0{margin-left:0}[dir=rtl] .row>.offset-lg-0{margin-right:0}.column>.col-lg-0{height:0%;width:auto}.row>.col-lg-1{height:auto;width:8.3333%}[dir=ltr] .row>.offset-lg-1{margin-left:8.3333%}[dir=rtl] .row>.offset-lg-1{margin-right:8.3333%}.column>.col-lg-1{height:8.3333%;width:auto}.row>.col-lg-2{height:auto;width:16.6667%}[dir=ltr] .row>.offset-lg-2{margin-left:16.6667%}[dir=rtl] .row>.offset-lg-2{margin-right:16.6667%}.column>.col-lg-2{height:16.6667%;width:auto}.row>.col-lg-3{height:auto;width:25%}[dir=ltr] .row>.offset-lg-3{margin-left:25%}[dir=rtl] .row>.offset-lg-3{margin-right:25%}.column>.col-lg-3{height:25%;width:auto}.row>.col-lg-4{height:auto;width:33.3333%}[dir=ltr] .row>.offset-lg-4{margin-left:33.3333%}[dir=rtl] .row>.offset-lg-4{margin-right:33.3333%}.column>.col-lg-4{height:33.3333%;width:auto}.row>.col-lg-5{height:auto;width:41.6667%}[dir=ltr] .row>.offset-lg-5{margin-left:41.6667%}[dir=rtl] .row>.offset-lg-5{margin-right:41.6667%}.column>.col-lg-5{height:41.6667%;width:auto}.row>.col-lg-6{height:auto;width:50%}[dir=ltr] .row>.offset-lg-6{margin-left:50%}[dir=rtl] .row>.offset-lg-6{margin-right:50%}.column>.col-lg-6{height:50%;width:auto}.row>.col-lg-7{height:auto;width:58.3333%}[dir=ltr] .row>.offset-lg-7{margin-left:58.3333%}[dir=rtl] .row>.offset-lg-7{margin-right:58.3333%}.column>.col-lg-7{height:58.3333%;width:auto}.row>.col-lg-8{height:auto;width:66.6667%}[dir=ltr] .row>.offset-lg-8{margin-left:66.6667%}[dir=rtl] .row>.offset-lg-8{margin-right:66.6667%}.column>.col-lg-8{height:66.6667%;width:auto}.row>.col-lg-9{height:auto;width:75%}[dir=ltr] .row>.offset-lg-9{margin-left:75%}[dir=rtl] .row>.offset-lg-9{margin-right:75%}.column>.col-lg-9{height:75%;width:auto}.row>.col-lg-10{height:auto;width:83.3333%}[dir=ltr] .row>.offset-lg-10{margin-left:83.3333%}[dir=rtl] .row>.offset-lg-10{margin-right:83.3333%}.column>.col-lg-10{height:83.3333%;width:auto}.row>.col-lg-11{height:auto;width:91.6667%}[dir=ltr] .row>.offset-lg-11{margin-left:91.6667%}[dir=rtl] .row>.offset-lg-11{margin-right:91.6667%}.column>.col-lg-11{height:91.6667%;width:auto}.row>.col-lg-12{height:auto;width:100%}[dir=ltr] .row>.offset-lg-12{margin-left:100%}[dir=rtl] .row>.offset-lg-12{margin-right:100%}.column>.col-lg-12{height:100%;width:auto}}@media (min-width:1200px){.flex>.col-xl,.flex>.col-xl-0,.flex>.col-xl-1,.flex>.col-xl-2,.flex>.col-xl-3,.flex>.col-xl-4,.flex>.col-xl-5,.flex>.col-xl-6,.flex>.col-xl-7,.flex>.col-xl-8,.flex>.col-xl-9,.flex>.col-xl-10,.flex>.col-xl-11,.flex>.col-xl-12,.flex>.col-xl-auto,.flex>.col-xl-grow,.row>.col-xl,.row>.col-xl-0,.row>.col-xl-1,.row>.col-xl-2,.row>.col-xl-3,.row>.col-xl-4,.row>.col-xl-5,.row>.col-xl-6,.row>.col-xl-7,.row>.col-xl-8,.row>.col-xl-9,.row>.col-xl-10,.row>.col-xl-11,.row>.col-xl-12,.row>.col-xl-auto,.row>.col-xl-grow{max-width:100%;min-width:0;width:auto}.column>.col-xl,.column>.col-xl-0,.column>.col-xl-1,.column>.col-xl-2,.column>.col-xl-3,.column>.col-xl-4,.column>.col-xl-5,.column>.col-xl-6,.column>.col-xl-7,.column>.col-xl-8,.column>.col-xl-9,.column>.col-xl-10,.column>.col-xl-11,.column>.col-xl-12,.column>.col-xl-auto,.column>.col-xl-grow,.flex>.col-xl,.flex>.col-xl-0,.flex>.col-xl-1,.flex>.col-xl-2,.flex>.col-xl-3,.flex>.col-xl-4,.flex>.col-xl-5,.flex>.col-xl-6,.flex>.col-xl-7,.flex>.col-xl-8,.flex>.col-xl-9,.flex>.col-xl-10,.flex>.col-xl-11,.flex>.col-xl-12,.flex>.col-xl-auto,.flex>.col-xl-grow{height:auto;max-height:100%;min-height:0}.col-xl{-ms-flex:10000 1 0%;-webkit-box-flex:10000;flex:10000 1 0%}.col-xl-0,.col-xl-1,.col-xl-2,.col-xl-3,.col-xl-4,.col-xl-5,.col-xl-6,.col-xl-7,.col-xl-8,.col-xl-9,.col-xl-10,.col-xl-11,.col-xl-12,.col-xl-auto{-ms-flex:0 0 auto;-webkit-box-flex:0;flex:0 0 auto}.col-xl-grow{-ms-flex:1 0 auto;-webkit-box-flex:1;flex:1 0 auto}.row>.col-xl-0{height:auto;width:0}[dir=ltr] .row>.offset-xl-0{margin-left:0}[dir=rtl] .row>.offset-xl-0{margin-right:0}.column>.col-xl-0{height:0%;width:auto}.row>.col-xl-1{height:auto;width:8.3333%}[dir=ltr] .row>.offset-xl-1{margin-left:8.3333%}[dir=rtl] .row>.offset-xl-1{margin-right:8.3333%}.column>.col-xl-1{height:8.3333%;width:auto}.row>.col-xl-2{height:auto;width:16.6667%}[dir=ltr] .row>.offset-xl-2{margin-left:16.6667%}[dir=rtl] .row>.offset-xl-2{margin-right:16.6667%}.column>.col-xl-2{height:16.6667%;width:auto}.row>.col-xl-3{height:auto;width:25%}[dir=ltr] .row>.offset-xl-3{margin-left:25%}[dir=rtl] .row>.offset-xl-3{margin-right:25%}.column>.col-xl-3{height:25%;width:auto}.row>.col-xl-4{height:auto;width:33.3333%}[dir=ltr] .row>.offset-xl-4{margin-left:33.3333%}[dir=rtl] .row>.offset-xl-4{margin-right:33.3333%}.column>.col-xl-4{height:33.3333%;width:auto}.row>.col-xl-5{height:auto;width:41.6667%}[dir=ltr] .row>.offset-xl-5{margin-left:41.6667%}[dir=rtl] .row>.offset-xl-5{margin-right:41.6667%}.column>.col-xl-5{height:41.6667%;width:auto}.row>.col-xl-6{height:auto;width:50%}[dir=ltr] .row>.offset-xl-6{margin-left:50%}[dir=rtl] .row>.offset-xl-6{margin-right:50%}.column>.col-xl-6{height:50%;width:auto}.row>.col-xl-7{height:auto;width:58.3333%}[dir=ltr] .row>.offset-xl-7{margin-left:58.3333%}[dir=rtl] .row>.offset-xl-7{margin-right:58.3333%}.column>.col-xl-7{height:58.3333%;width:auto}.row>.col-xl-8{height:auto;width:66.6667%}[dir=ltr] .row>.offset-xl-8{margin-left:66.6667%}[dir=rtl] .row>.offset-xl-8{margin-right:66.6667%}.column>.col-xl-8{height:66.6667%;width:auto}.row>.col-xl-9{height:auto;width:75%}[dir=ltr] .row>.offset-xl-9{margin-left:75%}[dir=rtl] .row>.offset-xl-9{margin-right:75%}.column>.col-xl-9{height:75%;width:auto}.row>.col-xl-10{height:auto;width:83.3333%}[dir=ltr] .row>.offset-xl-10{margin-left:83.3333%}[dir=rtl] .row>.offset-xl-10{margin-right:83.3333%}.column>.col-xl-10{height:83.3333%;width:auto}.row>.col-xl-11{height:auto;width:91.6667%}[dir=ltr] .row>.offset-xl-11{margin-left:91.6667%}[dir=rtl] .row>.offset-xl-11{margin-right:91.6667%}.column>.col-xl-11{height:91.6667%;width:auto}.row>.col-xl-12{height:auto;width:100%}[dir=ltr] .row>.offset-xl-12{margin-left:100%}[dir=rtl] .row>.offset-xl-12{margin-right:100%}.column>.col-xl-12{height:100%;width:auto}}.backdrop{bottom:0;display:none;height:100vh;position:fixed;top:0;transition:background .28s ease-in;width:100vw}[dir] .backdrop{-webkit-transition:background .28s ease-in;background:transparent}[dir=ltr] .backdrop,[dir=rtl] .backdrop{left:0;right:0}.backdrop.active{display:block}[dir] .backdrop.active{background:rgba(0,0,0,.3)}[dir] .round-borders{border-radius:2px!important}[dir] .generic-margin,[dir] .group>*{margin:5px}.no-transition{transition:none!important}[dir] .no-transition{-webkit-transition:none!important}.transition-0{transition:0s!important}[dir] .transition-0{-webkit-transition:0s!important}[dir] .glossy{background-image:linear-gradient(180deg,hsla(0,0%,100%,.3),hsla(0,0%,100%,0) 50%,rgba(0,0,0,.12) 51%,rgba(0,0,0,.04))!important}[dir=ltr] .glossy{background-image:-webkit-gradient(linear,left top,left bottom,from(hsla(0,0%,100%,.3)),color-stop(50%,hsla(0,0%,100%,0)),color-stop(51%,rgba(0,0,0,.12)),to(rgba(0,0,0,.04)))!important}[dir=rtl] .glossy{background-image:-webkit-gradient(linear,right top,right bottom,from(hsla(0,0%,100%,.3)),color-stop(50%,hsla(0,0%,100%,0)),color-stop(51%,rgba(0,0,0,.12)),to(rgba(0,0,0,.04)))!important}.q-placeholder::-webkit-input-placeholder{color:inherit;opacity:.5}.q-placeholder::-moz-placeholder{color:inherit;opacity:.5}.q-placeholder:-ms-input-placeholder{color:inherit;opacity:.5}.q-body-fullscreen-mixin,.q-body-prevent-scroll{overflow:hidden!important}.q-no-input-spinner{-moz-appearance:textfield}.q-no-input-spinner::-webkit-inner-spin-button,.q-no-input-spinner::-webkit-outer-spin-button{-webkit-appearance:none}[dir] .q-no-input-spinner::-webkit-inner-spin-button,[dir] .q-no-input-spinner::-webkit-outer-spin-button{margin:0}a.q-link{color:inherit!important;text-decoration:none}.highlight-and-fade{-webkit-animation:q-highlight 2s;animation:q-highlight 2s}.transition-generic{transition:all .3s}[dir] .transition-generic{-webkit-transition:all .3s}.animate-spin,.animate-spin-reverse{-webkit-animation:q-spin 2s infinite linear;animation:q-spin 2s infinite linear}[dir=ltr] .animate-spin-reverse,[dir=rtl] .animate-spin-reverse{animation-direction:reverse}.animate-blink{-webkit-animation:q-blink 1s steps(5,start) infinite;animation:q-blink 1s steps(5,start) infinite}.animate-pop{-webkit-animation:q-pop .2s;animation:q-pop .2s}.animate-scale{-webkit-animation:q-scale .2s;animation:q-scale .2s}.animate-fade{-webkit-animation:q-fade .2s;animation:q-fade .2s}.animate-bounce{-webkit-animation:q-bounce 2s infinite;animation:q-bounce 2s infinite}[dir=ltr] .animate-popup-down,[dir=ltr] .animate-popup-up,[dir=rtl] .animate-popup-down,[dir=rtl] .animate-popup-up{-webkit-animation-timing-function:cubic-bezier(.23,1,.32,1);animation-timing-function:cubic-bezier(.23,1,.32,1)}.animate-popup-down{-webkit-animation:q-popup-down .42s;-webkit-transform-origin:left top 0;animation:q-popup-down .42s;transform-origin:left top 0}.animate-popup-up{-webkit-animation:q-popup-up .42s;-webkit-transform-origin:left bottom 0;animation:q-popup-up .42s;transform-origin:left bottom 0}[dir=ltr] .animated,[dir=rtl] .animated{-webkit-animation-duration:1s;-webkit-animation-fill-mode:both;animation-duration:1s;animation-fill-mode:both}[dir=ltr] .animated.infinite,[dir=rtl] .animated.infinite{-webkit-animation-iteration-count:infinite;animation-iteration-count:infinite}[dir=ltr] .animated.hinge,[dir=rtl] .animated.hinge{-webkit-animation-duration:2s;animation-duration:2s}[dir=ltr] .animated.bounceIn,[dir=ltr] .animated.bounceOut,[dir=ltr] .animated.flipOutX,[dir=ltr] .animated.flipOutY,[dir=rtl] .animated.bounceIn,[dir=rtl] .animated.bounceOut,[dir=rtl] .animated.flipOutX,[dir=rtl] .animated.flipOutY{-webkit-animation-duration:.75s;animation-duration:.75s}.non-selectable{-moz-user-select:none!important;-ms-user-select:none!important;-webkit-user-select:none!important;user-select:none!important}.scroll{overflow:auto}.scroll,.scroll-x,.scroll-y{-webkit-overflow-scrolling:touch;will-change:scroll-position}.scroll-x{overflow-x:auto}.scroll-y{overflow-y:auto}.no-scroll{overflow:hidden!important}.no-pointer-events{pointer-events:none!important}.all-pointer-events{pointer-events:all!important}[dir] .cursor-pointer{cursor:pointer!important}[dir] .cursor-not-allowed{cursor:not-allowed!important}[dir] .cursor-inherit{cursor:inherit!important}.rotate-45{-webkit-transform:rotate(45deg);transform:rotate(45deg)}.rotate-90{-webkit-transform:rotate(90deg);transform:rotate(90deg)}.rotate-135{-webkit-transform:rotate(135deg);transform:rotate(135deg)}.rotate-180{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.rotate-205{-webkit-transform:rotate(205deg);transform:rotate(205deg)}.rotate-270{-webkit-transform:rotate(270deg);transform:rotate(270deg)}.rotate-315{-webkit-transform:rotate(315deg);transform:rotate(315deg)}.flip-horizontal{-webkit-transform:scaleX(-1)}[dir] .flip-horizontal{transform:scaleX(-1)}.flip-vertical{-webkit-transform:scaleY(-1)}[dir] .flip-vertical{transform:scaleY(-1)}[dir=ltr] .float-left{float:left}[dir=ltr] .float-right,[dir=rtl] .float-left{float:right}[dir=rtl] .float-right{float:left}.relative-position{position:relative}.fixed,.fixed-bottom,.fixed-bottom-left,.fixed-bottom-right,.fixed-center,.fixed-left,.fixed-right,.fixed-top,.fixed-top-left,.fixed-top-right,.fullscreen{position:fixed}.absolute,.absolute-bottom,.absolute-bottom-left,.absolute-bottom-right,.absolute-center,.absolute-full,.absolute-left,.absolute-right,.absolute-top,.absolute-top-left,.absolute-top-right{position:absolute}.absolute-top,.fixed-top{top:0}[dir=ltr] .absolute-top,[dir=ltr] .fixed-top,[dir=rtl] .absolute-top,[dir=rtl] .fixed-top{left:0;right:0}.absolute-right,.fixed-right{bottom:0;top:0}[dir=ltr] .absolute-right,[dir=ltr] .fixed-right{right:0}[dir=rtl] .absolute-right,[dir=rtl] .fixed-right{left:0}.absolute-bottom,.fixed-bottom{bottom:0}[dir=ltr] .absolute-bottom,[dir=ltr] .fixed-bottom,[dir=rtl] .absolute-bottom,[dir=rtl] .fixed-bottom{left:0;right:0}.absolute-left,.fixed-left{bottom:0;top:0}[dir=ltr] .absolute-left,[dir=ltr] .fixed-left{left:0}[dir=rtl] .absolute-left,[dir=rtl] .fixed-left{right:0}.absolute-top-left,.fixed-top-left{top:0}[dir=ltr] .absolute-top-left,[dir=ltr] .fixed-top-left{left:0}[dir=rtl] .absolute-top-left,[dir=rtl] .fixed-top-left{right:0}.absolute-top-right,.fixed-top-right{top:0}[dir=ltr] .absolute-top-right,[dir=ltr] .fixed-top-right{right:0}[dir=rtl] .absolute-top-right,[dir=rtl] .fixed-top-right{left:0}.absolute-bottom-left,.fixed-bottom-left{bottom:0}[dir=ltr] .absolute-bottom-left,[dir=ltr] .fixed-bottom-left{left:0}[dir=rtl] .absolute-bottom-left,[dir=rtl] .fixed-bottom-left{right:0}.absolute-bottom-right,.fixed-bottom-right{bottom:0}[dir=ltr] .absolute-bottom-right,[dir=ltr] .fixed-bottom-right{right:0}[dir=rtl] .absolute-bottom-right,[dir=rtl] .fixed-bottom-right{left:0}.fullscreen{max-height:100vh;max-width:100vw;z-index:6000}[dir] .fullscreen{border-radius:0!important}.absolute-full,.fullscreen{bottom:0;top:0}[dir=ltr] .absolute-full,[dir=ltr] .fullscreen,[dir=rtl] .absolute-full,[dir=rtl] .fullscreen{left:0;right:0}.absolute-center,.fixed-center{top:50%}[dir=ltr] .absolute-center,[dir=ltr] .fixed-center{-webkit-transform:translate(-50%,-50%);left:50%;transform:translate(-50%,-50%)}[dir=rtl] .absolute-center,[dir=rtl] .fixed-center{-webkit-transform:translate(50%,-50%);right:50%;transform:translate(50%,-50%)}.vertical-top{vertical-align:top!important}.vertical-middle{vertical-align:middle!important}.vertical-bottom{vertical-align:bottom!important}[dir=ltr] .on-left{margin-right:12px}[dir=ltr] .on-right,[dir=rtl] .on-left{margin-left:12px}[dir=rtl] .on-right{margin-right:12px}.q-ripple-container{color:inherit;height:100%;overflow:hidden;pointer-events:none;position:absolute;top:0;width:100%;z-index:0}[dir] .q-ripple-container{border-radius:inherit}[dir=ltr] .q-ripple-container{left:0}[dir=rtl] .q-ripple-container{right:0}.q-ripple-animation{color:inherit;left:0;opacity:0;overflow:hidden;pointer-events:none;position:absolute;top:0;transition:opacity .3s cubic-bezier(.2,.4,.4,.1),-webkit-transform .3s cubic-bezier(.2,.4,.4,.9);transition:transform .3s cubic-bezier(.2,.4,.4,.9),opacity .3s cubic-bezier(.2,.4,.4,.1);transition:transform .3s cubic-bezier(.2,.4,.4,.9),opacity .3s cubic-bezier(.2,.4,.4,.1),-webkit-transform .3s cubic-bezier(.2,.4,.4,.9);will-change:transform,opacity}[dir] .q-ripple-animation{-webkit-transition:opacity .3s cubic-bezier(.2,.4,.4,.1),-webkit-transform .3s cubic-bezier(.2,.4,.4,.9);background:currentColor;border-radius:50%}.q-ripple-animation-enter{transition:none}[dir] .q-ripple-animation-enter{-webkit-transition:none}.q-ripple-animation-visible{opacity:.15}.q-radial-ripple{height:200%;overflow:hidden;pointer-events:none;width:200%}[dir] .q-radial-ripple{border-radius:50%}[dir=ltr] .q-radial-ripple{-webkit-transform:translate3d(-25%,-25%,0);transform:translate3d(-25%,-25%,0)}[dir=rtl] .q-radial-ripple{-webkit-transform:translate3d(25%,-25%,0);transform:translate3d(25%,-25%,0)}.q-radial-ripple,.q-radial-ripple:after{bottom:0;position:absolute;top:0}[dir=ltr] .q-radial-ripple,[dir=ltr] .q-radial-ripple:after,[dir=rtl] .q-radial-ripple,[dir=rtl] .q-radial-ripple:after{left:0;right:0}.q-radial-ripple:after{-webkit-transform:scale(10);content:"";display:block;height:100%;opacity:0;transition:opacity 1s,-webkit-transform .5s;transition:transform .5s,opacity 1s;transition:transform .5s,opacity 1s,-webkit-transform .5s;width:100%}[dir] .q-radial-ripple:after{-webkit-transition:opacity 1s,-webkit-transform .5s;background-image:radial-gradient(circle,currentColor 10%,transparent 10.01%);background-position:50%;background-repeat:no-repeat;transform:scale(10)}.q-radial-ripple.active:after{-webkit-transform:scale(0);opacity:.4;transition:0s}[dir] .q-radial-ripple.active:after{-webkit-transition:0s;transform:scale(0)}:root{--q-size-lg:992px;--q-size-md:768px;--q-size-sm:576px;--q-size-xl:1200px;--q-size-xs:0}.fit{width:100%!important}.fit,.full-height{height:100%!important}.full-width{width:100%!important}[dir=ltr] .full-width,[dir=rtl] .full-width{margin-left:0!important;margin-right:0!important}.window-height{height:100vh!important}[dir] .window-height{margin-bottom:0!important;margin-top:0!important}.window-width{width:100vw!important}[dir=ltr] .window-width,[dir=rtl] .window-width{margin-left:0!important;margin-right:0!important}.block{display:block!important}.inline-block{display:inline-block!important}[dir] .q-pa-none{padding:0}[dir=ltr] .q-pl-none,[dir=ltr] .q-px-none{padding-left:0}[dir=ltr] .q-pr-none,[dir=ltr] .q-px-none,[dir=rtl] .q-pl-none,[dir=rtl] .q-px-none{padding-right:0}[dir=rtl] .q-pr-none,[dir=rtl] .q-px-none{padding-left:0}[dir] .q-pt-none,[dir] .q-py-none{padding-top:0}[dir] .q-pb-none,[dir] .q-py-none{padding-bottom:0}[dir] .q-ma-none{margin:0}[dir=ltr] .q-ml-none,[dir=ltr] .q-mx-none{margin-left:0}[dir=ltr] .q-mr-none,[dir=ltr] .q-mx-none,[dir=rtl] .q-ml-none,[dir=rtl] .q-mx-none{margin-right:0}[dir=rtl] .q-mr-none,[dir=rtl] .q-mx-none{margin-left:0}[dir] .q-mt-none,[dir] .q-my-none{margin-top:0}[dir] .q-mb-none,[dir] .q-my-none{margin-bottom:0}[dir] .q-pa-xs{padding:4px}[dir=ltr] .q-pl-xs,[dir=ltr] .q-px-xs{padding-left:4px}[dir=ltr] .q-pr-xs,[dir=ltr] .q-px-xs,[dir=rtl] .q-pl-xs,[dir=rtl] .q-px-xs{padding-right:4px}[dir=rtl] .q-pr-xs,[dir=rtl] .q-px-xs{padding-left:4px}[dir] .q-pt-xs,[dir] .q-py-xs{padding-top:4px}[dir] .q-pb-xs,[dir] .q-py-xs{padding-bottom:4px}[dir] .q-ma-xs{margin:4px}[dir=ltr] .q-ml-xs,[dir=ltr] .q-mx-xs{margin-left:4px}[dir=ltr] .q-mr-xs,[dir=ltr] .q-mx-xs,[dir=rtl] .q-ml-xs,[dir=rtl] .q-mx-xs{margin-right:4px}[dir=rtl] .q-mr-xs,[dir=rtl] .q-mx-xs{margin-left:4px}[dir] .q-mt-xs,[dir] .q-my-xs{margin-top:4px}[dir] .q-mb-xs,[dir] .q-my-xs{margin-bottom:4px}[dir] .q-pa-sm{padding:8px}[dir=ltr] .q-pl-sm,[dir=ltr] .q-px-sm{padding-left:8px}[dir=ltr] .q-pr-sm,[dir=ltr] .q-px-sm,[dir=rtl] .q-pl-sm,[dir=rtl] .q-px-sm{padding-right:8px}[dir=rtl] .q-pr-sm,[dir=rtl] .q-px-sm{padding-left:8px}[dir] .q-pt-sm,[dir] .q-py-sm{padding-top:8px}[dir] .q-pb-sm,[dir] .q-py-sm{padding-bottom:8px}[dir] .q-ma-sm{margin:8px}[dir=ltr] .q-ml-sm,[dir=ltr] .q-mx-sm{margin-left:8px}[dir=ltr] .q-mr-sm,[dir=ltr] .q-mx-sm,[dir=rtl] .q-ml-sm,[dir=rtl] .q-mx-sm{margin-right:8px}[dir=rtl] .q-mr-sm,[dir=rtl] .q-mx-sm{margin-left:8px}[dir] .q-mt-sm,[dir] .q-my-sm{margin-top:8px}[dir] .q-mb-sm,[dir] .q-my-sm{margin-bottom:8px}[dir] .q-pa-md{padding:16px}[dir=ltr] .q-pl-md,[dir=ltr] .q-px-md{padding-left:16px}[dir=ltr] .q-pr-md,[dir=ltr] .q-px-md,[dir=rtl] .q-pl-md,[dir=rtl] .q-px-md{padding-right:16px}[dir=rtl] .q-pr-md,[dir=rtl] .q-px-md{padding-left:16px}[dir] .q-pt-md,[dir] .q-py-md{padding-top:16px}[dir] .q-pb-md,[dir] .q-py-md{padding-bottom:16px}[dir] .q-ma-md{margin:16px}[dir=ltr] .q-ml-md,[dir=ltr] .q-mx-md{margin-left:16px}[dir=ltr] .q-mr-md,[dir=ltr] .q-mx-md,[dir=rtl] .q-ml-md,[dir=rtl] .q-mx-md{margin-right:16px}[dir=rtl] .q-mr-md,[dir=rtl] .q-mx-md{margin-left:16px}[dir] .q-mt-md,[dir] .q-my-md{margin-top:16px}[dir] .q-mb-md,[dir] .q-my-md{margin-bottom:16px}[dir] .q-pa-lg{padding:24px}[dir=ltr] .q-pl-lg,[dir=ltr] .q-px-lg{padding-left:24px}[dir=ltr] .q-pr-lg,[dir=ltr] .q-px-lg,[dir=rtl] .q-pl-lg,[dir=rtl] .q-px-lg{padding-right:24px}[dir=rtl] .q-pr-lg,[dir=rtl] .q-px-lg{padding-left:24px}[dir] .q-pt-lg,[dir] .q-py-lg{padding-top:24px}[dir] .q-pb-lg,[dir] .q-py-lg{padding-bottom:24px}[dir] .q-ma-lg{margin:24px}[dir=ltr] .q-ml-lg,[dir=ltr] .q-mx-lg{margin-left:24px}[dir=ltr] .q-mr-lg,[dir=ltr] .q-mx-lg,[dir=rtl] .q-ml-lg,[dir=rtl] .q-mx-lg{margin-right:24px}[dir=rtl] .q-mr-lg,[dir=rtl] .q-mx-lg{margin-left:24px}[dir] .q-mt-lg,[dir] .q-my-lg{margin-top:24px}[dir] .q-mb-lg,[dir] .q-my-lg{margin-bottom:24px}[dir] .q-pa-xl{padding:48px}[dir=ltr] .q-pl-xl,[dir=ltr] .q-px-xl{padding-left:48px}[dir=ltr] .q-pr-xl,[dir=ltr] .q-px-xl,[dir=rtl] .q-pl-xl,[dir=rtl] .q-px-xl{padding-right:48px}[dir=rtl] .q-pr-xl,[dir=rtl] .q-px-xl{padding-left:48px}[dir] .q-pt-xl,[dir] .q-py-xl{padding-top:48px}[dir] .q-pb-xl,[dir] .q-py-xl{padding-bottom:48px}[dir] .q-ma-xl{margin:48px}[dir=ltr] .q-ml-xl,[dir=ltr] .q-mx-xl{margin-left:48px}[dir=ltr] .q-mr-xl,[dir=ltr] .q-mx-xl,[dir=rtl] .q-ml-xl,[dir=rtl] .q-mx-xl{margin-right:48px}[dir=rtl] .q-mr-xl,[dir=rtl] .q-mx-xl{margin-left:48px}[dir] .q-mt-xl,[dir] .q-my-xl{margin-top:48px}[dir] .q-mb-xl,[dir] .q-my-xl{margin-bottom:48px}[dir=ltr] .q-ml-auto,[dir=ltr] .q-mx-auto{margin-left:auto}[dir=ltr] .q-mr-auto,[dir=ltr] .q-mx-auto,[dir=rtl] .q-ml-auto,[dir=rtl] .q-mx-auto{margin-right:auto}[dir=rtl] .q-mr-auto,[dir=rtl] .q-mx-auto{margin-left:auto}.q-touch{-khtml-user-drag:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-drag:none;-webkit-user-select:none;user-drag:none;user-select:none}.q-touch-x{-ms-touch-action:pan-x;touch-action:pan-x}.q-touch-y{-ms-touch-action:pan-y;touch-action:pan-y}body{-moz-osx-font-smoothing:grayscale;-ms-text-size-adjust:100%;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%;color:#0c0c0c;font-family:Roboto,-apple-system,Helvetica Neue,Helvetica,Arial,sans-serif;font-smoothing:antialiased;min-height:100vh;min-width:100px}[dir] body{background:#fff}h1{font-size:112px;font-weight:300;letter-spacing:-.04em;line-height:1.12}@media screen and (max-width:767px){h1{font-size:67.2px}}h2{font-size:56px;font-weight:400;letter-spacing:-.02em;line-height:1.35}@media screen and (max-width:767px){h2{font-size:33.6px}}h3{font-size:45px;font-weight:400;letter-spacing:normal;line-height:48px}@media screen and (max-width:767px){h3{font-size:27px}}h4{font-size:34px;font-weight:400;letter-spacing:normal;line-height:40px}@media screen and (max-width:767px){h4{font-size:20.4px}}h5{font-size:24px;font-weight:400;letter-spacing:normal;line-height:32px}@media screen and (max-width:767px){h5{font-size:14.399999999999999px}}h6{font-size:20px;font-weight:500;letter-spacing:.02em;line-height:1.12}@media screen and (max-width:767px){h6{font-size:12px}}.q-display-4-opacity{opacity:.54}.q-display-4{font-size:112px;font-weight:300;letter-spacing:-.04em;line-height:1.12}.q-display-3-opacity{opacity:.54}.q-display-3{font-size:56px;font-weight:400;letter-spacing:-.02em;line-height:1.35}.q-display-2-opacity{opacity:.54}.q-display-2{font-size:45px;font-weight:400;letter-spacing:normal;line-height:48px}.q-display-1-opacity{opacity:.54}.q-display-1{font-size:34px;font-weight:400;letter-spacing:normal;line-height:40px}.q-headline-opacity{opacity:.87}.q-headline{font-size:24px;font-weight:400;letter-spacing:normal;line-height:32px}.q-title-opacity{opacity:.87}.q-title{font-size:20px;font-weight:500;letter-spacing:.02em;line-height:1.12}.q-subheading-opacity{opacity:.87}.q-subheading{font-size:16px;font-weight:400}.q-body-2-opacity{opacity:.87}.q-body-2{font-size:14px;font-weight:500}.q-body-1-opacity{opacity:.87}.q-body-1{font-size:14px;font-weight:400}.q-caption-opacity{opacity:.54}.q-caption{font-size:12px;font-weight:400}[dir] p{margin:0 0 16px}.caption{color:#424242;font-weight:300;letter-spacing:0;line-height:24px}[dir] .caption{padding:0}.uppercase{text-transform:uppercase}.lowercase{text-transform:lowercase}.capitalize{text-transform:capitalize}[dir] .text-center{text-align:center}[dir=ltr] .text-left{text-align:left}[dir=ltr] .text-right,[dir=rtl] .text-left{text-align:right}[dir=rtl] .text-right{text-align:left}.text-justify{-ms-hyphens:auto;-webkit-hyphens:auto;hyphens:auto}[dir] .text-justify{text-align:justify}.text-italic{font-style:italic}.text-bold{font-weight:700}.text-no-wrap{white-space:nowrap}.text-weight-thin{font-weight:100}.text-weight-light{font-weight:300}.text-weight-regular{font-weight:400}.text-weight-medium{font-weight:500}.text-weight-bold{font-weight:700}.text-weight-bolder{font-weight:900}small{font-size:80%}big{font-size:170%}sub{bottom:-.25em}sup{top:-.5em}blockquote{font-size:16px}[dir] blockquote{margin:0;padding:8px 16px}[dir=ltr] blockquote{border-left:4px solid #027be3;border-left-color:var(--q-color-primary);border-left-style:solid;border-left-width:4px}[dir=rtl] blockquote{border-right:4px solid #027be3;border-right-color:var(--q-color-primary);border-right-style:solid;border-right-width:4px}[dir=ltr] blockquote.text-right{border-left:0;border-right:4px solid #027be3;padding-left:0;padding-right:16px;text-align:right}[dir=rtl] blockquote.text-right{border-left:4px solid #027be3;border-right:0;padding-left:16px;padding-right:0;text-align:left}blockquote small{color:#777;color:var(--q-color-faded);display:block;line-height:1.4}blockquote small:before{content:"\2014 \00A0"}[dir] .quote{margin:0 0 20px;padding:10px 20px}[dir=ltr] .quote{border-left:5px solid #027be3;border-left-color:var(--q-color-primary);border-left-style:solid;border-left-width:5px}[dir=rtl] .quote{border-right:5px solid #027be3;border-right-color:var(--q-color-primary);border-right-style:solid;border-right-width:5px}[dir=ltr] .quote.text-right{border-left:0;border-right:5px solid #027be3;padding-left:0;padding-right:15px;text-align:right}[dir=rtl] .quote.text-right{border-left:5px solid #027be3;border-right:0;padding-left:15px;padding-right:0;text-align:left}dt{font-weight:700}[dir=ltr] dd{margin-left:0}[dir=rtl] dd{margin-right:0}dd,dt{line-height:1.4}[dir] dl{margin-bottom:20px;margin-top:0}dl.horizontal dt{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;width:25%}[dir=ltr] dl.horizontal dt{clear:left;float:left;text-align:right}[dir=rtl] dl.horizontal dt{clear:right;float:right;text-align:left}[dir=ltr] dl.horizontal dd{margin-left:30%}[dir=rtl] dl.horizontal dd{margin-right:30%}hr.q-hr,hr.q-hr-dark{display:block;height:1px;min-height:1px;width:100%}[dir] hr.q-hr,[dir] hr.q-hr-dark{background:rgba(0,0,0,.12);border:none}[dir] hr.q-hr-dark{background:hsla(0,0%,100%,.36)}[dir] .no-margin{margin:0!important}[dir] .no-padding{padding:0!important}[dir] .no-border{border:0!important}[dir] .no-border-radius{border-radius:0!important}.no-box-shadow{-webkit-box-shadow:none!important}[dir] .no-box-shadow{box-shadow:none!important}.no-outline{outline:0!important}.ellipsis{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.ellipsis-2-lines,.ellipsis-3-lines{-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.ellipsis-2-lines{-webkit-line-clamp:2}.ellipsis-3-lines{-webkit-line-clamp:3}[dir] .readonly{cursor:default!important}[dir] .disabled,[dir] .disabled *,[dir] [disabled],[dir] [disabled] *{cursor:not-allowed!important}.disabled,[disabled]{opacity:.6!important}.hidden{display:none!important}.invisible{visibility:hidden!important}[dir] .transparent{background:transparent!important}.overflow-auto{overflow:auto!important}.overflow-hidden{overflow:hidden!important}.overflow-hidden-y{overflow-y:hidden!important}.dimmed:after,.light-dimmed:after{bottom:0;content:"";position:absolute;top:0}[dir=ltr] .dimmed:after,[dir=ltr] .light-dimmed:after,[dir=rtl] .dimmed:after,[dir=rtl] .light-dimmed:after{left:0;right:0}[dir] .dimmed:after{background:rgba(0,0,0,.4)!important}[dir] .light-dimmed:after{background:hsla(0,0%,100%,.6)!important}.z-top{z-index:7000!important}.z-max{z-index:9998!important}body.cordova .cordova-hide,body.desktop .desktop-hide,body.electron .electron-hide,body.ios .ios-hide,body.mat .mat-hide,body.mobile .mobile-hide,body.platform-android .platform-android-hide,body.platform-ios .platform-ios-hide,body.touch .touch-hide,body.within-iframe .within-iframe-hide,body:not(.cordova) .cordova-only,body:not(.desktop) .desktop-only,body:not(.electron) .electron-only,body:not(.ios) .ios-only,body:not(.mat) .mat-only,body:not(.mobile) .mobile-only,body:not(.platform-android) .platform-android-only,body:not(.platform-ios) .platform-ios-only,body:not(.touch) .touch-only,body:not(.within-iframe) .within-iframe-only{display:none!important}@media (orientation:portrait){.orientation-landscape{display:none!important}}@media (orientation:landscape){.orientation-portrait{display:none!important}}@media screen{.print-only{display:none!important}}@media print{.print-hide{display:none!important}}@media (max-width:575px){.gt-lg,.gt-md,.gt-sm,.gt-xs,.lg,.md,.sm,.xl,.xs-hide{display:none!important}}@media (min-width:576px) and (max-width:767px){.gt-lg,.gt-md,.gt-sm,.lg,.lt-sm,.md,.sm-hide,.xl,.xs{display:none!important}}@media (min-width:768px) and (max-width:991px){.gt-lg,.gt-md,.lg,.lt-md,.lt-sm,.md-hide,.sm,.xl,.xs{display:none!important}}@media (min-width:992px) and (max-width:1199px){.gt-lg,.lg-hide,.lt-lg,.lt-md,.lt-sm,.md,.sm,.xl,.xs{display:none!important}}@media (min-width:1200px){.lg,.lt-lg,.lt-md,.lt-sm,.lt-xl,.md,.sm,.xl-hide,.xs{display:none!important}}.q-focus-helper{height:100%;left:0;opacity:.15;pointer-events:none;position:absolute;top:0;transition:background-color .3s cubic-bezier(.25,.8,.5,1);width:100%}[dir] .q-focus-helper{-webkit-transition:background-color .3s cubic-bezier(.25,.8,.5,1);border-radius:inherit}[dir] .q-focus-helper-rounded{border-radius:2px}[dir] .q-focus-helper-round{border-radius:50%}[dir] body.desktop .q-focusable:focus .q-focus-helper,[dir] body.desktop .q-hoverable:hover .q-focus-helper{background:currentColor}body.ios .q-hoverable:active .q-focus-helper{opacity:.3}[dir] body.ios .q-hoverable:active .q-focus-helper{background:currentColor}@media (-ms-high-contrast:none),screen and (-ms-high-contrast:active){.absolute .q-if-inner,.absolute .q-input-target,.fixed .q-if-inner,.fixed .q-input-target,.q-if-inner,.q-input-target{-ms-flex-preferred-size:auto;flex-basis:auto;min-width:auto}.row>.col.q-alert-content{-ms-flex-preferred-size:auto;flex-basis:auto}.q-slider-handle>.q-chip.inline.row{display:-ms-inline-grid}[dir=ltr] .q-btn:active .q-btn-inner{margin:-1px 1px 1px -1px}[dir=rtl] .q-btn:active .q-btn-inner{margin:-1px -1px 1px 1px}[dir=ltr] .q-btn:active.q-btn-push .q-btn-inner{margin:0 1px 0 -1px}[dir=rtl] .q-btn:active.q-btn-push .q-btn-inner{margin:0 -1px 0 1px}[dir=ltr] .q-btn:active.q-btn-push.disabled .q-btn-inner{margin:-1px 1px 1px -1px}[dir=rtl] .q-btn:active.q-btn-push.disabled .q-btn-inner{margin:-1px -1px 1px 1px}[dir] .q-btn-group>.q-btn.q-btn-push:not(.disabled):active .q-btn-inner{margin:0}.q-chip:not(.q-chip-small):not(.q-chip-dense) .q-chip-main{line-height:32px}.q-btn .q-chip{display:inline-block}.q-tab .q-chip .q-chip-main{line-height:normal}.q-fab-actions.q-fab-left,.q-fab-actions.q-fab-right{display:block;white-space:nowrap}.q-item-main{min-width:1px}.q-modal-layout{min-height:80vh!important;overflow:hidden}}@supports (-ms-ime-align:auto){.absolute .q-if-inner,.absolute .q-input-target,.fixed .q-if-inner,.fixed .q-input-target,.q-if-inner,.q-input-target{-ms-flex-preferred-size:auto;flex-basis:auto;min-width:auto}.row>.col.q-alert-content{-ms-flex-preferred-size:auto;flex-basis:auto}.q-slider-handle>.q-chip.inline.row{display:-ms-inline-grid}[dir=ltr] .q-btn:active .q-btn-inner{margin:-1px 1px 1px -1px}[dir=rtl] .q-btn:active .q-btn-inner{margin:-1px -1px 1px 1px}[dir=ltr] .q-btn:active.q-btn-push .q-btn-inner{margin:0 1px 0 -1px}[dir=rtl] .q-btn:active.q-btn-push .q-btn-inner{margin:0 -1px 0 1px}[dir=ltr] .q-btn:active.q-btn-push.disabled .q-btn-inner{margin:-1px 1px 1px -1px}[dir=rtl] .q-btn:active.q-btn-push.disabled .q-btn-inner{margin:-1px -1px 1px 1px}[dir] .q-btn-group>.q-btn.q-btn-push:not(.disabled):active .q-btn-inner{margin:0}.q-chip:not(.q-chip-small):not(.q-chip-dense) .q-chip-main{line-height:32px}.q-btn .q-chip{display:inline-block}.q-tab .q-chip .q-chip-main{line-height:normal}.q-fab-actions.q-fab-left,.q-fab-actions.q-fab-right{display:block;white-space:nowrap}.q-item-main{min-width:1px}.q-modal-layout{min-height:80vh!important;overflow:hidden}}@-webkit-keyframes webkit-autofill-on{to{background:transparent;color:#ff9800}}@keyframes webkit-autofill-on{to{background:transparent;color:#ff9800}}@-webkit-keyframes webkit-autofill-off{to{background:transparent}}@keyframes webkit-autofill-off{to{background:transparent}}@-webkit-keyframes q-progress-indeterminate-ltr{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@-webkit-keyframes q-progress-indeterminate-rtl{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes q-progress-indeterminate-ltr{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@keyframes q-progress-indeterminate-rtl{0%{left:-35%;right:100%}60%{left:100%;right:-90%}to{left:100%;right:-90%}}@-webkit-keyframes q-progress-indeterminate-short-ltr{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@-webkit-keyframes q-progress-indeterminate-short-rtl{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes q-progress-indeterminate-short-ltr{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@keyframes q-progress-indeterminate-short-rtl{0%{left:-200%;right:100%}60%{left:107%;right:-8%}to{left:107%;right:-8%}}@-webkit-keyframes q-progress-stripes-ltr{0%{background-position:40px 0}to{background-position:0 0}}@-webkit-keyframes q-progress-stripes-rtl{0%{background-position:40px 0}to{background-position:100% 0}}@keyframes q-progress-stripes-ltr{0%{background-position:40px 0}to{background-position:0 0}}@keyframes q-progress-stripes-rtl{0%{background-position:40px 0}to{background-position:100% 0}}@-webkit-keyframes q-mat-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@keyframes q-mat-dash{0%{stroke-dasharray:1,200;stroke-dashoffset:0}50%{stroke-dasharray:89,200;stroke-dashoffset:-35px}to{stroke-dasharray:89,200;stroke-dashoffset:-124px}}@-webkit-keyframes q-highlight{0%{background:#cddc39}to{background:transparent}}@keyframes q-highlight{0%{background:#cddc39}to{background:transparent}}@-webkit-keyframes q-rotate-ltr{0%{-webkit-transform:rotate(0);transform:rotate(0)}25%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes q-rotate-rtl{0%{-webkit-transform:rotate(0);transform:rotate(0)}25%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes q-rotate{0%{-webkit-transform:rotate(0);transform:rotate(0)}25%{-webkit-transform:rotate(90deg);transform:rotate(90deg)}50%{-webkit-transform:rotate(180deg);transform:rotate(180deg)}75%{-webkit-transform:rotate(270deg);transform:rotate(270deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@-webkit-keyframes q-blink{to{visibility:hidden}}@keyframes q-blink{to{visibility:hidden}}@-webkit-keyframes q-spin-ltr{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-webkit-keyframes q-spin-rtl{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@keyframes q-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(359deg);transform:rotate(359deg)}}@-webkit-keyframes q-pop{0%{-webkit-transform:scale(.7);opacity:0;transform:scale(.7)}70%{-webkit-transform:scale(1.07);opacity:1;transform:scale(1.07)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes q-pop{0%{-webkit-transform:scale(.7);opacity:0;transform:scale(.7)}70%{-webkit-transform:scale(1.07);opacity:1;transform:scale(1.07)}to{-webkit-transform:scale(1);transform:scale(1)}}@-webkit-keyframes q-fade{0%{opacity:0}to{opacity:1}}@keyframes q-fade{0%{opacity:0}to{opacity:1}}@-webkit-keyframes q-scale{0%{-webkit-transform:scale(.7);opacity:0;transform:scale(.7)}to{-webkit-transform:scale(1);opacity:1;transform:scale(1)}}@keyframes q-scale{0%{-webkit-transform:scale(.7);opacity:0;transform:scale(.7)}to{-webkit-transform:scale(1);opacity:1;transform:scale(1)}}@-webkit-keyframes q-bounce{0%,20%,50%,80%,to{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@keyframes q-bounce{0%,20%,50%,80%,to{-webkit-transform:translateY(0);transform:translateY(0)}40%{-webkit-transform:translateY(-30px);transform:translateY(-30px)}60%{-webkit-transform:translateY(-15px);transform:translateY(-15px)}}@-webkit-keyframes q-popup-down{0%{-webkit-transform:translateY(-20px) scaleY(.3);opacity:0;pointer-events:none;transform:translateY(-20px) scaleY(.3)}to{opacity:1}}@keyframes q-popup-down{0%{-webkit-transform:translateY(-20px) scaleY(.3);opacity:0;pointer-events:none;transform:translateY(-20px) scaleY(.3)}to{opacity:1}}@-webkit-keyframes q-popup-up{0%{-webkit-transform:translateY(20px) scaleY(.3);opacity:0;pointer-events:none;transform:translateY(20px) scaleY(.3)}to{opacity:1}}@keyframes q-popup-up{0%{-webkit-transform:translateY(20px) scaleY(.3);opacity:0;pointer-events:none;transform:translateY(20px) scaleY(.3)}to{opacity:1}}
seogi1004/cdnjs
ajax/libs/quasar-framework/0.17.0-beta.13/quasar.mat.rtl.min.css
CSS
mit
207,822
(function() { function getAbsolutePath(path) { var isAbsolute = /^https?:/.test(path); if (isAbsolute) return path; var imgEl = _createImageElement(); imgEl.src = path; var src = imgEl.src; imgEl = null; return src; } var IMG_SRC = fabric.isLikelyNode ? (__dirname + '/../fixtures/test_image.gif') : getAbsolutePath('../fixtures/test_image.gif'), IMG_WIDTH = 276, IMG_HEIGHT = 110; var REFERENCE_IMG_OBJECT = { 'type': 'image', 'originX': 'left', 'originY': 'top', 'left': 0, 'top': 0, 'width': IMG_WIDTH, // node-canvas doesn't seem to allow setting width/height on image objects 'height': IMG_HEIGHT, // or does it now? 'fill': 'rgb(0,0,0)', 'stroke': null, 'strokeWidth': 1, 'strokeDashArray': null, 'strokeLineCap': 'butt', 'strokeLineJoin': 'miter', 'strokeMiterLimit': 10, 'scaleX': 1, 'scaleY': 1, 'angle': 0, 'flipX': false, 'flipY': false, 'opacity': 1, 'src': fabric.isLikelyNode ? undefined : IMG_SRC, 'shadow': null, 'visible': true, 'backgroundColor': '', 'clipTo': null, 'filters': [], 'crossOrigin': '' }; function _createImageElement() { return fabric.isLikelyNode ? new (require('canvas').Image) : fabric.document.createElement('img'); } function _createImageObject(width, height, callback) { var elImage = _createImageElement(); elImage.width = width; elImage.height = height; setSrc(elImage, IMG_SRC, function() { callback(new fabric.Image(elImage)); }); } function createImageObject(callback) { return _createImageObject(IMG_WIDTH, IMG_HEIGHT, callback) } function createSmallImageObject(callback) { return _createImageObject(IMG_WIDTH / 2, IMG_HEIGHT / 2, callback); } function setSrc(img, src, callback) { if (fabric.isLikelyNode) { require('fs').readFile(src, function(err, imgData) { if (err) throw err; img.src = imgData; callback && callback(); }); } else { img.src = src; callback && callback(); } } QUnit.module('fabric.Image'); asyncTest('constructor', function() { ok(fabric.Image); createImageObject(function(image) { ok(image instanceof fabric.Image); ok(image instanceof fabric.Object); equal(image.get('type'), 'image'); start(); }); }); asyncTest('toObject', function() { createImageObject(function(image) { ok(typeof image.toObject == 'function'); var toObject = image.toObject(); // workaround for node-canvas sometimes producing images with width/height and sometimes not if (toObject.width === 0) { toObject.width = IMG_WIDTH; } if (toObject.height === 0) { toObject.height = IMG_HEIGHT; } deepEqual(toObject, REFERENCE_IMG_OBJECT); start(); }); }); asyncTest('toString', function() { createImageObject(function(image) { ok(typeof image.toString == 'function'); equal(image.toString(), '#<fabric.Image: { src: "' + (fabric.isLikelyNode ? undefined : IMG_SRC) + '" }>'); start(); }); }); asyncTest('getSrc', function() { createImageObject(function(image) { ok(typeof image.getSrc == 'function'); equal(image.getSrc(), fabric.isLikelyNode ? undefined : IMG_SRC); start(); }); }); test('getElement', function() { var elImage = _createImageElement(); var image = new fabric.Image(elImage); ok(typeof image.getElement == 'function'); equal(image.getElement(), elImage); }); asyncTest('setElement', function() { createImageObject(function(image) { ok(typeof image.setElement == 'function'); var elImage = _createImageElement(); equal(image.setElement(elImage), image, 'chainable'); equal(image.getElement(), elImage); equal(image._originalElement, elImage); start(); }); }); asyncTest('crossOrigin', function() { createImageObject(function(image) { equal(image.crossOrigin, '', 'initial crossOrigin value should be set'); start(); var elImage = _createImageElement(); elImage.crossOrigin = 'anonymous'; var image = new fabric.Image(elImage); equal(image.crossOrigin, '', 'crossOrigin value on an instance takes precedence'); var objRepr = image.toObject(); equal(objRepr.crossOrigin, '', 'toObject should return proper crossOrigin value'); var elImage2 = _createImageElement(); image.setElement(elImage2); equal(elImage2.crossOrigin, '', 'setElement should set proper crossOrigin on an img element'); // fromObject doesn't work on Node :/ if (fabric.isLikelyNode) { start(); return; } fabric.Image.fromObject(objRepr, function(img) { equal(img.crossOrigin, ''); start(); }); }); }); // asyncTest('clone', function() { // createImageObject(function(image) { // ok(typeof image.clone == 'function'); // var imageClone = null; // image.clone(function(clone) { // imageClone = clone; // }); // setTimeout(function() { // ok(imageClone instanceof fabric.Image); // deepEqual(imageClone.toObject(), image.toObject()); // start(); // }, 1000); // }); // }); // asyncTest('cloneWidthHeight', function() { // var image = createSmallImageObject(); // var imageClone = null; // image.clone(function(clone) { // imageClone = clone; // }); // setTimeout(function() { // equal(imageClone.getElement().width, IMG_WIDTH / 2, // 'clone\'s element should have width identical to that of original image'); // equal(imageClone.getElement().height, IMG_HEIGHT / 2, // 'clone\'s element should have height identical to that of original image'); // start(); // }, 1000); // }); // asyncTest('fromObject', function() { // ok(typeof fabric.Image.fromObject == 'function'); // // should not throw error when no callback is given // var obj = fabric.util.object.extend(fabric.util.object.clone(REFERENCE_IMG_OBJECT), { // src: IMG_SRC // }); // fabric.Image.fromObject(obj); // var image; // fabric.Image.fromObject(obj, function(instance){ // image = instance; // }); // setTimeout(function() { // ok(image instanceof fabric.Image); // start(); // }, 1000); // }); // asyncTest('fromURL', function() { // ok(typeof fabric.Image.fromURL == 'function'); // // should not throw error when no callback is given // // can't use `assertNothingRaised` due to asynchronous callback // fabric.Image.fromURL(IMG_SRC); // var image; // fabric.Image.fromURL(IMG_SRC, function(instance) { // image = instance; // }); // setTimeout(function() { // ok(image instanceof fabric.Image); // deepEqual(REFERENCE_IMG_OBJECT, image.toObject()); // start(); // }, 1000); // }); // test('toGrayscale', function() { // var image = createImageObject(), // imageEl = _createImageElement(); // imageEl.src = IMG_SRC; // image.setElement(imageEl); // ok(typeof image.toGrayscale == 'function'); // if (!fabric.Canvas.supports('toDataURL')) { // alert('toDataURL is not supported. Some tests can not be run.'); // } // else { // equal(image.toGrayscale(), image, 'chainable'); // } // }); // asyncTest('fromElement', function() { // function makeImageElement(attributes) { // var element = _createImageElement(); // for (var prop in attributes) { // element.setAttribute(prop, attributes[prop]); // } // return element; // } // var IMAGE_DATA_URL = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAARCAYAAADtyJ2fAAAACXBIWXMAAAsSAAALEgHS3X78AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAVBJREFUeNqMU7tOBDEMtENuy614/QE/gZBOuvJK+Et6CiQ6JP6ExxWI7bhL1vgVExYKLPmsTTIzjieHd+MZZSBIAJwEyJU0EWaum+lNljRux3O6nl70Gx/GUwUeyYcDJWZNhMK1aEXYe95Mz4iP44kDTRUZSWSq1YEHri0/HZxXfGSFBN+qDEJTrNI+QXRBviZ7eWCQgjsg+IHiHYB30MhqUxwcmH1Arc2kFDwkBldeFGJLPqs/AbbF2dWgUym6Z2Tb6RVzYxG1wUnmaNcOonZiU0++l6C7FzoQY42g3+8jz+GZ+dWMr1rRH0OjAFhPO+VJFx/vWDqPmk8H97CGBUYUiqAGW0PVe1+aX8j2Ll0tgHtvLx6AK9Tu1ZTFTQ0ojChqGD4qkOzeAuzVfgzsaTym1ClS+IdwtQCFooQMBTumNun1H6Bfcc9/MUn4R3wJMAAZH6MmA4ht4gAAAABJRU5ErkJggg=="; // ok(typeof fabric.Image.fromElement == 'function', 'fromElement should exist'); // var imageEl = makeImageElement({ // width: "14", // height: "17", // "xlink:href": IMAGE_DATA_URL // }); // var imgObject; // fabric.Image.fromElement(imageEl, function(obj) { // imgObject = obj; // }); // setTimeout(function() { // ok(imgObject instanceof fabric.Image); // deepEqual(imgObject.get('width'), 14, 'width of an object'); // deepEqual(imgObject.get('height'), 17, 'height of an object'); // deepEqual(imgObject.getSrc(), IMAGE_DATA_URL, 'src of an object'); // start(); // }, 500); // }); })();
anvaka/fabric.js
test/unit/image.js
JavaScript
mit
9,433
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // **Note**: Locale files are generated through Bazel and never part of the sources. This is an // exception for backwards compatibility. With the Gulp setup we never deleted old locale files // when updating CLDR, so older locale files which have been removed, or renamed in the CLDR // data remained in the repository. We keep these files checked-in until the next major to avoid // potential breaking changes. It's worth noting that the locale data for such files is outdated // anyway. e.g. the data is missing the directionality, throwing off the indices. (function(global) { global.ng = global.ng || {}; global.ng.common = global.ng.common || {}; global.ng.common.locales = global.ng.common.locales || {}; const u = undefined; function plural(n) { let i = Math.floor(Math.abs(n)); if (i === 0 || i === 1) return 1; return 5; } root.ng.common.locales['ff-mr'] = [ 'ff-MR', [['subaka', 'kikiiɗe'], u, u], u, [ ['d', 'a', 'm', 'n', 'n', 'm', 'h'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'], ['dewo', 'aaɓnde', 'mawbaare', 'njeslaare', 'naasaande', 'mawnde', 'hoore-biir'], ['dew', 'aaɓ', 'maw', 'nje', 'naa', 'mwd', 'hbi'] ], u, [ ['s', 'c', 'm', 's', 'd', 'k', 'm', 'j', 's', 'y', 'j', 'b'], ['sii', 'col', 'mbo', 'see', 'duu', 'kor', 'mor', 'juk', 'slt', 'yar', 'jol', 'bow'], [ 'siilo', 'colte', 'mbooy', 'seeɗto', 'duujal', 'korse', 'morso', 'juko', 'siilto', 'yarkomaa', 'jolal', 'bowte' ] ], u, [['H-I', 'C-I'], u, ['Hade Iisa', 'Caggal Iisa']], 1, [6, 0], ['d/M/y', 'd MMM, y', 'd MMMM y', 'EEEE d MMMM y'], ['h:mm a', 'h:mm:ss a', 'h:mm:ss a z', 'h:mm:ss a zzzz'], ['{1} {0}', u, u, u], [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', ':'], ['#,##0.###', '#,##0%', '#,##0.00 ¤', '#E0'], 'UM', 'Ugiyya Muritani', {'JPY': ['JP¥', '¥'], 'MRU': ['UM'], 'USD': ['US$', '$']}, plural, [] ]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window);
ocombe/angular
packages/common/locales/global/ff-MR.js
JavaScript
mit
2,265
/** A Javascript Wall Clock Author: Will Blair wdblairATcsDOTbuDOTedu Start Time: September 2013 */ var MyClockLib = { JS_request_animation_frame: function (ptr, env) { var func = Runtime.getFuncWrapper(ptr, 'vii'); var window_requestAnimationFrame = window.requestAnimationFrame || window.mozRequestAnimationFrame || window.webkitRequestAnimationFrame || window.msRequestAnimationFrame; window_requestAnimationFrame(function (time) { func(time, env); }); }, JS_wallclock_now: function (nhr, nmin, nsec) { var now = new Date(); var mils = now.getMilliseconds(); var secs = now.getSeconds() + mils / 1000.0; var mins = now.getMinutes() + secs / 60.0; var hours = (now.getHours() % 12) + mins / 60.0; Module.setValue(nhr, hours, "double"); Module.setValue(nmin, mins, "double"); Module.setValue(nsec, secs, "double"); } }; /* ****** ****** */ mergeInto(LibraryManager.library, MyClockLib); /* ****** ****** */ /* end of [myclock0_lib.js] */
steinwaywhw/ATS-Postiats-contrib
projects/SMALL/JSclock/myclock0_lib.js
JavaScript
mit
1,109
/** * @author mrdoob / http://mrdoob.com/ * @author *kile / http://kile.stravaganza.org/ * @author philogb / http://blog.thejit.org/ * @author mikael emtinger / http://gomo.se/ * @author egraether / http://egraether.com/ * @author WestLangley / http://github.com/WestLangley */ THREE.Vector3 = function ( x, y, z ) { this.x = x || 0; this.y = y || 0; this.z = z || 0; }; THREE.Vector3.prototype = { constructor: THREE.Vector3, set: function ( x, y, z ) { this.x = x; this.y = y; this.z = z; return this; }, setX: function ( x ) { this.x = x; return this; }, setY: function ( y ) { this.y = y; return this; }, setZ: function ( z ) { this.z = z; return this; }, setComponent: function ( index, value ) { switch ( index ) { case 0: this.x = value; break; case 1: this.y = value; break; case 2: this.z = value; break; default: throw new Error( "index is out of range: " + index ); } }, getComponent: function ( index ) { switch ( index ) { case 0: return this.x; case 1: return this.y; case 2: return this.z; default: throw new Error( "index is out of range: " + index ); } }, copy: function ( v ) { this.x = v.x; this.y = v.y; this.z = v.z; return this; }, add: function ( v, w ) { if ( w !== undefined ) { console.warn( 'DEPRECATED: Vector3\'s .add() now only accepts one argument. Use .addVectors( a, b ) instead.' ); return this.addVectors( v, w ); } this.x += v.x; this.y += v.y; this.z += v.z; return this; }, addScalar: function ( s ) { this.x += s; this.y += s; this.z += s; return this; }, addVectors: function ( a, b ) { this.x = a.x + b.x; this.y = a.y + b.y; this.z = a.z + b.z; return this; }, sub: function ( v, w ) { if ( w !== undefined ) { console.warn( 'DEPRECATED: Vector3\'s .sub() now only accepts one argument. Use .subVectors( a, b ) instead.' ); return this.subVectors( v, w ); } this.x -= v.x; this.y -= v.y; this.z -= v.z; return this; }, subVectors: function ( a, b ) { this.x = a.x - b.x; this.y = a.y - b.y; this.z = a.z - b.z; return this; }, multiply: function ( v, w ) { if ( w !== undefined ) { console.warn( 'DEPRECATED: Vector3\'s .multiply() now only accepts one argument. Use .multiplyVectors( a, b ) instead.' ); return this.multiplyVectors( v, w ); } this.x *= v.x; this.y *= v.y; this.z *= v.z; return this; }, multiplyScalar: function ( scalar ) { this.x *= scalar; this.y *= scalar; this.z *= scalar; return this; }, multiplyVectors: function ( a, b ) { this.x = a.x * b.x; this.y = a.y * b.y; this.z = a.z * b.z; return this; }, applyMatrix3: function ( m ) { var x = this.x; var y = this.y; var z = this.z; var e = m.elements; this.x = e[0] * x + e[3] * y + e[6] * z; this.y = e[1] * x + e[4] * y + e[7] * z; this.z = e[2] * x + e[5] * y + e[8] * z; return this; }, applyMatrix4: function ( m ) { // input: THREE.Matrix4 affine matrix var x = this.x, y = this.y, z = this.z; var e = m.elements; this.x = e[0] * x + e[4] * y + e[8] * z + e[12]; this.y = e[1] * x + e[5] * y + e[9] * z + e[13]; this.z = e[2] * x + e[6] * y + e[10] * z + e[14]; return this; }, applyProjection: function ( m ) { // input: THREE.Matrix4 projection matrix var x = this.x, y = this.y, z = this.z; var e = m.elements; var d = 1 / ( e[3] * x + e[7] * y + e[11] * z + e[15] ); // perspective divide this.x = ( e[0] * x + e[4] * y + e[8] * z + e[12] ) * d; this.y = ( e[1] * x + e[5] * y + e[9] * z + e[13] ) * d; this.z = ( e[2] * x + e[6] * y + e[10] * z + e[14] ) * d; return this; }, applyQuaternion: function ( q ) { var x = this.x; var y = this.y; var z = this.z; var qx = q.x; var qy = q.y; var qz = q.z; var qw = q.w; // calculate quat * vector var ix = qw * x + qy * z - qz * y; var iy = qw * y + qz * x - qx * z; var iz = qw * z + qx * y - qy * x; var iw = -qx * x - qy * y - qz * z; // calculate result * inverse quat this.x = ix * qw + iw * -qx + iy * -qz - iz * -qy; this.y = iy * qw + iw * -qy + iz * -qx - ix * -qz; this.z = iz * qw + iw * -qz + ix * -qy - iy * -qx; return this; }, transformDirection: function ( m ) { // input: THREE.Matrix4 affine matrix // vector interpreted as a direction var x = this.x, y = this.y, z = this.z; var e = m.elements; this.x = e[0] * x + e[4] * y + e[8] * z; this.y = e[1] * x + e[5] * y + e[9] * z; this.z = e[2] * x + e[6] * y + e[10] * z; this.normalize(); return this; }, divide: function ( v ) { this.x /= v.x; this.y /= v.y; this.z /= v.z; return this; }, divideScalar: function ( scalar ) { if ( scalar !== 0 ) { var invScalar = 1 / scalar; this.x *= invScalar; this.y *= invScalar; this.z *= invScalar; } else { this.x = 0; this.y = 0; this.z = 0; } return this; }, min: function ( v ) { if ( this.x > v.x ) { this.x = v.x; } if ( this.y > v.y ) { this.y = v.y; } if ( this.z > v.z ) { this.z = v.z; } return this; }, max: function ( v ) { if ( this.x < v.x ) { this.x = v.x; } if ( this.y < v.y ) { this.y = v.y; } if ( this.z < v.z ) { this.z = v.z; } return this; }, clamp: function ( min, max ) { // This function assumes min < max, if this assumption isn't true it will not operate correctly if ( this.x < min.x ) { this.x = min.x; } else if ( this.x > max.x ) { this.x = max.x; } if ( this.y < min.y ) { this.y = min.y; } else if ( this.y > max.y ) { this.y = max.y; } if ( this.z < min.z ) { this.z = min.z; } else if ( this.z > max.z ) { this.z = max.z; } return this; }, negate: function () { return this.multiplyScalar( - 1 ); }, dot: function ( v ) { return this.x * v.x + this.y * v.y + this.z * v.z; }, lengthSq: function () { return this.x * this.x + this.y * this.y + this.z * this.z; }, length: function () { return Math.sqrt( this.x * this.x + this.y * this.y + this.z * this.z ); }, lengthManhattan: function () { return Math.abs( this.x ) + Math.abs( this.y ) + Math.abs( this.z ); }, normalize: function () { return this.divideScalar( this.length() ); }, setLength: function ( l ) { var oldLength = this.length(); if ( oldLength !== 0 && l !== oldLength ) { this.multiplyScalar( l / oldLength ); } return this; }, lerp: function ( v, alpha ) { this.x += ( v.x - this.x ) * alpha; this.y += ( v.y - this.y ) * alpha; this.z += ( v.z - this.z ) * alpha; return this; }, cross: function ( v, w ) { if ( w !== undefined ) { console.warn( 'DEPRECATED: Vector3\'s .cross() now only accepts one argument. Use .crossVectors( a, b ) instead.' ); return this.crossVectors( v, w ); } var x = this.x, y = this.y, z = this.z; this.x = y * v.z - z * v.y; this.y = z * v.x - x * v.z; this.z = x * v.y - y * v.x; return this; }, crossVectors: function ( a, b ) { var ax = a.x, ay = a.y, az = a.z; var bx = b.x, by = b.y, bz = b.z; this.x = ay * bz - az * by; this.y = az * bx - ax * bz; this.z = ax * by - ay * bx; return this; }, angleTo: function ( v ) { var theta = this.dot( v ) / ( this.length() * v.length() ); // clamp, to handle numerical problems return Math.acos( THREE.Math.clamp( theta, -1, 1 ) ); }, distanceTo: function ( v ) { return Math.sqrt( this.distanceToSquared( v ) ); }, distanceToSquared: function ( v ) { var dx = this.x - v.x; var dy = this.y - v.y; var dz = this.z - v.z; return dx * dx + dy * dy + dz * dz; }, setEulerFromRotationMatrix: function ( m, order ) { console.error( "REMOVED: Vector3\'s setEulerFromRotationMatrix has been removed in favor of Euler.setFromRotationMatrix(), please update your code."); }, setEulerFromQuaternion: function ( q, order ) { console.error( "REMOVED: Vector3\'s setEulerFromQuaternion: has been removed in favor of Euler.setFromQuaternion(), please update your code."); }, getPositionFromMatrix: function ( m ) { console.warn( "DEPRECATED: Vector3\'s .getPositionFromMatrix() has been renamed to .setFromMatrixPosition(). Please update your code." ); return this.setFromMatrixPosition( m ); }, getScaleFromMatrix: function ( m ) { console.warn( "DEPRECATED: Vector3\'s .getScaleFromMatrix() has been renamed to .setFromMatrixScale(). Please update your code." ); return this.setFromMatrixScale( m ); }, getColumnFromMatrix: function ( index, matrix ) { console.warn( "DEPRECATED: Vector3\'s .getColumnFromMatrix() has been renamed to .setFromMatrixColumn(). Please update your code." ); return this.setFromMatrixColumn( index, matrix ); }, setFromMatrixPosition: function ( m ) { this.x = m.elements[ 12 ]; this.y = m.elements[ 13 ]; this.z = m.elements[ 14 ]; return this; }, setFromMatrixScale: function ( m ) { var sx = this.set( m.elements[ 0 ], m.elements[ 1 ], m.elements[ 2 ] ).length(); var sy = this.set( m.elements[ 4 ], m.elements[ 5 ], m.elements[ 6 ] ).length(); var sz = this.set( m.elements[ 8 ], m.elements[ 9 ], m.elements[ 10 ] ).length(); this.x = sx; this.y = sy; this.z = sz; return this; }, setFromMatrixColumn: function ( index, matrix ) { var offset = index * 4; var me = matrix.elements; this.x = me[ offset ]; this.y = me[ offset + 1 ]; this.z = me[ offset + 2 ]; return this; }, equals: function ( v ) { return ( ( v.x === this.x ) && ( v.y === this.y ) && ( v.z === this.z ) ); }, fromArray: function ( array ) { this.x = array[ 0 ]; this.y = array[ 1 ]; this.z = array[ 2 ]; return this; }, toArray: function () { return [ this.x, this.y, this.z ]; }, clone: function () { return new THREE.Vector3( this.x, this.y, this.z ); } }; THREE.extend( THREE.Vector3.prototype, { applyEuler: function () { var quaternion = new THREE.Quaternion(); return function ( euler ) { if ( euler instanceof THREE.Euler === false ) { console.error( 'ERROR: Vector3\'s .applyEuler() now expects a Euler rotation rather than a Vector3 and order. Please update your code.' ); } this.applyQuaternion( quaternion.setFromEuler( euler ) ); return this; }; }(), applyAxisAngle: function () { var quaternion = new THREE.Quaternion(); return function ( axis, angle ) { this.applyQuaternion( quaternion.setFromAxisAngle( axis, angle ) ); return this; }; }(), projectOnVector: function () { var v1 = new THREE.Vector3(); return function ( vector ) { v1.copy( vector ).normalize(); var d = this.dot( v1 ); return this.copy( v1 ).multiplyScalar( d ); }; }(), projectOnPlane: function () { var v1 = new THREE.Vector3(); return function ( planeNormal ) { v1.copy( this ).projectOnVector( planeNormal ); return this.sub( v1 ); } }(), reflect: function () { var v1 = new THREE.Vector3(); return function ( vector ) { v1.copy( this ).projectOnVector( vector ).multiplyScalar( 2 ); return this.subVectors( v1, this ); } }() } );
is-real/generator-brp
app/templates/libs/three.js/src/math/Vector3.js
JavaScript
mit
11,299
// CodeMirror, copyright (c) by Marijn Haverbeke and others // Distributed under an MIT license: http://codemirror.net/LICENSE (function(mod) { if (typeof exports == "object" && typeof module == "object") // CommonJS mod(require("../../lib/codemirror")); else if (typeof define == "function" && define.amd) // AMD define(["../../lib/codemirror"], mod); else // Plain browser env mod(CodeMirror); })(function(CodeMirror) { "use strict"; CodeMirror.defineMode("xquery", function() { // The keywords object is set to the result of this self executing // function. Each keyword is a property of the keywords object whose // value is {type: atype, style: astyle} var keywords = function(){ // convenience functions used to build keywords object function kw(type) {return {type: type, style: "keyword"};} var A = kw("keyword a") , B = kw("keyword b") , C = kw("keyword c") , operator = kw("operator") , atom = {type: "atom", style: "atom"} , punctuation = {type: "punctuation", style: null} , qualifier = {type: "axis_specifier", style: "qualifier"}; // kwObj is what is return from this function at the end var kwObj = { 'if': A, 'switch': A, 'while': A, 'for': A, 'else': B, 'then': B, 'try': B, 'finally': B, 'catch': B, 'element': C, 'attribute': C, 'let': C, 'implements': C, 'import': C, 'module': C, 'namespace': C, 'return': C, 'super': C, 'this': C, 'throws': C, 'where': C, 'private': C, ',': punctuation, 'null': atom, 'fn:false()': atom, 'fn:true()': atom }; // a list of 'basic' keywords. For each add a property to kwObj with the value of // {type: basic[i], style: "keyword"} e.g. 'after' --> {type: "after", style: "keyword"} var basic = ['after','ancestor','ancestor-or-self','and','as','ascending','assert','attribute','before', 'by','case','cast','child','comment','declare','default','define','descendant','descendant-or-self', 'descending','document','document-node','element','else','eq','every','except','external','following', 'following-sibling','follows','for','function','if','import','in','instance','intersect','item', 'let','module','namespace','node','node','of','only','or','order','parent','precedes','preceding', 'preceding-sibling','processing-instruction','ref','return','returns','satisfies','schema','schema-element', 'self','some','sortby','stable','text','then','to','treat','typeswitch','union','variable','version','where', 'xquery', 'empty-sequence']; for(var i=0, l=basic.length; i < l; i++) { kwObj[basic[i]] = kw(basic[i]);}; // a list of types. For each add a property to kwObj with the value of // {type: "atom", style: "atom"} var types = ['xs:string', 'xs:float', 'xs:decimal', 'xs:double', 'xs:integer', 'xs:boolean', 'xs:date', 'xs:dateTime', 'xs:time', 'xs:duration', 'xs:dayTimeDuration', 'xs:time', 'xs:yearMonthDuration', 'numeric', 'xs:hexBinary', 'xs:base64Binary', 'xs:anyURI', 'xs:QName', 'xs:byte','xs:boolean','xs:anyURI','xf:yearMonthDuration']; for(var i=0, l=types.length; i < l; i++) { kwObj[types[i]] = atom;}; // each operator will add a property to kwObj with value of {type: "operator", style: "keyword"} var operators = ['eq', 'ne', 'lt', 'le', 'gt', 'ge', ':=', '=', '>', '>=', '<', '<=', '.', '|', '?', 'and', 'or', 'div', 'idiv', 'mod', '*', '/', '+', '-']; for(var i=0, l=operators.length; i < l; i++) { kwObj[operators[i]] = operator;}; // each axis_specifiers will add a property to kwObj with value of {type: "axis_specifier", style: "qualifier"} var axis_specifiers = ["self::", "attribute::", "child::", "descendant::", "descendant-or-self::", "parent::", "ancestor::", "ancestor-or-self::", "following::", "preceding::", "following-sibling::", "preceding-sibling::"]; for(var i=0, l=axis_specifiers.length; i < l; i++) { kwObj[axis_specifiers[i]] = qualifier; }; return kwObj; }(); function chain(stream, state, f) { state.tokenize = f; return f(stream, state); } // the primary mode tokenizer function tokenBase(stream, state) { var ch = stream.next(), mightBeFunction = false, isEQName = isEQNameAhead(stream); // an XML tag (if not in some sub, chained tokenizer) if (ch == "<") { if(stream.match("!--", true)) return chain(stream, state, tokenXMLComment); if(stream.match("![CDATA", false)) { state.tokenize = tokenCDATA; return "tag"; } if(stream.match("?", false)) { return chain(stream, state, tokenPreProcessing); } var isclose = stream.eat("/"); stream.eatSpace(); var tagName = "", c; while ((c = stream.eat(/[^\s\u00a0=<>\"\'\/?]/))) tagName += c; return chain(stream, state, tokenTag(tagName, isclose)); } // start code block else if(ch == "{") { pushStateStack(state,{ type: "codeblock"}); return null; } // end code block else if(ch == "}") { popStateStack(state); return null; } // if we're in an XML block else if(isInXmlBlock(state)) { if(ch == ">") return "tag"; else if(ch == "/" && stream.eat(">")) { popStateStack(state); return "tag"; } else return "variable"; } // if a number else if (/\d/.test(ch)) { stream.match(/^\d*(?:\.\d*)?(?:E[+\-]?\d+)?/); return "atom"; } // comment start else if (ch === "(" && stream.eat(":")) { pushStateStack(state, { type: "comment"}); return chain(stream, state, tokenComment); } // quoted string else if ( !isEQName && (ch === '"' || ch === "'")) return chain(stream, state, tokenString(ch)); // variable else if(ch === "$") { return chain(stream, state, tokenVariable); } // assignment else if(ch ===":" && stream.eat("=")) { return "keyword"; } // open paren else if(ch === "(") { pushStateStack(state, { type: "paren"}); return null; } // close paren else if(ch === ")") { popStateStack(state); return null; } // open paren else if(ch === "[") { pushStateStack(state, { type: "bracket"}); return null; } // close paren else if(ch === "]") { popStateStack(state); return null; } else { var known = keywords.propertyIsEnumerable(ch) && keywords[ch]; // if there's a EQName ahead, consume the rest of the string portion, it's likely a function if(isEQName && ch === '\"') while(stream.next() !== '"'){} if(isEQName && ch === '\'') while(stream.next() !== '\''){} // gobble up a word if the character is not known if(!known) stream.eatWhile(/[\w\$_-]/); // gobble a colon in the case that is a lib func type call fn:doc var foundColon = stream.eat(":"); // if there's not a second colon, gobble another word. Otherwise, it's probably an axis specifier // which should get matched as a keyword if(!stream.eat(":") && foundColon) { stream.eatWhile(/[\w\$_-]/); } // if the next non whitespace character is an open paren, this is probably a function (if not a keyword of other sort) if(stream.match(/^[ \t]*\(/, false)) { mightBeFunction = true; } // is the word a keyword? var word = stream.current(); known = keywords.propertyIsEnumerable(word) && keywords[word]; // if we think it's a function call but not yet known, // set style to variable for now for lack of something better if(mightBeFunction && !known) known = {type: "function_call", style: "variable def"}; // if the previous word was element, attribute, axis specifier, this word should be the name of that if(isInXmlConstructor(state)) { popStateStack(state); return "variable"; } // as previously checked, if the word is element,attribute, axis specifier, call it an "xmlconstructor" and // push the stack so we know to look for it on the next word if(word == "element" || word == "attribute" || known.type == "axis_specifier") pushStateStack(state, {type: "xmlconstructor"}); // if the word is known, return the details of that else just call this a generic 'word' return known ? known.style : "variable"; } } // handle comments, including nested function tokenComment(stream, state) { var maybeEnd = false, maybeNested = false, nestedCount = 0, ch; while (ch = stream.next()) { if (ch == ")" && maybeEnd) { if(nestedCount > 0) nestedCount--; else { popStateStack(state); break; } } else if(ch == ":" && maybeNested) { nestedCount++; } maybeEnd = (ch == ":"); maybeNested = (ch == "("); } return "comment"; } // tokenizer for string literals // optionally pass a tokenizer function to set state.tokenize back to when finished function tokenString(quote, f) { return function(stream, state) { var ch; if(isInString(state) && stream.current() == quote) { popStateStack(state); if(f) state.tokenize = f; return "string"; } pushStateStack(state, { type: "string", name: quote, tokenize: tokenString(quote, f) }); // if we're in a string and in an XML block, allow an embedded code block if(stream.match("{", false) && isInXmlAttributeBlock(state)) { state.tokenize = tokenBase; return "string"; } while (ch = stream.next()) { if (ch == quote) { popStateStack(state); if(f) state.tokenize = f; break; } else { // if we're in a string and in an XML block, allow an embedded code block in an attribute if(stream.match("{", false) && isInXmlAttributeBlock(state)) { state.tokenize = tokenBase; return "string"; } } } return "string"; }; } // tokenizer for variables function tokenVariable(stream, state) { var isVariableChar = /[\w\$_-]/; // a variable may start with a quoted EQName so if the next character is quote, consume to the next quote if(stream.eat("\"")) { while(stream.next() !== '\"'){}; stream.eat(":"); } else { stream.eatWhile(isVariableChar); if(!stream.match(":=", false)) stream.eat(":"); } stream.eatWhile(isVariableChar); state.tokenize = tokenBase; return "variable"; } // tokenizer for XML tags function tokenTag(name, isclose) { return function(stream, state) { stream.eatSpace(); if(isclose && stream.eat(">")) { popStateStack(state); state.tokenize = tokenBase; return "tag"; } // self closing tag without attributes? if(!stream.eat("/")) pushStateStack(state, { type: "tag", name: name, tokenize: tokenBase}); if(!stream.eat(">")) { state.tokenize = tokenAttribute; return "tag"; } else { state.tokenize = tokenBase; } return "tag"; }; } // tokenizer for XML attributes function tokenAttribute(stream, state) { var ch = stream.next(); if(ch == "/" && stream.eat(">")) { if(isInXmlAttributeBlock(state)) popStateStack(state); if(isInXmlBlock(state)) popStateStack(state); return "tag"; } if(ch == ">") { if(isInXmlAttributeBlock(state)) popStateStack(state); return "tag"; } if(ch == "=") return null; // quoted string if (ch == '"' || ch == "'") return chain(stream, state, tokenString(ch, tokenAttribute)); if(!isInXmlAttributeBlock(state)) pushStateStack(state, { type: "attribute", tokenize: tokenAttribute}); stream.eat(/[a-zA-Z_:]/); stream.eatWhile(/[-a-zA-Z0-9_:.]/); stream.eatSpace(); // the case where the attribute has not value and the tag was closed if(stream.match(">", false) || stream.match("/", false)) { popStateStack(state); state.tokenize = tokenBase; } return "attribute"; } // handle comments, including nested function tokenXMLComment(stream, state) { var ch; while (ch = stream.next()) { if (ch == "-" && stream.match("->", true)) { state.tokenize = tokenBase; return "comment"; } } } // handle CDATA function tokenCDATA(stream, state) { var ch; while (ch = stream.next()) { if (ch == "]" && stream.match("]", true)) { state.tokenize = tokenBase; return "comment"; } } } // handle preprocessing instructions function tokenPreProcessing(stream, state) { var ch; while (ch = stream.next()) { if (ch == "?" && stream.match(">", true)) { state.tokenize = tokenBase; return "comment meta"; } } } // functions to test the current context of the state function isInXmlBlock(state) { return isIn(state, "tag"); } function isInXmlAttributeBlock(state) { return isIn(state, "attribute"); } function isInXmlConstructor(state) { return isIn(state, "xmlconstructor"); } function isInString(state) { return isIn(state, "string"); } function isEQNameAhead(stream) { // assume we've already eaten a quote (") if(stream.current() === '"') return stream.match(/^[^\"]+\"\:/, false); else if(stream.current() === '\'') return stream.match(/^[^\"]+\'\:/, false); else return false; } function isIn(state, type) { return (state.stack.length && state.stack[state.stack.length - 1].type == type); } function pushStateStack(state, newState) { state.stack.push(newState); } function popStateStack(state) { state.stack.pop(); var reinstateTokenize = state.stack.length && state.stack[state.stack.length-1].tokenize; state.tokenize = reinstateTokenize || tokenBase; } // the interface for the mode API return { startState: function() { return { tokenize: tokenBase, cc: [], stack: [] }; }, token: function(stream, state) { if (stream.eatSpace()) return null; var style = state.tokenize(stream, state); return style; }, blockCommentStart: "(:", blockCommentEnd: ":)" }; }); CodeMirror.defineMIME("application/xquery", "xquery"); });
leungwensen/d2recharts
dist/lib/codemirror-5.18.2/mode/xquery/xquery.js
JavaScript
mit
14,907
/** * vis.js * https://github.com/almende/vis * * A dynamic, browser-based visualization library. * * @version 1.0.1 * @date 2014-05-09 * * @license * Copyright (C) 2011-2014 Almende B.V, http://almende.com * * 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. */ !function(t){if("object"==typeof exports)module.exports=t();else if("function"==typeof define&&define.amd)define(t);else{var e;"undefined"!=typeof window?e=window:"undefined"!=typeof global?e=global:"undefined"!=typeof self&&(e=self),e.vis=t()}}(function(){var define,module,exports;return function t(e,i,s){function n(a,r){if(!i[a]){if(!e[a]){var h="function"==typeof require&&require;if(!r&&h)return h(a,!0);if(o)return o(a,!0);throw new Error("Cannot find module '"+a+"'")}var d=i[a]={exports:{}};e[a][0].call(d.exports,function(t){var i=e[a][1][t];return n(i?i:t)},d,d.exports,t,e,i,s)}return i[a].exports}for(var o="function"==typeof require&&require,a=0;a<s.length;a++)n(s[a]);return n}({1:[function(require,module,exports){function DataSet(t,e){if(this.id=util.randomUUID(),!t||Array.isArray(t)||util.isDataTable(t)||(e=t,t=null),this.options=e||{},this.data={},this.fieldId=this.options.fieldId||"id",this.convert={},this.showInternalIds=this.options.showInternalIds||!1,this.options.convert)for(var i in this.options.convert)if(this.options.convert.hasOwnProperty(i)){var s=this.options.convert[i];this.convert[i]="Date"==s||"ISODate"==s||"ASPDate"==s?"Date":s}this.subscribers={},this.internalIds={},t&&this.add(t)}function DataView(t,e){this.id=util.randomUUID(),this.data=null,this.ids={},this.options=e||{},this.fieldId="id",this.subscribers={};var i=this;this.listener=function(){i._onEvent.apply(i,arguments)},this.setData(t)}function TimeStep(t,e,i){this.current=new Date,this._start=new Date,this._end=new Date,this.autoScale=!0,this.scale=TimeStep.SCALE.DAY,this.step=1,this.setRange(t,e,i)}function Range(t,e,i){this.id=util.randomUUID(),this.start=null,this.end=null,this.root=t,this.parent=e,this.options=i||{},this.root.on("dragstart",this._onDragStart.bind(this)),this.root.on("drag",this._onDrag.bind(this)),this.root.on("dragend",this._onDragEnd.bind(this)),this.root.on("hold",this._onHold.bind(this)),this.root.on("mousewheel",this._onMouseWheel.bind(this)),this.root.on("DOMMouseScroll",this._onMouseWheel.bind(this)),this.root.on("touch",this._onTouch.bind(this)),this.root.on("pinch",this._onPinch.bind(this)),this.setOptions(i)}function validateDirection(t){if("horizontal"!=t&&"vertical"!=t)throw new TypeError('Unknown direction "'+t+'". Choose "horizontal" or "vertical".')}function getPointer(t,e){return{x:t.pageX-vis.util.getAbsoluteLeft(e),y:t.pageY-vis.util.getAbsoluteTop(e)}}function Component(){this.id=null,this.parent=null,this.childs=null,this.options=null,this.top=0,this.left=0,this.width=0,this.height=0}function Panel(t){this.id=util.randomUUID(),this.parent=null,this.childs=[],this.options=t||{},this.frame="undefined"!=typeof document?document.createElement("div"):null}function RootPanel(t,e){if(this.id=util.randomUUID(),this.container=t,this.options=e||{},this.defaultOptions={autoResize:!0},this._create(),!this.container)throw new Error("Cannot repaint root panel: no container attached");this.container.appendChild(this.getFrame()),this._initWatch()}function TimeAxis(t){this.id=util.randomUUID(),this.dom={majorLines:[],majorTexts:[],minorLines:[],minorTexts:[],redundant:{majorLines:[],majorTexts:[],minorLines:[],minorTexts:[]}},this.props={range:{start:0,end:0,minimumStep:0},lineTop:0},this.options=t||{},this.defaultOptions={orientation:"bottom",showMinorLabels:!0,showMajorLabels:!0},this.range=null,this._create()}function CurrentTime(t,e){this.id=util.randomUUID(),this.range=t,this.options=e||{},this.defaultOptions={showCurrentTime:!1},this._create()}function CustomTime(t){this.id=util.randomUUID(),this.options=t||{},this.defaultOptions={showCustomTime:!1},this.customTime=new Date,this.eventParams={},this._create()}function ItemSet(t,e,i,s){this.id=util.randomUUID(),this.options=s||{},this.backgroundPanel=t,this.axisPanel=e,this.sidePanel=i,this.itemOptions=Object.create(this.options),this.dom={},this.hammer=null;var n=this;this.itemsData=null,this.groupsData=null,this.range=null,this.itemListeners={add:function(t,e,i){i!=n.id&&n._onAdd(e.items)},update:function(t,e,i){i!=n.id&&n._onUpdate(e.items)},remove:function(t,e,i){i!=n.id&&n._onRemove(e.items)}},this.groupListeners={add:function(t,e,i){i!=n.id&&n._onAddGroups(e.items)},update:function(t,e,i){i!=n.id&&n._onUpdateGroups(e.items)},remove:function(t,e,i){i!=n.id&&n._onRemoveGroups(e.items)}},this.items={},this.groups={},this.groupIds=[],this.selection=[],this.stackDirty=!0,this.touchParams={},this._create()}function Item(t,e,i){this.id=null,this.parent=null,this.data=t,this.dom=null,this.options=e||{},this.defaultOptions=i||{},this.selected=!1,this.displayed=!1,this.dirty=!0,this.top=null,this.left=null,this.width=null,this.height=null}function ItemBox(t,e,i){if(this.props={dot:{width:0,height:0},line:{width:0,height:0}},t&&void 0==t.start)throw new Error('Property "start" missing in item '+t);Item.call(this,t,e,i)}function ItemPoint(t,e,i){if(this.props={dot:{top:0,width:0,height:0},content:{height:0,marginLeft:0}},t&&void 0==t.start)throw new Error('Property "start" missing in item '+t);Item.call(this,t,e,i)}function ItemRange(t,e,i){if(this.props={content:{width:0}},t){if(void 0==t.start)throw new Error('Property "start" missing in item '+t.id);if(void 0==t.end)throw new Error('Property "end" missing in item '+t.id)}Item.call(this,t,e,i)}function ItemRangeOverflow(t,e,i){this.props={content:{left:0,width:0}},ItemRange.call(this,t,e,i)}function Group(t,e,i){this.groupId=t,this.itemSet=i,this.dom={},this.props={label:{width:0,height:0}},this.items={},this.visibleItems=[],this.orderedItems={byStart:[],byEnd:[]},this._create(),this.setData(e)}function Timeline(t,e,i){if(!t)throw new Error("No container element provided");var s=this,n=moment().hours(0).minutes(0).seconds(0).milliseconds(0);this.options={orientation:"bottom",direction:"horizontal",autoResize:!0,stack:!0,editable:{updateTime:!1,updateGroup:!1,add:!1,remove:!1},selectable:!0,snap:null,min:null,max:null,zoomMin:10,zoomMax:31536e10,showMinorLabels:!0,showMajorLabels:!0,showCurrentTime:!1,showCustomTime:!1,type:"box",align:"center",margin:{axis:20,item:10},padding:5,onAdd:function(t,e){e(t)},onUpdate:function(t,e){e(t)},onMove:function(t,e){e(t)},onRemove:function(t,e){e(t)},toScreen:s._toScreen.bind(s),toTime:s._toTime.bind(s)};var o=util.extend(Object.create(this.options),{height:function(){return s.options.height?s.options.height:s.timeAxis.height+s.contentPanel.height+"px"}});this.rootPanel=new RootPanel(t,o),this.rootPanel.on("tap",this._onSelectItem.bind(this)),this.rootPanel.on("hold",this._onMultiSelectItem.bind(this)),this.rootPanel.on("doubletap",this._onAddItem.bind(this));var a=util.extend(Object.create(this.options),{top:function(){return"top"==a.orientation?"0":""},bottom:function(){return"top"==a.orientation?"":"0"},left:"0",right:null,height:"100%",width:function(){return s.itemSet?s.itemSet.getLabelsWidth():0},className:function(){return"side"+(s.groupsData?"":" hidden")}});this.sidePanel=new Panel(a),this.rootPanel.appendChild(this.sidePanel);var r=util.extend(Object.create(this.options),{left:function(){return s.sidePanel.width},right:null,height:"100%",width:function(){return s.rootPanel.width-s.sidePanel.width},className:"main"});this.mainPanel=new Panel(r),this.rootPanel.appendChild(this.mainPanel);var h=Object.create(this.options);this.range=new Range(this.rootPanel,this.mainPanel,h),this.range.setRange(n.clone().add("days",-3).valueOf(),n.clone().add("days",4).valueOf()),this.range.on("rangechange",function(t){s.rootPanel.repaint(),s.emit("rangechange",t)}),this.range.on("rangechanged",function(t){s.rootPanel.repaint(),s.emit("rangechanged",t)});var d=util.extend(Object.create(o),{range:this.range,left:null,top:null,width:null,height:null});this.timeAxis=new TimeAxis(d),this.timeAxis.setRange(this.range),this.options.snap=this.timeAxis.snap.bind(this.timeAxis),this.mainPanel.appendChild(this.timeAxis);var c=util.extend(Object.create(this.options),{top:function(){return"top"==s.options.orientation?s.timeAxis.height+"px":""},bottom:function(){return"top"==s.options.orientation?"":s.timeAxis.height+"px"},left:null,right:null,height:null,width:null,className:"content"});this.contentPanel=new Panel(c),this.mainPanel.appendChild(this.contentPanel);var l=util.extend(Object.create(this.options),{top:function(){return"top"==s.options.orientation?s.timeAxis.height+"px":""},bottom:function(){return"top"==s.options.orientation?"":s.timeAxis.height+"px"},left:null,right:null,height:function(){return s.contentPanel.height},width:null,className:"background"});this.backgroundPanel=new Panel(l),this.mainPanel.insertBefore(this.backgroundPanel,this.contentPanel);var u=util.extend(Object.create(o),{left:0,top:function(){return"top"==s.options.orientation?s.timeAxis.height+"px":""},bottom:function(){return"top"==s.options.orientation?"":s.timeAxis.height+"px"},width:"100%",height:0,className:"axis"});this.axisPanel=new Panel(u),this.mainPanel.appendChild(this.axisPanel);var p=util.extend(Object.create(this.options),{top:function(){return"top"==s.options.orientation?s.timeAxis.height+"px":""},bottom:function(){return"top"==s.options.orientation?"":s.timeAxis.height+"px"},left:null,right:null,height:null,width:null,className:"side-content"});this.sideContentPanel=new Panel(p),this.sidePanel.appendChild(this.sideContentPanel),this.currentTime=new CurrentTime(this.range,o),this.customTime=new CustomTime(o),this.customTime.on("timechange",function(t){s.emit("timechange",t)}),this.customTime.on("timechanged",function(t){s.emit("timechanged",t)});var g=util.extend(Object.create(this.options),{left:null,right:null,top:null,bottom:null,width:null,height:null});this.itemSet=new ItemSet(this.backgroundPanel,this.axisPanel,this.sideContentPanel,g),this.itemSet.setRange(this.range),this.itemSet.on("change",s.rootPanel.repaint.bind(s.rootPanel)),this.contentPanel.appendChild(this.itemSet),this.itemsData=null,this.groupsData=null,i&&this.setOptions(i),e&&this.setItems(e)}function Node(t,e,i,s){this.selected=!1,this.edges=[],this.dynamicEdges=[],this.reroutedEdges={},this.group=s.nodes.group,this.fontSize=s.nodes.fontSize,this.fontFace=s.nodes.fontFace,this.fontColor=s.nodes.fontColor,this.fontDrawThreshold=3,this.color=s.nodes.color,this.id=void 0,this.shape=s.nodes.shape,this.image=s.nodes.image,this.x=null,this.y=null,this.xFixed=!1,this.yFixed=!1,this.horizontalAlignLeft=!0,this.verticalAlignTop=!0,this.radius=s.nodes.radius,this.baseRadiusValue=s.nodes.radius,this.radiusFixed=!1,this.radiusMin=s.nodes.radiusMin,this.radiusMax=s.nodes.radiusMax,this.level=-1,this.preassignedLevel=!1,this.imagelist=e,this.grouplist=i,this.fx=0,this.fy=0,this.vx=0,this.vy=0,this.minForce=s.minForce,this.damping=s.physics.damping,this.mass=1,this.fixedData={x:null,y:null},this.setProperties(t,s),this.resetCluster(),this.dynamicEdgesLength=0,this.clusterSession=0,this.clusterSizeWidthFactor=s.clustering.nodeScaling.width,this.clusterSizeHeightFactor=s.clustering.nodeScaling.height,this.clusterSizeRadiusFactor=s.clustering.nodeScaling.radius,this.maxNodeSizeIncrements=s.clustering.maxNodeSizeIncrements,this.growthIndicator=0,this.graphScaleInv=1,this.graphScale=1,this.canvasTopLeft={x:-300,y:-300},this.canvasBottomRight={x:300,y:300},this.parentEdgeId=null}function Edge(t,e,i){if(!e)throw"No graph provided";this.graph=e,this.widthMin=i.edges.widthMin,this.widthMax=i.edges.widthMax,this.id=void 0,this.fromId=void 0,this.toId=void 0,this.style=i.edges.style,this.title=void 0,this.width=i.edges.width,this.value=void 0,this.length=i.physics.springLength,this.customLength=!1,this.selected=!1,this.smooth=i.smoothCurves,this.arrowScaleFactor=i.edges.arrowScaleFactor,this.from=null,this.to=null,this.via=null,this.originalFromId=[],this.originalToId=[],this.connected=!1,this.dash=util.extend({},i.edges.dash),this.color={color:i.edges.color.color,highlight:i.edges.color.highlight},this.widthFixed=!1,this.lengthFixed=!1,this.setProperties(t,i)}function Popup(t,e,i,s,n){this.container=t?t:document.body,void 0===n&&("object"==typeof e?(n=e,e=void 0):"object"==typeof s?(n=s,s=void 0):n={fontColor:"black",fontSize:14,fontFace:"verdana",color:{border:"#666",background:"#FFFFC6"}}),this.x=0,this.y=0,this.padding=5,void 0!==e&&void 0!==i&&this.setPosition(e,i),void 0!==s&&this.setText(s),this.frame=document.createElement("div");var o=this.frame.style;o.position="absolute",o.visibility="hidden",o.border="1px solid "+n.color.border,o.color=n.fontColor,o.fontSize=n.fontSize+"px",o.fontFamily=n.fontFace,o.padding=this.padding+"px",o.backgroundColor=n.color.background,o.borderRadius="3px",o.MozBorderRadius="3px",o.WebkitBorderRadius="3px",o.boxShadow="3px 3px 10px rgba(128, 128, 128, 0.5)",o.whiteSpace="nowrap",this.container.appendChild(this.frame)}function Groups(){this.clear(),this.defaultIndex=0}function Images(){this.images={},this.callback=void 0}function graphToggleSmoothCurves(){this.constants.smoothCurves=!this.constants.smoothCurves;var t=document.getElementById("graph_toggleSmooth");t.style.background=1==this.constants.smoothCurves?"#A4FF56":"#FF8532",this._configureSmoothCurves(!1)}function graphRepositionNodes(){for(var t in this.calculationNodes)this.calculationNodes.hasOwnProperty(t)&&(this.calculationNodes[t].vx=0,this.calculationNodes[t].vy=0,this.calculationNodes[t].fx=0,this.calculationNodes[t].fy=0);1==this.constants.hierarchicalLayout.enabled?this._setupHierarchicalLayout():this.repositionNodes(),this.moving=!0,this.start()}function graphGenerateOptions(){var t="No options are required, default values used.",e=[],i=document.getElementById("graph_physicsMethod1"),s=document.getElementById("graph_physicsMethod2");if(1==i.checked){if(this.constants.physics.barnesHut.gravitationalConstant!=this.backupConstants.physics.barnesHut.gravitationalConstant&&e.push("gravitationalConstant: "+this.constants.physics.barnesHut.gravitationalConstant),this.constants.physics.centralGravity!=this.backupConstants.physics.barnesHut.centralGravity&&e.push("centralGravity: "+this.constants.physics.centralGravity),this.constants.physics.springLength!=this.backupConstants.physics.barnesHut.springLength&&e.push("springLength: "+this.constants.physics.springLength),this.constants.physics.springConstant!=this.backupConstants.physics.barnesHut.springConstant&&e.push("springConstant: "+this.constants.physics.springConstant),this.constants.physics.damping!=this.backupConstants.physics.barnesHut.damping&&e.push("damping: "+this.constants.physics.damping),0!=e.length){t="var options = {",t+="physics: {barnesHut: {";for(var n=0;n<e.length;n++)t+=e[n],n<e.length-1&&(t+=", ");t+="}}"}this.constants.smoothCurves!=this.backupConstants.smoothCurves&&(0==e.length?t="var options = {":t+=", ",t+="smoothCurves: "+this.constants.smoothCurves),"No options are required, default values used."!=t&&(t+="};")}else if(1==s.checked){if(t="var options = {",t+="physics: {barnesHut: {enabled: false}",this.constants.physics.repulsion.nodeDistance!=this.backupConstants.physics.repulsion.nodeDistance&&e.push("nodeDistance: "+this.constants.physics.repulsion.nodeDistance),this.constants.physics.centralGravity!=this.backupConstants.physics.repulsion.centralGravity&&e.push("centralGravity: "+this.constants.physics.centralGravity),this.constants.physics.springLength!=this.backupConstants.physics.repulsion.springLength&&e.push("springLength: "+this.constants.physics.springLength),this.constants.physics.springConstant!=this.backupConstants.physics.repulsion.springConstant&&e.push("springConstant: "+this.constants.physics.springConstant),this.constants.physics.damping!=this.backupConstants.physics.repulsion.damping&&e.push("damping: "+this.constants.physics.damping),0!=e.length){t+=", repulsion: {";for(var n=0;n<e.length;n++)t+=e[n],n<e.length-1&&(t+=", ");t+="}}"}0==e.length&&(t+="}"),this.constants.smoothCurves!=this.backupConstants.smoothCurves&&(t+=", smoothCurves: "+this.constants.smoothCurves),t+="};"}else{if(t="var options = {",this.constants.physics.hierarchicalRepulsion.nodeDistance!=this.backupConstants.physics.hierarchicalRepulsion.nodeDistance&&e.push("nodeDistance: "+this.constants.physics.hierarchicalRepulsion.nodeDistance),this.constants.physics.centralGravity!=this.backupConstants.physics.hierarchicalRepulsion.centralGravity&&e.push("centralGravity: "+this.constants.physics.centralGravity),this.constants.physics.springLength!=this.backupConstants.physics.hierarchicalRepulsion.springLength&&e.push("springLength: "+this.constants.physics.springLength),this.constants.physics.springConstant!=this.backupConstants.physics.hierarchicalRepulsion.springConstant&&e.push("springConstant: "+this.constants.physics.springConstant),this.constants.physics.damping!=this.backupConstants.physics.hierarchicalRepulsion.damping&&e.push("damping: "+this.constants.physics.damping),0!=e.length){t+="physics: {hierarchicalRepulsion: {";for(var n=0;n<e.length;n++)t+=e[n],n<e.length-1&&(t+=", ");t+="}},"}if(t+="hierarchicalLayout: {",e=[],this.constants.hierarchicalLayout.direction!=this.backupConstants.hierarchicalLayout.direction&&e.push("direction: "+this.constants.hierarchicalLayout.direction),Math.abs(this.constants.hierarchicalLayout.levelSeparation)!=this.backupConstants.hierarchicalLayout.levelSeparation&&e.push("levelSeparation: "+this.constants.hierarchicalLayout.levelSeparation),this.constants.hierarchicalLayout.nodeSpacing!=this.backupConstants.hierarchicalLayout.nodeSpacing&&e.push("nodeSpacing: "+this.constants.hierarchicalLayout.nodeSpacing),0!=e.length){for(var n=0;n<e.length;n++)t+=e[n],n<e.length-1&&(t+=", ");t+="}"}else t+="enabled:true}";t+="};"}this.optionsDiv.innerHTML=t}function switchConfigurations(){var t=["graph_BH_table","graph_R_table","graph_H_table"],e=document.querySelector('input[name="graph_physicsMethod"]:checked').value,i="graph_"+e+"_table",s=document.getElementById(i);s.style.display="block";for(var n=0;n<t.length;n++)t[n]!=i&&(s=document.getElementById(t[n]),s.style.display="none");this._restoreNodes(),"R"==e?(this.constants.hierarchicalLayout.enabled=!1,this.constants.physics.hierarchicalRepulsion.enabled=!1,this.constants.physics.barnesHut.enabled=!1):"H"==e?0==this.constants.hierarchicalLayout.enabled&&(this.constants.hierarchicalLayout.enabled=!0,this.constants.physics.hierarchicalRepulsion.enabled=!0,this.constants.physics.barnesHut.enabled=!1,this._setupHierarchicalLayout()):(this.constants.hierarchicalLayout.enabled=!1,this.constants.physics.hierarchicalRepulsion.enabled=!1,this.constants.physics.barnesHut.enabled=!0),this._loadSelectedForceSolver();var o=document.getElementById("graph_toggleSmooth");o.style.background=1==this.constants.smoothCurves?"#A4FF56":"#FF8532",this.moving=!0,this.start()}function showValueOfRange(t,e,i){var s=t+"_value",n=document.getElementById(t).value;e instanceof Array?(document.getElementById(s).value=e[parseInt(n)],this._overWriteGraphConstants(i,e[parseInt(n)])):(document.getElementById(s).value=parseInt(e)*parseFloat(n),this._overWriteGraphConstants(i,parseInt(e)*parseFloat(n))),("hierarchicalLayout_direction"==i||"hierarchicalLayout_levelSeparation"==i||"hierarchicalLayout_nodeSpacing"==i)&&this._setupHierarchicalLayout(),this.moving=!0,this.start()}function Graph(t,e,i){this._initializeMixinLoaders(),this.containerElement=t,this.width="100%",this.height="100%",this.renderRefreshRate=60,this.renderTimestep=1e3/this.renderRefreshRate,this.renderTime=.5*this.renderTimestep,this.maxPhysicsTicksPerRender=3,this.physicsDiscreteStepsize=.65,this.stabilize=!0,this.selectable=!0,this.initializing=!0,this.triggerFunctions={add:null,edit:null,connect:null,del:null},this.constants={nodes:{radiusMin:5,radiusMax:20,radius:5,shape:"ellipse",image:void 0,widthMin:16,widthMax:64,fixed:!1,fontColor:"black",fontSize:14,fontFace:"verdana",level:-1,color:{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"}},borderColor:"#2B7CE9",backgroundColor:"#97C2FC",highlightColor:"#D2E5FF",group:void 0},edges:{widthMin:1,widthMax:15,width:1,style:"line",color:{color:"#848484",highlight:"#848484"},fontColor:"#343434",fontSize:14,fontFace:"arial",fontFill:"white",arrowScaleFactor:1,dash:{length:10,gap:5,altLength:void 0}},configurePhysics:!1,physics:{barnesHut:{enabled:!0,theta:1/.6,gravitationalConstant:-2e3,centralGravity:.3,springLength:95,springConstant:.04,damping:.09},repulsion:{centralGravity:.1,springLength:200,springConstant:.05,nodeDistance:100,damping:.09},hierarchicalRepulsion:{enabled:!1,centralGravity:0,springLength:100,springConstant:.01,nodeDistance:60,damping:.09},damping:null,centralGravity:null,springLength:null,springConstant:null},clustering:{enabled:!1,initialMaxNodes:100,clusterThreshold:500,reduceToNodes:300,chainThreshold:.4,clusterEdgeThreshold:20,sectorThreshold:100,screenSizeThreshold:.2,fontSizeMultiplier:4,maxFontSize:1e3,forceAmplification:.1,distanceAmplification:.1,edgeGrowth:20,nodeScaling:{width:1,height:1,radius:1},maxNodeSizeIncrements:600,activeAreaBoxSize:80,clusterLevelDifference:2},navigation:{enabled:!1},keyboard:{enabled:!1,speed:{x:10,y:10,zoom:.02}},dataManipulation:{enabled:!1,initiallyVisible:!1},hierarchicalLayout:{enabled:!1,levelSeparation:150,nodeSpacing:100,direction:"UD"},freezeForStabilization:!1,smoothCurves:!0,maxVelocity:10,minVelocity:.1,stabilizationIterations:1e3,labels:{add:"Add Node",edit:"Edit",link:"Add Link",del:"Delete selected",editNode:"Edit Node",back:"Back",addDescription:"Click in an empty space to place a new node.",linkDescription:"Click on a node and drag the edge to another node to connect them.",addError:"The function for add does not support two arguments (data,callback).",linkError:"The function for connect does not support two arguments (data,callback).",editError:"The function for edit does not support two arguments (data, callback).",editBoundError:"No edit function has been bound to this button.",deleteError:"The function for delete does not support two arguments (data, callback).",deleteClusterError:"Clusters cannot be deleted."},tooltip:{delay:300,fontColor:"black",fontSize:14,fontFace:"verdana",color:{border:"#666",background:"#FFFFC6"}}},this.editMode=this.constants.dataManipulation.initiallyVisible;var s=this;this.groups=new Groups,this.images=new Images,this.images.setOnloadCallback(function(){s._redraw()}),this.xIncrement=0,this.yIncrement=0,this.zoomIncrement=0,this._loadPhysicsSystem(),this._create(),this._loadSectorSystem(),this._loadClusterSystem(),this._loadSelectionSystem(),this._loadHierarchySystem(),this.setOptions(i),this.freezeSimulation=!1,this.cachedFunctions={},this.calculationNodes={},this.calculationNodeIndices=[],this.nodeIndices=[],this.nodes={},this.edges={},this.canvasTopLeft={x:0,y:0},this.canvasBottomRight={x:0,y:0},this.pointerPosition={x:0,y:0},this.areaCenter={},this.scale=1,this.previousScale=this.scale,this.nodesData=null,this.edgesData=null,this.nodesListeners={add:function(t,e){s._addNodes(e.items),s.start()},update:function(t,e){s._updateNodes(e.items),s.start()},remove:function(t,e){s._removeNodes(e.items),s.start()}},this.edgesListeners={add:function(t,e){s._addEdges(e.items),s.start()},update:function(t,e){s._updateEdges(e.items),s.start()},remove:function(t,e){s._removeEdges(e.items),s.start()}},this.moving=!0,this.timer=void 0,this.setData(e,this.constants.clustering.enabled||this.constants.hierarchicalLayout.enabled),this.initializing=!1,1==this.constants.hierarchicalLayout.enabled?this._setupHierarchicalLayout():0==this.stabilize&&this.zoomExtent(!0,this.constants.clustering.enabled),this.constants.clustering.enabled&&this.startWithClustering()}var moment="undefined"!=typeof window&&window.moment||require("moment"),Emitter=require("emitter-component"),Hammer;Hammer="undefined"!=typeof window?window.Hammer||require("hammerjs"):function(){throw Error("hammer.js is only available in a browser, not in node.js.")};var mousetrap;if(mousetrap="undefined"!=typeof window?window.mousetrap||require("mousetrap"):function(){throw Error("mouseTrap is only available in a browser, not in node.js.")},!Array.prototype.indexOf){Array.prototype.indexOf=function(t){for(var e=0;e<this.length;e++)if(this[e]==t)return e;return-1};try{console.log("Warning: Ancient browser detected. Please update your browser")}catch(err){}}Array.prototype.forEach||(Array.prototype.forEach=function(t,e){for(var i=0,s=this.length;s>i;++i)t.call(e||this,this[i],i,this)}),Array.prototype.map||(Array.prototype.map=function(t,e){var i,s,n;if(null==this)throw new TypeError(" this is null or not defined");var o=Object(this),a=o.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(e&&(i=e),s=new Array(a),n=0;a>n;){var r,h;n in o&&(r=o[n],h=t.call(i,r,n,o),s[n]=h),n++}return s}),Array.prototype.filter||(Array.prototype.filter=function(t){"use strict";if(null==this)throw new TypeError;var e=Object(this),i=e.length>>>0;if("function"!=typeof t)throw new TypeError;for(var s=[],n=arguments[1],o=0;i>o;o++)if(o in e){var a=e[o];t.call(n,a,o,e)&&s.push(a)}return s}),Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),i=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=i.length;return function(n){if("object"!=typeof n&&"function"!=typeof n||null===n)throw new TypeError("Object.keys called on non-object");var o=[];for(var a in n)t.call(n,a)&&o.push(a);if(e)for(var r=0;s>r;r++)t.call(n,i[r])&&o.push(i[r]);return o}}()),Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),i=this,s=function(){},n=function(){return i.apply(this instanceof s&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return s.prototype=this.prototype,n.prototype=new s,n}),Object.create||(Object.create=function(t){function e(){}if(arguments.length>1)throw new Error("Object.create implementation only accepts the first parameter.");return e.prototype=t,new e}),Function.prototype.bind||(Function.prototype.bind=function(t){if("function"!=typeof this)throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable");var e=Array.prototype.slice.call(arguments,1),i=this,s=function(){},n=function(){return i.apply(this instanceof s&&t?this:t,e.concat(Array.prototype.slice.call(arguments)))};return s.prototype=this.prototype,n.prototype=new s,n});var util={};util.isNumber=function(t){return t instanceof Number||"number"==typeof t},util.isString=function(t){return t instanceof String||"string"==typeof t},util.isDate=function(t){if(t instanceof Date)return!0;if(util.isString(t)){var e=ASPDateRegex.exec(t);if(e)return!0;if(!isNaN(Date.parse(t)))return!0}return!1},util.isDataTable=function(t){return"undefined"!=typeof google&&google.visualization&&google.visualization.DataTable&&t instanceof google.visualization.DataTable},util.randomUUID=function(){var t=function(){return Math.floor(65536*Math.random()).toString(16)};return t()+t()+"-"+t()+"-"+t()+"-"+t()+"-"+t()+t()+t()},util.extend=function(t){for(var e=1,i=arguments.length;i>e;e++){var s=arguments[e];for(var n in s)s.hasOwnProperty(n)&&void 0!==s[n]&&(t[n]=s[n])}return t},util.equalArray=function(t,e){if(t.length!=e.length)return!1;for(var i=0,s=t.length;s>i;i++)if(t[i]!=e[i])return!1;return!0},util.convert=function(t,e){var i;if(void 0===t)return void 0;if(null===t)return null;if(!e)return t;if("string"!=typeof e&&!(e instanceof String))throw new Error("Type must be a string");switch(e){case"boolean":case"Boolean":return Boolean(t);case"number":case"Number":return Number(t.valueOf());case"string":case"String":return String(t);case"Date":if(util.isNumber(t))return new Date(t);if(t instanceof Date)return new Date(t.valueOf());if(moment.isMoment(t))return new Date(t.valueOf());if(util.isString(t))return i=ASPDateRegex.exec(t),i?new Date(Number(i[1])):moment(t).toDate();throw new Error("Cannot convert object of type "+util.getType(t)+" to type Date");case"Moment":if(util.isNumber(t))return moment(t);if(t instanceof Date)return moment(t.valueOf());if(moment.isMoment(t))return moment(t);if(util.isString(t))return i=ASPDateRegex.exec(t),moment(i?Number(i[1]):t);throw new Error("Cannot convert object of type "+util.getType(t)+" to type Date");case"ISODate":if(util.isNumber(t))return new Date(t);if(t instanceof Date)return t.toISOString();if(moment.isMoment(t))return t.toDate().toISOString();if(util.isString(t))return i=ASPDateRegex.exec(t),i?new Date(Number(i[1])).toISOString():new Date(t).toISOString();throw new Error("Cannot convert object of type "+util.getType(t)+" to type ISODate");case"ASPDate":if(util.isNumber(t))return"/Date("+t+")/";if(t instanceof Date)return"/Date("+t.valueOf()+")/";if(util.isString(t)){i=ASPDateRegex.exec(t);var s;return s=i?new Date(Number(i[1])).valueOf():new Date(t).valueOf(),"/Date("+s+")/"}throw new Error("Cannot convert object of type "+util.getType(t)+" to type ASPDate");default:throw new Error("Cannot convert object of type "+util.getType(t)+' to type "'+e+'"')}};var ASPDateRegex=/^\/?Date\((\-?\d+)/i;util.getType=function(t){var e=typeof t;return"object"==e?null==t?"null":t instanceof Boolean?"Boolean":t instanceof Number?"Number":t instanceof String?"String":t instanceof Array?"Array":t instanceof Date?"Date":"Object":"number"==e?"Number":"boolean"==e?"Boolean":"string"==e?"String":e},util.getAbsoluteLeft=function(t){for(var e=document.documentElement,i=document.body,s=t.offsetLeft,n=t.offsetParent;null!=n&&n!=i&&n!=e;)s+=n.offsetLeft,s-=n.scrollLeft,n=n.offsetParent;return s},util.getAbsoluteTop=function(t){for(var e=document.documentElement,i=document.body,s=t.offsetTop,n=t.offsetParent;null!=n&&n!=i&&n!=e;)s+=n.offsetTop,s-=n.scrollTop,n=n.offsetParent;return s},util.getPageY=function(t){if("pageY"in t)return t.pageY;var e;e="targetTouches"in t&&t.targetTouches.length?t.targetTouches[0].clientY:t.clientY;var i=document.documentElement,s=document.body;return e+(i&&i.scrollTop||s&&s.scrollTop||0)-(i&&i.clientTop||s&&s.clientTop||0)},util.getPageX=function(t){if("pageY"in t)return t.pageX;var e;e="targetTouches"in t&&t.targetTouches.length?t.targetTouches[0].clientX:t.clientX;var i=document.documentElement,s=document.body;return e+(i&&i.scrollLeft||s&&s.scrollLeft||0)-(i&&i.clientLeft||s&&s.clientLeft||0)},util.addClassName=function(t,e){var i=t.className.split(" ");-1==i.indexOf(e)&&(i.push(e),t.className=i.join(" "))},util.removeClassName=function(t,e){var i=t.className.split(" "),s=i.indexOf(e);-1!=s&&(i.splice(s,1),t.className=i.join(" "))},util.forEach=function(t,e){var i,s;if(t instanceof Array)for(i=0,s=t.length;s>i;i++)e(t[i],i,t);else for(i in t)t.hasOwnProperty(i)&&e(t[i],i,t)},util.toArray=function(t){var e=[];for(var i in t)t.hasOwnProperty(i)&&e.push(t[i]);return e},util.updateProperty=function(t,e,i){return t[e]!==i?(t[e]=i,!0):!1},util.addEventListener=function(t,e,i,s){t.addEventListener?(void 0===s&&(s=!1),"mousewheel"===e&&navigator.userAgent.indexOf("Firefox")>=0&&(e="DOMMouseScroll"),t.addEventListener(e,i,s)):t.attachEvent("on"+e,i)},util.removeEventListener=function(t,e,i,s){t.removeEventListener?(void 0===s&&(s=!1),"mousewheel"===e&&navigator.userAgent.indexOf("Firefox")>=0&&(e="DOMMouseScroll"),t.removeEventListener(e,i,s)):t.detachEvent("on"+e,i)},util.getTarget=function(t){t||(t=window.event);var e;return t.target?e=t.target:t.srcElement&&(e=t.srcElement),void 0!=e.nodeType&&3==e.nodeType&&(e=e.parentNode),e},util.fakeGesture=function(t,e){var i=null,s=Hammer.event.collectEventData(this,i,e);return isNaN(s.center.pageX)&&(s.center.pageX=e.pageX),isNaN(s.center.pageY)&&(s.center.pageY=e.pageY),s},util.option={},util.option.asBoolean=function(t,e){return"function"==typeof t&&(t=t()),null!=t?0!=t:e||null },util.option.asNumber=function(t,e){return"function"==typeof t&&(t=t()),null!=t?Number(t)||e||null:e||null},util.option.asString=function(t,e){return"function"==typeof t&&(t=t()),null!=t?String(t):e||null},util.option.asSize=function(t,e){return"function"==typeof t&&(t=t()),util.isString(t)?t:util.isNumber(t)?t+"px":e||null},util.option.asElement=function(t,e){return"function"==typeof t&&(t=t()),t||e||null},util.GiveDec=function GiveDec(Hex){var Value;return Value="A"==Hex?10:"B"==Hex?11:"C"==Hex?12:"D"==Hex?13:"E"==Hex?14:"F"==Hex?15:eval(Hex)},util.GiveHex=function(t){var e;return e=10==t?"A":11==t?"B":12==t?"C":13==t?"D":14==t?"E":15==t?"F":""+t},util.parseColor=function(t){var e;if(util.isString(t))if(util.isValidHex(t)){var i=util.hexToHSV(t),s={h:i.h,s:.45*i.s,v:Math.min(1,1.05*i.v)},n={h:i.h,s:Math.min(1,1.25*i.v),v:.6*i.v},o=util.HSVToHex(n.h,n.h,n.v),a=util.HSVToHex(s.h,s.s,s.v);e={background:t,border:o,highlight:{background:a,border:o}}}else e={background:t,border:t,highlight:{background:t,border:t}};else e={},e.background=t.background||"white",e.border=t.border||e.background,util.isString(t.highlight)?e.highlight={border:t.highlight,background:t.highlight}:(e.highlight={},e.highlight.background=t.highlight&&t.highlight.background||e.background,e.highlight.border=t.highlight&&t.highlight.border||e.border);return e},util.hexToRGB=function(t){t=t.replace("#","").toUpperCase();var e=util.GiveDec(t.substring(0,1)),i=util.GiveDec(t.substring(1,2)),s=util.GiveDec(t.substring(2,3)),n=util.GiveDec(t.substring(3,4)),o=util.GiveDec(t.substring(4,5)),a=util.GiveDec(t.substring(5,6)),r=16*e+i,h=16*s+n,i=16*o+a;return{r:r,g:h,b:i}},util.RGBToHex=function(t,e,i){var s=util.GiveHex(Math.floor(t/16)),n=util.GiveHex(t%16),o=util.GiveHex(Math.floor(e/16)),a=util.GiveHex(e%16),r=util.GiveHex(Math.floor(i/16)),h=util.GiveHex(i%16),d=s+n+o+a+r+h;return"#"+d},util.RGBToHSV=function(t,e,i){t/=255,e/=255,i/=255;var s=Math.min(t,Math.min(e,i)),n=Math.max(t,Math.max(e,i));if(s==n)return{h:0,s:0,v:s};var o=t==s?e-i:i==s?t-e:i-t,a=t==s?3:i==s?1:5,r=60*(a-o/(n-s))/360,h=(n-s)/n,d=n;return{h:r,s:h,v:d}},util.HSVToRGB=function(t,e,i){var s,n,o,a=Math.floor(6*t),r=6*t-a,h=i*(1-e),d=i*(1-r*e),c=i*(1-(1-r)*e);switch(a%6){case 0:s=i,n=c,o=h;break;case 1:s=d,n=i,o=h;break;case 2:s=h,n=i,o=c;break;case 3:s=h,n=d,o=i;break;case 4:s=c,n=h,o=i;break;case 5:s=i,n=h,o=d}return{r:Math.floor(255*s),g:Math.floor(255*n),b:Math.floor(255*o)}},util.HSVToHex=function(t,e,i){var s=util.HSVToRGB(t,e,i);return util.RGBToHex(s.r,s.g,s.b)},util.hexToHSV=function(t){var e=util.hexToRGB(t);return util.RGBToHSV(e.r,e.g,e.b)},util.isValidHex=function(t){var e=/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(t);return e},util.copyObject=function(t,e){for(var i in t)t.hasOwnProperty(i)&&("object"==typeof t[i]?(e[i]={},util.copyObject(t[i],e[i])):e[i]=t[i])},DataSet.prototype.on=function(t,e){var i=this.subscribers[t];i||(i=[],this.subscribers[t]=i),i.push({callback:e})},DataSet.prototype.subscribe=DataSet.prototype.on,DataSet.prototype.off=function(t,e){var i=this.subscribers[t];i&&(this.subscribers[t]=i.filter(function(t){return t.callback!=e}))},DataSet.prototype.unsubscribe=DataSet.prototype.off,DataSet.prototype._trigger=function(t,e,i){if("*"==t)throw new Error("Cannot trigger event *");var s=[];t in this.subscribers&&(s=s.concat(this.subscribers[t])),"*"in this.subscribers&&(s=s.concat(this.subscribers["*"]));for(var n=0;n<s.length;n++){var o=s[n];o.callback&&o.callback(t,e,i||null)}},DataSet.prototype.add=function(t,e){var i,s=[],n=this;if(t instanceof Array)for(var o=0,a=t.length;a>o;o++)i=n._addItem(t[o]),s.push(i);else if(util.isDataTable(t))for(var r=this._getColumnNames(t),h=0,d=t.getNumberOfRows();d>h;h++){for(var c={},l=0,u=r.length;u>l;l++){var p=r[l];c[p]=t.getValue(h,l)}i=n._addItem(c),s.push(i)}else{if(!(t instanceof Object))throw new Error("Unknown dataType");i=n._addItem(t),s.push(i)}return s.length&&this._trigger("add",{items:s},e),s},DataSet.prototype.update=function(t,e){var i=[],s=[],n=this,o=n.fieldId,a=function(t){var e=t[o];n.data[e]?(e=n._updateItem(t),s.push(e)):(e=n._addItem(t),i.push(e))};if(t instanceof Array)for(var r=0,h=t.length;h>r;r++)a(t[r]);else if(util.isDataTable(t))for(var d=this._getColumnNames(t),c=0,l=t.getNumberOfRows();l>c;c++){for(var u={},p=0,g=d.length;g>p;p++){var m=d[p];u[m]=t.getValue(c,p)}a(u)}else{if(!(t instanceof Object))throw new Error("Unknown dataType");a(t)}return i.length&&this._trigger("add",{items:i},e),s.length&&this._trigger("update",{items:s},e),i.concat(s)},DataSet.prototype.get=function(){var t,e,i,s,n=this,o=this.showInternalIds,a=util.getType(arguments[0]);"String"==a||"Number"==a?(t=arguments[0],i=arguments[1],s=arguments[2]):"Array"==a?(e=arguments[0],i=arguments[1],s=arguments[2]):(i=arguments[0],s=arguments[1]);var r;if(i&&i.type){if(r="DataTable"==i.type?"DataTable":"Array",s&&r!=util.getType(s))throw new Error('Type of parameter "data" ('+util.getType(s)+") does not correspond with specified options.type ("+i.type+")");if("DataTable"==r&&!util.isDataTable(s))throw new Error('Parameter "data" must be a DataTable when options.type is "DataTable"')}else r=s&&"DataTable"==util.getType(s)?"DataTable":"Array";void 0!=i&&void 0!=i.showInternalIds&&(this.showInternalIds=i.showInternalIds);var h,d,c,l,u=i&&i.convert||this.options.convert,p=i&&i.filter,g=[];if(void 0!=t)h=n._getItem(t,u),p&&!p(h)&&(h=null);else if(void 0!=e)for(c=0,l=e.length;l>c;c++)h=n._getItem(e[c],u),(!p||p(h))&&g.push(h);else for(d in this.data)this.data.hasOwnProperty(d)&&(h=n._getItem(d,u),(!p||p(h))&&g.push(h));if(this.showInternalIds=o,i&&i.order&&void 0==t&&this._sort(g,i.order),i&&i.fields){var m=i.fields;if(void 0!=t)h=this._filterFields(h,m);else for(c=0,l=g.length;l>c;c++)g[c]=this._filterFields(g[c],m)}if("DataTable"==r){var f=this._getColumnNames(s);if(void 0!=t)n._appendRow(s,f,h);else for(c=0,l=g.length;l>c;c++)n._appendRow(s,f,g[c]);return s}if(void 0!=t)return h;if(s){for(c=0,l=g.length;l>c;c++)s.push(g[c]);return s}return g},DataSet.prototype.getIds=function(t){var e,i,s,n,o,a=this.data,r=t&&t.filter,h=t&&t.order,d=t&&t.convert||this.options.convert,c=[];if(r)if(h){o=[];for(s in a)a.hasOwnProperty(s)&&(n=this._getItem(s,d),r(n)&&o.push(n));for(this._sort(o,h),e=0,i=o.length;i>e;e++)c[e]=o[e][this.fieldId]}else for(s in a)a.hasOwnProperty(s)&&(n=this._getItem(s,d),r(n)&&c.push(n[this.fieldId]));else if(h){o=[];for(s in a)a.hasOwnProperty(s)&&o.push(a[s]);for(this._sort(o,h),e=0,i=o.length;i>e;e++)c[e]=o[e][this.fieldId]}else for(s in a)a.hasOwnProperty(s)&&(n=a[s],c.push(n[this.fieldId]));return c},DataSet.prototype.forEach=function(t,e){var i,s,n=e&&e.filter,o=e&&e.convert||this.options.convert,a=this.data;if(e&&e.order)for(var r=this.get(e),h=0,d=r.length;d>h;h++)i=r[h],s=i[this.fieldId],t(i,s);else for(s in a)a.hasOwnProperty(s)&&(i=this._getItem(s,o),(!n||n(i))&&t(i,s))},DataSet.prototype.map=function(t,e){var i,s=e&&e.filter,n=e&&e.convert||this.options.convert,o=[],a=this.data;for(var r in a)a.hasOwnProperty(r)&&(i=this._getItem(r,n),(!s||s(i))&&o.push(t(i,r)));return e&&e.order&&this._sort(o,e.order),o},DataSet.prototype._filterFields=function(t,e){var i={};for(var s in t)t.hasOwnProperty(s)&&-1!=e.indexOf(s)&&(i[s]=t[s]);return i},DataSet.prototype._sort=function(t,e){if(util.isString(e)){var i=e;t.sort(function(t,e){var s=t[i],n=e[i];return s>n?1:n>s?-1:0})}else{if("function"!=typeof e)throw new TypeError("Order must be a function or a string");t.sort(e)}},DataSet.prototype.remove=function(t,e){var i,s,n,o=[];if(t instanceof Array)for(i=0,s=t.length;s>i;i++)n=this._remove(t[i]),null!=n&&o.push(n);else n=this._remove(t),null!=n&&o.push(n);return o.length&&this._trigger("remove",{items:o},e),o},DataSet.prototype._remove=function(t){if(util.isNumber(t)||util.isString(t)){if(this.data[t])return delete this.data[t],delete this.internalIds[t],t}else if(t instanceof Object){var e=t[this.fieldId];if(e&&this.data[e])return delete this.data[e],delete this.internalIds[e],e}return null},DataSet.prototype.clear=function(t){var e=Object.keys(this.data);return this.data={},this.internalIds={},this._trigger("remove",{items:e},t),e},DataSet.prototype.max=function(t){var e=this.data,i=null,s=null;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n],a=o[t];null!=a&&(!i||a>s)&&(i=o,s=a)}return i},DataSet.prototype.min=function(t){var e=this.data,i=null,s=null;for(var n in e)if(e.hasOwnProperty(n)){var o=e[n],a=o[t];null!=a&&(!i||s>a)&&(i=o,s=a)}return i},DataSet.prototype.distinct=function(t){var e=this.data,i=[],s=this.options.convert[t],n=0;for(var o in e)if(e.hasOwnProperty(o)){for(var a=e[o],r=util.convert(a[t],s),h=!1,d=0;n>d;d++)if(i[d]==r){h=!0;break}h||void 0===r||(i[n]=r,n++)}return i},DataSet.prototype._addItem=function(t){var e=t[this.fieldId];if(void 0!=e){if(this.data[e])throw new Error("Cannot add item: item with id "+e+" already exists")}else e=util.randomUUID(),t[this.fieldId]=e,this.internalIds[e]=t;var i={};for(var s in t)if(t.hasOwnProperty(s)){var n=this.convert[s];i[s]=util.convert(t[s],n)}return this.data[e]=i,e},DataSet.prototype._getItem=function(t,e){var i,s,n=this.data[t];if(!n)return null;var o={},a=this.fieldId,r=this.internalIds;if(e)for(i in n)n.hasOwnProperty(i)&&(s=n[i],i==a&&s in r&&!this.showInternalIds||(o[i]=util.convert(s,e[i])));else for(i in n)n.hasOwnProperty(i)&&(s=n[i],i==a&&s in r&&!this.showInternalIds||(o[i]=s));return o},DataSet.prototype._updateItem=function(t){var e=t[this.fieldId];if(void 0==e)throw new Error("Cannot update item: item has no id (item: "+JSON.stringify(t)+")");var i=this.data[e];if(!i)throw new Error("Cannot update item: no item with id "+e+" found");for(var s in t)if(t.hasOwnProperty(s)){var n=this.convert[s];i[s]=util.convert(t[s],n)}return e},DataSet.prototype.isInternalId=function(t){return t in this.internalIds},DataSet.prototype._getColumnNames=function(t){for(var e=[],i=0,s=t.getNumberOfColumns();s>i;i++)e[i]=t.getColumnId(i)||t.getColumnLabel(i);return e},DataSet.prototype._appendRow=function(t,e,i){for(var s=t.addRow(),n=0,o=e.length;o>n;n++){var a=e[n];t.setValue(s,n,i[a])}},DataView.prototype.setData=function(t){var e,i,s;if(this.data){this.data.unsubscribe&&this.data.unsubscribe("*",this.listener),e=[];for(var n in this.ids)this.ids.hasOwnProperty(n)&&e.push(n);this.ids={},this._trigger("remove",{items:e})}if(this.data=t,this.data){for(this.fieldId=this.options.fieldId||this.data&&this.data.options&&this.data.options.fieldId||"id",e=this.data.getIds({filter:this.options&&this.options.filter}),i=0,s=e.length;s>i;i++)n=e[i],this.ids[n]=!0;this._trigger("add",{items:e}),this.data.on&&this.data.on("*",this.listener)}},DataView.prototype.get=function(){var t,e,i,s=this,n=util.getType(arguments[0]);"String"==n||"Number"==n||"Array"==n?(t=arguments[0],e=arguments[1],i=arguments[2]):(e=arguments[0],i=arguments[1]);var o=util.extend({},this.options,e);this.options.filter&&e&&e.filter&&(o.filter=function(t){return s.options.filter(t)&&e.filter(t)});var a=[];return void 0!=t&&a.push(t),a.push(o),a.push(i),this.data&&this.data.get.apply(this.data,a)},DataView.prototype.getIds=function(t){var e;if(this.data){var i,s=this.options.filter;i=t&&t.filter?s?function(e){return s(e)&&t.filter(e)}:t.filter:s,e=this.data.getIds({filter:i,order:t&&t.order})}else e=[];return e},DataView.prototype._onEvent=function(t,e,i){var s,n,o,a,r=e&&e.items,h=this.data,d=[],c=[],l=[];if(r&&h){switch(t){case"add":for(s=0,n=r.length;n>s;s++)o=r[s],a=this.get(o),a&&(this.ids[o]=!0,d.push(o));break;case"update":for(s=0,n=r.length;n>s;s++)o=r[s],a=this.get(o),a?this.ids[o]?c.push(o):(this.ids[o]=!0,d.push(o)):this.ids[o]&&(delete this.ids[o],l.push(o));break;case"remove":for(s=0,n=r.length;n>s;s++)o=r[s],this.ids[o]&&(delete this.ids[o],l.push(o))}d.length&&this._trigger("add",{items:d},i),c.length&&this._trigger("update",{items:c},i),l.length&&this._trigger("remove",{items:l},i)}},DataView.prototype.on=DataSet.prototype.on,DataView.prototype.off=DataSet.prototype.off,DataView.prototype._trigger=DataSet.prototype._trigger,DataView.prototype.subscribe=DataView.prototype.on,DataView.prototype.unsubscribe=DataView.prototype.off;var stack={};stack.orderByStart=function(t){t.sort(function(t,e){return t.data.start-e.data.start})},stack.orderByEnd=function(t){t.sort(function(t,e){var i="end"in t.data?t.data.end:t.data.start,s="end"in e.data?e.data.end:e.data.start;return i-s})},stack.stack=function(t,e,i){var s,n;if(i)for(s=0,n=t.length;n>s;s++)t[s].top=null;for(s=0,n=t.length;n>s;s++){var o=t[s];if(null===o.top){o.top=e.axis;do{for(var a=null,r=0,h=t.length;h>r;r++){var d=t[r];if(null!==d.top&&d!==o&&stack.collision(o,d,e.item)){a=d;break}}null!=a&&(o.top=a.top+a.height+e.item)}while(a)}}},stack.nostack=function(t,e){var i,s;for(i=0,s=t.length;s>i;i++)t[i].top=e.axis},stack.collision=function(t,e,i){return t.left-i<e.left+e.width&&t.left+t.width+i>e.left&&t.top-i<e.top+e.height&&t.top+t.height+i>e.top},TimeStep.SCALE={MILLISECOND:1,SECOND:2,MINUTE:3,HOUR:4,DAY:5,WEEKDAY:6,MONTH:7,YEAR:8},TimeStep.prototype.setRange=function(t,e,i){if(!(t instanceof Date&&e instanceof Date))throw"No legal start or end date in method setRange";this._start=void 0!=t?new Date(t.valueOf()):new Date,this._end=void 0!=e?new Date(e.valueOf()):new Date,this.autoScale&&this.setMinimumStep(i)},TimeStep.prototype.first=function(){this.current=new Date(this._start.valueOf()),this.roundToMinor()},TimeStep.prototype.roundToMinor=function(){switch(this.scale){case TimeStep.SCALE.YEAR:this.current.setFullYear(this.step*Math.floor(this.current.getFullYear()/this.step)),this.current.setMonth(0);case TimeStep.SCALE.MONTH:this.current.setDate(1);case TimeStep.SCALE.DAY:case TimeStep.SCALE.WEEKDAY:this.current.setHours(0);case TimeStep.SCALE.HOUR:this.current.setMinutes(0);case TimeStep.SCALE.MINUTE:this.current.setSeconds(0);case TimeStep.SCALE.SECOND:this.current.setMilliseconds(0)}if(1!=this.step)switch(this.scale){case TimeStep.SCALE.MILLISECOND:this.current.setMilliseconds(this.current.getMilliseconds()-this.current.getMilliseconds()%this.step);break;case TimeStep.SCALE.SECOND:this.current.setSeconds(this.current.getSeconds()-this.current.getSeconds()%this.step);break;case TimeStep.SCALE.MINUTE:this.current.setMinutes(this.current.getMinutes()-this.current.getMinutes()%this.step);break;case TimeStep.SCALE.HOUR:this.current.setHours(this.current.getHours()-this.current.getHours()%this.step);break;case TimeStep.SCALE.WEEKDAY:case TimeStep.SCALE.DAY:this.current.setDate(this.current.getDate()-1-(this.current.getDate()-1)%this.step+1);break;case TimeStep.SCALE.MONTH:this.current.setMonth(this.current.getMonth()-this.current.getMonth()%this.step);break;case TimeStep.SCALE.YEAR:this.current.setFullYear(this.current.getFullYear()-this.current.getFullYear()%this.step)}},TimeStep.prototype.hasNext=function(){return this.current.valueOf()<=this._end.valueOf()},TimeStep.prototype.next=function(){var t=this.current.valueOf();if(this.current.getMonth()<6)switch(this.scale){case TimeStep.SCALE.MILLISECOND:this.current=new Date(this.current.valueOf()+this.step);break;case TimeStep.SCALE.SECOND:this.current=new Date(this.current.valueOf()+1e3*this.step);break;case TimeStep.SCALE.MINUTE:this.current=new Date(this.current.valueOf()+1e3*this.step*60);break;case TimeStep.SCALE.HOUR:this.current=new Date(this.current.valueOf()+1e3*this.step*60*60);var e=this.current.getHours();this.current.setHours(e-e%this.step);break;case TimeStep.SCALE.WEEKDAY:case TimeStep.SCALE.DAY:this.current.setDate(this.current.getDate()+this.step);break;case TimeStep.SCALE.MONTH:this.current.setMonth(this.current.getMonth()+this.step);break;case TimeStep.SCALE.YEAR:this.current.setFullYear(this.current.getFullYear()+this.step)}else switch(this.scale){case TimeStep.SCALE.MILLISECOND:this.current=new Date(this.current.valueOf()+this.step);break;case TimeStep.SCALE.SECOND:this.current.setSeconds(this.current.getSeconds()+this.step);break;case TimeStep.SCALE.MINUTE:this.current.setMinutes(this.current.getMinutes()+this.step);break;case TimeStep.SCALE.HOUR:this.current.setHours(this.current.getHours()+this.step);break;case TimeStep.SCALE.WEEKDAY:case TimeStep.SCALE.DAY:this.current.setDate(this.current.getDate()+this.step);break;case TimeStep.SCALE.MONTH:this.current.setMonth(this.current.getMonth()+this.step);break;case TimeStep.SCALE.YEAR:this.current.setFullYear(this.current.getFullYear()+this.step)}if(1!=this.step)switch(this.scale){case TimeStep.SCALE.MILLISECOND:this.current.getMilliseconds()<this.step&&this.current.setMilliseconds(0);break;case TimeStep.SCALE.SECOND:this.current.getSeconds()<this.step&&this.current.setSeconds(0);break;case TimeStep.SCALE.MINUTE:this.current.getMinutes()<this.step&&this.current.setMinutes(0);break;case TimeStep.SCALE.HOUR:this.current.getHours()<this.step&&this.current.setHours(0);break;case TimeStep.SCALE.WEEKDAY:case TimeStep.SCALE.DAY:this.current.getDate()<this.step+1&&this.current.setDate(1);break;case TimeStep.SCALE.MONTH:this.current.getMonth()<this.step&&this.current.setMonth(0);break;case TimeStep.SCALE.YEAR:}this.current.valueOf()==t&&(this.current=new Date(this._end.valueOf()))},TimeStep.prototype.getCurrent=function(){return this.current},TimeStep.prototype.setScale=function(t,e){this.scale=t,e>0&&(this.step=e),this.autoScale=!1},TimeStep.prototype.setAutoScale=function(t){this.autoScale=t},TimeStep.prototype.setMinimumStep=function(t){if(void 0!=t){var e=31104e6,i=2592e6,s=864e5,n=36e5,o=6e4,a=1e3,r=1;1e3*e>t&&(this.scale=TimeStep.SCALE.YEAR,this.step=1e3),500*e>t&&(this.scale=TimeStep.SCALE.YEAR,this.step=500),100*e>t&&(this.scale=TimeStep.SCALE.YEAR,this.step=100),50*e>t&&(this.scale=TimeStep.SCALE.YEAR,this.step=50),10*e>t&&(this.scale=TimeStep.SCALE.YEAR,this.step=10),5*e>t&&(this.scale=TimeStep.SCALE.YEAR,this.step=5),e>t&&(this.scale=TimeStep.SCALE.YEAR,this.step=1),3*i>t&&(this.scale=TimeStep.SCALE.MONTH,this.step=3),i>t&&(this.scale=TimeStep.SCALE.MONTH,this.step=1),5*s>t&&(this.scale=TimeStep.SCALE.DAY,this.step=5),2*s>t&&(this.scale=TimeStep.SCALE.DAY,this.step=2),s>t&&(this.scale=TimeStep.SCALE.DAY,this.step=1),s/2>t&&(this.scale=TimeStep.SCALE.WEEKDAY,this.step=1),4*n>t&&(this.scale=TimeStep.SCALE.HOUR,this.step=4),n>t&&(this.scale=TimeStep.SCALE.HOUR,this.step=1),15*o>t&&(this.scale=TimeStep.SCALE.MINUTE,this.step=15),10*o>t&&(this.scale=TimeStep.SCALE.MINUTE,this.step=10),5*o>t&&(this.scale=TimeStep.SCALE.MINUTE,this.step=5),o>t&&(this.scale=TimeStep.SCALE.MINUTE,this.step=1),15*a>t&&(this.scale=TimeStep.SCALE.SECOND,this.step=15),10*a>t&&(this.scale=TimeStep.SCALE.SECOND,this.step=10),5*a>t&&(this.scale=TimeStep.SCALE.SECOND,this.step=5),a>t&&(this.scale=TimeStep.SCALE.SECOND,this.step=1),200*r>t&&(this.scale=TimeStep.SCALE.MILLISECOND,this.step=200),100*r>t&&(this.scale=TimeStep.SCALE.MILLISECOND,this.step=100),50*r>t&&(this.scale=TimeStep.SCALE.MILLISECOND,this.step=50),10*r>t&&(this.scale=TimeStep.SCALE.MILLISECOND,this.step=10),5*r>t&&(this.scale=TimeStep.SCALE.MILLISECOND,this.step=5),r>t&&(this.scale=TimeStep.SCALE.MILLISECOND,this.step=1)}},TimeStep.prototype.snap=function(t){var e=new Date(t.valueOf());if(this.scale==TimeStep.SCALE.YEAR){var i=e.getFullYear()+Math.round(e.getMonth()/12);e.setFullYear(Math.round(i/this.step)*this.step),e.setMonth(0),e.setDate(0),e.setHours(0),e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0)}else if(this.scale==TimeStep.SCALE.MONTH)e.getDate()>15?(e.setDate(1),e.setMonth(e.getMonth()+1)):e.setDate(1),e.setHours(0),e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0);else if(this.scale==TimeStep.SCALE.DAY||this.scale==TimeStep.SCALE.WEEKDAY){switch(this.step){case 5:case 2:e.setHours(24*Math.round(e.getHours()/24));break;default:e.setHours(12*Math.round(e.getHours()/12))}e.setMinutes(0),e.setSeconds(0),e.setMilliseconds(0)}else if(this.scale==TimeStep.SCALE.HOUR){switch(this.step){case 4:e.setMinutes(60*Math.round(e.getMinutes()/60));break;default:e.setMinutes(30*Math.round(e.getMinutes()/30))}e.setSeconds(0),e.setMilliseconds(0)}else if(this.scale==TimeStep.SCALE.MINUTE){switch(this.step){case 15:case 10:e.setMinutes(5*Math.round(e.getMinutes()/5)),e.setSeconds(0);break;case 5:e.setSeconds(60*Math.round(e.getSeconds()/60));break;default:e.setSeconds(30*Math.round(e.getSeconds()/30))}e.setMilliseconds(0)}else if(this.scale==TimeStep.SCALE.SECOND)switch(this.step){case 15:case 10:e.setSeconds(5*Math.round(e.getSeconds()/5)),e.setMilliseconds(0);break;case 5:e.setMilliseconds(1e3*Math.round(e.getMilliseconds()/1e3));break;default:e.setMilliseconds(500*Math.round(e.getMilliseconds()/500))}else if(this.scale==TimeStep.SCALE.MILLISECOND){var s=this.step>5?this.step/2:1;e.setMilliseconds(Math.round(e.getMilliseconds()/s)*s)}return e},TimeStep.prototype.isMajor=function(){switch(this.scale){case TimeStep.SCALE.MILLISECOND:return 0==this.current.getMilliseconds();case TimeStep.SCALE.SECOND:return 0==this.current.getSeconds();case TimeStep.SCALE.MINUTE:return 0==this.current.getHours()&&0==this.current.getMinutes();case TimeStep.SCALE.HOUR:return 0==this.current.getHours();case TimeStep.SCALE.WEEKDAY:case TimeStep.SCALE.DAY:return 1==this.current.getDate();case TimeStep.SCALE.MONTH:return 0==this.current.getMonth();case TimeStep.SCALE.YEAR:return!1;default:return!1}},TimeStep.prototype.getLabelMinor=function(t){switch(void 0==t&&(t=this.current),this.scale){case TimeStep.SCALE.MILLISECOND:return moment(t).format("SSS");case TimeStep.SCALE.SECOND:return moment(t).format("s");case TimeStep.SCALE.MINUTE:return moment(t).format("HH:mm");case TimeStep.SCALE.HOUR:return moment(t).format("HH:mm");case TimeStep.SCALE.WEEKDAY:return moment(t).format("ddd D");case TimeStep.SCALE.DAY:return moment(t).format("D");case TimeStep.SCALE.MONTH:return moment(t).format("MMM");case TimeStep.SCALE.YEAR:return moment(t).format("YYYY");default:return""}},TimeStep.prototype.getLabelMajor=function(t){switch(void 0==t&&(t=this.current),this.scale){case TimeStep.SCALE.MILLISECOND:return moment(t).format("HH:mm:ss");case TimeStep.SCALE.SECOND:return moment(t).format("D MMMM HH:mm");case TimeStep.SCALE.MINUTE:case TimeStep.SCALE.HOUR:return moment(t).format("ddd D MMMM");case TimeStep.SCALE.WEEKDAY:case TimeStep.SCALE.DAY:return moment(t).format("MMMM YYYY");case TimeStep.SCALE.MONTH:return moment(t).format("YYYY");case TimeStep.SCALE.YEAR:return"";default:return""}},Emitter(Range.prototype),Range.prototype.setOptions=function(t){util.extend(this.options,t),null!==this.start&&null!==this.end&&this.setRange(this.start,this.end)},Range.prototype.setRange=function(t,e){var i=this._applyRange(t,e);if(i){var s={start:new Date(this.start),end:new Date(this.end)};this.emit("rangechange",s),this.emit("rangechanged",s)}},Range.prototype._applyRange=function(t,e){var i,s=null!=t?util.convert(t,"Date").valueOf():this.start,n=null!=e?util.convert(e,"Date").valueOf():this.end,o=null!=this.options.max?util.convert(this.options.max,"Date").valueOf():null,a=null!=this.options.min?util.convert(this.options.min,"Date").valueOf():null;if(isNaN(s)||null===s)throw new Error('Invalid start "'+t+'"');if(isNaN(n)||null===n)throw new Error('Invalid end "'+e+'"');if(s>n&&(n=s),null!==a&&a>s&&(i=a-s,s+=i,n+=i,null!=o&&n>o&&(n=o)),null!==o&&n>o&&(i=n-o,s-=i,n-=i,null!=a&&a>s&&(s=a)),null!==this.options.zoomMin){var r=parseFloat(this.options.zoomMin);0>r&&(r=0),r>n-s&&(this.end-this.start===r?(s=this.start,n=this.end):(i=r-(n-s),s-=i/2,n+=i/2))}if(null!==this.options.zoomMax){var h=parseFloat(this.options.zoomMax);0>h&&(h=0),n-s>h&&(this.end-this.start===h?(s=this.start,n=this.end):(i=n-s-h,s+=i/2,n-=i/2))}var d=this.start!=s||this.end!=n;return this.start=s,this.end=n,d},Range.prototype.getRange=function(){return{start:this.start,end:this.end}},Range.prototype.conversion=function(t){return Range.conversion(this.start,this.end,t)},Range.conversion=function(t,e,i){return 0!=i&&e-t!=0?{offset:t,scale:i/(e-t)}:{offset:0,scale:1}};var touchParams={};Range.prototype._onDragStart=function(){if(!touchParams.ignore){touchParams.start=this.start,touchParams.end=this.end;var t=this.parent.frame;t&&(t.style.cursor="move")}},Range.prototype._onDrag=function(t){var e=this.options.direction;if(validateDirection(e),!touchParams.ignore){var i="horizontal"==e?t.gesture.deltaX:t.gesture.deltaY,s=touchParams.end-touchParams.start,n="horizontal"==e?this.parent.width:this.parent.height,o=-i/n*s;this._applyRange(touchParams.start+o,touchParams.end+o),this.emit("rangechange",{start:new Date(this.start),end:new Date(this.end)})}},Range.prototype._onDragEnd=function(){touchParams.ignore||(this.parent.frame&&(this.parent.frame.style.cursor="auto"),this.emit("rangechanged",{start:new Date(this.start),end:new Date(this.end)}))},Range.prototype._onMouseWheel=function(t){var e=0;if(t.wheelDelta?e=t.wheelDelta/120:t.detail&&(e=-t.detail/3),e){var i;i=0>e?1-e/5:1/(1+e/5);var s=util.fakeGesture(this,t),n=getPointer(s.center,this.parent.frame),o=this._pointerToDate(n);this.zoom(i,o)}t.preventDefault()},Range.prototype._onTouch=function(t){touchParams.start=this.start,touchParams.end=this.end,touchParams.ignore=!1,touchParams.center=null;var e=ItemSet.itemFromTarget(t);e&&e.selected&&this.options.editable&&(touchParams.ignore=!0)},Range.prototype._onHold=function(){touchParams.ignore=!0},Range.prototype._onPinch=function(t){this.options.direction;if(touchParams.ignore=!0,t.gesture.touches.length>1){touchParams.center||(touchParams.center=getPointer(t.gesture.center,this.parent.frame));var e=1/t.gesture.scale,i=this._pointerToDate(touchParams.center),s=getPointer(t.gesture.center,this.parent.frame),n=(this._pointerToDate(this.parent,s),parseInt(i+(touchParams.start-i)*e)),o=parseInt(i+(touchParams.end-i)*e);this.setRange(n,o)}},Range.prototype._pointerToDate=function(t){var e,i=this.options.direction;if(validateDirection(i),"horizontal"==i){var s=this.parent.width;return e=this.conversion(s),t.x/e.scale+e.offset}var n=this.parent.height;return e=this.conversion(n),t.y/e.scale+e.offset},Range.prototype.zoom=function(t,e){null==e&&(e=(this.start+this.end)/2);var i=e+(this.start-e)*t,s=e+(this.end-e)*t;this.setRange(i,s)},Range.prototype.move=function(t){var e=this.end-this.start,i=this.start+e*t,s=this.end+e*t;this.start=i,this.end=s},Range.prototype.moveTo=function(t){var e=(this.start+this.end)/2,i=e-t,s=this.start-i,n=this.end-i;this.setRange(s,n)},Emitter(Component.prototype),Component.prototype.setOptions=function(t){t&&(util.extend(this.options,t),this.repaint())},Component.prototype.getOption=function(t){var e;return this.options&&(e=this.options[t]),void 0===e&&this.defaultOptions&&(e=this.defaultOptions[t]),e},Component.prototype.getFrame=function(){return null},Component.prototype.repaint=function(){return!1},Component.prototype._isResized=function(){var t=this._previousWidth!==this.width||this._previousHeight!==this.height;return this._previousWidth=this.width,this._previousHeight=this.height,t},Panel.prototype=new Component,Panel.prototype.setOptions=Component.prototype.setOptions,Panel.prototype.getFrame=function(){return this.frame},Panel.prototype.appendChild=function(t){this.childs.push(t),t.parent=this;var e=t.getFrame();e&&(e.parentNode&&e.parentNode.removeChild(e),this.frame.appendChild(e))},Panel.prototype.insertBefore=function(t,e){var i=this.childs.indexOf(e);if(-1!=i){this.childs.splice(i,0,t),t.parent=this;var s=t.getFrame();if(s){s.parentNode&&s.parentNode.removeChild(s);var n=e.getFrame();n?this.frame.insertBefore(s,n):this.frame.appendChild(s)}}},Panel.prototype.removeChild=function(t){var e=this.childs.indexOf(t);if(-1!=e){this.childs.splice(e,1),t.parent=null;var i=t.getFrame();i&&i.parentNode&&this.frame.removeChild(i)}},Panel.prototype.hasChild=function(t){var e=this.childs.indexOf(t);return-1!=e},Panel.prototype.repaint=function(){var t=util.option.asString,e=this.options,i=this.getFrame();i.className="vpanel"+(e.className?" "+t(e.className):"");var s=this._repaintChilds();return this._updateSize(),this._isResized()||s},Panel.prototype._repaintChilds=function(){for(var t=!1,e=0,i=this.childs.length;i>e;e++)t=this.childs[e].repaint()||t;return t},Panel.prototype._updateSize=function(){this.frame.style.top=util.option.asSize(this.options.top),this.frame.style.bottom=util.option.asSize(this.options.bottom),this.frame.style.left=util.option.asSize(this.options.left),this.frame.style.right=util.option.asSize(this.options.right),this.frame.style.width=util.option.asSize(this.options.width,"100%"),this.frame.style.height=util.option.asSize(this.options.height,""),this.top=this.frame.offsetTop,this.left=this.frame.offsetLeft,this.width=this.frame.offsetWidth,this.height=this.frame.offsetHeight},RootPanel.prototype=new Panel,RootPanel.prototype._create=function(){this.frame=document.createElement("div"),this.hammer=Hammer(this.frame,{prevent_default:!0}),this.listeners={};var t=this,e=["touch","pinch","tap","doubletap","hold","dragstart","drag","dragend","mousewheel","DOMMouseScroll"];e.forEach(function(e){var i=function(){var i=[e].concat(Array.prototype.slice.call(arguments,0));t.emit.apply(t,i)};t.hammer.on(e,i),t.listeners[e]=i})},RootPanel.prototype.setOptions=function(t){t&&(util.extend(this.options,t),this.repaint(),this._initWatch())},RootPanel.prototype.getFrame=function(){return this.frame},RootPanel.prototype.repaint=function(){var t=this.options,e=t.editable.updateTime||t.editable.updateGroup,i="vis timeline rootpanel "+t.orientation+(e?" editable":"");t.className&&(i+=" "+util.option.asString(i)),this.frame.className=i;var s=this._repaintChilds();this.frame.style.maxHeight=util.option.asSize(this.options.maxHeight,""),this._updateSize();var n=this._isResized()||s;n&&setTimeout(this.repaint.bind(this),0)},RootPanel.prototype._initWatch=function(){var t=this.getOption("autoResize");t?this._watch():this._unwatch()},RootPanel.prototype._watch=function(){var t=this;this._unwatch();var e=function(){var e=t.getOption("autoResize");return e?void(t.frame&&(t.frame.clientWidth!=t.lastWidth||t.frame.clientHeight!=t.lastHeight)&&(t.lastWidth=t.frame.clientWidth,t.lastHeight=t.frame.clientHeight,t.repaint())):void t._unwatch()};util.addEventListener(window,"resize",e),this.watchTimer=setInterval(e,1e3)},RootPanel.prototype._unwatch=function(){this.watchTimer&&(clearInterval(this.watchTimer),this.watchTimer=void 0)},TimeAxis.prototype=new Component,TimeAxis.prototype.setOptions=Component.prototype.setOptions,TimeAxis.prototype._create=function(){this.frame=document.createElement("div")},TimeAxis.prototype.setRange=function(t){if(!(t instanceof Range||t&&t.start&&t.end))throw new TypeError("Range must be an instance of Range, or an object containing start and end.");this.range=t},TimeAxis.prototype.getFrame=function(){return this.frame},TimeAxis.prototype.repaint=function(){var t=util.option.asSize,e=this.options,i=this.props,s=this.frame;s.className="timeaxis";var n=s.parentNode;if(n){this._calculateCharSize();var o=this.getOption("orientation"),a=this.getOption("showMinorLabels"),r=this.getOption("showMajorLabels"),h=this.parent.height;i.minorLabelHeight=a?i.minorCharHeight:0,i.majorLabelHeight=r?i.majorCharHeight:0,this.height=i.minorLabelHeight+i.majorLabelHeight,this.width=s.offsetWidth,i.minorLineHeight=h+i.minorLabelHeight,i.minorLineWidth=1,i.majorLineHeight=h+this.height,i.majorLineWidth=1;var d=s.nextSibling;n.removeChild(s),"top"==o?(s.style.top="0",s.style.left="0",s.style.bottom="",s.style.width=t(e.width,"100%"),s.style.height=this.height+"px"):(s.style.top="",s.style.bottom="0",s.style.left="0",s.style.width=t(e.width,"100%"),s.style.height=this.height+"px"),this._repaintLabels(),this._repaintLine(),d?n.insertBefore(s,d):n.appendChild(s)}return this._isResized()},TimeAxis.prototype._repaintLabels=function(){var t=this.getOption("orientation"),e=util.convert(this.range.start,"Number"),i=util.convert(this.range.end,"Number"),s=this.options.toTime(7*(this.props.minorCharWidth||10)).valueOf()-this.options.toTime(0).valueOf(),n=new TimeStep(new Date(e),new Date(i),s); this.step=n;var o=this.dom;o.redundant.majorLines=o.majorLines,o.redundant.majorTexts=o.majorTexts,o.redundant.minorLines=o.minorLines,o.redundant.minorTexts=o.minorTexts,o.majorLines=[],o.majorTexts=[],o.minorLines=[],o.minorTexts=[],n.first();for(var a=void 0,r=0;n.hasNext()&&1e3>r;){r++;var h=n.getCurrent(),d=this.options.toScreen(h),c=n.isMajor();this.getOption("showMinorLabels")&&this._repaintMinorText(d,n.getLabelMinor(),t),c&&this.getOption("showMajorLabels")?(d>0&&(void 0==a&&(a=d),this._repaintMajorText(d,n.getLabelMajor(),t)),this._repaintMajorLine(d,t)):this._repaintMinorLine(d,t),n.next()}if(this.getOption("showMajorLabels")){var l=this.options.toTime(0),u=n.getLabelMajor(l),p=u.length*(this.props.majorCharWidth||10)+10;(void 0==a||a>p)&&this._repaintMajorText(0,u,t)}util.forEach(this.dom.redundant,function(t){for(;t.length;){var e=t.pop();e&&e.parentNode&&e.parentNode.removeChild(e)}})},TimeAxis.prototype._repaintMinorText=function(t,e,i){var s=this.dom.redundant.minorTexts.shift();if(!s){var n=document.createTextNode("");s=document.createElement("div"),s.appendChild(n),s.className="text minor",this.frame.appendChild(s)}this.dom.minorTexts.push(s),s.childNodes[0].nodeValue=e,"top"==i?(s.style.top=this.props.majorLabelHeight+"px",s.style.bottom=""):(s.style.top="",s.style.bottom=this.props.majorLabelHeight+"px"),s.style.left=t+"px"},TimeAxis.prototype._repaintMajorText=function(t,e,i){var s=this.dom.redundant.majorTexts.shift();if(!s){var n=document.createTextNode(e);s=document.createElement("div"),s.className="text major",s.appendChild(n),this.frame.appendChild(s)}this.dom.majorTexts.push(s),s.childNodes[0].nodeValue=e,"top"==i?(s.style.top="0px",s.style.bottom=""):(s.style.top="",s.style.bottom="0px"),s.style.left=t+"px"},TimeAxis.prototype._repaintMinorLine=function(t,e){var i=this.dom.redundant.minorLines.shift();i||(i=document.createElement("div"),i.className="grid vertical minor",this.frame.appendChild(i)),this.dom.minorLines.push(i);var s=this.props;"top"==e?(i.style.top=this.props.majorLabelHeight+"px",i.style.bottom=""):(i.style.top="",i.style.bottom=this.props.majorLabelHeight+"px"),i.style.height=s.minorLineHeight+"px",i.style.left=t-s.minorLineWidth/2+"px"},TimeAxis.prototype._repaintMajorLine=function(t,e){var i=this.dom.redundant.majorLines.shift();i||(i=document.createElement("DIV"),i.className="grid vertical major",this.frame.appendChild(i)),this.dom.majorLines.push(i);var s=this.props;"top"==e?(i.style.top="0px",i.style.bottom=""):(i.style.top="",i.style.bottom="0px"),i.style.left=t-s.majorLineWidth/2+"px",i.style.height=s.majorLineHeight+"px"},TimeAxis.prototype._repaintLine=function(){var t=this.dom.line,e=this.frame,i=this.getOption("orientation");this.getOption("showMinorLabels")||this.getOption("showMajorLabels")?(t?(e.removeChild(t),e.appendChild(t)):(t=document.createElement("div"),t.className="grid horizontal major",e.appendChild(t),this.dom.line=t),"top"==i?(t.style.top=this.height+"px",t.style.bottom=""):(t.style.top="",t.style.bottom=this.height+"px")):t&&t.parentNode&&(t.parentNode.removeChild(t),delete this.dom.line)},TimeAxis.prototype._calculateCharSize=function(){if(!("minorCharHeight"in this.props)){var t=document.createTextNode("0"),e=document.createElement("DIV");e.className="text minor measure",e.appendChild(t),this.frame.appendChild(e),this.props.minorCharHeight=e.clientHeight,this.props.minorCharWidth=e.clientWidth,this.frame.removeChild(e)}if(!("majorCharHeight"in this.props)){var i=document.createTextNode("0"),s=document.createElement("DIV");s.className="text major measure",s.appendChild(i),this.frame.appendChild(s),this.props.majorCharHeight=s.clientHeight,this.props.majorCharWidth=s.clientWidth,this.frame.removeChild(s)}},TimeAxis.prototype.snap=function(t){return this.step.snap(t)},CurrentTime.prototype=new Component,CurrentTime.prototype.setOptions=Component.prototype.setOptions,CurrentTime.prototype._create=function(){var t=document.createElement("div");t.className="currenttime",t.style.position="absolute",t.style.top="0px",t.style.height="100%",this.bar=t},CurrentTime.prototype.getFrame=function(){return this.bar},CurrentTime.prototype.repaint=function(){var t=(this.parent,new Date),e=this.options.toScreen(t);return this.bar.style.left=e+"px",this.bar.title="Current time: "+t,!1},CurrentTime.prototype.start=function(){function t(){e.stop();var i=e.range.conversion(e.parent.width).scale,s=1/i/10;30>s&&(s=30),s>1e3&&(s=1e3),e.repaint(),e.currentTimeTimer=setTimeout(t,s)}var e=this;t()},CurrentTime.prototype.stop=function(){void 0!==this.currentTimeTimer&&(clearTimeout(this.currentTimeTimer),delete this.currentTimeTimer)},CustomTime.prototype=new Component,CustomTime.prototype.setOptions=Component.prototype.setOptions,CustomTime.prototype._create=function(){var t=document.createElement("div");t.className="customtime",t.style.position="absolute",t.style.top="0px",t.style.height="100%",this.bar=t;var e=document.createElement("div");e.style.position="relative",e.style.top="0px",e.style.left="-10px",e.style.height="100%",e.style.width="20px",t.appendChild(e),this.hammer=Hammer(t,{prevent_default:!0}),this.hammer.on("dragstart",this._onDragStart.bind(this)),this.hammer.on("drag",this._onDrag.bind(this)),this.hammer.on("dragend",this._onDragEnd.bind(this))},CustomTime.prototype.getFrame=function(){return this.bar},CustomTime.prototype.repaint=function(){var t=this.options.toScreen(this.customTime);return this.bar.style.left=t+"px",this.bar.title="Time: "+this.customTime,!1},CustomTime.prototype.setCustomTime=function(t){this.customTime=new Date(t.valueOf()),this.repaint()},CustomTime.prototype.getCustomTime=function(){return new Date(this.customTime.valueOf())},CustomTime.prototype._onDragStart=function(t){this.eventParams.dragging=!0,this.eventParams.customTime=this.customTime,t.stopPropagation(),t.preventDefault()},CustomTime.prototype._onDrag=function(t){if(this.eventParams.dragging){var e=t.gesture.deltaX,i=this.options.toScreen(this.eventParams.customTime)+e,s=this.options.toTime(i);this.setCustomTime(s),this.emit("timechange",{time:new Date(this.customTime.valueOf())}),t.stopPropagation(),t.preventDefault()}},CustomTime.prototype._onDragEnd=function(t){this.eventParams.dragging&&(this.emit("timechanged",{time:new Date(this.customTime.valueOf())}),t.stopPropagation(),t.preventDefault())};var UNGROUPED="__ungrouped__";ItemSet.prototype=new Panel,ItemSet.types={box:ItemBox,range:ItemRange,rangeoverflow:ItemRangeOverflow,point:ItemPoint},ItemSet.prototype._create=function(){var t=document.createElement("div");t["timeline-itemset"]=this,this.frame=t;var e=document.createElement("div");e.className="background",this.backgroundPanel.frame.appendChild(e),this.dom.background=e;var i=document.createElement("div");i.className="foreground",t.appendChild(i),this.dom.foreground=i;var s=document.createElement("div");s.className="axis",this.dom.axis=s,this.axisPanel.frame.appendChild(s);var n=document.createElement("div");n.className="labelset",this.dom.labelSet=n,this.sidePanel.frame.appendChild(n),this._updateUngrouped(),this.hammer=Hammer(t,{prevent_default:!0}),this.hammer.on("dragstart",this._onDragStart.bind(this)),this.hammer.on("drag",this._onDrag.bind(this)),this.hammer.on("dragend",this._onDragEnd.bind(this))},ItemSet.prototype.setOptions=function(t){Component.prototype.setOptions.call(this,t)},ItemSet.prototype.markDirty=function(){this.groupIds=[],this.stackDirty=!0},ItemSet.prototype.hide=function(){this.dom.axis.parentNode&&this.dom.axis.parentNode.removeChild(this.dom.axis),this.dom.background.parentNode&&this.dom.background.parentNode.removeChild(this.dom.background),this.dom.labelSet.parentNode&&this.dom.labelSet.parentNode.removeChild(this.dom.labelSet)},ItemSet.prototype.show=function(){this.dom.axis.parentNode||this.axisPanel.frame.appendChild(this.dom.axis),this.dom.background.parentNode||this.backgroundPanel.frame.appendChild(this.dom.background),this.dom.labelSet.parentNode||this.sidePanel.frame.appendChild(this.dom.labelSet)},ItemSet.prototype.setRange=function(t){if(!(t instanceof Range||t&&t.start&&t.end))throw new TypeError("Range must be an instance of Range, or an object containing start and end.");this.range=t},ItemSet.prototype.setSelection=function(t){var e,i,s,n;if(t){if(!Array.isArray(t))throw new TypeError("Array expected");for(e=0,i=this.selection.length;i>e;e++)s=this.selection[e],n=this.items[s],n&&n.unselect();for(this.selection=[],e=0,i=t.length;i>e;e++)s=t[e],n=this.items[s],n&&(this.selection.push(s),n.select())}},ItemSet.prototype.getSelection=function(){return this.selection.concat([])},ItemSet.prototype._deselect=function(t){for(var e=this.selection,i=0,s=e.length;s>i;i++)if(e[i]==t){e.splice(i,1);break}},ItemSet.prototype.getFrame=function(){return this.frame},ItemSet.prototype.repaint=function(){var t=this.options.margin,e=this.range,i=util.option.asSize,s=util.option.asString,n=this.options,o=this.getOption("orientation"),a=!1,r=this.frame;"number"==typeof t&&(t={item:t,axis:t}),r.className="itemset"+(n.className?" "+s(n.className):""),a=this._orderGroups()||a;var h=this.range.end-this.range.start,d=h!=this.lastVisibleInterval||this.width!=this.lastWidth;d&&(this.stackDirty=!0),this.lastVisibleInterval=h,this.lastWidth=this.width;var c=this.stackDirty,l=this._firstGroup(),u={item:t.item,axis:t.axis},p={item:t.item,axis:t.item/2},g=0,m=t.axis+t.item;return util.forEach(this.groups,function(t){var i=t==l?u:p;a=t.repaint(e,i,c)||a,g+=t.height}),g=Math.max(g,m),this.stackDirty=!1,r.style.left=i(n.left,""),r.style.right=i(n.right,""),r.style.top=i("top"==o?"0":""),r.style.bottom=i("top"==o?"":"0"),r.style.width=i(n.width,"100%"),r.style.height=i(g),this.top=r.offsetTop,this.left=r.offsetLeft,this.width=r.offsetWidth,this.height=g,this.dom.axis.style.left=i(n.left,"0"),this.dom.axis.style.right=i(n.right,""),this.dom.axis.style.width=i(n.width,"100%"),this.dom.axis.style.height=i(0),this.dom.axis.style.top=i("top"==o?"0":""),this.dom.axis.style.bottom=i("top"==o?"":"0"),a=this._isResized()||a},ItemSet.prototype._firstGroup=function(){var t="top"==this.options.orientation?0:this.groupIds.length-1,e=this.groupIds[t],i=this.groups[e]||this.groups[UNGROUPED];return i||null},ItemSet.prototype._updateUngrouped=function(){var t=this.groups[UNGROUPED];if(this.groupsData)t&&(t.hide(),delete this.groups[UNGROUPED]);else if(!t){var e=null,i=null;t=new Group(e,i,this),this.groups[UNGROUPED]=t;for(var s in this.items)this.items.hasOwnProperty(s)&&t.add(this.items[s]);t.show()}},ItemSet.prototype.getForeground=function(){return this.dom.foreground},ItemSet.prototype.getBackground=function(){return this.dom.background},ItemSet.prototype.getAxis=function(){return this.dom.axis},ItemSet.prototype.getLabelSet=function(){return this.dom.labelSet},ItemSet.prototype.setItems=function(t){var e,i=this,s=this.itemsData;if(t){if(!(t instanceof DataSet||t instanceof DataView))throw new TypeError("Data must be an instance of DataSet or DataView");this.itemsData=t}else this.itemsData=null;if(s&&(util.forEach(this.itemListeners,function(t,e){s.unsubscribe(e,t)}),e=s.getIds(),this._onRemove(e)),this.itemsData){var n=this.id;util.forEach(this.itemListeners,function(t,e){i.itemsData.on(e,t,n)}),e=this.itemsData.getIds(),this._onAdd(e),this._updateUngrouped()}},ItemSet.prototype.getItems=function(){return this.itemsData},ItemSet.prototype.setGroups=function(t){var e,i=this;if(this.groupsData&&(util.forEach(this.groupListeners,function(t,e){i.groupsData.unsubscribe(e,t)}),e=this.groupsData.getIds(),this._onRemoveGroups(e)),t){if(!(t instanceof DataSet||t instanceof DataView))throw new TypeError("Data must be an instance of DataSet or DataView");this.groupsData=t}else this.groupsData=null;if(this.groupsData){var s=this.id;util.forEach(this.groupListeners,function(t,e){i.groupsData.on(e,t,s)}),e=this.groupsData.getIds(),this._onAddGroups(e)}this._updateUngrouped(),this._order(),this.emit("change")},ItemSet.prototype.getGroups=function(){return this.groupsData},ItemSet.prototype.removeItem=function(t){var e=this.itemsData.get(t),i=this._myDataSet();e&&this.options.onRemove(e,function(e){e&&i.remove(t)})},ItemSet.prototype._onUpdate=function(t){var e=this,i=this.items,s=this.itemOptions;t.forEach(function(t){var n=e.itemsData.get(t),o=i[t],a=n.type||n.start&&n.end&&"range"||e.options.type||"box",r=ItemSet.types[a];if(o&&(r&&o instanceof r?e._updateItem(o,n):(e._removeItem(o),o=null)),!o){if(!r)throw new TypeError('Unknown item type "'+a+'"');o=new r(n,e.options,s),o.id=t,e._addItem(o)}}),this._order(),this.stackDirty=!0,this.emit("change")},ItemSet.prototype._onAdd=ItemSet.prototype._onUpdate,ItemSet.prototype._onRemove=function(t){var e=0,i=this;t.forEach(function(t){var s=i.items[t];s&&(e++,i._removeItem(s))}),e&&(this._order(),this.stackDirty=!0,this.emit("change"))},ItemSet.prototype._order=function(){util.forEach(this.groups,function(t){t.order()})},ItemSet.prototype._onUpdateGroups=function(t){this._onAddGroups(t)},ItemSet.prototype._onAddGroups=function(t){var e=this;t.forEach(function(t){var i=e.groupsData.get(t),s=e.groups[t];if(s)s.setData(i);else{if(t==UNGROUPED)throw new Error("Illegal group id. "+t+" is a reserved id.");var n=Object.create(e.options);util.extend(n,{height:null}),s=new Group(t,i,e),e.groups[t]=s;for(var o in e.items)if(e.items.hasOwnProperty(o)){var a=e.items[o];a.data.group==t&&s.add(a)}s.order(),s.show()}}),this.emit("change")},ItemSet.prototype._onRemoveGroups=function(t){var e=this.groups;t.forEach(function(t){var i=e[t];i&&(i.hide(),delete e[t])}),this.markDirty(),this.emit("change")},ItemSet.prototype._orderGroups=function(){if(this.groupsData){var t=this.groupsData.getIds({order:this.options.groupOrder}),e=!util.equalArray(t,this.groupIds);if(e){var i=this.groups;t.forEach(function(t){var e=i[t];e.hide()}),t.forEach(function(t){i[t].show()}),this.groupIds=t}return e}return!1},ItemSet.prototype._addItem=function(t){this.items[t.id]=t;var e=this.groupsData?t.data.group:UNGROUPED,i=this.groups[e];i&&i.add(t)},ItemSet.prototype._updateItem=function(t,e){var i=t.data.group;if(t.data=e,t.displayed&&t.repaint(),i!=t.data.group){var s=this.groups[i];s&&s.remove(t);var n=this.groupsData?t.data.group:UNGROUPED,o=this.groups[n];o&&o.add(t)}},ItemSet.prototype._removeItem=function(t){t.hide(),delete this.items[t.id];var e=this.selection.indexOf(t.id);-1!=e&&this.selection.splice(e,1);var i=this.groupsData?t.data.group:UNGROUPED,s=this.groups[i];s&&s.remove(t)},ItemSet.prototype._constructByEndArray=function(t){for(var e=[],i=0;i<t.length;i++)t[i]instanceof ItemRange&&e.push(t[i]);return e},ItemSet.prototype.getLabelsWidth=function(){var t=0;return util.forEach(this.groups,function(e){t=Math.max(t,e.getLabelWidth())}),t},ItemSet.prototype.getBackgroundHeight=function(){return this.height},ItemSet.prototype._onDragStart=function(t){if(this.options.editable.updateTime||this.options.editable.updateGroup){var e,i=ItemSet.itemFromTarget(t),s=this;if(i&&i.selected){var n=t.target.dragLeftItem,o=t.target.dragRightItem;n?(e={item:n},s.options.editable.updateTime&&(e.start=i.data.start.valueOf()),s.options.editable.updateGroup&&"group"in i.data&&(e.group=i.data.group),this.touchParams.itemProps=[e]):o?(e={item:o},s.options.editable.updateTime&&(e.end=i.data.end.valueOf()),s.options.editable.updateGroup&&"group"in i.data&&(e.group=i.data.group),this.touchParams.itemProps=[e]):this.touchParams.itemProps=this.getSelection().map(function(t){var e=s.items[t],i={item:e};return s.options.editable.updateTime&&("start"in e.data&&(i.start=e.data.start.valueOf()),"end"in e.data&&(i.end=e.data.end.valueOf())),s.options.editable.updateGroup&&"group"in e.data&&(i.group=e.data.group),i}),t.stopPropagation()}}},ItemSet.prototype._onDrag=function(t){if(this.touchParams.itemProps){var e=this.options.snap||null,i=t.gesture.deltaX,s=this.width/(this.range.end-this.range.start),n=i/s;this.touchParams.itemProps.forEach(function(i){if("start"in i){var s=new Date(i.start+n);i.item.data.start=e?e(s):s}if("end"in i){var o=new Date(i.end+n);i.item.data.end=e?e(o):o}if("group"in i){var a=ItemSet.groupFromTarget(t);if(a&&a.groupId!=i.item.data.group){var r=i.item.parent;r.remove(i.item),r.order(),a.add(i.item),a.order(),i.item.data.group=a.groupId}}}),this.stackDirty=!0,this.emit("change"),t.stopPropagation()}},ItemSet.prototype._onDragEnd=function(t){if(this.touchParams.itemProps){var e=[],i=this,s=this._myDataSet();this.touchParams.itemProps.forEach(function(t){var n=t.item.id,o=i.itemsData.get(n),a=!1;"start"in t.item.data&&(a=t.start!=t.item.data.start.valueOf(),o.start=util.convert(t.item.data.start,s.convert.start)),"end"in t.item.data&&(a=a||t.end!=t.item.data.end.valueOf(),o.end=util.convert(t.item.data.end,s.convert.end)),"group"in t.item.data&&(a=a||t.group!=t.item.data.group,o.group=t.item.data.group),a&&i.options.onMove(o,function(o){o?(o[s.fieldId]=n,e.push(o)):("start"in t&&(t.item.data.start=t.start),"end"in t&&(t.item.data.end=t.end),i.stackDirty=!0,i.emit("change"))})}),this.touchParams.itemProps=null,e.length&&s.update(e),t.stopPropagation()}},ItemSet.itemFromTarget=function(t){for(var e=t.target;e;){if(e.hasOwnProperty("timeline-item"))return e["timeline-item"];e=e.parentNode}return null},ItemSet.groupFromTarget=function(t){for(var e=t.target;e;){if(e.hasOwnProperty("timeline-group"))return e["timeline-group"];e=e.parentNode}return null},ItemSet.itemSetFromTarget=function(t){for(var e=t.target;e;){if(e.hasOwnProperty("timeline-itemset"))return e["timeline-itemset"];e=e.parentNode}return null},ItemSet.prototype._myDataSet=function(){for(var t=this.itemsData;t instanceof DataView;)t=t.data;return t},Item.prototype.select=function(){this.selected=!0,this.displayed&&this.repaint()},Item.prototype.unselect=function(){this.selected=!1,this.displayed&&this.repaint()},Item.prototype.setParent=function(t){this.displayed?(this.hide(),this.parent=t,this.parent&&this.show()):this.parent=t},Item.prototype.isVisible=function(){return!1},Item.prototype.show=function(){return!1},Item.prototype.hide=function(){return!1},Item.prototype.repaint=function(){},Item.prototype.repositionX=function(){},Item.prototype.repositionY=function(){},Item.prototype._repaintDeleteButton=function(t){if(this.selected&&this.options.editable.remove&&!this.dom.deleteButton){var e=this,i=document.createElement("div");i.className="delete",i.title="Delete this item",Hammer(i,{preventDefault:!0}).on("tap",function(t){e.parent.removeFromDataSet(e),t.stopPropagation()}),t.appendChild(i),this.dom.deleteButton=i}else!this.selected&&this.dom.deleteButton&&(this.dom.deleteButton.parentNode&&this.dom.deleteButton.parentNode.removeChild(this.dom.deleteButton),this.dom.deleteButton=null)},ItemBox.prototype=new Item(null),ItemBox.prototype.isVisible=function(t){var e=(t.end-t.start)/4;return this.data.start>t.start-e&&this.data.start<t.end+e},ItemBox.prototype.repaint=function(){var t=this.dom;if(t||(this.dom={},t=this.dom,t.box=document.createElement("DIV"),t.content=document.createElement("DIV"),t.content.className="content",t.box.appendChild(t.content),t.line=document.createElement("DIV"),t.line.className="line",t.dot=document.createElement("DIV"),t.dot.className="dot",t.box["timeline-item"]=this),!this.parent)throw new Error("Cannot repaint item: no parent attached");if(!t.box.parentNode){var e=this.parent.getForeground();if(!e)throw new Error("Cannot repaint time axis: parent has no foreground container element");e.appendChild(t.box)}if(!t.line.parentNode){var i=this.parent.getBackground();if(!i)throw new Error("Cannot repaint time axis: parent has no background container element");i.appendChild(t.line)}if(!t.dot.parentNode){var s=this.parent.getAxis();if(!i)throw new Error("Cannot repaint time axis: parent has no axis container element");s.appendChild(t.dot)}if(this.displayed=!0,this.data.content!=this.content){if(this.content=this.data.content,this.content instanceof Element)t.content.innerHTML="",t.content.appendChild(this.content);else{if(void 0==this.data.content)throw new Error('Property "content" missing in item '+this.data.id);t.content.innerHTML=this.content}this.dirty=!0}var n=(this.data.className?" "+this.data.className:"")+(this.selected?" selected":"");this.className!=n&&(this.className=n,t.box.className="item box"+n,t.line.className="item line"+n,t.dot.className="item dot"+n,this.dirty=!0),this.dirty&&(this.props.dot.height=t.dot.offsetHeight,this.props.dot.width=t.dot.offsetWidth,this.props.line.width=t.line.offsetWidth,this.width=t.box.offsetWidth,this.height=t.box.offsetHeight,this.dirty=!1),this._repaintDeleteButton(t.box)},ItemBox.prototype.show=function(){this.displayed||this.repaint()},ItemBox.prototype.hide=function(){if(this.displayed){var t=this.dom;t.box.parentNode&&t.box.parentNode.removeChild(t.box),t.line.parentNode&&t.line.parentNode.removeChild(t.line),t.dot.parentNode&&t.dot.parentNode.removeChild(t.dot),this.top=null,this.left=null,this.displayed=!1}},ItemBox.prototype.repositionX=function(){var t=this.defaultOptions.toScreen(this.data.start),e=this.options.align||this.defaultOptions.align,i=this.dom.box,s=this.dom.line,n=this.dom.dot;this.left="right"==e?t-this.width:"left"==e?t:t-this.width/2,i.style.left=this.left+"px",s.style.left=t-this.props.line.width/2+"px",n.style.left=t-this.props.dot.width/2+"px"},ItemBox.prototype.repositionY=function(){var t=this.options.orientation||this.defaultOptions.orientation,e=this.dom.box,i=this.dom.line,s=this.dom.dot;"top"==t?(e.style.top=(this.top||0)+"px",e.style.bottom="",i.style.top="0",i.style.bottom="",i.style.height=this.parent.top+this.top+1+"px"):(e.style.top="",e.style.bottom=(this.top||0)+"px",i.style.top=this.parent.top+this.parent.height-this.top-1+"px",i.style.bottom="0",i.style.height=""),s.style.top=-this.props.dot.height/2+"px"},ItemPoint.prototype=new Item(null),ItemPoint.prototype.isVisible=function(t){var e=(t.end-t.start)/4;return this.data.start>t.start-e&&this.data.start<t.end+e},ItemPoint.prototype.repaint=function(){var t=this.dom;if(t||(this.dom={},t=this.dom,t.point=document.createElement("div"),t.content=document.createElement("div"),t.content.className="content",t.point.appendChild(t.content),t.dot=document.createElement("div"),t.point.appendChild(t.dot),t.point["timeline-item"]=this),!this.parent)throw new Error("Cannot repaint item: no parent attached");if(!t.point.parentNode){var e=this.parent.getForeground();if(!e)throw new Error("Cannot repaint time axis: parent has no foreground container element");e.appendChild(t.point)}if(this.displayed=!0,this.data.content!=this.content){if(this.content=this.data.content,this.content instanceof Element)t.content.innerHTML="",t.content.appendChild(this.content);else{if(void 0==this.data.content)throw new Error('Property "content" missing in item '+this.data.id);t.content.innerHTML=this.content}this.dirty=!0}var i=(this.data.className?" "+this.data.className:"")+(this.selected?" selected":"");this.className!=i&&(this.className=i,t.point.className="item point"+i,t.dot.className="item dot"+i,this.dirty=!0),this.dirty&&(this.width=t.point.offsetWidth,this.height=t.point.offsetHeight,this.props.dot.width=t.dot.offsetWidth,this.props.dot.height=t.dot.offsetHeight,this.props.content.height=t.content.offsetHeight,t.content.style.marginLeft=2*this.props.dot.width+"px",t.dot.style.top=(this.height-this.props.dot.height)/2+"px",t.dot.style.left=this.props.dot.width/2+"px",this.dirty=!1),this._repaintDeleteButton(t.point)},ItemPoint.prototype.show=function(){this.displayed||this.repaint()},ItemPoint.prototype.hide=function(){this.displayed&&(this.dom.point.parentNode&&this.dom.point.parentNode.removeChild(this.dom.point),this.top=null,this.left=null,this.displayed=!1)},ItemPoint.prototype.repositionX=function(){var t=this.defaultOptions.toScreen(this.data.start);this.left=t-this.props.dot.width,this.dom.point.style.left=this.left+"px"},ItemPoint.prototype.repositionY=function(){var t=this.options.orientation||this.defaultOptions.orientation,e=this.dom.point;"top"==t?(e.style.top=this.top+"px",e.style.bottom=""):(e.style.top="",e.style.bottom=this.top+"px")},ItemRange.prototype=new Item(null),ItemRange.prototype.baseClassName="item range",ItemRange.prototype.isVisible=function(t){return this.data.start<t.end&&this.data.end>t.start},ItemRange.prototype.repaint=function(){var t=this.dom;if(t||(this.dom={},t=this.dom,t.box=document.createElement("div"),t.content=document.createElement("div"),t.content.className="content",t.box.appendChild(t.content),t.box["timeline-item"]=this),!this.parent)throw new Error("Cannot repaint item: no parent attached");if(!t.box.parentNode){var e=this.parent.getForeground();if(!e)throw new Error("Cannot repaint time axis: parent has no foreground container element");e.appendChild(t.box)}if(this.displayed=!0,this.data.content!=this.content){if(this.content=this.data.content,this.content instanceof Element)t.content.innerHTML="",t.content.appendChild(this.content);else{if(void 0==this.data.content)throw new Error('Property "content" missing in item '+this.data.id);t.content.innerHTML=this.content}this.dirty=!0}var i=(this.data.className?" "+this.data.className:"")+(this.selected?" selected":"");this.className!=i&&(this.className=i,t.box.className=this.baseClassName+i,this.dirty=!0),this.dirty&&(this.props.content.width=this.dom.content.offsetWidth,this.height=this.dom.box.offsetHeight,this.dirty=!1),this._repaintDeleteButton(t.box),this._repaintDragLeft(),this._repaintDragRight()},ItemRange.prototype.show=function(){this.displayed||this.repaint()},ItemRange.prototype.hide=function(){if(this.displayed){var t=this.dom.box;t.parentNode&&t.parentNode.removeChild(t),this.top=null,this.left=null,this.displayed=!1}},ItemRange.prototype.repositionX=function(){var t,e=this.props,i=this.parent.width,s=this.defaultOptions.toScreen(this.data.start),n=this.defaultOptions.toScreen(this.data.end),o="padding"in this.options?this.options.padding:this.defaultOptions.padding;-i>s&&(s=-i),n>2*i&&(n=2*i),t=0>s?Math.min(-s,n-s-e.content.width-2*o):0,this.left=s,this.width=Math.max(n-s,1),this.dom.box.style.left=this.left+"px",this.dom.box.style.width=this.width+"px",this.dom.content.style.left=t+"px"},ItemRange.prototype.repositionY=function(){var t=this.options.orientation||this.defaultOptions.orientation,e=this.dom.box;"top"==t?(e.style.top=this.top+"px",e.style.bottom=""):(e.style.top="",e.style.bottom=this.top+"px")},ItemRange.prototype._repaintDragLeft=function(){if(this.selected&&this.options.editable.updateTime&&!this.dom.dragLeft){var t=document.createElement("div");t.className="drag-left",t.dragLeftItem=this,Hammer(t,{preventDefault:!0}).on("drag",function(){}),this.dom.box.appendChild(t),this.dom.dragLeft=t}else!this.selected&&this.dom.dragLeft&&(this.dom.dragLeft.parentNode&&this.dom.dragLeft.parentNode.removeChild(this.dom.dragLeft),this.dom.dragLeft=null)},ItemRange.prototype._repaintDragRight=function(){if(this.selected&&this.options.editable.updateTime&&!this.dom.dragRight){var t=document.createElement("div");t.className="drag-right",t.dragRightItem=this,Hammer(t,{preventDefault:!0}).on("drag",function(){}),this.dom.box.appendChild(t),this.dom.dragRight=t}else!this.selected&&this.dom.dragRight&&(this.dom.dragRight.parentNode&&this.dom.dragRight.parentNode.removeChild(this.dom.dragRight),this.dom.dragRight=null)},ItemRangeOverflow.prototype=new ItemRange(null),ItemRangeOverflow.prototype.baseClassName="item rangeoverflow",ItemRangeOverflow.prototype.repositionX=function(){{var t,e=this.parent.width,i=this.defaultOptions.toScreen(this.data.start),s=this.defaultOptions.toScreen(this.data.end);"padding"in this.options?this.options.padding:this.defaultOptions.padding}-e>i&&(i=-e),s>2*e&&(s=2*e),t=Math.max(-i,0),this.left=i;var n=Math.max(s-i,1);this.width=n+this.props.content.width,this.dom.box.style.left=this.left+"px",this.dom.box.style.width=n+"px",this.dom.content.style.left=t+"px"},Group.prototype._create=function(){var t=document.createElement("div");t.className="vlabel",this.dom.label=t;var e=document.createElement("div");e.className="inner",t.appendChild(e),this.dom.inner=e;var i=document.createElement("div");i.className="group",i["timeline-group"]=this,this.dom.foreground=i,this.dom.background=document.createElement("div"),this.dom.axis=document.createElement("div")},Group.prototype.setData=function(t){var e=t&&t.content;e instanceof Element?this.dom.inner.appendChild(e):this.dom.inner.innerHTML=void 0!=e?e:this.groupId;var i=t&&t.className;i&&util.addClassName(this.dom.label,i)},Group.prototype.getForeground=function(){return this.dom.foreground},Group.prototype.getBackground=function(){return this.dom.background},Group.prototype.getAxis=function(){return this.dom.axis},Group.prototype.getLabelWidth=function(){return this.props.label.width},Group.prototype.repaint=function(t,e,i){var s=!1;this.visibleItems=this._updateVisibleItems(this.orderedItems,this.visibleItems,t),this.itemSet.options.stack?stack.stack(this.visibleItems,e,i):stack.nostack(this.visibleItems,e),this.stackDirty=!1;for(var n=0,o=this.visibleItems.length;o>n;n++){var a=this.visibleItems[n];a.repositionY()}var r,h=this.visibleItems;if(h.length){var d=h[0].top,c=h[0].top+h[0].height;util.forEach(h,function(t){d=Math.min(d,t.top),c=Math.max(c,t.top+t.height)}),r=c-d+e.axis+e.item}else r=e.axis+e.item;r=Math.max(r,this.props.label.height);var l=this.dom.foreground;return this.top=l.offsetTop,this.left=l.offsetLeft,this.width=l.offsetWidth,s=util.updateProperty(this,"height",r)||s,s=util.updateProperty(this.props.label,"width",this.dom.inner.clientWidth)||s,s=util.updateProperty(this.props.label,"height",this.dom.inner.clientHeight)||s,l.style.height=r+"px",this.dom.label.style.height=r+"px",s},Group.prototype.show=function(){this.dom.label.parentNode||this.itemSet.getLabelSet().appendChild(this.dom.label),this.dom.foreground.parentNode||this.itemSet.getForeground().appendChild(this.dom.foreground),this.dom.background.parentNode||this.itemSet.getBackground().appendChild(this.dom.background),this.dom.axis.parentNode||this.itemSet.getAxis().appendChild(this.dom.axis)},Group.prototype.hide=function(){var t=this.dom.label;t.parentNode&&t.parentNode.removeChild(t);var e=this.dom.foreground;e.parentNode&&e.parentNode.removeChild(e);var i=this.dom.background;i.parentNode&&i.parentNode.removeChild(i);var s=this.dom.axis;s.parentNode&&s.parentNode.removeChild(s)},Group.prototype.add=function(t){if(this.items[t.id]=t,t.setParent(this),t instanceof ItemRange&&-1==this.visibleItems.indexOf(t)){var e=this.itemSet.range;this._checkIfVisible(t,this.visibleItems,e)}},Group.prototype.remove=function(t){delete this.items[t.id],t.setParent(this.itemSet);var e=this.visibleItems.indexOf(t);-1!=e&&this.visibleItems.splice(e,1)},Group.prototype.removeFromDataSet=function(t){this.itemSet.removeItem(t.id)},Group.prototype.order=function(){var t=util.toArray(this.items);this.orderedItems.byStart=t,this.orderedItems.byEnd=this._constructByEndArray(t),stack.orderByStart(this.orderedItems.byStart),stack.orderByEnd(this.orderedItems.byEnd)},Group.prototype._constructByEndArray=function(t){for(var e=[],i=0;i<t.length;i++)t[i]instanceof ItemRange&&e.push(t[i]);return e},Group.prototype._updateVisibleItems=function(t,e,i){var s,n,o=[];if(e.length>0)for(n=0;n<e.length;n++)this._checkIfVisible(e[n],o,i);s=0==o.length?this._binarySearch(t,i,!1):t.byStart.indexOf(o[0]);var a=this._binarySearch(t,i,!0);if(-1!=s){for(n=s;n>=0&&!this._checkIfInvisible(t.byStart[n],o,i);n--);for(n=s+1;n<t.byStart.length&&!this._checkIfInvisible(t.byStart[n],o,i);n++);}if(-1!=a){for(n=a;n>=0&&!this._checkIfInvisible(t.byEnd[n],o,i);n--);for(n=a+1;n<t.byEnd.length&&!this._checkIfInvisible(t.byEnd[n],o,i);n++);}return o},Group.prototype._binarySearch=function(t,e,i){var s=[],n=i?"end":"start";s=1==i?t.byEnd:t.byStart;var o,a=e.end-e.start,r=!1,h=0,d=s.length,c=Math.floor(.5*(d+h));if(0==d)c=-1;else if(1==d)c=s[c].data[n]>e.start-a&&s[c].data[n]<e.end?0:-1; else for(d-=1;0==r;)s[c].data[n]>e.start-a&&s[c].data[n]<e.end?r=!0:(s[c].data[n]<e.start-a?h=Math.floor(.5*(d+h)):d=Math.floor(.5*(d+h)),o=Math.floor(.5*(d+h)),c==o?(c=-1,r=!0):c=o);return c},Group.prototype._checkIfInvisible=function(t,e,i){return t.isVisible(i)?(t.displayed||t.show(),t.repositionX(),-1==e.indexOf(t)&&e.push(t),!1):!0},Group.prototype._checkIfVisible=function(t,e,i){t.isVisible(i)?(t.displayed||t.show(),t.repositionX(),e.push(t)):t.displayed&&t.hide()},Emitter(Timeline.prototype),Timeline.prototype.setOptions=function(t){if(util.extend(this.options,t),"editable"in t){var e="boolean"==typeof t.editable;this.options.editable={updateTime:e?t.editable:t.editable.updateTime||!1,updateGroup:e?t.editable:t.editable.updateGroup||!1,add:e?t.editable:t.editable.add||!1,remove:e?t.editable:t.editable.remove||!1}}this.range.setRange(t.start,t.end),("editable"in t||"selectable"in t)&&this.setSelection(this.options.selectable?this.getSelection():[]),this.itemSet.markDirty();var i=function(t){if(!(this.options[t]instanceof Function)||2!=this.options[t].length)throw new Error("option "+t+" must be a function "+t+"(item, callback)")}.bind(this);if(["onAdd","onUpdate","onRemove","onMove"].forEach(i),this.options.showCurrentTime?this.mainPanel.hasChild(this.currentTime)||(this.mainPanel.appendChild(this.currentTime),this.currentTime.start()):this.mainPanel.hasChild(this.currentTime)&&(this.currentTime.stop(),this.mainPanel.removeChild(this.currentTime)),this.options.showCustomTime?this.mainPanel.hasChild(this.customTime)||this.mainPanel.appendChild(this.customTime):this.mainPanel.hasChild(this.customTime)&&this.mainPanel.removeChild(this.customTime),t&&t.order)throw new Error("Option order is deprecated. There is no replacement for this feature.");this.rootPanel.repaint()},Timeline.prototype.setCustomTime=function(t){if(!this.customTime)throw new Error("Cannot get custom time: Custom time bar is not enabled");this.customTime.setCustomTime(t)},Timeline.prototype.getCustomTime=function(){if(!this.customTime)throw new Error("Cannot get custom time: Custom time bar is not enabled");return this.customTime.getCustomTime()},Timeline.prototype.setItems=function(t){var e,i=null==this.itemsData;if(e=t?t instanceof DataSet||t instanceof DataView?t:new DataSet(t,{convert:{start:"Date",end:"Date"}}):null,this.itemsData=e,this.itemSet.setItems(e),i&&(void 0==this.options.start||void 0==this.options.end)){this.fit();var s=void 0!=this.options.start?util.convert(this.options.start,"Date"):null,n=void 0!=this.options.end?util.convert(this.options.end,"Date"):null;this.setWindow(s,n)}},Timeline.prototype.setGroups=function(t){var e;e=t?t instanceof DataSet||t instanceof DataView?t:new DataSet(t):null,this.groupsData=e,this.itemSet.setGroups(e)},Timeline.prototype.fit=function(){var t=this.getItemRange(),e=t.min,i=t.max;if(null!=e&&null!=i){var s=i.valueOf()-e.valueOf();0>=s&&(s=864e5),e=new Date(e.valueOf()-.05*s),i=new Date(i.valueOf()+.05*s)}(null!==e||null!==i)&&this.range.setRange(e,i)},Timeline.prototype.getItemRange=function(){var t=this.itemsData,e=null,i=null;if(t){var s=t.min("start");e=s?s.start.valueOf():null;var n=t.max("start");n&&(i=n.start.valueOf());var o=t.max("end");o&&(i=null==i?o.end.valueOf():Math.max(i,o.end.valueOf()))}return{min:null!=e?new Date(e):null,max:null!=i?new Date(i):null}},Timeline.prototype.setSelection=function(t){this.itemSet.setSelection(t)},Timeline.prototype.getSelection=function(){return this.itemSet.getSelection()},Timeline.prototype.setWindow=function(t,e){if(1==arguments.length){var i=arguments[0];this.range.setRange(i.start,i.end)}else this.range.setRange(t,e)},Timeline.prototype.getWindow=function(){var t=this.range.getRange();return{start:new Date(t.start),end:new Date(t.end)}},Timeline.prototype._onSelectItem=function(t){if(this.options.selectable){var e=t.gesture.srcEvent&&t.gesture.srcEvent.ctrlKey,i=t.gesture.srcEvent&&t.gesture.srcEvent.shiftKey;if(e||i)return void this._onMultiSelectItem(t);var s=this.getSelection(),n=ItemSet.itemFromTarget(t),o=n?[n.id]:[];this.setSelection(o);var a=this.getSelection();util.equalArray(s,a)||this.emit("select",{items:this.getSelection()}),t.stopPropagation()}},Timeline.prototype._onAddItem=function(t){if(this.options.selectable&&this.options.editable.add){var e=this,i=ItemSet.itemFromTarget(t);if(i){var s=e.itemsData.get(i.id);this.options.onUpdate(s,function(t){t&&e.itemsData.update(t)})}else{var n=vis.util.getAbsoluteLeft(this.contentPanel.frame),o=t.gesture.center.pageX-n,a={start:this.timeAxis.snap(this._toTime(o)),content:"new item"},r=util.randomUUID();a[this.itemsData.fieldId]=r;var h=ItemSet.groupFromTarget(t);h&&(a.group=h.groupId),this.options.onAdd(a,function(t){t&&e.itemsData.add(a)})}}},Timeline.prototype._onMultiSelectItem=function(t){if(this.options.selectable){var e,i=ItemSet.itemFromTarget(t);if(i){e=this.getSelection();var s=e.indexOf(i.id);-1==s?e.push(i.id):e.splice(s,1),this.setSelection(e),this.emit("select",{items:this.getSelection()}),t.stopPropagation()}}},Timeline.prototype._toTime=function(t){var e=this.range.conversion(this.mainPanel.width);return new Date(t/e.scale+e.offset)},Timeline.prototype._toScreen=function(t){var e=this.range.conversion(this.mainPanel.width);return(t.valueOf()-e.offset)*e.scale},function(t){function e(t){return D=t,u()}function i(){I=0,C=D.charAt(0)}function s(){I++,C=D.charAt(I)}function n(){return D.charAt(I+1)}function o(t){return O.test(t)}function a(t,e){if(t||(t={}),e)for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return t}function r(t,e,i){for(var s=e.split("."),n=t;s.length;){var o=s.shift();s.length?(n[o]||(n[o]={}),n=n[o]):n[o]=i}}function h(t,e){for(var i,s,n=null,o=[t],r=t;r.parent;)o.push(r.parent),r=r.parent;if(r.nodes)for(i=0,s=r.nodes.length;s>i;i++)if(e.id===r.nodes[i].id){n=r.nodes[i];break}for(n||(n={id:e.id},t.node&&(n.attr=a(n.attr,t.node))),i=o.length-1;i>=0;i--){var h=o[i];h.nodes||(h.nodes=[]),-1==h.nodes.indexOf(n)&&h.nodes.push(n)}e.attr&&(n.attr=a(n.attr,e.attr))}function d(t,e){if(t.edges||(t.edges=[]),t.edges.push(e),t.edge){var i=a({},t.edge);e.attr=a(i,e.attr)}}function c(t,e,i,s,n){var o={from:e,to:i,type:s};return t.edge&&(o.attr=a({},t.edge)),o.attr=a(o.attr||{},n),o}function l(){for(N=E.NULL,M="";" "==C||" "==C||"\n"==C||"\r"==C;)s();do{var t=!1;if("#"==C){for(var e=I-1;" "==D.charAt(e)||" "==D.charAt(e);)e--;if("\n"==D.charAt(e)||""==D.charAt(e)){for(;""!=C&&"\n"!=C;)s();t=!0}}if("/"==C&&"/"==n()){for(;""!=C&&"\n"!=C;)s();t=!0}if("/"==C&&"*"==n()){for(;""!=C;){if("*"==C&&"/"==n()){s(),s();break}s()}t=!0}for(;" "==C||" "==C||"\n"==C||"\r"==C;)s()}while(t);if(""==C)return void(N=E.DELIMITER);var i=C+n();if(T[i])return N=E.DELIMITER,M=i,s(),void s();if(T[C])return N=E.DELIMITER,M=C,void s();if(o(C)||"-"==C){for(M+=C,s();o(C);)M+=C,s();return"false"==M?M=!1:"true"==M?M=!0:isNaN(Number(M))||(M=Number(M)),void(N=E.IDENTIFIER)}if('"'==C){for(s();""!=C&&('"'!=C||'"'==C&&'"'==n());)M+=C,'"'==C&&s(),s();if('"'!=C)throw b('End of string " expected');return s(),void(N=E.IDENTIFIER)}for(N=E.UNKNOWN;""!=C;)M+=C,s();throw new SyntaxError('Syntax error in part "'+w(M,30)+'"')}function u(){var t={};if(i(),l(),"strict"==M&&(t.strict=!0,l()),("graph"==M||"digraph"==M)&&(t.type=M,l()),N==E.IDENTIFIER&&(t.id=M,l()),"{"!=M)throw b("Angle bracket { expected");if(l(),p(t),"}"!=M)throw b("Angle bracket } expected");if(l(),""!==M)throw b("End of file expected");return l(),delete t.node,delete t.edge,delete t.graph,t}function p(t){for(;""!==M&&"}"!=M;)g(t),";"==M&&l()}function g(t){var e=m(t);if(e)return void y(t,e);var i=f(t);if(!i){if(N!=E.IDENTIFIER)throw b("Identifier expected");var s=M;if(l(),"="==M){if(l(),N!=E.IDENTIFIER)throw b("Identifier expected");t[s]=M,l()}else v(t,s)}}function m(t){var e=null;if("subgraph"==M&&(e={},e.type="subgraph",l(),N==E.IDENTIFIER&&(e.id=M,l())),"{"==M){if(l(),e||(e={}),e.parent=t,e.node=t.node,e.edge=t.edge,e.graph=t.graph,p(e),"}"!=M)throw b("Angle bracket } expected");l(),delete e.node,delete e.edge,delete e.graph,delete e.parent,t.subgraphs||(t.subgraphs=[]),t.subgraphs.push(e)}return e}function f(t){return"node"==M?(l(),t.node=_(),"node"):"edge"==M?(l(),t.edge=_(),"edge"):"graph"==M?(l(),t.graph=_(),"graph"):null}function v(t,e){var i={id:e},s=_();s&&(i.attr=s),h(t,i),y(t,e)}function y(t,e){for(;"->"==M||"--"==M;){var i,s=M;l();var n=m(t);if(n)i=n;else{if(N!=E.IDENTIFIER)throw b("Identifier or subgraph expected");i=M,h(t,{id:i}),l()}var o=_(),a=c(t,e,i,s,o);d(t,a),e=i}}function _(){for(var t=null;"["==M;){for(l(),t={};""!==M&&"]"!=M;){if(N!=E.IDENTIFIER)throw b("Attribute name expected");var e=M;if(l(),"="!=M)throw b("Equal sign = expected");if(l(),N!=E.IDENTIFIER)throw b("Attribute value expected");var i=M;r(t,e,i),l(),","==M&&l()}if("]"!=M)throw b("Bracket ] expected");l()}return t}function b(t){return new SyntaxError(t+', got "'+w(M,30)+'" (char '+I+")")}function w(t,e){return t.length<=e?t:t.substr(0,27)+"..."}function S(t,e,i){t instanceof Array?t.forEach(function(t){e instanceof Array?e.forEach(function(e){i(t,e)}):i(t,e)}):e instanceof Array?e.forEach(function(e){i(t,e)}):i(t,e)}function x(t){function i(t){var e={from:t.from,to:t.to};return a(e,t.attr),e.style="->"==t.type?"arrow":"line",e}var s=e(t),n={nodes:[],edges:[],options:{}};return s.nodes&&s.nodes.forEach(function(t){var e={id:t.id,label:String(t.label||t.id)};a(e,t.attr),e.image&&(e.shape="image"),n.nodes.push(e)}),s.edges&&s.edges.forEach(function(t){var e,s;e=t.from instanceof Object?t.from.nodes:{id:t.from},s=t.to instanceof Object?t.to.nodes:{id:t.to},t.from instanceof Object&&t.from.edges&&t.from.edges.forEach(function(t){var e=i(t);n.edges.push(e)}),S(e,s,function(e,s){var o=c(n,e.id,s.id,t.type,t.attr),a=i(o);n.edges.push(a)}),t.to instanceof Object&&t.to.edges&&t.to.edges.forEach(function(t){var e=i(t);n.edges.push(e)})}),s.attr&&(n.options=s.attr),n}var E={NULL:0,DELIMITER:1,IDENTIFIER:2,UNKNOWN:3},T={"{":!0,"}":!0,"[":!0,"]":!0,";":!0,"=":!0,",":!0,"->":!0,"--":!0},D="",I=0,C="",M="",N=E.NULL,O=/[a-zA-Z_0-9.:#]/;t.parseDOT=e,t.DOTToGraph=x}("undefined"!=typeof util?util:exports),"undefined"!=typeof CanvasRenderingContext2D&&(CanvasRenderingContext2D.prototype.circle=function(t,e,i){this.beginPath(),this.arc(t,e,i,0,2*Math.PI,!1)},CanvasRenderingContext2D.prototype.square=function(t,e,i){this.beginPath(),this.rect(t-i,e-i,2*i,2*i)},CanvasRenderingContext2D.prototype.triangle=function(t,e,i){this.beginPath();var s=2*i,n=s/2,o=Math.sqrt(3)/6*s,a=Math.sqrt(s*s-n*n);this.moveTo(t,e-(a-o)),this.lineTo(t+n,e+o),this.lineTo(t-n,e+o),this.lineTo(t,e-(a-o)),this.closePath()},CanvasRenderingContext2D.prototype.triangleDown=function(t,e,i){this.beginPath();var s=2*i,n=s/2,o=Math.sqrt(3)/6*s,a=Math.sqrt(s*s-n*n);this.moveTo(t,e+(a-o)),this.lineTo(t+n,e-o),this.lineTo(t-n,e-o),this.lineTo(t,e+(a-o)),this.closePath()},CanvasRenderingContext2D.prototype.star=function(t,e,i){this.beginPath();for(var s=0;10>s;s++){var n=s%2===0?1.3*i:.5*i;this.lineTo(t+n*Math.sin(2*s*Math.PI/10),e-n*Math.cos(2*s*Math.PI/10))}this.closePath()},CanvasRenderingContext2D.prototype.roundRect=function(t,e,i,s,n){var o=Math.PI/180;0>i-2*n&&(n=i/2),0>s-2*n&&(n=s/2),this.beginPath(),this.moveTo(t+n,e),this.lineTo(t+i-n,e),this.arc(t+i-n,e+n,n,270*o,360*o,!1),this.lineTo(t+i,e+s-n),this.arc(t+i-n,e+s-n,n,0,90*o,!1),this.lineTo(t+n,e+s),this.arc(t+n,e+s-n,n,90*o,180*o,!1),this.lineTo(t,e+n),this.arc(t+n,e+n,n,180*o,270*o,!1)},CanvasRenderingContext2D.prototype.ellipse=function(t,e,i,s){var n=.5522848,o=i/2*n,a=s/2*n,r=t+i,h=e+s,d=t+i/2,c=e+s/2;this.beginPath(),this.moveTo(t,c),this.bezierCurveTo(t,c-a,d-o,e,d,e),this.bezierCurveTo(d+o,e,r,c-a,r,c),this.bezierCurveTo(r,c+a,d+o,h,d,h),this.bezierCurveTo(d-o,h,t,c+a,t,c)},CanvasRenderingContext2D.prototype.database=function(t,e,i,s){var n=1/3,o=i,a=s*n,r=.5522848,h=o/2*r,d=a/2*r,c=t+o,l=e+a,u=t+o/2,p=e+a/2,g=e+(s-a/2),m=e+s;this.beginPath(),this.moveTo(c,p),this.bezierCurveTo(c,p+d,u+h,l,u,l),this.bezierCurveTo(u-h,l,t,p+d,t,p),this.bezierCurveTo(t,p-d,u-h,e,u,e),this.bezierCurveTo(u+h,e,c,p-d,c,p),this.lineTo(c,g),this.bezierCurveTo(c,g+d,u+h,m,u,m),this.bezierCurveTo(u-h,m,t,g+d,t,g),this.lineTo(t,p)},CanvasRenderingContext2D.prototype.arrow=function(t,e,i,s){var n=t-s*Math.cos(i),o=e-s*Math.sin(i),a=t-.9*s*Math.cos(i),r=e-.9*s*Math.sin(i),h=n+s/3*Math.cos(i+.5*Math.PI),d=o+s/3*Math.sin(i+.5*Math.PI),c=n+s/3*Math.cos(i-.5*Math.PI),l=o+s/3*Math.sin(i-.5*Math.PI);this.beginPath(),this.moveTo(t,e),this.lineTo(h,d),this.lineTo(a,r),this.lineTo(c,l),this.closePath()},CanvasRenderingContext2D.prototype.dashedLine=function(t,e,i,s,n){n||(n=[10,5]),0==u&&(u=.001);var o=n.length;this.moveTo(t,e);for(var a=i-t,r=s-e,h=r/a,d=Math.sqrt(a*a+r*r),c=0,l=!0;d>=.1;){var u=n[c++%o];u>d&&(u=d);var p=Math.sqrt(u*u/(1+h*h));0>a&&(p=-p),t+=p,e+=h*p,this[l?"lineTo":"moveTo"](t,e),d-=u,l=!l}}),Node.prototype.resetCluster=function(){this.formationScale=void 0,this.clusterSize=1,this.containedNodes={},this.containedEdges={},this.clusterSessions=[]},Node.prototype.attachEdge=function(t){-1==this.edges.indexOf(t)&&this.edges.push(t),-1==this.dynamicEdges.indexOf(t)&&this.dynamicEdges.push(t),this.dynamicEdgesLength=this.dynamicEdges.length},Node.prototype.detachEdge=function(t){var e=this.edges.indexOf(t);-1!=e&&(this.edges.splice(e,1),this.dynamicEdges.splice(e,1)),this.dynamicEdgesLength=this.dynamicEdges.length},Node.prototype.setProperties=function(t,e){if(t){if(this.originalLabel=void 0,void 0!==t.id&&(this.id=t.id),void 0!==t.label&&(this.label=t.label,this.originalLabel=t.label),void 0!==t.title&&(this.title=t.title),void 0!==t.group&&(this.group=t.group),void 0!==t.x&&(this.x=t.x),void 0!==t.y&&(this.y=t.y),void 0!==t.value&&(this.value=t.value),void 0!==t.level&&(this.level=t.level,this.preassignedLevel=!0),void 0!==t.mass&&(this.mass=t.mass),void 0!==t.horizontalAlignLeft&&(this.horizontalAlignLeft=t.horizontalAlignLeft),void 0!==t.verticalAlignTop&&(this.verticalAlignTop=t.verticalAlignTop),void 0!==t.triggerFunction&&(this.triggerFunction=t.triggerFunction),void 0===this.id)throw"Node must have an id";if(this.group){var i=this.grouplist.get(this.group);for(var s in i)i.hasOwnProperty(s)&&(this[s]=i[s])}if(void 0!==t.shape&&(this.shape=t.shape),void 0!==t.image&&(this.image=t.image),void 0!==t.radius&&(this.radius=t.radius),void 0!==t.color&&(this.color=util.parseColor(t.color)),void 0!==t.fontColor&&(this.fontColor=t.fontColor),void 0!==t.fontSize&&(this.fontSize=t.fontSize),void 0!==t.fontFace&&(this.fontFace=t.fontFace),void 0!==this.image&&""!=this.image){if(!this.imagelist)throw"No imagelist provided";this.imageObj=this.imagelist.load(this.image)}switch(this.xFixed=this.xFixed||void 0!==t.x&&!t.allowedToMoveX,this.yFixed=this.yFixed||void 0!==t.y&&!t.allowedToMoveY,this.radiusFixed=this.radiusFixed||void 0!==t.radius,"image"==this.shape&&(this.radiusMin=e.nodes.widthMin,this.radiusMax=e.nodes.widthMax),this.shape){case"database":this.draw=this._drawDatabase,this.resize=this._resizeDatabase;break;case"box":this.draw=this._drawBox,this.resize=this._resizeBox;break;case"circle":this.draw=this._drawCircle,this.resize=this._resizeCircle;break;case"ellipse":this.draw=this._drawEllipse,this.resize=this._resizeEllipse;break;case"image":this.draw=this._drawImage,this.resize=this._resizeImage;break;case"text":this.draw=this._drawText,this.resize=this._resizeText;break;case"dot":this.draw=this._drawDot,this.resize=this._resizeShape;break;case"square":this.draw=this._drawSquare,this.resize=this._resizeShape;break;case"triangle":this.draw=this._drawTriangle,this.resize=this._resizeShape;break;case"triangleDown":this.draw=this._drawTriangleDown,this.resize=this._resizeShape;break;case"star":this.draw=this._drawStar,this.resize=this._resizeShape;break;default:this.draw=this._drawEllipse,this.resize=this._resizeEllipse}this._reset()}},Node.prototype.select=function(){this.selected=!0,this._reset()},Node.prototype.unselect=function(){this.selected=!1,this._reset()},Node.prototype.clearSizeCache=function(){this._reset()},Node.prototype._reset=function(){this.width=void 0,this.height=void 0},Node.prototype.getTitle=function(){return"function"==typeof this.title?this.title():this.title},Node.prototype.distanceToBorder=function(t,e){var i=1;switch(this.width||this.resize(t),this.shape){case"circle":case"dot":return this.radius+i;case"ellipse":var s=this.width/2,n=this.height/2,o=Math.sin(e)*s,a=Math.cos(e)*n;return s*n/Math.sqrt(o*o+a*a);case"box":case"image":case"text":default:return this.width?Math.min(Math.abs(this.width/2/Math.cos(e)),Math.abs(this.height/2/Math.sin(e)))+i:0}},Node.prototype._setForce=function(t,e){this.fx=t,this.fy=e},Node.prototype._addForce=function(t,e){this.fx+=t,this.fy+=e},Node.prototype.discreteStep=function(t){if(!this.xFixed){var e=this.damping*this.vx,i=(this.fx-e)/this.mass;this.vx+=i*t,this.x+=this.vx*t}if(!this.yFixed){var s=this.damping*this.vy,n=(this.fy-s)/this.mass;this.vy+=n*t,this.y+=this.vy*t}},Node.prototype.discreteStepLimited=function(t,e){if(this.xFixed)this.fx=0;else{var i=this.damping*this.vx,s=(this.fx-i)/this.mass;this.vx+=s*t,this.vx=Math.abs(this.vx)>e?this.vx>0?e:-e:this.vx,this.x+=this.vx*t}if(this.yFixed)this.fy=0;else{var n=this.damping*this.vy,o=(this.fy-n)/this.mass;this.vy+=o*t,this.vy=Math.abs(this.vy)>e?this.vy>0?e:-e:this.vy,this.y+=this.vy*t}},Node.prototype.isFixed=function(){return this.xFixed&&this.yFixed},Node.prototype.isMoving=function(t){return Math.abs(this.vx)>t||Math.abs(this.vy)>t},Node.prototype.isSelected=function(){return this.selected},Node.prototype.getValue=function(){return this.value},Node.prototype.getDistance=function(t,e){var i=this.x-t,s=this.y-e;return Math.sqrt(i*i+s*s)},Node.prototype.setValueRange=function(t,e){if(!this.radiusFixed&&void 0!==this.value)if(e==t)this.radius=(this.radiusMin+this.radiusMax)/2;else{var i=(this.radiusMax-this.radiusMin)/(e-t);this.radius=(this.value-t)*i+this.radiusMin}this.baseRadiusValue=this.radius},Node.prototype.draw=function(){throw"Draw method not initialized for node"},Node.prototype.resize=function(){throw"Resize method not initialized for node"},Node.prototype.isOverlappingWith=function(t){return this.left<t.right&&this.left+this.width>t.left&&this.top<t.bottom&&this.top+this.height>t.top},Node.prototype._resizeImage=function(){if(!this.width||!this.height){var t,e;if(this.value){this.radius=this.baseRadiusValue;var i=this.imageObj.height/this.imageObj.width;void 0!==i?(t=this.radius||this.imageObj.width,e=this.radius*i||this.imageObj.height):(t=0,e=0)}else t=this.imageObj.width,e=this.imageObj.height;this.width=t,this.height=e,this.growthIndicator=0,this.width>0&&this.height>0&&(this.width+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeWidthFactor,this.height+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeHeightFactor,this.radius+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeRadiusFactor,this.growthIndicator=this.width-t)}},Node.prototype._drawImage=function(t){this._resizeImage(t),this.left=this.x-this.width/2,this.top=this.y-this.height/2;var e;if(0!=this.imageObj.width){if(this.clusterSize>1){var i=this.clusterSize>1?10:0;i*=this.graphScaleInv,i=Math.min(.2*this.width,i),t.globalAlpha=.5,t.drawImage(this.imageObj,this.left-i,this.top-i,this.width+2*i,this.height+2*i)}t.globalAlpha=1,t.drawImage(this.imageObj,this.left,this.top,this.width,this.height),e=this.y+this.height/2}else e=this.y;this._label(t,this.label,this.x,e,void 0,"top")},Node.prototype._resizeBox=function(t){if(!this.width){var e=5,i=this.getTextSize(t);this.width=i.width+2*e,this.height=i.height+2*e,this.width+=.5*Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeWidthFactor,this.height+=.5*Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeHeightFactor,this.growthIndicator=this.width-(i.width+2*e)}},Node.prototype._drawBox=function(t){this._resizeBox(t),this.left=this.x-this.width/2,this.top=this.y-this.height/2;var e=2.5,i=2;t.strokeStyle=this.selected?this.color.highlight.border:this.color.border,this.clusterSize>1&&(t.lineWidth=(this.selected?i:1)+(this.clusterSize>1?e:0),t.lineWidth*=this.graphScaleInv,t.lineWidth=Math.min(.1*this.width,t.lineWidth),t.roundRect(this.left-2*t.lineWidth,this.top-2*t.lineWidth,this.width+4*t.lineWidth,this.height+4*t.lineWidth,this.radius),t.stroke()),t.lineWidth=(this.selected?i:1)+(this.clusterSize>1?e:0),t.lineWidth*=this.graphScaleInv,t.lineWidth=Math.min(.1*this.width,t.lineWidth),t.fillStyle=this.selected?this.color.highlight.background:this.color.background,t.roundRect(this.left,this.top,this.width,this.height,this.radius),t.fill(),t.stroke(),this._label(t,this.label,this.x,this.y)},Node.prototype._resizeDatabase=function(t){if(!this.width){var e=5,i=this.getTextSize(t),s=i.width+2*e;this.width=s,this.height=s,this.width+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeWidthFactor,this.height+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeHeightFactor,this.radius+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeRadiusFactor,this.growthIndicator=this.width-s}},Node.prototype._drawDatabase=function(t){this._resizeDatabase(t),this.left=this.x-this.width/2,this.top=this.y-this.height/2;var e=2.5,i=2;t.strokeStyle=this.selected?this.color.highlight.border:this.color.border,this.clusterSize>1&&(t.lineWidth=(this.selected?i:1)+(this.clusterSize>1?e:0),t.lineWidth*=this.graphScaleInv,t.lineWidth=Math.min(.1*this.width,t.lineWidth),t.database(this.x-this.width/2-2*t.lineWidth,this.y-.5*this.height-2*t.lineWidth,this.width+4*t.lineWidth,this.height+4*t.lineWidth),t.stroke()),t.lineWidth=(this.selected?i:1)+(this.clusterSize>1?e:0),t.lineWidth*=this.graphScaleInv,t.lineWidth=Math.min(.1*this.width,t.lineWidth),t.fillStyle=this.selected?this.color.highlight.background:this.color.background,t.database(this.x-this.width/2,this.y-.5*this.height,this.width,this.height),t.fill(),t.stroke(),this._label(t,this.label,this.x,this.y)},Node.prototype._resizeCircle=function(t){if(!this.width){var e=5,i=this.getTextSize(t),s=Math.max(i.width,i.height)+2*e;this.radius=s/2,this.width=s,this.height=s,this.radius+=.5*Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeRadiusFactor,this.growthIndicator=this.radius-.5*s}},Node.prototype._drawCircle=function(t){this._resizeCircle(t),this.left=this.x-this.width/2,this.top=this.y-this.height/2;var e=2.5,i=2;t.strokeStyle=this.selected?this.color.highlight.border:this.color.border,this.clusterSize>1&&(t.lineWidth=(this.selected?i:1)+(this.clusterSize>1?e:0),t.lineWidth*=this.graphScaleInv,t.lineWidth=Math.min(.1*this.width,t.lineWidth),t.circle(this.x,this.y,this.radius+2*t.lineWidth),t.stroke()),t.lineWidth=(this.selected?i:1)+(this.clusterSize>1?e:0),t.lineWidth*=this.graphScaleInv,t.lineWidth=Math.min(.1*this.width,t.lineWidth),t.fillStyle=this.selected?this.color.highlight.background:this.color.background,t.circle(this.x,this.y,this.radius),t.fill(),t.stroke(),this._label(t,this.label,this.x,this.y)},Node.prototype._resizeEllipse=function(t){if(!this.width){var e=this.getTextSize(t);this.width=1.5*e.width,this.height=2*e.height,this.width<this.height&&(this.width=this.height);var i=this.width;this.width+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeWidthFactor,this.height+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeHeightFactor,this.radius+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeRadiusFactor,this.growthIndicator=this.width-i}},Node.prototype._drawEllipse=function(t){this._resizeEllipse(t),this.left=this.x-this.width/2,this.top=this.y-this.height/2;var e=2.5,i=2;t.strokeStyle=this.selected?this.color.highlight.border:this.color.border,this.clusterSize>1&&(t.lineWidth=(this.selected?i:1)+(this.clusterSize>1?e:0),t.lineWidth*=this.graphScaleInv,t.lineWidth=Math.min(.1*this.width,t.lineWidth),t.ellipse(this.left-2*t.lineWidth,this.top-2*t.lineWidth,this.width+4*t.lineWidth,this.height+4*t.lineWidth),t.stroke()),t.lineWidth=(this.selected?i:1)+(this.clusterSize>1?e:0),t.lineWidth*=this.graphScaleInv,t.lineWidth=Math.min(.1*this.width,t.lineWidth),t.fillStyle=this.selected?this.color.highlight.background:this.color.background,t.ellipse(this.left,this.top,this.width,this.height),t.fill(),t.stroke(),this._label(t,this.label,this.x,this.y)},Node.prototype._drawDot=function(t){this._drawShape(t,"circle")},Node.prototype._drawTriangle=function(t){this._drawShape(t,"triangle")},Node.prototype._drawTriangleDown=function(t){this._drawShape(t,"triangleDown")},Node.prototype._drawSquare=function(t){this._drawShape(t,"square")},Node.prototype._drawStar=function(t){this._drawShape(t,"star")},Node.prototype._resizeShape=function(){if(!this.width){this.radius=this.baseRadiusValue;var t=2*this.radius;this.width=t,this.height=t,this.width+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeWidthFactor,this.height+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeHeightFactor,this.radius+=.5*Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeRadiusFactor,this.growthIndicator=this.width-t}},Node.prototype._drawShape=function(t,e){this._resizeShape(t),this.left=this.x-this.width/2,this.top=this.y-this.height/2;var i=2.5,s=2,n=2;switch(e){case"dot":n=2;break;case"square":n=2;break;case"triangle":n=3;break;case"triangleDown":n=3;break;case"star":n=4}t.strokeStyle=this.selected?this.color.highlight.border:this.color.border,this.clusterSize>1&&(t.lineWidth=(this.selected?s:1)+(this.clusterSize>1?i:0),t.lineWidth*=this.graphScaleInv,t.lineWidth=Math.min(.1*this.width,t.lineWidth),t[e](this.x,this.y,this.radius+n*t.lineWidth),t.stroke()),t.lineWidth=(this.selected?s:1)+(this.clusterSize>1?i:0),t.lineWidth*=this.graphScaleInv,t.lineWidth=Math.min(.1*this.width,t.lineWidth),t.fillStyle=this.selected?this.color.highlight.background:this.color.background,t[e](this.x,this.y,this.radius),t.fill(),t.stroke(),this.label&&this._label(t,this.label,this.x,this.y+this.height/2,void 0,"top")},Node.prototype._resizeText=function(t){if(!this.width){var e=5,i=this.getTextSize(t);this.width=i.width+2*e,this.height=i.height+2*e,this.width+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeWidthFactor,this.height+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeHeightFactor,this.radius+=Math.min(this.clusterSize-1,this.maxNodeSizeIncrements)*this.clusterSizeRadiusFactor,this.growthIndicator=this.width-(i.width+2*e)}},Node.prototype._drawText=function(t){this._resizeText(t),this.left=this.x-this.width/2,this.top=this.y-this.height/2,this._label(t,this.label,this.x,this.y)},Node.prototype._label=function(t,e,i,s,n,o){if(e&&this.fontSize*this.graphScale>this.fontDrawThreshold){t.font=(this.selected?"bold ":"")+this.fontSize+"px "+this.fontFace,t.fillStyle=this.fontColor||"black",t.textAlign=n||"center",t.textBaseline=o||"middle";for(var a=e.split("\n"),r=a.length,h=this.fontSize+4,d=s+(1-r)/2*h,c=0;r>c;c++)t.fillText(a[c],i,d),d+=h}},Node.prototype.getTextSize=function(t){if(void 0!==this.label){t.font=(this.selected?"bold ":"")+this.fontSize+"px "+this.fontFace;for(var e=this.label.split("\n"),i=(this.fontSize+4)*e.length,s=0,n=0,o=e.length;o>n;n++)s=Math.max(s,t.measureText(e[n]).width);return{width:s,height:i}}return{width:0,height:0}},Node.prototype.inArea=function(){return void 0!==this.width?this.x+this.width*this.graphScaleInv>=this.canvasTopLeft.x&&this.x-this.width*this.graphScaleInv<this.canvasBottomRight.x&&this.y+this.height*this.graphScaleInv>=this.canvasTopLeft.y&&this.y-this.height*this.graphScaleInv<this.canvasBottomRight.y:!0},Node.prototype.inView=function(){return this.x>=this.canvasTopLeft.x&&this.x<this.canvasBottomRight.x&&this.y>=this.canvasTopLeft.y&&this.y<this.canvasBottomRight.y},Node.prototype.setScaleAndPos=function(t,e,i){this.graphScaleInv=1/t,this.graphScale=t,this.canvasTopLeft=e,this.canvasBottomRight=i},Node.prototype.setScale=function(t){this.graphScaleInv=1/t,this.graphScale=t},Node.prototype.clearVelocity=function(){this.vx=0,this.vy=0},Node.prototype.updateVelocity=function(t){var e=this.vx*this.vx*t;this.vx=Math.sqrt(e/this.mass),e=this.vy*this.vy*t,this.vy=Math.sqrt(e/this.mass)},Edge.prototype.setProperties=function(t,e){if(t)switch(void 0!==t.from&&(this.fromId=t.from),void 0!==t.to&&(this.toId=t.to),void 0!==t.id&&(this.id=t.id),void 0!==t.style&&(this.style=t.style),void 0!==t.label&&(this.label=t.label),this.label&&(this.fontSize=e.edges.fontSize,this.fontFace=e.edges.fontFace,this.fontColor=e.edges.fontColor,this.fontFill=e.edges.fontFill,void 0!==t.fontColor&&(this.fontColor=t.fontColor),void 0!==t.fontSize&&(this.fontSize=t.fontSize),void 0!==t.fontFace&&(this.fontFace=t.fontFace),void 0!==t.fontFill&&(this.fontFill=t.fontFill)),void 0!==t.title&&(this.title=t.title),void 0!==t.width&&(this.width=t.width),void 0!==t.value&&(this.value=t.value),void 0!==t.length&&(this.length=t.length,this.customLength=!0),void 0!==t.arrowScaleFactor&&(this.arrowScaleFactor=t.arrowScaleFactor),t.dash&&(void 0!==t.dash.length&&(this.dash.length=t.dash.length),void 0!==t.dash.gap&&(this.dash.gap=t.dash.gap),void 0!==t.dash.altLength&&(this.dash.altLength=t.dash.altLength)),void 0!==t.color&&(util.isString(t.color)?(this.color.color=t.color,this.color.highlight=t.color):(void 0!==t.color.color&&(this.color.color=t.color.color),void 0!==t.color.highlight&&(this.color.highlight=t.color.highlight))),this.connect(),this.widthFixed=this.widthFixed||void 0!==t.width,this.lengthFixed=this.lengthFixed||void 0!==t.length,this.style){case"line":this.draw=this._drawLine;break;case"arrow":this.draw=this._drawArrow;break;case"arrow-center":this.draw=this._drawArrowCenter;break;case"dash-line":this.draw=this._drawDashLine;break;default:this.draw=this._drawLine}},Edge.prototype.connect=function(){this.disconnect(),this.from=this.graph.nodes[this.fromId]||null,this.to=this.graph.nodes[this.toId]||null,this.connected=this.from&&this.to,this.connected?(this.from.attachEdge(this),this.to.attachEdge(this)):(this.from&&this.from.detachEdge(this),this.to&&this.to.detachEdge(this))},Edge.prototype.disconnect=function(){this.from&&(this.from.detachEdge(this),this.from=null),this.to&&(this.to.detachEdge(this),this.to=null),this.connected=!1},Edge.prototype.getTitle=function(){return"function"==typeof this.title?this.title():this.title},Edge.prototype.getValue=function(){return this.value},Edge.prototype.setValueRange=function(t,e){if(!this.widthFixed&&void 0!==this.value){var i=(this.widthMax-this.widthMin)/(e-t);this.width=(this.value-t)*i+this.widthMin}},Edge.prototype.draw=function(){throw"Method draw not initialized in edge"},Edge.prototype.isOverlappingWith=function(t){if(this.connected){var e=10,i=this.from.x,s=this.from.y,n=this.to.x,o=this.to.y,a=t.left,r=t.top,h=this._getDistanceToEdge(i,s,n,o,a,r);return e>h}return!1},Edge.prototype._drawLine=function(t){if(t.strokeStyle=1==this.selected?this.color.highlight:this.color.color,t.lineWidth=this._getLineWidth(),this.from!=this.to){this._line(t);var e;if(this.label){if(1==this.smooth){var i=.5*(.5*(this.from.x+this.via.x)+.5*(this.to.x+this.via.x)),s=.5*(.5*(this.from.y+this.via.y)+.5*(this.to.y+this.via.y));e={x:i,y:s}}else e=this._pointOnLine(.5);this._label(t,this.label,e.x,e.y)}}else{var n,o,a=this.length/4,r=this.from;r.width||r.resize(t),r.width>r.height?(n=r.x+r.width/2,o=r.y-a):(n=r.x+a,o=r.y-r.height/2),this._circle(t,n,o,a),e=this._pointOnCircle(n,o,a,.5),this._label(t,this.label,e.x,e.y)}},Edge.prototype._getLineWidth=function(){return 1==this.selected?Math.min(2*this.width,this.widthMax)*this.graphScaleInv:this.width*this.graphScaleInv},Edge.prototype._line=function(t){t.beginPath(),t.moveTo(this.from.x,this.from.y),1==this.smooth?t.quadraticCurveTo(this.via.x,this.via.y,this.to.x,this.to.y):t.lineTo(this.to.x,this.to.y),t.stroke() },Edge.prototype._circle=function(t,e,i,s){t.beginPath(),t.arc(e,i,s,0,2*Math.PI,!1),t.stroke()},Edge.prototype._label=function(t,e,i,s){if(e){t.font=(this.from.selected||this.to.selected?"bold ":"")+this.fontSize+"px "+this.fontFace,t.fillStyle=this.fontFill;var n=t.measureText(e).width,o=this.fontSize,a=i-n/2,r=s-o/2;t.fillRect(a,r,n,o),t.fillStyle=this.fontColor||"black",t.textAlign="left",t.textBaseline="top",t.fillText(e,a,r)}},Edge.prototype._drawDashLine=function(t){if(t.strokeStyle=1==this.selected?this.color.highlight:this.color.color,t.lineWidth=this._getLineWidth(),void 0!==t.mozDash||void 0!==t.setLineDash){t.beginPath(),t.moveTo(this.from.x,this.from.y);var e=[0];e=void 0!==this.dash.length&&void 0!==this.dash.gap?[this.dash.length,this.dash.gap]:[5,5],"undefined"!=typeof t.setLineDash?(t.setLineDash(e),t.lineDashOffset=0):(t.mozDash=e,t.mozDashOffset=0),1==this.smooth?t.quadraticCurveTo(this.via.x,this.via.y,this.to.x,this.to.y):t.lineTo(this.to.x,this.to.y),t.stroke(),"undefined"!=typeof t.setLineDash?(t.setLineDash([0]),t.lineDashOffset=0):(t.mozDash=[0],t.mozDashOffset=0)}else t.beginPath(),t.lineCap="round",void 0!==this.dash.altLength?t.dashedLine(this.from.x,this.from.y,this.to.x,this.to.y,[this.dash.length,this.dash.gap,this.dash.altLength,this.dash.gap]):void 0!==this.dash.length&&void 0!==this.dash.gap?t.dashedLine(this.from.x,this.from.y,this.to.x,this.to.y,[this.dash.length,this.dash.gap]):(t.moveTo(this.from.x,this.from.y),t.lineTo(this.to.x,this.to.y)),t.stroke();if(this.label){var i;if(1==this.smooth){var s=.5*(.5*(this.from.x+this.via.x)+.5*(this.to.x+this.via.x)),n=.5*(.5*(this.from.y+this.via.y)+.5*(this.to.y+this.via.y));i={x:s,y:n}}else i=this._pointOnLine(.5);this._label(t,this.label,i.x,i.y)}},Edge.prototype._pointOnLine=function(t){return{x:(1-t)*this.from.x+t*this.to.x,y:(1-t)*this.from.y+t*this.to.y}},Edge.prototype._pointOnCircle=function(t,e,i,s){var n=2*(s-3/8)*Math.PI;return{x:t+i*Math.cos(n),y:e-i*Math.sin(n)}},Edge.prototype._drawArrowCenter=function(t){var e;if(1==this.selected?(t.strokeStyle=this.color.highlight,t.fillStyle=this.color.highlight):(t.strokeStyle=this.color.color,t.fillStyle=this.color.color),t.lineWidth=this._getLineWidth(),this.from!=this.to){this._line(t);var i=Math.atan2(this.to.y-this.from.y,this.to.x-this.from.x),s=(10+5*this.width)*this.arrowScaleFactor;if(1==this.smooth){var n=.5*(.5*(this.from.x+this.via.x)+.5*(this.to.x+this.via.x)),o=.5*(.5*(this.from.y+this.via.y)+.5*(this.to.y+this.via.y));e={x:n,y:o}}else e=this._pointOnLine(.5);t.arrow(e.x,e.y,i,s),t.fill(),t.stroke(),this.label&&this._label(t,this.label,e.x,e.y)}else{var a,r,h=.25*Math.max(100,this.length),d=this.from;d.width||d.resize(t),d.width>d.height?(a=d.x+.5*d.width,r=d.y-h):(a=d.x+h,r=d.y-.5*d.height),this._circle(t,a,r,h);var i=.2*Math.PI,s=(10+5*this.width)*this.arrowScaleFactor;e=this._pointOnCircle(a,r,h,.5),t.arrow(e.x,e.y,i,s),t.fill(),t.stroke(),this.label&&(e=this._pointOnCircle(a,r,h,.5),this._label(t,this.label,e.x,e.y))}},Edge.prototype._drawArrow=function(t){1==this.selected?(t.strokeStyle=this.color.highlight,t.fillStyle=this.color.highlight):(t.strokeStyle=this.color.color,t.fillStyle=this.color.color),t.lineWidth=this._getLineWidth();var e,i;if(this.from!=this.to){e=Math.atan2(this.to.y-this.from.y,this.to.x-this.from.x);var s=this.to.x-this.from.x,n=this.to.y-this.from.y,o=Math.sqrt(s*s+n*n),a=this.from.distanceToBorder(t,e+Math.PI),r=(o-a)/o,h=r*this.from.x+(1-r)*this.to.x,d=r*this.from.y+(1-r)*this.to.y;1==this.smooth&&(e=Math.atan2(this.to.y-this.via.y,this.to.x-this.via.x),s=this.to.x-this.via.x,n=this.to.y-this.via.y,o=Math.sqrt(s*s+n*n));var c,l,u=this.to.distanceToBorder(t,e),p=(o-u)/o;if(1==this.smooth?(c=(1-p)*this.via.x+p*this.to.x,l=(1-p)*this.via.y+p*this.to.y):(c=(1-p)*this.from.x+p*this.to.x,l=(1-p)*this.from.y+p*this.to.y),t.beginPath(),t.moveTo(h,d),1==this.smooth?t.quadraticCurveTo(this.via.x,this.via.y,c,l):t.lineTo(c,l),t.stroke(),i=(10+5*this.width)*this.arrowScaleFactor,t.arrow(c,l,e,i),t.fill(),t.stroke(),this.label){var g;if(1==this.smooth){var m=.5*(.5*(this.from.x+this.via.x)+.5*(this.to.x+this.via.x)),f=.5*(.5*(this.from.y+this.via.y)+.5*(this.to.y+this.via.y));g={x:m,y:f}}else g=this._pointOnLine(.5);this._label(t,this.label,g.x,g.y)}}else{var v,y,_,b=this.from,w=.25*Math.max(100,this.length);b.width||b.resize(t),b.width>b.height?(v=b.x+.5*b.width,y=b.y-w,_={x:v,y:b.y,angle:.9*Math.PI}):(v=b.x+w,y=b.y-.5*b.height,_={x:b.x,y:y,angle:.6*Math.PI}),t.beginPath(),t.arc(v,y,w,0,2*Math.PI,!1),t.stroke();var i=(10+5*this.width)*this.arrowScaleFactor;t.arrow(_.x,_.y,_.angle,i),t.fill(),t.stroke(),this.label&&(g=this._pointOnCircle(v,y,w,.5),this._label(t,this.label,g.x,g.y))}},Edge.prototype._getDistanceToEdge=function(t,e,i,s,n,o){if(1==this.smooth){var a,r,h,d,c,l,u=1e9;for(a=0;10>a;a++)r=.1*a,h=Math.pow(1-r,2)*t+2*r*(1-r)*this.via.x+Math.pow(r,2)*i,d=Math.pow(1-r,2)*e+2*r*(1-r)*this.via.y+Math.pow(r,2)*s,c=Math.abs(n-h),l=Math.abs(o-d),u=Math.min(u,Math.sqrt(c*c+l*l));return u}var p=i-t,g=s-e,m=p*p+g*g,f=((n-t)*p+(o-e)*g)/m;f>1?f=1:0>f&&(f=0);var h=t+f*p,d=e+f*g,c=h-n,l=d-o;return Math.sqrt(c*c+l*l)},Edge.prototype.setScale=function(t){this.graphScaleInv=1/t},Edge.prototype.select=function(){this.selected=!0},Edge.prototype.unselect=function(){this.selected=!1},Edge.prototype.positionBezierNode=function(){null!==this.via&&(this.via.x=.5*(this.from.x+this.to.x),this.via.y=.5*(this.from.y+this.to.y))},Popup.prototype.setPosition=function(t,e){this.x=parseInt(t),this.y=parseInt(e)},Popup.prototype.setText=function(t){this.frame.innerHTML=t},Popup.prototype.show=function(t){if(void 0===t&&(t=!0),t){var e=this.frame.clientHeight,i=this.frame.clientWidth,s=this.frame.parentNode.clientHeight,n=this.frame.parentNode.clientWidth,o=this.y-e;o+e+this.padding>s&&(o=s-e-this.padding),o<this.padding&&(o=this.padding);var a=this.x;a+i+this.padding>n&&(a=n-i-this.padding),a<this.padding&&(a=this.padding),this.frame.style.left=a+"px",this.frame.style.top=o+"px",this.frame.style.visibility="visible"}else this.hide()},Popup.prototype.hide=function(){this.frame.style.visibility="hidden"},Groups.DEFAULT=[{border:"#2B7CE9",background:"#97C2FC",highlight:{border:"#2B7CE9",background:"#D2E5FF"}},{border:"#FFA500",background:"#FFFF00",highlight:{border:"#FFA500",background:"#FFFFA3"}},{border:"#FA0A10",background:"#FB7E81",highlight:{border:"#FA0A10",background:"#FFAFB1"}},{border:"#41A906",background:"#7BE141",highlight:{border:"#41A906",background:"#A1EC76"}},{border:"#E129F0",background:"#EB7DF4",highlight:{border:"#E129F0",background:"#F0B3F5"}},{border:"#7C29F0",background:"#AD85E4",highlight:{border:"#7C29F0",background:"#D3BDF0"}},{border:"#C37F00",background:"#FFA807",highlight:{border:"#C37F00",background:"#FFCA66"}},{border:"#4220FB",background:"#6E6EFD",highlight:{border:"#4220FB",background:"#9B9BFD"}},{border:"#FD5A77",background:"#FFC0CB",highlight:{border:"#FD5A77",background:"#FFD1D9"}},{border:"#4AD63A",background:"#C2FABC",highlight:{border:"#4AD63A",background:"#E6FFE3"}}],Groups.prototype.clear=function(){this.groups={},this.groups.length=function(){var t=0;for(var e in this)this.hasOwnProperty(e)&&t++;return t}},Groups.prototype.get=function(t){var e=this.groups[t];if(void 0==e){var i=this.defaultIndex%Groups.DEFAULT.length;this.defaultIndex++,e={},e.color=Groups.DEFAULT[i],this.groups[t]=e}return e},Groups.prototype.add=function(t,e){return this.groups[t]=e,e.color&&(e.color=util.parseColor(e.color)),e},Images.prototype.setOnloadCallback=function(t){this.callback=t},Images.prototype.load=function(t){var e=this.images[t];if(void 0==e){var i=this;e=new Image,this.images[t]=e,e.onload=function(){i.callback&&i.callback(this)},e.src=t}return e};var physicsMixin={_toggleBarnesHut:function(){this.constants.physics.barnesHut.enabled=!this.constants.physics.barnesHut.enabled,this._loadSelectedForceSolver(),this.moving=!0,this.start()},_loadSelectedForceSolver:function(){1==this.constants.physics.barnesHut.enabled?(this._clearMixin(repulsionMixin),this._clearMixin(hierarchalRepulsionMixin),this.constants.physics.centralGravity=this.constants.physics.barnesHut.centralGravity,this.constants.physics.springLength=this.constants.physics.barnesHut.springLength,this.constants.physics.springConstant=this.constants.physics.barnesHut.springConstant,this.constants.physics.damping=this.constants.physics.barnesHut.damping,this._loadMixin(barnesHutMixin)):1==this.constants.physics.hierarchicalRepulsion.enabled?(this._clearMixin(barnesHutMixin),this._clearMixin(repulsionMixin),this.constants.physics.centralGravity=this.constants.physics.hierarchicalRepulsion.centralGravity,this.constants.physics.springLength=this.constants.physics.hierarchicalRepulsion.springLength,this.constants.physics.springConstant=this.constants.physics.hierarchicalRepulsion.springConstant,this.constants.physics.damping=this.constants.physics.hierarchicalRepulsion.damping,this._loadMixin(hierarchalRepulsionMixin)):(this._clearMixin(barnesHutMixin),this._clearMixin(hierarchalRepulsionMixin),this.barnesHutTree=void 0,this.constants.physics.centralGravity=this.constants.physics.repulsion.centralGravity,this.constants.physics.springLength=this.constants.physics.repulsion.springLength,this.constants.physics.springConstant=this.constants.physics.repulsion.springConstant,this.constants.physics.damping=this.constants.physics.repulsion.damping,this._loadMixin(repulsionMixin))},_initializeForceCalculation:function(){1==this.nodeIndices.length?this.nodes[this.nodeIndices[0]]._setForce(0,0):(this.nodeIndices.length>this.constants.clustering.clusterThreshold&&1==this.constants.clustering.enabled&&this.clusterToFit(this.constants.clustering.reduceToNodes,!1),this._calculateForces())},_calculateForces:function(){this._calculateGravitationalForces(),this._calculateNodeForces(),1==this.constants.smoothCurves?this._calculateSpringForcesWithSupport():this._calculateSpringForces()},_updateCalculationNodes:function(){if(1==this.constants.smoothCurves){this.calculationNodes={},this.calculationNodeIndices=[];for(var t in this.nodes)this.nodes.hasOwnProperty(t)&&(this.calculationNodes[t]=this.nodes[t]);var e=this.sectors.support.nodes;for(var i in e)e.hasOwnProperty(i)&&(this.edges.hasOwnProperty(e[i].parentEdgeId)?this.calculationNodes[i]=e[i]:e[i]._setForce(0,0));for(var s in this.calculationNodes)this.calculationNodes.hasOwnProperty(s)&&this.calculationNodeIndices.push(s)}else this.calculationNodes=this.nodes,this.calculationNodeIndices=this.nodeIndices},_calculateGravitationalForces:function(){var t,e,i,s,n,o=this.calculationNodes,a=this.constants.physics.centralGravity,r=0;for(n=0;n<this.calculationNodeIndices.length;n++)s=o[this.calculationNodeIndices[n]],s.damping=this.constants.physics.damping,"default"==this._sector()&&0!=a?(t=-s.x,e=-s.y,i=Math.sqrt(t*t+e*e),r=0==i?0:a/i,s.fx=t*r,s.fy=e*r):(s.fx=0,s.fy=0)},_calculateSpringForces:function(){var t,e,i,s,n,o,a,r,h,d=this.edges;for(i in d)d.hasOwnProperty(i)&&(e=d[i],e.connected&&this.nodes.hasOwnProperty(e.toId)&&this.nodes.hasOwnProperty(e.fromId)&&(t=e.customLength?e.length:this.constants.physics.springLength,t+=(e.to.clusterSize+e.from.clusterSize-2)*this.constants.clustering.edgeGrowth,s=e.from.x-e.to.x,n=e.from.y-e.to.y,h=Math.sqrt(s*s+n*n),0==h&&(h=.01),r=this.constants.physics.springConstant*(t-h)/h,o=s*r,a=n*r,e.from.fx+=o,e.from.fy+=a,e.to.fx-=o,e.to.fy-=a))},_calculateSpringForcesWithSupport:function(){var t,e,i,s,n=this.edges;for(i in n)if(n.hasOwnProperty(i)&&(e=n[i],e.connected&&this.nodes.hasOwnProperty(e.toId)&&this.nodes.hasOwnProperty(e.fromId)&&null!=e.via)){var o=e.to,a=e.via,r=e.from;t=e.customLength?e.length:this.constants.physics.springLength,s=o.clusterSize+r.clusterSize-2,t+=s*this.constants.clustering.edgeGrowth,this._calculateSpringForce(o,a,.5*t),this._calculateSpringForce(a,r,.5*t)}},_calculateSpringForce:function(t,e,i){var s,n,o,a,r,h;s=t.x-e.x,n=t.y-e.y,h=Math.sqrt(s*s+n*n),0==h&&(h=.01),r=this.constants.physics.springConstant*(i-h)/h,o=s*r,a=n*r,t.fx+=o,t.fy+=a,e.fx-=o,e.fy-=a},_loadPhysicsConfiguration:function(){if(void 0===this.physicsConfiguration){this.backupConstants={},util.copyObject(this.constants,this.backupConstants);var t=["LR","RL","UD","DU"];this.physicsConfiguration=document.createElement("div"),this.physicsConfiguration.className="PhysicsConfiguration",this.physicsConfiguration.innerHTML='<table><tr><td><b>Simulation Mode:</b></td></tr><tr><td width="120px"><input type="radio" name="graph_physicsMethod" id="graph_physicsMethod1" value="BH" checked="checked">Barnes Hut</td><td width="120px"><input type="radio" name="graph_physicsMethod" id="graph_physicsMethod2" value="R">Repulsion</td><td width="120px"><input type="radio" name="graph_physicsMethod" id="graph_physicsMethod3" value="H">Hierarchical</td></tr></table><table id="graph_BH_table" style="display:none"><tr><td><b>Barnes Hut</b></td></tr><tr><td width="150px">gravitationalConstant</td><td>0</td><td><input type="range" min="500" max="20000" value="'+-1*this.constants.physics.barnesHut.gravitationalConstant+'" step="25" style="width:300px" id="graph_BH_gc"></td><td width="50px">-20000</td><td><input value="'+-1*this.constants.physics.barnesHut.gravitationalConstant+'" id="graph_BH_gc_value" style="width:60px"></td></tr><tr><td width="150px">centralGravity</td><td>0</td><td><input type="range" min="0" max="3" value="'+this.constants.physics.barnesHut.centralGravity+'" step="0.05" style="width:300px" id="graph_BH_cg"></td><td>3</td><td><input value="'+this.constants.physics.barnesHut.centralGravity+'" id="graph_BH_cg_value" style="width:60px"></td></tr><tr><td width="150px">springLength</td><td>0</td><td><input type="range" min="0" max="500" value="'+this.constants.physics.barnesHut.springLength+'" step="1" style="width:300px" id="graph_BH_sl"></td><td>500</td><td><input value="'+this.constants.physics.barnesHut.springLength+'" id="graph_BH_sl_value" style="width:60px"></td></tr><tr><td width="150px">springConstant</td><td>0</td><td><input type="range" min="0" max="0.5" value="'+this.constants.physics.barnesHut.springConstant+'" step="0.001" style="width:300px" id="graph_BH_sc"></td><td>0.5</td><td><input value="'+this.constants.physics.barnesHut.springConstant+'" id="graph_BH_sc_value" style="width:60px"></td></tr><tr><td width="150px">damping</td><td>0</td><td><input type="range" min="0" max="0.3" value="'+this.constants.physics.barnesHut.damping+'" step="0.005" style="width:300px" id="graph_BH_damp"></td><td>0.3</td><td><input value="'+this.constants.physics.barnesHut.damping+'" id="graph_BH_damp_value" style="width:60px"></td></tr></table><table id="graph_R_table" style="display:none"><tr><td><b>Repulsion</b></td></tr><tr><td width="150px">nodeDistance</td><td>0</td><td><input type="range" min="0" max="300" value="'+this.constants.physics.repulsion.nodeDistance+'" step="1" style="width:300px" id="graph_R_nd"></td><td width="50px">300</td><td><input value="'+this.constants.physics.repulsion.nodeDistance+'" id="graph_R_nd_value" style="width:60px"></td></tr><tr><td width="150px">centralGravity</td><td>0</td><td><input type="range" min="0" max="3" value="'+this.constants.physics.repulsion.centralGravity+'" step="0.05" style="width:300px" id="graph_R_cg"></td><td>3</td><td><input value="'+this.constants.physics.repulsion.centralGravity+'" id="graph_R_cg_value" style="width:60px"></td></tr><tr><td width="150px">springLength</td><td>0</td><td><input type="range" min="0" max="500" value="'+this.constants.physics.repulsion.springLength+'" step="1" style="width:300px" id="graph_R_sl"></td><td>500</td><td><input value="'+this.constants.physics.repulsion.springLength+'" id="graph_R_sl_value" style="width:60px"></td></tr><tr><td width="150px">springConstant</td><td>0</td><td><input type="range" min="0" max="0.5" value="'+this.constants.physics.repulsion.springConstant+'" step="0.001" style="width:300px" id="graph_R_sc"></td><td>0.5</td><td><input value="'+this.constants.physics.repulsion.springConstant+'" id="graph_R_sc_value" style="width:60px"></td></tr><tr><td width="150px">damping</td><td>0</td><td><input type="range" min="0" max="0.3" value="'+this.constants.physics.repulsion.damping+'" step="0.005" style="width:300px" id="graph_R_damp"></td><td>0.3</td><td><input value="'+this.constants.physics.repulsion.damping+'" id="graph_R_damp_value" style="width:60px"></td></tr></table><table id="graph_H_table" style="display:none"><tr><td width="150"><b>Hierarchical</b></td></tr><tr><td width="150px">nodeDistance</td><td>0</td><td><input type="range" min="0" max="300" value="'+this.constants.physics.hierarchicalRepulsion.nodeDistance+'" step="1" style="width:300px" id="graph_H_nd"></td><td width="50px">300</td><td><input value="'+this.constants.physics.hierarchicalRepulsion.nodeDistance+'" id="graph_H_nd_value" style="width:60px"></td></tr><tr><td width="150px">centralGravity</td><td>0</td><td><input type="range" min="0" max="3" value="'+this.constants.physics.hierarchicalRepulsion.centralGravity+'" step="0.05" style="width:300px" id="graph_H_cg"></td><td>3</td><td><input value="'+this.constants.physics.hierarchicalRepulsion.centralGravity+'" id="graph_H_cg_value" style="width:60px"></td></tr><tr><td width="150px">springLength</td><td>0</td><td><input type="range" min="0" max="500" value="'+this.constants.physics.hierarchicalRepulsion.springLength+'" step="1" style="width:300px" id="graph_H_sl"></td><td>500</td><td><input value="'+this.constants.physics.hierarchicalRepulsion.springLength+'" id="graph_H_sl_value" style="width:60px"></td></tr><tr><td width="150px">springConstant</td><td>0</td><td><input type="range" min="0" max="0.5" value="'+this.constants.physics.hierarchicalRepulsion.springConstant+'" step="0.001" style="width:300px" id="graph_H_sc"></td><td>0.5</td><td><input value="'+this.constants.physics.hierarchicalRepulsion.springConstant+'" id="graph_H_sc_value" style="width:60px"></td></tr><tr><td width="150px">damping</td><td>0</td><td><input type="range" min="0" max="0.3" value="'+this.constants.physics.hierarchicalRepulsion.damping+'" step="0.005" style="width:300px" id="graph_H_damp"></td><td>0.3</td><td><input value="'+this.constants.physics.hierarchicalRepulsion.damping+'" id="graph_H_damp_value" style="width:60px"></td></tr><tr><td width="150px">direction</td><td>1</td><td><input type="range" min="0" max="3" value="'+t.indexOf(this.constants.hierarchicalLayout.direction)+'" step="1" style="width:300px" id="graph_H_direction"></td><td>4</td><td><input value="'+this.constants.hierarchicalLayout.direction+'" id="graph_H_direction_value" style="width:60px"></td></tr><tr><td width="150px">levelSeparation</td><td>1</td><td><input type="range" min="0" max="500" value="'+this.constants.hierarchicalLayout.levelSeparation+'" step="1" style="width:300px" id="graph_H_levsep"></td><td>500</td><td><input value="'+this.constants.hierarchicalLayout.levelSeparation+'" id="graph_H_levsep_value" style="width:60px"></td></tr><tr><td width="150px">nodeSpacing</td><td>1</td><td><input type="range" min="0" max="500" value="'+this.constants.hierarchicalLayout.nodeSpacing+'" step="1" style="width:300px" id="graph_H_nspac"></td><td>500</td><td><input value="'+this.constants.hierarchicalLayout.nodeSpacing+'" id="graph_H_nspac_value" style="width:60px"></td></tr></table><table><tr><td><b>Options:</b></td></tr><tr><td width="180px"><input type="button" id="graph_toggleSmooth" value="Toggle smoothCurves" style="width:150px"></td><td width="180px"><input type="button" id="graph_repositionNodes" value="Reinitialize" style="width:150px"></td><td width="180px"><input type="button" id="graph_generateOptions" value="Generate Options" style="width:150px"></td></tr></table>',this.containerElement.parentElement.insertBefore(this.physicsConfiguration,this.containerElement),this.optionsDiv=document.createElement("div"),this.optionsDiv.style.fontSize="14px",this.optionsDiv.style.fontFamily="verdana",this.containerElement.parentElement.insertBefore(this.optionsDiv,this.containerElement);var e;e=document.getElementById("graph_BH_gc"),e.onchange=showValueOfRange.bind(this,"graph_BH_gc",-1,"physics_barnesHut_gravitationalConstant"),e=document.getElementById("graph_BH_cg"),e.onchange=showValueOfRange.bind(this,"graph_BH_cg",1,"physics_centralGravity"),e=document.getElementById("graph_BH_sc"),e.onchange=showValueOfRange.bind(this,"graph_BH_sc",1,"physics_springConstant"),e=document.getElementById("graph_BH_sl"),e.onchange=showValueOfRange.bind(this,"graph_BH_sl",1,"physics_springLength"),e=document.getElementById("graph_BH_damp"),e.onchange=showValueOfRange.bind(this,"graph_BH_damp",1,"physics_damping"),e=document.getElementById("graph_R_nd"),e.onchange=showValueOfRange.bind(this,"graph_R_nd",1,"physics_repulsion_nodeDistance"),e=document.getElementById("graph_R_cg"),e.onchange=showValueOfRange.bind(this,"graph_R_cg",1,"physics_centralGravity"),e=document.getElementById("graph_R_sc"),e.onchange=showValueOfRange.bind(this,"graph_R_sc",1,"physics_springConstant"),e=document.getElementById("graph_R_sl"),e.onchange=showValueOfRange.bind(this,"graph_R_sl",1,"physics_springLength"),e=document.getElementById("graph_R_damp"),e.onchange=showValueOfRange.bind(this,"graph_R_damp",1,"physics_damping"),e=document.getElementById("graph_H_nd"),e.onchange=showValueOfRange.bind(this,"graph_H_nd",1,"physics_hierarchicalRepulsion_nodeDistance"),e=document.getElementById("graph_H_cg"),e.onchange=showValueOfRange.bind(this,"graph_H_cg",1,"physics_centralGravity"),e=document.getElementById("graph_H_sc"),e.onchange=showValueOfRange.bind(this,"graph_H_sc",1,"physics_springConstant"),e=document.getElementById("graph_H_sl"),e.onchange=showValueOfRange.bind(this,"graph_H_sl",1,"physics_springLength"),e=document.getElementById("graph_H_damp"),e.onchange=showValueOfRange.bind(this,"graph_H_damp",1,"physics_damping"),e=document.getElementById("graph_H_direction"),e.onchange=showValueOfRange.bind(this,"graph_H_direction",t,"hierarchicalLayout_direction"),e=document.getElementById("graph_H_levsep"),e.onchange=showValueOfRange.bind(this,"graph_H_levsep",1,"hierarchicalLayout_levelSeparation"),e=document.getElementById("graph_H_nspac"),e.onchange=showValueOfRange.bind(this,"graph_H_nspac",1,"hierarchicalLayout_nodeSpacing");var i=document.getElementById("graph_physicsMethod1"),s=document.getElementById("graph_physicsMethod2"),n=document.getElementById("graph_physicsMethod3");s.checked=!0,this.constants.physics.barnesHut.enabled&&(i.checked=!0),this.constants.hierarchicalLayout.enabled&&(n.checked=!0);var o=document.getElementById("graph_toggleSmooth"),a=document.getElementById("graph_repositionNodes"),r=document.getElementById("graph_generateOptions");o.onclick=graphToggleSmoothCurves.bind(this),a.onclick=graphRepositionNodes.bind(this),r.onclick=graphGenerateOptions.bind(this),o.style.background=1==this.constants.smoothCurves?"#A4FF56":"#FF8532",switchConfigurations.apply(this),i.onchange=switchConfigurations.bind(this),s.onchange=switchConfigurations.bind(this),n.onchange=switchConfigurations.bind(this)}},_overWriteGraphConstants:function(t,e){var i=t.split("_");1==i.length?this.constants[i[0]]=e:2==i.length?this.constants[i[0]][i[1]]=e:3==i.length&&(this.constants[i[0]][i[1]][i[2]]=e)}},hierarchalRepulsionMixin={_calculateNodeForces:function(){var t,e,i,s,n,o,a,r,h,d,c=this.calculationNodes,l=this.calculationNodeIndices,u=5,p=.5*-u,g=this.constants.physics.hierarchicalRepulsion.nodeDistance,m=g;for(h=0;h<l.length-1;h++)for(a=c[l[h]],d=h+1;d<l.length;d++){r=c[l[d]],t=r.x-a.x,e=r.y-a.y,i=Math.sqrt(t*t+e*e);var f=p/m;2*m>i&&(o=f*i+u,0==i?i=.01:o/=i,s=t*o,n=e*o,a.fx-=s,a.fy-=n,r.fx+=s,r.fy+=n)}}},barnesHutMixin={_calculateNodeForces:function(){if(0!=this.constants.physics.barnesHut.gravitationalConstant){var t,e=this.calculationNodes,i=this.calculationNodeIndices,s=i.length;this._formBarnesHutTree(e,i);for(var n=this.barnesHutTree,o=0;s>o;o++)t=e[i[o]],this._getForceContribution(n.root.children.NW,t),this._getForceContribution(n.root.children.NE,t),this._getForceContribution(n.root.children.SW,t),this._getForceContribution(n.root.children.SE,t)}},_getForceContribution:function(t,e){if(t.childrenCount>0){var i,s,n;if(i=t.centerOfMass.x-e.x,s=t.centerOfMass.y-e.y,n=Math.sqrt(i*i+s*s),n*t.calcSize>this.constants.physics.barnesHut.theta){0==n&&(n=.1*Math.random(),i=n);var o=this.constants.physics.barnesHut.gravitationalConstant*t.mass*e.mass/(n*n*n),a=i*o,r=s*o;e.fx+=a,e.fy+=r}else if(4==t.childrenCount)this._getForceContribution(t.children.NW,e),this._getForceContribution(t.children.NE,e),this._getForceContribution(t.children.SW,e),this._getForceContribution(t.children.SE,e);else if(t.children.data.id!=e.id){0==n&&(n=.5*Math.random(),i=n);var o=this.constants.physics.barnesHut.gravitationalConstant*t.mass*e.mass/(n*n*n),a=i*o,r=s*o;e.fx+=a,e.fy+=r}}},_formBarnesHutTree:function(t,e){for(var i,s=e.length,n=Number.MAX_VALUE,o=Number.MAX_VALUE,a=-Number.MAX_VALUE,r=-Number.MAX_VALUE,h=0;s>h;h++){var d=t[e[h]].x,c=t[e[h]].y;n>d&&(n=d),d>a&&(a=d),o>c&&(o=c),c>r&&(r=c)}var l=Math.abs(a-n)-Math.abs(r-o);l>0?(o-=.5*l,r+=.5*l):(n+=.5*l,a-=.5*l);var u=1e-5,p=Math.max(u,Math.abs(a-n)),g=.5*p,m=.5*(n+a),f=.5*(o+r),v={root:{centerOfMass:{x:0,y:0},mass:0,range:{minX:m-g,maxX:m+g,minY:f-g,maxY:f+g},size:p,calcSize:1/p,children:{data:null},maxWidth:0,level:0,childrenCount:4}};for(this._splitBranch(v.root),h=0;s>h;h++)i=t[e[h]],this._placeInTree(v.root,i);this.barnesHutTree=v},_updateBranchMass:function(t,e){var i=t.mass+e.mass,s=1/i;t.centerOfMass.x=t.centerOfMass.x*t.mass+e.x*e.mass,t.centerOfMass.x*=s,t.centerOfMass.y=t.centerOfMass.y*t.mass+e.y*e.mass,t.centerOfMass.y*=s,t.mass=i;var n=Math.max(Math.max(e.height,e.radius),e.width);t.maxWidth=t.maxWidth<n?n:t.maxWidth},_placeInTree:function(t,e,i){(1!=i||void 0===i)&&this._updateBranchMass(t,e),t.children.NW.range.maxX>e.x?t.children.NW.range.maxY>e.y?this._placeInRegion(t,e,"NW"):this._placeInRegion(t,e,"SW"):t.children.NW.range.maxY>e.y?this._placeInRegion(t,e,"NE"):this._placeInRegion(t,e,"SE")},_placeInRegion:function(t,e,i){switch(t.children[i].childrenCount){case 0:t.children[i].children.data=e,t.children[i].childrenCount=1,this._updateBranchMass(t.children[i],e);break;case 1:t.children[i].children.data.x==e.x&&t.children[i].children.data.y==e.y?(e.x+=Math.random(),e.y+=Math.random()):(this._splitBranch(t.children[i]),this._placeInTree(t.children[i],e));break;case 4:this._placeInTree(t.children[i],e)}},_splitBranch:function(t){var e=null;1==t.childrenCount&&(e=t.children.data,t.mass=0,t.centerOfMass.x=0,t.centerOfMass.y=0),t.childrenCount=4,t.children.data=null,this._insertRegion(t,"NW"),this._insertRegion(t,"NE"),this._insertRegion(t,"SW"),this._insertRegion(t,"SE"),null!=e&&this._placeInTree(t,e)},_insertRegion:function(t,e){var i,s,n,o,a=.5*t.size;switch(e){case"NW":i=t.range.minX,s=t.range.minX+a,n=t.range.minY,o=t.range.minY+a;break;case"NE":i=t.range.minX+a,s=t.range.maxX,n=t.range.minY,o=t.range.minY+a;break;case"SW":i=t.range.minX,s=t.range.minX+a,n=t.range.minY+a,o=t.range.maxY;break;case"SE":i=t.range.minX+a,s=t.range.maxX,n=t.range.minY+a,o=t.range.maxY}t.children[e]={centerOfMass:{x:0,y:0},mass:0,range:{minX:i,maxX:s,minY:n,maxY:o},size:.5*t.size,calcSize:2*t.calcSize,children:{data:null},maxWidth:0,level:t.level+1,childrenCount:0}},_drawTree:function(t,e){void 0!==this.barnesHutTree&&(t.lineWidth=1,this._drawBranch(this.barnesHutTree.root,t,e))},_drawBranch:function(t,e,i){void 0===i&&(i="#FF0000"),4==t.childrenCount&&(this._drawBranch(t.children.NW,e),this._drawBranch(t.children.NE,e),this._drawBranch(t.children.SE,e),this._drawBranch(t.children.SW,e)),e.strokeStyle=i,e.beginPath(),e.moveTo(t.range.minX,t.range.minY),e.lineTo(t.range.maxX,t.range.minY),e.stroke(),e.beginPath(),e.moveTo(t.range.maxX,t.range.minY),e.lineTo(t.range.maxX,t.range.maxY),e.stroke(),e.beginPath(),e.moveTo(t.range.maxX,t.range.maxY),e.lineTo(t.range.minX,t.range.maxY),e.stroke(),e.beginPath(),e.moveTo(t.range.minX,t.range.maxY),e.lineTo(t.range.minX,t.range.minY),e.stroke()}},repulsionMixin={_calculateNodeForces:function(){var t,e,i,s,n,o,a,r,h,d,c,l=this.calculationNodes,u=this.calculationNodeIndices,p=-2/3,g=4/3,m=this.constants.physics.repulsion.nodeDistance,f=m;for(d=0;d<u.length-1;d++)for(r=l[u[d]],c=d+1;c<u.length;c++){h=l[u[c]],o=r.clusterSize+h.clusterSize-2,t=h.x-r.x,e=h.y-r.y,i=Math.sqrt(t*t+e*e),f=0==o?m:m*(1+o*this.constants.clustering.distanceAmplification);var v=p/f;2*f>i&&(a=.5*f>i?1:v*i+g,a*=0==o?1:1+o*this.constants.clustering.forceAmplification,a/=i,s=t*a,n=e*a,r.fx-=s,r.fy-=n,h.fx+=s,h.fy+=n)}}},HierarchicalLayoutMixin={_resetLevels:function(){for(var t in this.nodes)if(this.nodes.hasOwnProperty(t)){var e=this.nodes[t];0==e.preassignedLevel&&(e.level=-1)}},_setupHierarchicalLayout:function(){if(1==this.constants.hierarchicalLayout.enabled){"RL"==this.constants.hierarchicalLayout.direction||"DU"==this.constants.hierarchicalLayout.direction?this.constants.hierarchicalLayout.levelSeparation*=-1:this.constants.hierarchicalLayout.levelSeparation=Math.abs(this.constants.hierarchicalLayout.levelSeparation);var t,e,i=0,s=!1,n=!1;for(e in this.nodes)this.nodes.hasOwnProperty(e)&&(t=this.nodes[e],-1!=t.level?s=!0:n=!0,i<t.edges.length&&(i=t.edges.length));if(1==n&&1==s)alert("To use the hierarchical layout, nodes require either no predefined levels or levels have to be defined for all nodes."),this.zoomExtent(!0,this.constants.clustering.enabled),this.constants.clustering.enabled||this.start();else{this._changeConstants(),1==n&&this._determineLevels(i);var o=this._getDistribution();this._placeNodesByHierarchy(o),this.start()}}},_placeNodesByHierarchy:function(t){var e,i;for(e in t[0].nodes)t[0].nodes.hasOwnProperty(e)&&(i=t[0].nodes[e],"UD"==this.constants.hierarchicalLayout.direction||"DU"==this.constants.hierarchicalLayout.direction?i.xFixed&&(i.x=t[0].minPos,i.xFixed=!1,t[0].minPos+=t[0].nodeSpacing):i.yFixed&&(i.y=t[0].minPos,i.yFixed=!1,t[0].minPos+=t[0].nodeSpacing),this._placeBranchNodes(i.edges,i.id,t,i.level));this._stabilize()},_getDistribution:function(){var t,e,i,s={};for(t in this.nodes)this.nodes.hasOwnProperty(t)&&(e=this.nodes[t],e.xFixed=!0,e.yFixed=!0,"UD"==this.constants.hierarchicalLayout.direction||"DU"==this.constants.hierarchicalLayout.direction?e.y=this.constants.hierarchicalLayout.levelSeparation*e.level:e.x=this.constants.hierarchicalLayout.levelSeparation*e.level,s.hasOwnProperty(e.level)||(s[e.level]={amount:0,nodes:{},minPos:0,nodeSpacing:0}),s[e.level].amount+=1,s[e.level].nodes[e.id]=e);var n=0;for(i in s)s.hasOwnProperty(i)&&n<s[i].amount&&(n=s[i].amount);for(i in s)s.hasOwnProperty(i)&&(s[i].nodeSpacing=(n+1)*this.constants.hierarchicalLayout.nodeSpacing,s[i].nodeSpacing/=s[i].amount+1,s[i].minPos=s[i].nodeSpacing-.5*(s[i].amount+1)*s[i].nodeSpacing);return s},_determineLevels:function(t){var e,i;for(e in this.nodes)this.nodes.hasOwnProperty(e)&&(i=this.nodes[e],i.edges.length==t&&(i.level=0));for(e in this.nodes)this.nodes.hasOwnProperty(e)&&(i=this.nodes[e],0==i.level&&this._setLevel(1,i.edges,i.id))},_changeConstants:function(){this.constants.clustering.enabled=!1,this.constants.physics.barnesHut.enabled=!1,this.constants.physics.hierarchicalRepulsion.enabled=!0,this._loadSelectedForceSolver(),this.constants.smoothCurves=!1,this._configureSmoothCurves()},_placeBranchNodes:function(t,e,i,s){for(var n=0;n<t.length;n++){var o=null;o=t[n].toId==e?t[n].from:t[n].to;var a=!1;"UD"==this.constants.hierarchicalLayout.direction||"DU"==this.constants.hierarchicalLayout.direction?o.xFixed&&o.level>s&&(o.xFixed=!1,o.x=i[o.level].minPos,a=!0):o.yFixed&&o.level>s&&(o.yFixed=!1,o.y=i[o.level].minPos,a=!0),1==a&&(i[o.level].minPos+=i[o.level].nodeSpacing,o.edges.length>1&&this._placeBranchNodes(o.edges,o.id,i,o.level))}},_setLevel:function(t,e,i){for(var s=0;s<e.length;s++){var n=null;n=e[s].toId==i?e[s].from:e[s].to,(-1==n.level||n.level>t)&&(n.level=t,e.length>1&&this._setLevel(t+1,n.edges,n.id)) }},_restoreNodes:function(){for(nodeId in this.nodes)this.nodes.hasOwnProperty(nodeId)&&(this.nodes[nodeId].xFixed=!1,this.nodes[nodeId].yFixed=!1)}},manipulationMixin={_clearManipulatorBar:function(){for(;this.manipulationDiv.hasChildNodes();)this.manipulationDiv.removeChild(this.manipulationDiv.firstChild)},_restoreOverloadedFunctions:function(){for(var t in this.cachedFunctions)this.cachedFunctions.hasOwnProperty(t)&&(this[t]=this.cachedFunctions[t])},_toggleEditMode:function(){this.editMode=!this.editMode;var t=document.getElementById("graph-manipulationDiv"),e=document.getElementById("graph-manipulation-closeDiv"),i=document.getElementById("graph-manipulation-editMode");1==this.editMode?(t.style.display="block",e.style.display="block",i.style.display="none",e.onclick=this._toggleEditMode.bind(this)):(t.style.display="none",e.style.display="none",i.style.display="block",e.onclick=null),this._createManipulatorBar()},_createManipulatorBar:function(){if(this.boundFunction&&this.off("select",this.boundFunction),this._restoreOverloadedFunctions(),this.freezeSimulation=!1,this.blockConnectingEdgeSelection=!1,this.forceAppendSelection=!1,1==this.editMode){for(;this.manipulationDiv.hasChildNodes();)this.manipulationDiv.removeChild(this.manipulationDiv.firstChild);this.manipulationDiv.innerHTML="<span class='graph-manipulationUI add' id='graph-manipulate-addNode'><span class='graph-manipulationLabel'>"+this.constants.labels.add+"</span></span><div class='graph-seperatorLine'></div><span class='graph-manipulationUI connect' id='graph-manipulate-connectNode'><span class='graph-manipulationLabel'>"+this.constants.labels.link+"</span></span>",1==this._getSelectedNodeCount()&&this.triggerFunctions.edit&&(this.manipulationDiv.innerHTML+="<div class='graph-seperatorLine'></div><span class='graph-manipulationUI edit' id='graph-manipulate-editNode'><span class='graph-manipulationLabel'>"+this.constants.labels.editNode+"</span></span>"),0==this._selectionIsEmpty()&&(this.manipulationDiv.innerHTML+="<div class='graph-seperatorLine'></div><span class='graph-manipulationUI delete' id='graph-manipulate-delete'><span class='graph-manipulationLabel'>"+this.constants.labels.del+"</span></span>");var t=document.getElementById("graph-manipulate-addNode");t.onclick=this._createAddNodeToolbar.bind(this);var e=document.getElementById("graph-manipulate-connectNode");if(e.onclick=this._createAddEdgeToolbar.bind(this),1==this._getSelectedNodeCount()&&this.triggerFunctions.edit){var i=document.getElementById("graph-manipulate-editNode");i.onclick=this._editNode.bind(this)}if(0==this._selectionIsEmpty()){var s=document.getElementById("graph-manipulate-delete");s.onclick=this._deleteSelected.bind(this)}var n=document.getElementById("graph-manipulation-closeDiv");n.onclick=this._toggleEditMode.bind(this),this.boundFunction=this._createManipulatorBar.bind(this),this.on("select",this.boundFunction)}else{this.editModeDiv.innerHTML="<span class='graph-manipulationUI edit editmode' id='graph-manipulate-editModeButton'><span class='graph-manipulationLabel'>"+this.constants.labels.edit+"</span></span>";var o=document.getElementById("graph-manipulate-editModeButton");o.onclick=this._toggleEditMode.bind(this)}},_createAddNodeToolbar:function(){this._clearManipulatorBar(),this.boundFunction&&this.off("select",this.boundFunction),this.manipulationDiv.innerHTML="<span class='graph-manipulationUI back' id='graph-manipulate-back'><span class='graph-manipulationLabel'>"+this.constants.labels.back+" </span></span><div class='graph-seperatorLine'></div><span class='graph-manipulationUI none' id='graph-manipulate-back'><span id='graph-manipulatorLabel' class='graph-manipulationLabel'>"+this.constants.labels.addDescription+"</span></span>";var t=document.getElementById("graph-manipulate-back");t.onclick=this._createManipulatorBar.bind(this),this.boundFunction=this._addNode.bind(this),this.on("select",this.boundFunction)},_createAddEdgeToolbar:function(){this._clearManipulatorBar(),this._unselectAll(!0),this.freezeSimulation=!0,this.boundFunction&&this.off("select",this.boundFunction),this._unselectAll(),this.forceAppendSelection=!1,this.blockConnectingEdgeSelection=!0,this.manipulationDiv.innerHTML="<span class='graph-manipulationUI back' id='graph-manipulate-back'><span class='graph-manipulationLabel'>"+this.constants.labels.back+" </span></span><div class='graph-seperatorLine'></div><span class='graph-manipulationUI none' id='graph-manipulate-back'><span id='graph-manipulatorLabel' class='graph-manipulationLabel'>"+this.constants.labels.linkDescription+"</span></span>";var t=document.getElementById("graph-manipulate-back");t.onclick=this._createManipulatorBar.bind(this),this.boundFunction=this._handleConnect.bind(this),this.on("select",this.boundFunction),this.cachedFunctions._handleTouch=this._handleTouch,this.cachedFunctions._handleOnRelease=this._handleOnRelease,this._handleTouch=this._handleConnect,this._handleOnRelease=this._finishConnect,this._redraw()},_handleConnect:function(t){if(0==this._getSelectedNodeCount()){var e=this._getNodeAt(t);null!=e&&(e.clusterSize>1?alert("Cannot create edges to a cluster."):(this._selectObject(e,!1),this.sectors.support.nodes.targetNode=new Node({id:"targetNode"},{},{},this.constants),this.sectors.support.nodes.targetNode.x=e.x,this.sectors.support.nodes.targetNode.y=e.y,this.sectors.support.nodes.targetViaNode=new Node({id:"targetViaNode"},{},{},this.constants),this.sectors.support.nodes.targetViaNode.x=e.x,this.sectors.support.nodes.targetViaNode.y=e.y,this.sectors.support.nodes.targetViaNode.parentEdgeId="connectionEdge",this.edges.connectionEdge=new Edge({id:"connectionEdge",from:e.id,to:this.sectors.support.nodes.targetNode.id},this,this.constants),this.edges.connectionEdge.from=e,this.edges.connectionEdge.connected=!0,this.edges.connectionEdge.smooth=!0,this.edges.connectionEdge.selected=!0,this.edges.connectionEdge.to=this.sectors.support.nodes.targetNode,this.edges.connectionEdge.via=this.sectors.support.nodes.targetViaNode,this.cachedFunctions._handleOnDrag=this._handleOnDrag,this._handleOnDrag=function(t){var e=this._getPointer(t.gesture.center);this.sectors.support.nodes.targetNode.x=this._canvasToX(e.x),this.sectors.support.nodes.targetNode.y=this._canvasToY(e.y),this.sectors.support.nodes.targetViaNode.x=.5*(this._canvasToX(e.x)+this.edges.connectionEdge.from.x),this.sectors.support.nodes.targetViaNode.y=this._canvasToY(e.y)},this.moving=!0,this.start()))}},_finishConnect:function(t){if(1==this._getSelectedNodeCount()){this._handleOnDrag=this.cachedFunctions._handleOnDrag,delete this.cachedFunctions._handleOnDrag;var e=this.edges.connectionEdge.fromId;delete this.edges.connectionEdge,delete this.sectors.support.nodes.targetNode,delete this.sectors.support.nodes.targetViaNode;var i=this._getNodeAt(t);null!=i&&(i.clusterSize>1?alert("Cannot create edges to a cluster."):(this._createEdge(e,i.id),this._createManipulatorBar())),this._unselectAll()}},_addNode:function(){if(this._selectionIsEmpty()&&1==this.editMode){var t=this._pointerToPositionObject(this.pointerPosition),e={id:util.randomUUID(),x:t.left,y:t.top,label:"new",allowedToMoveX:!0,allowedToMoveY:!0};if(this.triggerFunctions.add)if(2==this.triggerFunctions.add.length){var i=this;this.triggerFunctions.add(e,function(t){i.nodesData.add(t),i._createManipulatorBar(),i.moving=!0,i.start()})}else alert(this.constants.labels.addError),this._createManipulatorBar(),this.moving=!0,this.start();else this.nodesData.add(e),this._createManipulatorBar(),this.moving=!0,this.start()}},_createEdge:function(t,e){if(1==this.editMode){var i={from:t,to:e};if(this.triggerFunctions.connect)if(2==this.triggerFunctions.connect.length){var s=this;this.triggerFunctions.connect(i,function(t){s.edgesData.add(t),s.moving=!0,s.start()})}else alert(this.constants.labels.linkError),this.moving=!0,this.start();else this.edgesData.add(i),this.moving=!0,this.start()}},_editNode:function(){if(this.triggerFunctions.edit&&1==this.editMode){var t=this._getSelectedNode(),e={id:t.id,label:t.label,group:t.group,shape:t.shape,color:{background:t.color.background,border:t.color.border,highlight:{background:t.color.highlight.background,border:t.color.highlight.border}}};if(2==this.triggerFunctions.edit.length){var i=this;this.triggerFunctions.edit(e,function(t){i.nodesData.update(t),i._createManipulatorBar(),i.moving=!0,i.start()})}else alert(this.constants.labels.editError)}else alert(this.constants.labels.editBoundError)},_deleteSelected:function(){if(!this._selectionIsEmpty()&&1==this.editMode)if(this._clusterInSelection())alert(this.constants.labels.deleteClusterError);else{var t=this.getSelectedNodes(),e=this.getSelectedEdges();if(this.triggerFunctions.del){var i=this,s={nodes:t,edges:e};(this.triggerFunctions.del.length=2)?this.triggerFunctions.del(s,function(t){i.edgesData.remove(t.edges),i.nodesData.remove(t.nodes),i._unselectAll(),i.moving=!0,i.start()}):alert(this.constants.labels.deleteError)}else this.edgesData.remove(e),this.nodesData.remove(t),this._unselectAll(),this.moving=!0,this.start()}}},SectorMixin={_putDataInSector:function(){this.sectors.active[this._sector()].nodes=this.nodes,this.sectors.active[this._sector()].edges=this.edges,this.sectors.active[this._sector()].nodeIndices=this.nodeIndices},_switchToSector:function(t,e){void 0===e||"active"==e?this._switchToActiveSector(t):this._switchToFrozenSector(t)},_switchToActiveSector:function(t){this.nodeIndices=this.sectors.active[t].nodeIndices,this.nodes=this.sectors.active[t].nodes,this.edges=this.sectors.active[t].edges},_switchToSupportSector:function(){this.nodeIndices=this.sectors.support.nodeIndices,this.nodes=this.sectors.support.nodes,this.edges=this.sectors.support.edges},_switchToFrozenSector:function(t){this.nodeIndices=this.sectors.frozen[t].nodeIndices,this.nodes=this.sectors.frozen[t].nodes,this.edges=this.sectors.frozen[t].edges},_loadLatestSector:function(){this._switchToSector(this._sector())},_sector:function(){return this.activeSector[this.activeSector.length-1]},_previousSector:function(){if(this.activeSector.length>1)return this.activeSector[this.activeSector.length-2];throw new TypeError("there are not enough sectors in the this.activeSector array.")},_setActiveSector:function(t){this.activeSector.push(t)},_forgetLastSector:function(){this.activeSector.pop()},_createNewSector:function(t){this.sectors.active[t]={nodes:{},edges:{},nodeIndices:[],formationScale:this.scale,drawingNode:void 0},this.sectors.active[t].drawingNode=new Node({id:t,color:{background:"#eaefef",border:"495c5e"}},{},{},this.constants),this.sectors.active[t].drawingNode.clusterSize=2},_deleteActiveSector:function(t){delete this.sectors.active[t]},_deleteFrozenSector:function(t){delete this.sectors.frozen[t]},_freezeSector:function(t){this.sectors.frozen[t]=this.sectors.active[t],this._deleteActiveSector(t)},_activateSector:function(t){this.sectors.active[t]=this.sectors.frozen[t],this._deleteFrozenSector(t)},_mergeThisWithFrozen:function(t){for(var e in this.nodes)this.nodes.hasOwnProperty(e)&&(this.sectors.frozen[t].nodes[e]=this.nodes[e]);for(var i in this.edges)this.edges.hasOwnProperty(i)&&(this.sectors.frozen[t].edges[i]=this.edges[i]);for(var s=0;s<this.nodeIndices.length;s++)this.sectors.frozen[t].nodeIndices.push(this.nodeIndices[s])},_collapseThisToSingleCluster:function(){this.clusterToFit(1,!1)},_addSector:function(t){var e=this._sector();delete this.nodes[t.id];var i=util.randomUUID();this._freezeSector(e),this._createNewSector(i),this._setActiveSector(i),this._switchToSector(this._sector()),this.nodes[t.id]=t},_collapseSector:function(){var t=this._sector();if("default"!=t&&(1==this.nodeIndices.length||this.sectors.active[t].drawingNode.width*this.scale<this.constants.clustering.screenSizeThreshold*this.frame.canvas.clientWidth||this.sectors.active[t].drawingNode.height*this.scale<this.constants.clustering.screenSizeThreshold*this.frame.canvas.clientHeight)){var e=this._previousSector();this._collapseThisToSingleCluster(),this._mergeThisWithFrozen(e),this._deleteActiveSector(t),this._activateSector(e),this._switchToSector(e),this._forgetLastSector(),this._updateNodeIndexList(),this._updateCalculationNodes()}},_doInAllActiveSectors:function(t,e){if(void 0===e)for(var i in this.sectors.active)this.sectors.active.hasOwnProperty(i)&&(this._switchToActiveSector(i),this[t]());else for(var i in this.sectors.active)if(this.sectors.active.hasOwnProperty(i)){this._switchToActiveSector(i);var s=Array.prototype.splice.call(arguments,1);s.length>1?this[t](s[0],s[1]):this[t](e)}this._loadLatestSector()},_doInSupportSector:function(t,e){if(void 0===e)this._switchToSupportSector(),this[t]();else{this._switchToSupportSector();var i=Array.prototype.splice.call(arguments,1);i.length>1?this[t](i[0],i[1]):this[t](e)}this._loadLatestSector()},_doInAllFrozenSectors:function(t,e){if(void 0===e)for(var i in this.sectors.frozen)this.sectors.frozen.hasOwnProperty(i)&&(this._switchToFrozenSector(i),this[t]());else for(var i in this.sectors.frozen)if(this.sectors.frozen.hasOwnProperty(i)){this._switchToFrozenSector(i);var s=Array.prototype.splice.call(arguments,1);s.length>1?this[t](s[0],s[1]):this[t](e)}this._loadLatestSector()},_doInAllSectors:function(t,e){var i=Array.prototype.splice.call(arguments,1);void 0===e?(this._doInAllActiveSectors(t),this._doInAllFrozenSectors(t)):i.length>1?(this._doInAllActiveSectors(t,i[0],i[1]),this._doInAllFrozenSectors(t,i[0],i[1])):(this._doInAllActiveSectors(t,e),this._doInAllFrozenSectors(t,e))},_clearNodeIndexList:function(){var t=this._sector();this.sectors.active[t].nodeIndices=[],this.nodeIndices=this.sectors.active[t].nodeIndices},_drawSectorNodes:function(t,e){var i,s=1e9,n=-1e9,o=1e9,a=-1e9;for(var r in this.sectors[e])if(this.sectors[e].hasOwnProperty(r)&&void 0!==this.sectors[e][r].drawingNode){this._switchToSector(r,e),s=1e9,n=-1e9,o=1e9,a=-1e9;for(var h in this.nodes)this.nodes.hasOwnProperty(h)&&(i=this.nodes[h],i.resize(t),o>i.x-.5*i.width&&(o=i.x-.5*i.width),a<i.x+.5*i.width&&(a=i.x+.5*i.width),s>i.y-.5*i.height&&(s=i.y-.5*i.height),n<i.y+.5*i.height&&(n=i.y+.5*i.height));i=this.sectors[e][r].drawingNode,i.x=.5*(a+o),i.y=.5*(n+s),i.width=2*(i.x-o),i.height=2*(i.y-s),i.radius=Math.sqrt(Math.pow(.5*i.width,2)+Math.pow(.5*i.height,2)),i.setScale(this.scale),i._drawCircle(t)}},_drawAllSectorNodes:function(t){this._drawSectorNodes(t,"frozen"),this._drawSectorNodes(t,"active"),this._loadLatestSector()}},ClusterMixin={startWithClustering:function(){this.clusterToFit(this.constants.clustering.initialMaxNodes,!0),this.updateLabels(),this.stabilize&&this._stabilize(),this.start()},clusterToFit:function(t,e){for(var i=this.nodeIndices.length,s=50,n=0;i>t&&s>n;)n%3==0?(this.forceAggregateHubs(!0),this.normalizeClusterLevels()):this.increaseClusterLevel(),i=this.nodeIndices.length,n+=1;n>0&&1==e&&this.repositionNodes(),this._updateCalculationNodes()},openCluster:function(t){var e=this.moving;if(t.clusterSize>this.constants.clustering.sectorThreshold&&this._nodeInActiveArea(t)&&("default"!=this._sector()||1!=this.nodeIndices.length)){this._addSector(t);for(var i=0;this.nodeIndices.length<this.constants.clustering.initialMaxNodes&&10>i;)this.decreaseClusterLevel(),i+=1}else this._expandClusterNode(t,!1,!0),this._updateNodeIndexList(),this._updateDynamicEdges(),this._updateCalculationNodes(),this.updateLabels();this.moving!=e&&this.start()},updateClustersDefault:function(){1==this.constants.clustering.enabled&&this.updateClusters(0,!1,!1)},increaseClusterLevel:function(){this.updateClusters(-1,!1,!0)},decreaseClusterLevel:function(){this.updateClusters(1,!1,!0)},updateClusters:function(t,e,i,s){var n=this.moving,o=this.nodeIndices.length;this.previousScale>this.scale&&0==t&&this._collapseSector(),this.previousScale>this.scale||-1==t?this._formClusters(i):(this.previousScale<this.scale||1==t)&&(1==i?this._openClusters(e,i):this._openClustersBySize()),this._updateNodeIndexList(),this.nodeIndices.length==o&&(this.previousScale>this.scale||-1==t)&&(this._aggregateHubs(i),this._updateNodeIndexList()),(this.previousScale>this.scale||-1==t)&&(this.handleChains(),this._updateNodeIndexList()),this.previousScale=this.scale,this._updateDynamicEdges(),this.updateLabels(),this.nodeIndices.length<o&&(this.clusterSession+=1,this.normalizeClusterLevels()),(0==s||void 0===s)&&this.moving!=n&&this.start(),this._updateCalculationNodes()},handleChains:function(){var t=this._getChainFraction();t>this.constants.clustering.chainThreshold&&this._reduceAmountOfChains(1-this.constants.clustering.chainThreshold/t)},_aggregateHubs:function(t){this._getHubSize(),this._formClustersByHub(t,!1)},forceAggregateHubs:function(t){var e=this.moving,i=this.nodeIndices.length;this._aggregateHubs(!0),this._updateNodeIndexList(),this._updateDynamicEdges(),this.updateLabels(),this.nodeIndices.length!=i&&(this.clusterSession+=1),(0==t||void 0===t)&&this.moving!=e&&this.start()},_openClustersBySize:function(){for(var t in this.nodes)if(this.nodes.hasOwnProperty(t)){var e=this.nodes[t];1==e.inView()&&(e.width*this.scale>this.constants.clustering.screenSizeThreshold*this.frame.canvas.clientWidth||e.height*this.scale>this.constants.clustering.screenSizeThreshold*this.frame.canvas.clientHeight)&&this.openCluster(e)}},_openClusters:function(t,e){for(var i=0;i<this.nodeIndices.length;i++){var s=this.nodes[this.nodeIndices[i]];this._expandClusterNode(s,t,e),this._updateCalculationNodes()}},_expandClusterNode:function(t,e,i,s){if(t.clusterSize>1&&(t.clusterSize<this.constants.clustering.sectorThreshold&&(s=!0),e=s?!0:e,t.formationScale<this.scale||1==i))for(var n in t.containedNodes)if(t.containedNodes.hasOwnProperty(n)){var o=t.containedNodes[n];1==i?(o.clusterSession==t.clusterSessions[t.clusterSessions.length-1]||s)&&this._expelChildFromParent(t,n,e,i,s):this._nodeInActiveArea(t)&&this._expelChildFromParent(t,n,e,i,s)}},_expelChildFromParent:function(t,e,i,s,n){var o=t.containedNodes[e];if(o.formationScale<this.scale||1==s){this._unselectAll(),this.nodes[e]=o,this._releaseContainedEdges(t,o),this._connectEdgeBackToChild(t,o),this._validateEdges(t),t.mass-=o.mass,t.clusterSize-=o.clusterSize,t.fontSize=Math.min(this.constants.clustering.maxFontSize,this.constants.nodes.fontSize+this.constants.clustering.fontSizeMultiplier*t.clusterSize),t.dynamicEdgesLength=t.dynamicEdges.length,o.x=t.x+t.growthIndicator*(.5-Math.random()),o.y=t.y+t.growthIndicator*(.5-Math.random()),delete t.containedNodes[e];var a=!1;for(var r in t.containedNodes)if(t.containedNodes.hasOwnProperty(r)&&t.containedNodes[r].clusterSession==o.clusterSession){a=!0;break}0==a&&t.clusterSessions.pop(),this._repositionBezierNodes(o),o.clusterSession=0,t.clearSizeCache(),this.moving=!0}1==i&&this._expandClusterNode(o,i,s,n)},_repositionBezierNodes:function(t){for(var e=0;e<t.dynamicEdges.length;e++)t.dynamicEdges[e].positionBezierNode()},_formClusters:function(t){0==t?this._formClustersByZoom():this._forceClustersByZoom()},_formClustersByZoom:function(){var t,e,i,s=this.constants.clustering.clusterEdgeThreshold/this.scale;for(var n in this.edges)if(this.edges.hasOwnProperty(n)){var o=this.edges[n];if(o.connected&&o.toId!=o.fromId&&(t=o.to.x-o.from.x,e=o.to.y-o.from.y,i=Math.sqrt(t*t+e*e),s>i)){var a=o.from,r=o.to;o.to.mass>o.from.mass&&(a=o.to,r=o.from),1==r.dynamicEdgesLength?this._addToCluster(a,r,!1):1==a.dynamicEdgesLength&&this._addToCluster(r,a,!1)}}},_forceClustersByZoom:function(){for(var t in this.nodes)if(this.nodes.hasOwnProperty(t)){var e=this.nodes[t];if(1==e.dynamicEdgesLength&&0!=e.dynamicEdges.length){var i=e.dynamicEdges[0],s=i.toId==e.id?this.nodes[i.fromId]:this.nodes[i.toId];e.id!=s.id&&(s.mass>e.mass?this._addToCluster(s,e,!0):this._addToCluster(e,s,!0))}}},_clusterToSmallestNeighbour:function(t){for(var e=-1,i=null,s=0;s<t.dynamicEdges.length;s++)if(void 0!==t.dynamicEdges[s]){var n=null;t.dynamicEdges[s].fromId!=t.id?n=t.dynamicEdges[s].from:t.dynamicEdges[s].toId!=t.id&&(n=t.dynamicEdges[s].to),null!=n&&e>n.clusterSessions.length&&(e=n.clusterSessions.length,i=n)}null!=n&&void 0!==this.nodes[n.id]&&this._addToCluster(n,t,!0)},_formClustersByHub:function(t,e){for(var i in this.nodes)this.nodes.hasOwnProperty(i)&&this._formClusterFromHub(this.nodes[i],t,e)},_formClusterFromHub:function(t,e,i,s){if(void 0===s&&(s=0),t.dynamicEdgesLength>=this.hubThreshold&&0==i||t.dynamicEdgesLength==this.hubThreshold&&1==i){for(var n,o,a,r=this.constants.clustering.clusterEdgeThreshold/this.scale,h=!1,d=[],c=t.dynamicEdges.length,l=0;c>l;l++)d.push(t.dynamicEdges[l].id);if(0==e)for(h=!1,l=0;c>l;l++){var u=this.edges[d[l]];if(void 0!==u&&u.connected&&u.toId!=u.fromId&&(n=u.to.x-u.from.x,o=u.to.y-u.from.y,a=Math.sqrt(n*n+o*o),r>a)){h=!0;break}}if(!e&&h||e)for(l=0;c>l;l++)if(u=this.edges[d[l]],void 0!==u){var p=this.nodes[u.fromId==t.id?u.toId:u.fromId];p.dynamicEdges.length<=this.hubThreshold+s&&p.id!=t.id&&this._addToCluster(t,p,e)}}},_addToCluster:function(t,e,i){t.containedNodes[e.id]=e;for(var s=0;s<e.dynamicEdges.length;s++){var n=e.dynamicEdges[s];n.toId==t.id||n.fromId==t.id?this._addToContainedEdges(t,e,n):this._connectEdgeToCluster(t,e,n)}e.dynamicEdges=[],this._containCircularEdgesFromNode(t,e),delete this.nodes[e.id];var o=t.mass;e.clusterSession=this.clusterSession,t.mass+=e.mass,t.clusterSize+=e.clusterSize,t.fontSize=Math.min(this.constants.clustering.maxFontSize,this.constants.nodes.fontSize+this.constants.clustering.fontSizeMultiplier*t.clusterSize),t.clusterSessions[t.clusterSessions.length-1]!=this.clusterSession&&t.clusterSessions.push(this.clusterSession),t.formationScale=1==i?0:this.scale,t.clearSizeCache(),t.containedNodes[e.id].formationScale=t.formationScale,e.clearVelocity(),t.updateVelocity(o),this.moving=!0},_updateDynamicEdges:function(){for(var t=0;t<this.nodeIndices.length;t++){var e=this.nodes[this.nodeIndices[t]];e.dynamicEdgesLength=e.dynamicEdges.length;var i=0;if(e.dynamicEdgesLength>1)for(var s=0;s<e.dynamicEdgesLength-1;s++)for(var n=e.dynamicEdges[s].toId,o=e.dynamicEdges[s].fromId,a=s+1;a<e.dynamicEdgesLength;a++)(e.dynamicEdges[a].toId==n&&e.dynamicEdges[a].fromId==o||e.dynamicEdges[a].fromId==n&&e.dynamicEdges[a].toId==o)&&(i+=1);e.dynamicEdgesLength-=i}},_addToContainedEdges:function(t,e,i){t.containedEdges.hasOwnProperty(e.id)||(t.containedEdges[e.id]=[]),t.containedEdges[e.id].push(i),delete this.edges[i.id];for(var s=0;s<t.dynamicEdges.length;s++)if(t.dynamicEdges[s].id==i.id){t.dynamicEdges.splice(s,1);break}},_connectEdgeToCluster:function(t,e,i){i.toId==i.fromId?this._addToContainedEdges(t,e,i):(i.toId==e.id?(i.originalToId.push(e.id),i.to=t,i.toId=t.id):(i.originalFromId.push(e.id),i.from=t,i.fromId=t.id),this._addToReroutedEdges(t,e,i))},_containCircularEdgesFromNode:function(t,e){for(var i=0;i<t.dynamicEdges.length;i++){var s=t.dynamicEdges[i];s.toId==s.fromId&&this._addToContainedEdges(t,e,s)}},_addToReroutedEdges:function(t,e,i){t.reroutedEdges.hasOwnProperty(e.id)||(t.reroutedEdges[e.id]=[]),t.reroutedEdges[e.id].push(i),t.dynamicEdges.push(i)},_connectEdgeBackToChild:function(t,e){if(t.reroutedEdges.hasOwnProperty(e.id)){for(var i=0;i<t.reroutedEdges[e.id].length;i++){var s=t.reroutedEdges[e.id][i];s.originalFromId[s.originalFromId.length-1]==e.id?(s.originalFromId.pop(),s.fromId=e.id,s.from=e):(s.originalToId.pop(),s.toId=e.id,s.to=e),e.dynamicEdges.push(s);for(var n=0;n<t.dynamicEdges.length;n++)if(t.dynamicEdges[n].id==s.id){t.dynamicEdges.splice(n,1);break}}delete t.reroutedEdges[e.id]}},_validateEdges:function(t){for(var e=0;e<t.dynamicEdges.length;e++){var i=t.dynamicEdges[e];t.id!=i.toId&&t.id!=i.fromId&&t.dynamicEdges.splice(e,1)}},_releaseContainedEdges:function(t,e){for(var i=0;i<t.containedEdges[e.id].length;i++){var s=t.containedEdges[e.id][i];this.edges[s.id]=s,e.dynamicEdges.push(s),t.dynamicEdges.push(s)}delete t.containedEdges[e.id]},updateLabels:function(){var t;for(t in this.nodes)if(this.nodes.hasOwnProperty(t)){var e=this.nodes[t];e.clusterSize>1&&(e.label="[".concat(String(e.clusterSize),"]"))}for(t in this.nodes)this.nodes.hasOwnProperty(t)&&(e=this.nodes[t],1==e.clusterSize&&(e.label=void 0!==e.originalLabel?e.originalLabel:String(e.id)))},normalizeClusterLevels:function(){var t,e=0,i=1e9,s=0;for(t in this.nodes)this.nodes.hasOwnProperty(t)&&(s=this.nodes[t].clusterSessions.length,s>e&&(e=s),i>s&&(i=s));if(e-i>this.constants.clustering.clusterLevelDifference){var n=this.nodeIndices.length,o=e-this.constants.clustering.clusterLevelDifference;for(t in this.nodes)this.nodes.hasOwnProperty(t)&&this.nodes[t].clusterSessions.length<o&&this._clusterToSmallestNeighbour(this.nodes[t]);this._updateNodeIndexList(),this._updateDynamicEdges(),this.nodeIndices.length!=n&&(this.clusterSession+=1)}},_nodeInActiveArea:function(t){return Math.abs(t.x-this.areaCenter.x)<=this.constants.clustering.activeAreaBoxSize/this.scale&&Math.abs(t.y-this.areaCenter.y)<=this.constants.clustering.activeAreaBoxSize/this.scale},repositionNodes:function(){for(var t=0;t<this.nodeIndices.length;t++){var e=this.nodes[this.nodeIndices[t]];if(0==e.xFixed||0==e.yFixed){var i=1*this.nodeIndices.length*Math.min(100,e.mass),s=2*Math.PI*Math.random();0==e.xFixed&&(e.x=i*Math.cos(s)),0==e.yFixed&&(e.y=i*Math.sin(s)),this._repositionBezierNodes(e)}}},_getHubSize:function(){for(var t=0,e=0,i=0,s=0,n=0;n<this.nodeIndices.length;n++){var o=this.nodes[this.nodeIndices[n]];o.dynamicEdgesLength>s&&(s=o.dynamicEdgesLength),t+=o.dynamicEdgesLength,e+=Math.pow(o.dynamicEdgesLength,2),i+=1}t/=i,e/=i;var a=e-Math.pow(t,2),r=Math.sqrt(a);this.hubThreshold=Math.floor(t+2*r),this.hubThreshold>s&&(this.hubThreshold=s)},_reduceAmountOfChains:function(t){this.hubThreshold=2;var e=Math.floor(this.nodeIndices.length*t);for(var i in this.nodes)this.nodes.hasOwnProperty(i)&&2==this.nodes[i].dynamicEdgesLength&&this.nodes[i].dynamicEdges.length>=2&&e>0&&(this._formClusterFromHub(this.nodes[i],!0,!0,1),e-=1)},_getChainFraction:function(){var t=0,e=0;for(var i in this.nodes)this.nodes.hasOwnProperty(i)&&(2==this.nodes[i].dynamicEdgesLength&&this.nodes[i].dynamicEdges.length>=2&&(t+=1),e+=1);return t/e}},SelectionMixin={_getNodesOverlappingWith:function(t,e){var i=this.nodes;for(var s in i)i.hasOwnProperty(s)&&i[s].isOverlappingWith(t)&&e.push(s)},_getAllNodesOverlappingWith:function(t){var e=[];return this._doInAllActiveSectors("_getNodesOverlappingWith",t,e),e},_pointerToPositionObject:function(t){var e=this._canvasToX(t.x),i=this._canvasToY(t.y);return{left:e,top:i,right:e,bottom:i}},_getNodeAt:function(t){var e=this._pointerToPositionObject(t),i=this._getAllNodesOverlappingWith(e);return i.length>0?this.nodes[i[i.length-1]]:null},_getEdgesOverlappingWith:function(t,e){var i=this.edges;for(var s in i)i.hasOwnProperty(s)&&i[s].isOverlappingWith(t)&&e.push(s)},_getAllEdgesOverlappingWith:function(t){var e=[];return this._doInAllActiveSectors("_getEdgesOverlappingWith",t,e),e},_getEdgeAt:function(t){var e=this._pointerToPositionObject(t),i=this._getAllEdgesOverlappingWith(e);return i.length>0?this.edges[i[i.length-1]]:null},_addToSelection:function(t){t instanceof Node?this.selectionObj.nodes[t.id]=t:this.selectionObj.edges[t.id]=t},_removeFromSelection:function(t){t instanceof Node?delete this.selectionObj.nodes[t.id]:delete this.selectionObj.edges[t.id]},_unselectAll:function(t){void 0===t&&(t=!1);for(var e in this.selectionObj.nodes)this.selectionObj.nodes.hasOwnProperty(e)&&this.selectionObj.nodes[e].unselect();for(var i in this.selectionObj.edges)this.selectionObj.edges.hasOwnProperty(i)&&this.selectionObj.edges[i].unselect();this.selectionObj={nodes:{},edges:{}},0==t&&this.emit("select",this.getSelection())},_unselectClusters:function(t){void 0===t&&(t=!1);for(var e in this.selectionObj.nodes)this.selectionObj.nodes.hasOwnProperty(e)&&this.selectionObj.nodes[e].clusterSize>1&&(this.selectionObj.nodes[e].unselect(),this._removeFromSelection(this.selectionObj.nodes[e]));0==t&&this.emit("select",this.getSelection())},_getSelectedNodeCount:function(){var t=0;for(var e in this.selectionObj.nodes)this.selectionObj.nodes.hasOwnProperty(e)&&(t+=1);return t},_getSelectedNode:function(){for(var t in this.selectionObj.nodes)if(this.selectionObj.nodes.hasOwnProperty(t))return this.selectionObj.nodes[t];return null},_getSelectedEdgeCount:function(){var t=0;for(var e in this.selectionObj.edges)this.selectionObj.edges.hasOwnProperty(e)&&(t+=1);return t},_getSelectedObjectCount:function(){var t=0;for(var e in this.selectionObj.nodes)this.selectionObj.nodes.hasOwnProperty(e)&&(t+=1);for(var i in this.selectionObj.edges)this.selectionObj.edges.hasOwnProperty(i)&&(t+=1);return t},_selectionIsEmpty:function(){for(var t in this.selectionObj.nodes)if(this.selectionObj.nodes.hasOwnProperty(t))return!1;for(var e in this.selectionObj.edges)if(this.selectionObj.edges.hasOwnProperty(e))return!1;return!0},_clusterInSelection:function(){for(var t in this.selectionObj.nodes)if(this.selectionObj.nodes.hasOwnProperty(t)&&this.selectionObj.nodes[t].clusterSize>1)return!0;return!1},_selectConnectedEdges:function(t){for(var e=0;e<t.dynamicEdges.length;e++){var i=t.dynamicEdges[e];i.select(),this._addToSelection(i)}},_unselectConnectedEdges:function(t){for(var e=0;e<t.dynamicEdges.length;e++){var i=t.dynamicEdges[e];i.unselect(),this._removeFromSelection(i)}},_selectObject:function(t,e,i){void 0===i&&(i=!1),0==this._selectionIsEmpty()&&0==e&&0==this.forceAppendSelection&&this._unselectAll(!0),0==t.selected?(t.select(),this._addToSelection(t),t instanceof Node&&0==this.blockConnectingEdgeSelection&&this._selectConnectedEdges(t)):(t.unselect(),this._removeFromSelection(t)),0==i&&this.emit("select",this.getSelection())},_handleTouch:function(){},_handleTap:function(t){var e=this._getNodeAt(t);if(null!=e)this._selectObject(e,!1);else{var i=this._getEdgeAt(t);null!=i?this._selectObject(i,!1):this._unselectAll()}this.emit("click",this.getSelection()),this._redraw()},_handleDoubleTap:function(t){var e=this._getNodeAt(t);null!=e&&void 0!==e&&(this.areaCenter={x:this._canvasToX(t.x),y:this._canvasToY(t.y)},this.openCluster(e)),this.emit("doubleClick",this.getSelection())},_handleOnHold:function(t){var e=this._getNodeAt(t);if(null!=e)this._selectObject(e,!0);else{var i=this._getEdgeAt(t);null!=i&&this._selectObject(i,!0)}this._redraw()},_handleOnRelease:function(){},getSelection:function(){var t=this.getSelectedNodes(),e=this.getSelectedEdges();return{nodes:t,edges:e}},getSelectedNodes:function(){var t=[];for(var e in this.selectionObj.nodes)this.selectionObj.nodes.hasOwnProperty(e)&&t.push(e);return t},getSelectedEdges:function(){var t=[];for(var e in this.selectionObj.edges)this.selectionObj.edges.hasOwnProperty(e)&&t.push(e);return t},setSelection:function(t){var e,i,s;if(!t||void 0==t.length)throw"Selection must be an array with ids";for(this._unselectAll(!0),e=0,i=t.length;i>e;e++){s=t[e];var n=this.nodes[s];if(!n)throw new RangeError('Node with id "'+s+'" not found');this._selectObject(n,!0,!0)}this.redraw()},_updateSelection:function(){for(var t in this.selectionObj.nodes)this.selectionObj.nodes.hasOwnProperty(t)&&(this.nodes.hasOwnProperty(t)||delete this.selectionObj.nodes[t]);for(var e in this.selectionObj.edges)this.selectionObj.edges.hasOwnProperty(e)&&(this.edges.hasOwnProperty(e)||delete this.selectionObj.edges[e])}},NavigationMixin={_cleanNavigation:function(){var t=document.getElementById("graph-navigation_wrapper");null!=t&&this.containerElement.removeChild(t),document.onmouseup=null},_loadNavigationElements:function(){this._cleanNavigation(),this.navigationDivs={};var t=["up","down","left","right","zoomIn","zoomOut","zoomExtends"],e=["_moveUp","_moveDown","_moveLeft","_moveRight","_zoomIn","_zoomOut","zoomExtent"];this.navigationDivs.wrapper=document.createElement("div"),this.navigationDivs.wrapper.id="graph-navigation_wrapper",this.navigationDivs.wrapper.style.position="absolute",this.navigationDivs.wrapper.style.width=this.frame.canvas.clientWidth+"px",this.navigationDivs.wrapper.style.height=this.frame.canvas.clientHeight+"px",this.containerElement.insertBefore(this.navigationDivs.wrapper,this.frame); for(var i=0;i<t.length;i++)this.navigationDivs[t[i]]=document.createElement("div"),this.navigationDivs[t[i]].id="graph-navigation_"+t[i],this.navigationDivs[t[i]].className="graph-navigation "+t[i],this.navigationDivs.wrapper.appendChild(this.navigationDivs[t[i]]),this.navigationDivs[t[i]].onmousedown=this[e[i]].bind(this);document.onmouseup=this._stopMovement.bind(this)},_stopMovement:function(){this._xStopMoving(),this._yStopMoving(),this._stopZoom()},_preventDefault:function(t){void 0!==t&&(t.preventDefault?t.preventDefault():t.returnValue=!1)},_moveUp:function(t){this.yIncrement=this.constants.keyboard.speed.y,this.start(),this._preventDefault(t),this.navigationDivs&&(this.navigationDivs.up.className+=" active")},_moveDown:function(t){this.yIncrement=-this.constants.keyboard.speed.y,this.start(),this._preventDefault(t),this.navigationDivs&&(this.navigationDivs.down.className+=" active")},_moveLeft:function(t){this.xIncrement=this.constants.keyboard.speed.x,this.start(),this._preventDefault(t),this.navigationDivs&&(this.navigationDivs.left.className+=" active")},_moveRight:function(t){this.xIncrement=-this.constants.keyboard.speed.y,this.start(),this._preventDefault(t),this.navigationDivs&&(this.navigationDivs.right.className+=" active")},_zoomIn:function(t){this.zoomIncrement=this.constants.keyboard.speed.zoom,this.start(),this._preventDefault(t),this.navigationDivs&&(this.navigationDivs.zoomIn.className+=" active")},_zoomOut:function(){this.zoomIncrement=-this.constants.keyboard.speed.zoom,this.start(),this._preventDefault(event),this.navigationDivs&&(this.navigationDivs.zoomOut.className+=" active")},_stopZoom:function(){this.zoomIncrement=0,this.navigationDivs&&(this.navigationDivs.zoomIn.className=this.navigationDivs.zoomIn.className.replace(" active",""),this.navigationDivs.zoomOut.className=this.navigationDivs.zoomOut.className.replace(" active",""))},_yStopMoving:function(){this.yIncrement=0,this.navigationDivs&&(this.navigationDivs.up.className=this.navigationDivs.up.className.replace(" active",""),this.navigationDivs.down.className=this.navigationDivs.down.className.replace(" active",""))},_xStopMoving:function(){this.xIncrement=0,this.navigationDivs&&(this.navigationDivs.left.className=this.navigationDivs.left.className.replace(" active",""),this.navigationDivs.right.className=this.navigationDivs.right.className.replace(" active",""))}},graphMixinLoaders={_loadMixin:function(t){for(var e in t)t.hasOwnProperty(e)&&(Graph.prototype[e]=t[e])},_clearMixin:function(t){for(var e in t)t.hasOwnProperty(e)&&(Graph.prototype[e]=void 0)},_loadPhysicsSystem:function(){this._loadMixin(physicsMixin),this._loadSelectedForceSolver(),1==this.constants.configurePhysics&&this._loadPhysicsConfiguration()},_loadClusterSystem:function(){this.clusterSession=0,this.hubThreshold=5,this._loadMixin(ClusterMixin)},_loadSectorSystem:function(){this.sectors={},this.activeSector=["default"],this.sectors.active={},this.sectors.active["default"]={nodes:{},edges:{},nodeIndices:[],formationScale:1,drawingNode:void 0},this.sectors.frozen={},this.sectors.support={nodes:{},edges:{},nodeIndices:[],formationScale:1,drawingNode:void 0},this.nodeIndices=this.sectors.active["default"].nodeIndices,this._loadMixin(SectorMixin)},_loadSelectionSystem:function(){this.selectionObj={nodes:{},edges:{}},this._loadMixin(SelectionMixin)},_loadManipulationSystem:function(){this.blockConnectingEdgeSelection=!1,this.forceAppendSelection=!1,1==this.constants.dataManipulation.enabled?(void 0===this.manipulationDiv&&(this.manipulationDiv=document.createElement("div"),this.manipulationDiv.className="graph-manipulationDiv",this.manipulationDiv.id="graph-manipulationDiv",this.manipulationDiv.style.display=1==this.editMode?"block":"none",this.containerElement.insertBefore(this.manipulationDiv,this.frame)),void 0===this.editModeDiv&&(this.editModeDiv=document.createElement("div"),this.editModeDiv.className="graph-manipulation-editMode",this.editModeDiv.id="graph-manipulation-editMode",this.editModeDiv.style.display=1==this.editMode?"none":"block",this.containerElement.insertBefore(this.editModeDiv,this.frame)),void 0===this.closeDiv&&(this.closeDiv=document.createElement("div"),this.closeDiv.className="graph-manipulation-closeDiv",this.closeDiv.id="graph-manipulation-closeDiv",this.closeDiv.style.display=this.manipulationDiv.style.display,this.containerElement.insertBefore(this.closeDiv,this.frame)),this._loadMixin(manipulationMixin),this._createManipulatorBar()):void 0!==this.manipulationDiv&&(this._createManipulatorBar(),this.containerElement.removeChild(this.manipulationDiv),this.containerElement.removeChild(this.editModeDiv),this.containerElement.removeChild(this.closeDiv),this.manipulationDiv=void 0,this.editModeDiv=void 0,this.closeDiv=void 0,this._clearMixin(manipulationMixin))},_loadNavigationControls:function(){this._loadMixin(NavigationMixin),this._cleanNavigation(),1==this.constants.navigation.enabled&&this._loadNavigationElements()},_loadHierarchySystem:function(){this._loadMixin(HierarchicalLayoutMixin)}};Emitter(Graph.prototype),Graph.prototype._getScriptPath=function(){for(var t=document.getElementsByTagName("script"),e=0;e<t.length;e++){var i=t[e].src,s=i&&/\/?vis(.min)?\.js$/.exec(i);if(s)return i.substring(0,i.length-s[0].length)}return null},Graph.prototype._getRange=function(){var t,e=1e9,i=-1e9,s=1e9,n=-1e9;for(var o in this.nodes)this.nodes.hasOwnProperty(o)&&(t=this.nodes[o],s>t.x&&(s=t.x),n<t.x&&(n=t.x),e>t.y&&(e=t.y),i<t.y&&(i=t.y));return 1e9==s&&-1e9==n&&1e9==e&&-1e9==i&&(e=0,i=0,s=0,n=0),{minX:s,maxX:n,minY:e,maxY:i}},Graph.prototype._findCenter=function(t){return{x:.5*(t.maxX+t.minX),y:.5*(t.maxY+t.minY)}},Graph.prototype._centerGraph=function(t){var e=this._findCenter(t);e.x*=this.scale,e.y*=this.scale,e.x-=.5*this.frame.canvas.clientWidth,e.y-=.5*this.frame.canvas.clientHeight,this._setTranslation(-e.x,-e.y)},Graph.prototype.zoomExtent=function(t,e){void 0===t&&(t=!1),void 0===e&&(e=!1);var i,s=this._getRange();if(1==t){var n=this.nodeIndices.length;i=1==this.constants.smoothCurves?1==this.constants.clustering.enabled&&n>=this.constants.clustering.initialMaxNodes?49.07548/(n+142.05338)+91444e-8:12.662/(n+7.4147)+.0964822:1==this.constants.clustering.enabled&&n>=this.constants.clustering.initialMaxNodes?77.5271985/(n+187.266146)+476710517e-13:30.5062972/(n+19.93597763)+.08413486;var o=Math.min(this.frame.canvas.clientWidth/600,this.frame.canvas.clientHeight/600);i*=o}else{var a=1.1*(Math.abs(s.minX)+Math.abs(s.maxX)),r=1.1*(Math.abs(s.minY)+Math.abs(s.maxY)),h=this.frame.canvas.clientWidth/a,d=this.frame.canvas.clientHeight/r;i=d>=h?h:d}i>1&&(i=1),this._setScale(i),this._centerGraph(s),0==e&&(this.moving=!0,this.start())},Graph.prototype._updateNodeIndexList=function(){this._clearNodeIndexList();for(var t in this.nodes)this.nodes.hasOwnProperty(t)&&this.nodeIndices.push(t)},Graph.prototype.setData=function(t,e){if(void 0===e&&(e=!1),t&&t.dot&&(t.nodes||t.edges))throw new SyntaxError('Data must contain either parameter "dot" or parameter pair "nodes" and "edges", but not both.');if(this.setOptions(t&&t.options),t&&t.dot){if(t&&t.dot){var i=vis.util.DOTToGraph(t.dot);return void this.setData(i)}}else this._setNodes(t&&t.nodes),this._setEdges(t&&t.edges);this._putDataInSector(),e||(this.stabilize&&this._stabilize(),this.start())},Graph.prototype.setOptions=function(t){if(t){var e;if(void 0!==t.width&&(this.width=t.width),void 0!==t.height&&(this.height=t.height),void 0!==t.stabilize&&(this.stabilize=t.stabilize),void 0!==t.selectable&&(this.selectable=t.selectable),void 0!==t.smoothCurves&&(this.constants.smoothCurves=t.smoothCurves),void 0!==t.freezeForStabilization&&(this.constants.freezeForStabilization=t.freezeForStabilization),void 0!==t.configurePhysics&&(this.constants.configurePhysics=t.configurePhysics),void 0!==t.stabilizationIterations&&(this.constants.stabilizationIterations=t.stabilizationIterations),void 0!==t.labels)for(e in t.labels)t.labels.hasOwnProperty(e)&&(this.constants.labels[e]=t.labels[e]);if(t.onAdd&&(this.triggerFunctions.add=t.onAdd),t.onEdit&&(this.triggerFunctions.edit=t.onEdit),t.onConnect&&(this.triggerFunctions.connect=t.onConnect),t.onDelete&&(this.triggerFunctions.del=t.onDelete),t.physics){if(t.physics.barnesHut){this.constants.physics.barnesHut.enabled=!0;for(e in t.physics.barnesHut)t.physics.barnesHut.hasOwnProperty(e)&&(this.constants.physics.barnesHut[e]=t.physics.barnesHut[e])}if(t.physics.repulsion){this.constants.physics.barnesHut.enabled=!1;for(e in t.physics.repulsion)t.physics.repulsion.hasOwnProperty(e)&&(this.constants.physics.repulsion[e]=t.physics.repulsion[e])}if(t.physics.hierarchicalRepulsion){this.constants.hierarchicalLayout.enabled=!0,this.constants.physics.hierarchicalRepulsion.enabled=!0,this.constants.physics.barnesHut.enabled=!1;for(e in t.physics.hierarchicalRepulsion)t.physics.hierarchicalRepulsion.hasOwnProperty(e)&&(this.constants.physics.hierarchicalRepulsion[e]=t.physics.hierarchicalRepulsion[e])}}if(t.hierarchicalLayout){this.constants.hierarchicalLayout.enabled=!0;for(e in t.hierarchicalLayout)t.hierarchicalLayout.hasOwnProperty(e)&&(this.constants.hierarchicalLayout[e]=t.hierarchicalLayout[e])}else void 0!==t.hierarchicalLayout&&(this.constants.hierarchicalLayout.enabled=!1);if(t.clustering){this.constants.clustering.enabled=!0;for(e in t.clustering)t.clustering.hasOwnProperty(e)&&(this.constants.clustering[e]=t.clustering[e])}else void 0!==t.clustering&&(this.constants.clustering.enabled=!1);if(t.navigation){this.constants.navigation.enabled=!0;for(e in t.navigation)t.navigation.hasOwnProperty(e)&&(this.constants.navigation[e]=t.navigation[e])}else void 0!==t.navigation&&(this.constants.navigation.enabled=!1);if(t.keyboard){this.constants.keyboard.enabled=!0;for(e in t.keyboard)t.keyboard.hasOwnProperty(e)&&(this.constants.keyboard[e]=t.keyboard[e])}else void 0!==t.keyboard&&(this.constants.keyboard.enabled=!1);if(t.dataManipulation){this.constants.dataManipulation.enabled=!0;for(e in t.dataManipulation)t.dataManipulation.hasOwnProperty(e)&&(this.constants.dataManipulation[e]=t.dataManipulation[e])}else void 0!==t.dataManipulation&&(this.constants.dataManipulation.enabled=!1);if(t.edges){for(e in t.edges)t.edges.hasOwnProperty(e)&&"object"!=typeof t.edges[e]&&(this.constants.edges[e]=t.edges[e]);void 0!==t.edges.color&&(util.isString(t.edges.color)?(this.constants.edges.color={},this.constants.edges.color.color=t.edges.color,this.constants.edges.color.highlight=t.edges.color):(void 0!==t.edges.color.color&&(this.constants.edges.color.color=t.edges.color.color),void 0!==t.edges.color.highlight&&(this.constants.edges.color.highlight=t.edges.color.highlight))),t.edges.fontColor||void 0!==t.edges.color&&(util.isString(t.edges.color)?this.constants.edges.fontColor=t.edges.color:void 0!==t.edges.color.color&&(this.constants.edges.fontColor=t.edges.color.color)),t.edges.dash&&(void 0!==t.edges.dash.length&&(this.constants.edges.dash.length=t.edges.dash.length),void 0!==t.edges.dash.gap&&(this.constants.edges.dash.gap=t.edges.dash.gap),void 0!==t.edges.dash.altLength&&(this.constants.edges.dash.altLength=t.edges.dash.altLength))}if(t.nodes){for(e in t.nodes)t.nodes.hasOwnProperty(e)&&(this.constants.nodes[e]=t.nodes[e]);t.nodes.color&&(this.constants.nodes.color=util.parseColor(t.nodes.color))}if(t.groups)for(var i in t.groups)if(t.groups.hasOwnProperty(i)){var s=t.groups[i];this.groups.add(i,s)}if(t.tooltip){for(e in t.tooltip)t.tooltip.hasOwnProperty(e)&&(this.constants.tooltip[e]=t.tooltip[e]);t.tooltip.color&&(this.constants.tooltip.color=util.parseColor(t.tooltip.color))}}this._loadPhysicsSystem(),this._loadNavigationControls(),this._loadManipulationSystem(),this._configureSmoothCurves(),this._createKeyBinds(),this.setSize(this.width,this.height),this._setTranslation(this.frame.clientWidth/2,this.frame.clientHeight/2),this._setScale(1),this._redraw()},Graph.prototype._create=function(){for(;this.containerElement.hasChildNodes();)this.containerElement.removeChild(this.containerElement.firstChild);if(this.frame=document.createElement("div"),this.frame.className="graph-frame",this.frame.style.position="relative",this.frame.style.overflow="hidden",this.frame.canvas=document.createElement("canvas"),this.frame.canvas.style.position="relative",this.frame.appendChild(this.frame.canvas),!this.frame.canvas.getContext){var t=document.createElement("DIV");t.style.color="red",t.style.fontWeight="bold",t.style.padding="10px",t.innerHTML="Error: your browser does not support HTML canvas",this.frame.canvas.appendChild(t)}var e=this;this.drag={},this.pinch={},this.hammer=Hammer(this.frame.canvas,{prevent_default:!0}),this.hammer.on("tap",e._onTap.bind(e)),this.hammer.on("doubletap",e._onDoubleTap.bind(e)),this.hammer.on("hold",e._onHold.bind(e)),this.hammer.on("pinch",e._onPinch.bind(e)),this.hammer.on("touch",e._onTouch.bind(e)),this.hammer.on("dragstart",e._onDragStart.bind(e)),this.hammer.on("drag",e._onDrag.bind(e)),this.hammer.on("dragend",e._onDragEnd.bind(e)),this.hammer.on("release",e._onRelease.bind(e)),this.hammer.on("mousewheel",e._onMouseWheel.bind(e)),this.hammer.on("DOMMouseScroll",e._onMouseWheel.bind(e)),this.hammer.on("mousemove",e._onMouseMoveTitle.bind(e)),this.containerElement.appendChild(this.frame)},Graph.prototype._createKeyBinds=function(){var t=this;this.mousetrap=mousetrap,this.mousetrap.reset(),1==this.constants.keyboard.enabled&&(this.mousetrap.bind("up",this._moveUp.bind(t),"keydown"),this.mousetrap.bind("up",this._yStopMoving.bind(t),"keyup"),this.mousetrap.bind("down",this._moveDown.bind(t),"keydown"),this.mousetrap.bind("down",this._yStopMoving.bind(t),"keyup"),this.mousetrap.bind("left",this._moveLeft.bind(t),"keydown"),this.mousetrap.bind("left",this._xStopMoving.bind(t),"keyup"),this.mousetrap.bind("right",this._moveRight.bind(t),"keydown"),this.mousetrap.bind("right",this._xStopMoving.bind(t),"keyup"),this.mousetrap.bind("=",this._zoomIn.bind(t),"keydown"),this.mousetrap.bind("=",this._stopZoom.bind(t),"keyup"),this.mousetrap.bind("-",this._zoomOut.bind(t),"keydown"),this.mousetrap.bind("-",this._stopZoom.bind(t),"keyup"),this.mousetrap.bind("[",this._zoomIn.bind(t),"keydown"),this.mousetrap.bind("[",this._stopZoom.bind(t),"keyup"),this.mousetrap.bind("]",this._zoomOut.bind(t),"keydown"),this.mousetrap.bind("]",this._stopZoom.bind(t),"keyup"),this.mousetrap.bind("pageup",this._zoomIn.bind(t),"keydown"),this.mousetrap.bind("pageup",this._stopZoom.bind(t),"keyup"),this.mousetrap.bind("pagedown",this._zoomOut.bind(t),"keydown"),this.mousetrap.bind("pagedown",this._stopZoom.bind(t),"keyup")),1==this.constants.dataManipulation.enabled&&(this.mousetrap.bind("escape",this._createManipulatorBar.bind(t)),this.mousetrap.bind("del",this._deleteSelected.bind(t)))},Graph.prototype._getPointer=function(t){return{x:t.pageX-vis.util.getAbsoluteLeft(this.frame.canvas),y:t.pageY-vis.util.getAbsoluteTop(this.frame.canvas)}},Graph.prototype._onTouch=function(t){this.drag.pointer=this._getPointer(t.gesture.center),this.drag.pinched=!1,this.pinch.scale=this._getScale(),this._handleTouch(this.drag.pointer)},Graph.prototype._onDragStart=function(){this._handleDragStart()},Graph.prototype._handleDragStart=function(){var t=this.drag,e=this._getNodeAt(t.pointer);if(t.dragging=!0,t.selection=[],t.translation=this._getTranslation(),t.nodeId=null,null!=e){t.nodeId=e.id,e.isSelected()||this._selectObject(e,!1);for(var i in this.selectionObj.nodes)if(this.selectionObj.nodes.hasOwnProperty(i)){var s=this.selectionObj.nodes[i],n={id:s.id,node:s,x:s.x,y:s.y,xFixed:s.xFixed,yFixed:s.yFixed};s.xFixed=!0,s.yFixed=!0,t.selection.push(n)}}},Graph.prototype._onDrag=function(t){this._handleOnDrag(t)},Graph.prototype._handleOnDrag=function(t){if(!this.drag.pinched){var e=this._getPointer(t.gesture.center),i=this,s=this.drag,n=s.selection;if(n&&n.length){var o=e.x-s.pointer.x,a=e.y-s.pointer.y;n.forEach(function(t){var e=t.node;t.xFixed||(e.x=i._canvasToX(i._xToCanvas(t.x)+o)),t.yFixed||(e.y=i._canvasToY(i._yToCanvas(t.y)+a))}),this.moving||(this.moving=!0,this.start())}else{var r=e.x-this.drag.pointer.x,h=e.y-this.drag.pointer.y;this._setTranslation(this.drag.translation.x+r,this.drag.translation.y+h),this._redraw(),this.moving=!0,this.start()}}},Graph.prototype._onDragEnd=function(){this.drag.dragging=!1;var t=this.drag.selection;t&&t.forEach(function(t){t.node.xFixed=t.xFixed,t.node.yFixed=t.yFixed})},Graph.prototype._onTap=function(t){var e=this._getPointer(t.gesture.center);this.pointerPosition=e,this._handleTap(e)},Graph.prototype._onDoubleTap=function(t){var e=this._getPointer(t.gesture.center);this._handleDoubleTap(e)},Graph.prototype._onHold=function(t){var e=this._getPointer(t.gesture.center);this.pointerPosition=e,this._handleOnHold(e)},Graph.prototype._onRelease=function(t){var e=this._getPointer(t.gesture.center);this._handleOnRelease(e)},Graph.prototype._onPinch=function(t){var e=this._getPointer(t.gesture.center);this.drag.pinched=!0,"scale"in this.pinch||(this.pinch.scale=1);var i=this.pinch.scale*t.gesture.scale;this._zoom(i,e)},Graph.prototype._zoom=function(t,e){var i=this._getScale();1e-5>t&&(t=1e-5),t>10&&(t=10);var s=this._getTranslation(),n=t/i,o=(1-n)*e.x+s.x*n,a=(1-n)*e.y+s.y*n;return this.areaCenter={x:this._canvasToX(e.x),y:this._canvasToY(e.y)},this._setScale(t),this._setTranslation(o,a),this.updateClustersDefault(),this._redraw(),t>i?this.emit("zoom",{direction:"+"}):this.emit("zoom",{direction:"-"}),t},Graph.prototype._onMouseWheel=function(t){var e=0;if(t.wheelDelta?e=t.wheelDelta/120:t.detail&&(e=-t.detail/3),e){var i=this._getScale(),s=e/10;0>e&&(s/=1-s),i*=1+s;var n=util.fakeGesture(this,t),o=this._getPointer(n.center);this._zoom(i,o)}t.preventDefault()},Graph.prototype._onMouseMoveTitle=function(t){var e=util.fakeGesture(this,t),i=this._getPointer(e.center);this.popupNode&&this._checkHidePopup(i);var s=this,n=function(){s._checkShowPopup(i)};this.popupTimer&&clearInterval(this.popupTimer),this.drag.dragging||(this.popupTimer=setTimeout(n,this.constants.tooltip.delay))},Graph.prototype._checkShowPopup=function(t){var e,i={left:this._canvasToX(t.x),top:this._canvasToY(t.y),right:this._canvasToX(t.x),bottom:this._canvasToY(t.y)},s=this.popupNode;if(void 0==this.popupNode){var n=this.nodes;for(e in n)if(n.hasOwnProperty(e)){var o=n[e];if(void 0!==o.getTitle()&&o.isOverlappingWith(i)){this.popupNode=o;break}}}if(void 0===this.popupNode){var a=this.edges;for(e in a)if(a.hasOwnProperty(e)){var r=a[e];if(r.connected&&void 0!==r.getTitle()&&r.isOverlappingWith(i)){this.popupNode=r;break}}}if(this.popupNode){if(this.popupNode!=s){var h=this;h.popup||(h.popup=new Popup(h.frame,h.constants.tooltip)),h.popup.setPosition(t.x-3,t.y-3),h.popup.setText(h.popupNode.getTitle()),h.popup.show()}}else this.popup&&this.popup.hide()},Graph.prototype._checkHidePopup=function(t){this.popupNode&&this._getNodeAt(t)||(this.popupNode=void 0,this.popup&&this.popup.hide())},Graph.prototype.setSize=function(t,e){this.frame.style.width=t,this.frame.style.height=e,this.frame.canvas.style.width="100%",this.frame.canvas.style.height="100%",this.frame.canvas.width=this.frame.canvas.clientWidth,this.frame.canvas.height=this.frame.canvas.clientHeight,void 0!==this.manipulationDiv&&(this.manipulationDiv.style.width=this.frame.canvas.clientWidth+"px"),void 0!==this.navigationDivs&&void 0!==this.navigationDivs.wrapper&&(this.navigationDivs.wrapper.style.width=this.frame.canvas.clientWidth+"px",this.navigationDivs.wrapper.style.height=this.frame.canvas.clientHeight+"px"),this.emit("resize",{width:this.frame.canvas.width,height:this.frame.canvas.height})},Graph.prototype._setNodes=function(t){var e=this.nodesData;if(t instanceof DataSet||t instanceof DataView)this.nodesData=t;else if(t instanceof Array)this.nodesData=new DataSet,this.nodesData.add(t);else{if(t)throw new TypeError("Array or DataSet expected");this.nodesData=new DataSet}if(e&&util.forEach(this.nodesListeners,function(t,i){e.off(i,t)}),this.nodes={},this.nodesData){var i=this;util.forEach(this.nodesListeners,function(t,e){i.nodesData.on(e,t)});var s=this.nodesData.getIds();this._addNodes(s)}this._updateSelection()},Graph.prototype._addNodes=function(t){for(var e,i=0,s=t.length;s>i;i++){e=t[i];var n=this.nodesData.get(e),o=new Node(n,this.images,this.groups,this.constants);if(this.nodes[e]=o,!(0!=o.xFixed&&0!=o.yFixed||null!==o.x&&null!==o.y)){var a=1*t.length,r=2*Math.PI*Math.random();0==o.xFixed&&(o.x=a*Math.cos(r)),0==o.yFixed&&(o.y=a*Math.sin(r))}this.moving=!0}this._updateNodeIndexList(),1==this.constants.hierarchicalLayout.enabled&&0==this.initializing&&(this._resetLevels(),this._setupHierarchicalLayout()),this._updateCalculationNodes(),this._reconnectEdges(),this._updateValueRange(this.nodes),this.updateLabels()},Graph.prototype._updateNodes=function(t){for(var e=this.nodes,i=this.nodesData,s=0,n=t.length;n>s;s++){var o=t[s],a=e[o],r=i.get(o);a?a.setProperties(r,this.constants):(a=new Node(properties,this.images,this.groups,this.constants),e[o]=a)}this.moving=!0,1==this.constants.hierarchicalLayout.enabled&&0==this.initializing&&(this._resetLevels(),this._setupHierarchicalLayout()),this._updateNodeIndexList(),this._reconnectEdges(),this._updateValueRange(e)},Graph.prototype._removeNodes=function(t){for(var e=this.nodes,i=0,s=t.length;s>i;i++){var n=t[i];delete e[n]}this._updateNodeIndexList(),1==this.constants.hierarchicalLayout.enabled&&0==this.initializing&&(this._resetLevels(),this._setupHierarchicalLayout()),this._updateCalculationNodes(),this._reconnectEdges(),this._updateSelection(),this._updateValueRange(e)},Graph.prototype._setEdges=function(t){var e=this.edgesData;if(t instanceof DataSet||t instanceof DataView)this.edgesData=t;else if(t instanceof Array)this.edgesData=new DataSet,this.edgesData.add(t);else{if(t)throw new TypeError("Array or DataSet expected");this.edgesData=new DataSet}if(e&&util.forEach(this.edgesListeners,function(t,i){e.off(i,t)}),this.edges={},this.edgesData){var i=this;util.forEach(this.edgesListeners,function(t,e){i.edgesData.on(e,t)});var s=this.edgesData.getIds();this._addEdges(s)}this._reconnectEdges()},Graph.prototype._addEdges=function(t){for(var e=this.edges,i=this.edgesData,s=0,n=t.length;n>s;s++){var o=t[s],a=e[o];a&&a.disconnect();var r=i.get(o,{showInternalIds:!0});e[o]=new Edge(r,this,this.constants)}this.moving=!0,this._updateValueRange(e),this._createBezierNodes(),1==this.constants.hierarchicalLayout.enabled&&0==this.initializing&&(this._resetLevels(),this._setupHierarchicalLayout()),this._updateCalculationNodes()},Graph.prototype._updateEdges=function(t){for(var e=this.edges,i=this.edgesData,s=0,n=t.length;n>s;s++){var o=t[s],a=i.get(o),r=e[o];r?(r.disconnect(),r.setProperties(a,this.constants),r.connect()):(r=new Edge(a,this,this.constants),this.edges[o]=r)}this._createBezierNodes(),1==this.constants.hierarchicalLayout.enabled&&0==this.initializing&&(this._resetLevels(),this._setupHierarchicalLayout()),this.moving=!0,this._updateValueRange(e)},Graph.prototype._removeEdges=function(t){for(var e=this.edges,i=0,s=t.length;s>i;i++){var n=t[i],o=e[n];o&&(null!=o.via&&delete this.sectors.support.nodes[o.via.id],o.disconnect(),delete e[n])}this.moving=!0,this._updateValueRange(e),1==this.constants.hierarchicalLayout.enabled&&0==this.initializing&&(this._resetLevels(),this._setupHierarchicalLayout()),this._updateCalculationNodes()},Graph.prototype._reconnectEdges=function(){var t,e=this.nodes,i=this.edges;for(t in e)e.hasOwnProperty(t)&&(e[t].edges=[]);for(t in i)if(i.hasOwnProperty(t)){var s=i[t];s.from=null,s.to=null,s.connect()}},Graph.prototype._updateValueRange=function(t){var e,i=void 0,s=void 0;for(e in t)if(t.hasOwnProperty(e)){var n=t[e].getValue();void 0!==n&&(i=void 0===i?n:Math.min(n,i),s=void 0===s?n:Math.max(n,s))}if(void 0!==i&&void 0!==s)for(e in t)t.hasOwnProperty(e)&&t[e].setValueRange(i,s)},Graph.prototype.redraw=function(){this.setSize(this.width,this.height),this._redraw()},Graph.prototype._redraw=function(){var t=this.frame.canvas.getContext("2d"),e=this.frame.canvas.width,i=this.frame.canvas.height;t.clearRect(0,0,e,i),t.save(),t.translate(this.translation.x,this.translation.y),t.scale(this.scale,this.scale),this.canvasTopLeft={x:this._canvasToX(0),y:this._canvasToY(0)},this.canvasBottomRight={x:this._canvasToX(this.frame.canvas.clientWidth),y:this._canvasToY(this.frame.canvas.clientHeight)},this._doInAllSectors("_drawAllSectorNodes",t),this._doInAllSectors("_drawEdges",t),this._doInAllSectors("_drawNodes",t,!1),t.restore()},Graph.prototype._setTranslation=function(t,e){void 0===this.translation&&(this.translation={x:0,y:0}),void 0!==t&&(this.translation.x=t),void 0!==e&&(this.translation.y=e),this.emit("viewChanged")},Graph.prototype._getTranslation=function(){return{x:this.translation.x,y:this.translation.y}},Graph.prototype._setScale=function(t){this.scale=t},Graph.prototype._getScale=function(){return this.scale},Graph.prototype._canvasToX=function(t){return(t-this.translation.x)/this.scale},Graph.prototype._xToCanvas=function(t){return t*this.scale+this.translation.x},Graph.prototype._canvasToY=function(t){return(t-this.translation.y)/this.scale},Graph.prototype._yToCanvas=function(t){return t*this.scale+this.translation.y},Graph.prototype.DOMtoCanvas=function(t){return{x:this._xToCanvas(t.x),y:this._yToCanvas(t.y)}},Graph.prototype.canvasToDOM=function(t){return{x:this._canvasToX(t.x),y:this._canvasToY(t.y)}},Graph.prototype._drawNodes=function(t,e){void 0===e&&(e=!1);var i=this.nodes,s=[];for(var n in i)i.hasOwnProperty(n)&&(i[n].setScaleAndPos(this.scale,this.canvasTopLeft,this.canvasBottomRight),i[n].isSelected()?s.push(n):(i[n].inArea()||e)&&i[n].draw(t));for(var o=0,a=s.length;a>o;o++)(i[s[o]].inArea()||e)&&i[s[o]].draw(t)},Graph.prototype._drawEdges=function(t){var e=this.edges;for(var i in e)if(e.hasOwnProperty(i)){var s=e[i];s.setScale(this.scale),s.connected&&e[i].draw(t)}},Graph.prototype._stabilize=function(){1==this.constants.freezeForStabilization&&this._freezeDefinedNodes();for(var t=0;this.moving&&t<this.constants.stabilizationIterations;)this._physicsTick(),t++;this.zoomExtent(!1,!0),1==this.constants.freezeForStabilization&&this._restoreFrozenNodes(),this.emit("stabilized",{iterations:t})},Graph.prototype._freezeDefinedNodes=function(){var t=this.nodes;for(var e in t)t.hasOwnProperty(e)&&null!=t[e].x&&null!=t[e].y&&(t[e].fixedData.x=t[e].xFixed,t[e].fixedData.y=t[e].yFixed,t[e].xFixed=!0,t[e].yFixed=!0)},Graph.prototype._restoreFrozenNodes=function(){var t=this.nodes;for(var e in t)t.hasOwnProperty(e)&&null!=t[e].fixedData.x&&(t[e].xFixed=t[e].fixedData.x,t[e].yFixed=t[e].fixedData.y)},Graph.prototype._isMoving=function(t){var e=this.nodes;for(var i in e)if(e.hasOwnProperty(i)&&e[i].isMoving(t))return!0;return!1},Graph.prototype._discreteStepNodes=function(){var t,e=this.physicsDiscreteStepsize,i=this.nodes,s=!1;if(this.constants.maxVelocity>0)for(t in i)i.hasOwnProperty(t)&&(i[t].discreteStepLimited(e,this.constants.maxVelocity),s=!0);else for(t in i)i.hasOwnProperty(t)&&(i[t].discreteStep(e),s=!0);if(1==s){var n=this.constants.minVelocity/Math.max(this.scale,.05);this.moving=n>.5*this.constants.maxVelocity?!0:this._isMoving(n)}},Graph.prototype._physicsTick=function(){this.freezeSimulation||this.moving&&(this._doInAllActiveSectors("_initializeForceCalculation"),this._doInAllActiveSectors("_discreteStepNodes"),this.constants.smoothCurves&&this._doInSupportSector("_discreteStepNodes"),this._findCenter(this._getRange()))},Graph.prototype._animationStep=function(){this.timer=void 0,this._handleNavigation(),this.start();var t=Date.now(),e=1;this._physicsTick();for(var i=Date.now()-t;i<this.renderTimestep-this.renderTime&&e<this.maxPhysicsTicksPerRender;)this._physicsTick(),i=Date.now()-t,e++;var s=Date.now();this._redraw(),this.renderTime=Date.now()-s},"undefined"!=typeof window&&(window.requestAnimationFrame=window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||window.msRequestAnimationFrame),Graph.prototype.start=function(){if(this.moving||0!=this.xIncrement||0!=this.yIncrement||0!=this.zoomIncrement){if(!this.timer){var t=navigator.userAgent.toLowerCase(),e=!1;-1!=t.indexOf("msie 9.0")?e=!0:-1!=t.indexOf("safari")&&t.indexOf("chrome")<=-1&&(e=!0),this.timer=1==e?window.setTimeout(this._animationStep.bind(this),this.renderTimestep):window.requestAnimationFrame(this._animationStep.bind(this),this.renderTimestep)}}else this._redraw()},Graph.prototype._handleNavigation=function(){if(0!=this.xIncrement||0!=this.yIncrement){var t=this._getTranslation();this._setTranslation(t.x+this.xIncrement,t.y+this.yIncrement)}if(0!=this.zoomIncrement){var e={x:this.frame.canvas.clientWidth/2,y:this.frame.canvas.clientHeight/2};this._zoom(this.scale*(1+this.zoomIncrement),e)}},Graph.prototype.toggleFreeze=function(){0==this.freezeSimulation?this.freezeSimulation=!0:(this.freezeSimulation=!1,this.start())},Graph.prototype._configureSmoothCurves=function(t){if(void 0===t&&(t=!0),1==this.constants.smoothCurves)this._createBezierNodes();else{this.sectors.support.nodes={};for(var e in this.edges)this.edges.hasOwnProperty(e)&&(this.edges[e].smooth=!1,this.edges[e].via=null)}this._updateCalculationNodes(),t||(this.moving=!0,this.start())},Graph.prototype._createBezierNodes=function(){if(1==this.constants.smoothCurves)for(var t in this.edges)if(this.edges.hasOwnProperty(t)){var e=this.edges[t];if(null==e.via){e.smooth=!0;var i="edgeId:".concat(e.id);this.sectors.support.nodes[i]=new Node({id:i,mass:1,shape:"circle",image:"",internalMultiplier:1},{},{},this.constants),e.via=this.sectors.support.nodes[i],e.via.parentEdgeId=e.id,e.positionBezierNode()}}},Graph.prototype._initializeMixinLoaders=function(){for(var t in graphMixinLoaders)graphMixinLoaders.hasOwnProperty(t)&&(Graph.prototype[t]=graphMixinLoaders[t])},Graph.prototype.storePosition=function(){var t=[];for(var e in this.nodes)if(this.nodes.hasOwnProperty(e)){var i=this.nodes[e],s=!this.nodes.xFixed,n=!this.nodes.yFixed;(this.nodesData.data[e].x!=Math.round(i.x)||this.nodesData.data[e].y!=Math.round(i.y))&&t.push({id:e,x:Math.round(i.x),y:Math.round(i.y),allowedToMoveX:s,allowedToMoveY:n})}this.nodesData.update(t)};var vis={util:util,DataSet:DataSet,DataView:DataView,Range:Range,stack:stack,TimeStep:TimeStep,components:{items:{Item:Item,ItemBox:ItemBox,ItemPoint:ItemPoint,ItemRange:ItemRange},Component:Component,Panel:Panel,RootPanel:RootPanel,ItemSet:ItemSet,TimeAxis:TimeAxis},graph:{Node:Node,Edge:Edge,Popup:Popup,Groups:Groups,Images:Images},Timeline:Timeline,Graph:Graph};"undefined"!=typeof exports&&(exports=vis),"undefined"!=typeof module&&"undefined"!=typeof module.exports&&(module.exports=vis),"function"==typeof define&&define(function(){return vis}),"undefined"!=typeof window&&(window.vis=vis)},{"emitter-component":2,hammerjs:3,moment:4,mousetrap:5}],2:[function(t,e){function i(t){return t?s(t):void 0}function s(t){for(var e in i.prototype)t[e]=i.prototype[e];return t}e.exports=i,i.prototype.on=i.prototype.addEventListener=function(t,e){return this._callbacks=this._callbacks||{},(this._callbacks[t]=this._callbacks[t]||[]).push(e),this},i.prototype.once=function(t,e){function i(){s.off(t,i),e.apply(this,arguments)}var s=this;return this._callbacks=this._callbacks||{},i.fn=e,this.on(t,i),this},i.prototype.off=i.prototype.removeListener=i.prototype.removeAllListeners=i.prototype.removeEventListener=function(t,e){if(this._callbacks=this._callbacks||{},0==arguments.length)return this._callbacks={},this;var i=this._callbacks[t];if(!i)return this;if(1==arguments.length)return delete this._callbacks[t],this;for(var s,n=0;n<i.length;n++)if(s=i[n],s===e||s.fn===e){i.splice(n,1);break}return this},i.prototype.emit=function(t){this._callbacks=this._callbacks||{};var e=[].slice.call(arguments,1),i=this._callbacks[t];if(i){i=i.slice(0);for(var s=0,n=i.length;n>s;++s)i[s].apply(this,e)}return this},i.prototype.listeners=function(t){return this._callbacks=this._callbacks||{},this._callbacks[t]||[] },i.prototype.hasListeners=function(t){return!!this.listeners(t).length}},{}],3:[function(t,e){!function(t,i){"use strict";function s(){if(!n.READY){n.event.determineEventTypes();for(var t in n.gestures)n.gestures.hasOwnProperty(t)&&n.detection.register(n.gestures[t]);n.event.onTouch(n.DOCUMENT,n.EVENT_MOVE,n.detection.detect),n.event.onTouch(n.DOCUMENT,n.EVENT_END,n.detection.detect),n.READY=!0}}var n=function(t,e){return new n.Instance(t,e||{})};n.defaults={stop_browser_behavior:{userSelect:"none",touchAction:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}},n.HAS_POINTEREVENTS=navigator.pointerEnabled||navigator.msPointerEnabled,n.HAS_TOUCHEVENTS="ontouchstart"in t,n.MOBILE_REGEX=/mobile|tablet|ip(ad|hone|od)|android/i,n.NO_MOUSEEVENTS=n.HAS_TOUCHEVENTS&&navigator.userAgent.match(n.MOBILE_REGEX),n.EVENT_TYPES={},n.DIRECTION_DOWN="down",n.DIRECTION_LEFT="left",n.DIRECTION_UP="up",n.DIRECTION_RIGHT="right",n.POINTER_MOUSE="mouse",n.POINTER_TOUCH="touch",n.POINTER_PEN="pen",n.EVENT_START="start",n.EVENT_MOVE="move",n.EVENT_END="end",n.DOCUMENT=document,n.plugins={},n.READY=!1,n.Instance=function(t,e){var i=this;return s(),this.element=t,this.enabled=!0,this.options=n.utils.extend(n.utils.extend({},n.defaults),e||{}),this.options.stop_browser_behavior&&n.utils.stopDefaultBrowserBehavior(this.element,this.options.stop_browser_behavior),n.event.onTouch(t,n.EVENT_START,function(t){i.enabled&&n.detection.startDetect(i,t)}),this},n.Instance.prototype={on:function(t,e){for(var i=t.split(" "),s=0;s<i.length;s++)this.element.addEventListener(i[s],e,!1);return this},off:function(t,e){for(var i=t.split(" "),s=0;s<i.length;s++)this.element.removeEventListener(i[s],e,!1);return this},trigger:function(t,e){var i=n.DOCUMENT.createEvent("Event");i.initEvent(t,!0,!0),i.gesture=e;var s=this.element;return n.utils.hasParent(e.target,s)&&(s=e.target),s.dispatchEvent(i),this},enable:function(t){return this.enabled=t,this}};var o=null,a=!1,r=!1;n.event={bindDom:function(t,e,i){for(var s=e.split(" "),n=0;n<s.length;n++)t.addEventListener(s[n],i,!1)},onTouch:function(t,e,i){var s=this;this.bindDom(t,n.EVENT_TYPES[e],function(h){var d=h.type.toLowerCase();if(!d.match(/mouse/)||!r){(d.match(/touch/)||d.match(/pointerdown/)||d.match(/mouse/)&&1===h.which)&&(a=!0),d.match(/touch|pointer/)&&(r=!0);var c=0;a&&(n.HAS_POINTEREVENTS&&e!=n.EVENT_END?c=n.PointerEvent.updatePointer(e,h):d.match(/touch/)?c=h.touches.length:r||(c=d.match(/up/)?0:1),c>0&&e==n.EVENT_END?e=n.EVENT_MOVE:c||(e=n.EVENT_END),c||null===o?o=h:h=o,i.call(n.detection,s.collectEventData(t,e,h)),n.HAS_POINTEREVENTS&&e==n.EVENT_END&&(c=n.PointerEvent.updatePointer(e,h))),c||(o=null,a=!1,r=!1,n.PointerEvent.reset())}})},determineEventTypes:function(){var t;t=n.HAS_POINTEREVENTS?n.PointerEvent.getEvents():n.NO_MOUSEEVENTS?["touchstart","touchmove","touchend touchcancel"]:["touchstart mousedown","touchmove mousemove","touchend touchcancel mouseup"],n.EVENT_TYPES[n.EVENT_START]=t[0],n.EVENT_TYPES[n.EVENT_MOVE]=t[1],n.EVENT_TYPES[n.EVENT_END]=t[2]},getTouchList:function(t){return n.HAS_POINTEREVENTS?n.PointerEvent.getTouchList():t.touches?t.touches:[{identifier:1,pageX:t.pageX,pageY:t.pageY,target:t.target}]},collectEventData:function(t,e,i){var s=this.getTouchList(i,e),o=n.POINTER_TOUCH;return(i.type.match(/mouse/)||n.PointerEvent.matchType(n.POINTER_MOUSE,i))&&(o=n.POINTER_MOUSE),{center:n.utils.getCenter(s),timeStamp:(new Date).getTime(),target:i.target,touches:s,eventType:e,pointerType:o,srcEvent:i,preventDefault:function(){this.srcEvent.preventManipulation&&this.srcEvent.preventManipulation(),this.srcEvent.preventDefault&&this.srcEvent.preventDefault()},stopPropagation:function(){this.srcEvent.stopPropagation()},stopDetect:function(){return n.detection.stopDetect()}}}},n.PointerEvent={pointers:{},getTouchList:function(){var t=this,e=[];return Object.keys(t.pointers).sort().forEach(function(i){e.push(t.pointers[i])}),e},updatePointer:function(t,e){return t==n.EVENT_END?this.pointers={}:(e.identifier=e.pointerId,this.pointers[e.pointerId]=e),Object.keys(this.pointers).length},matchType:function(t,e){if(!e.pointerType)return!1;var i={};return i[n.POINTER_MOUSE]=e.pointerType==e.MSPOINTER_TYPE_MOUSE||e.pointerType==n.POINTER_MOUSE,i[n.POINTER_TOUCH]=e.pointerType==e.MSPOINTER_TYPE_TOUCH||e.pointerType==n.POINTER_TOUCH,i[n.POINTER_PEN]=e.pointerType==e.MSPOINTER_TYPE_PEN||e.pointerType==n.POINTER_PEN,i[t]},getEvents:function(){return["pointerdown MSPointerDown","pointermove MSPointerMove","pointerup pointercancel MSPointerUp MSPointerCancel"]},reset:function(){this.pointers={}}},n.utils={extend:function(t,e,s){for(var n in e)t[n]!==i&&s||(t[n]=e[n]);return t},hasParent:function(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1},getCenter:function(t){for(var e=[],i=[],s=0,n=t.length;n>s;s++)e.push(t[s].pageX),i.push(t[s].pageY);return{pageX:(Math.min.apply(Math,e)+Math.max.apply(Math,e))/2,pageY:(Math.min.apply(Math,i)+Math.max.apply(Math,i))/2}},getVelocity:function(t,e,i){return{x:Math.abs(e/t)||0,y:Math.abs(i/t)||0}},getAngle:function(t,e){var i=e.pageY-t.pageY,s=e.pageX-t.pageX;return 180*Math.atan2(i,s)/Math.PI},getDirection:function(t,e){var i=Math.abs(t.pageX-e.pageX),s=Math.abs(t.pageY-e.pageY);return i>=s?t.pageX-e.pageX>0?n.DIRECTION_LEFT:n.DIRECTION_RIGHT:t.pageY-e.pageY>0?n.DIRECTION_UP:n.DIRECTION_DOWN},getDistance:function(t,e){var i=e.pageX-t.pageX,s=e.pageY-t.pageY;return Math.sqrt(i*i+s*s)},getScale:function(t,e){return t.length>=2&&e.length>=2?this.getDistance(e[0],e[1])/this.getDistance(t[0],t[1]):1},getRotation:function(t,e){return t.length>=2&&e.length>=2?this.getAngle(e[1],e[0])-this.getAngle(t[1],t[0]):0},isVertical:function(t){return t==n.DIRECTION_UP||t==n.DIRECTION_DOWN},stopDefaultBrowserBehavior:function(t,e){var i,s=["webkit","khtml","moz","ms","o",""];if(e&&t.style){for(var n=0;n<s.length;n++)for(var o in e)e.hasOwnProperty(o)&&(i=o,s[n]&&(i=s[n]+i.substring(0,1).toUpperCase()+i.substring(1)),t.style[i]=e[o]);"none"==e.userSelect&&(t.onselectstart=function(){return!1})}}},n.detection={gestures:[],current:null,previous:null,stopped:!1,startDetect:function(t,e){this.current||(this.stopped=!1,this.current={inst:t,startEvent:n.utils.extend({},e),lastEvent:!1,name:""},this.detect(e))},detect:function(t){if(this.current&&!this.stopped){t=this.extendEventData(t);for(var e=this.current.inst.options,i=0,s=this.gestures.length;s>i;i++){var o=this.gestures[i];if(!this.stopped&&e[o.name]!==!1&&o.handler.call(o,t,this.current.inst)===!1){this.stopDetect();break}}return this.current&&(this.current.lastEvent=t),t.eventType==n.EVENT_END&&!t.touches.length-1&&this.stopDetect(),t}},stopDetect:function(){this.previous=n.utils.extend({},this.current),this.current=null,this.stopped=!0},extendEventData:function(t){var e=this.current.startEvent;if(e&&(t.touches.length!=e.touches.length||t.touches===e.touches)){e.touches=[];for(var i=0,s=t.touches.length;s>i;i++)e.touches.push(n.utils.extend({},t.touches[i]))}var o=t.timeStamp-e.timeStamp,a=t.center.pageX-e.center.pageX,r=t.center.pageY-e.center.pageY,h=n.utils.getVelocity(o,a,r);return n.utils.extend(t,{deltaTime:o,deltaX:a,deltaY:r,velocityX:h.x,velocityY:h.y,distance:n.utils.getDistance(e.center,t.center),angle:n.utils.getAngle(e.center,t.center),direction:n.utils.getDirection(e.center,t.center),scale:n.utils.getScale(e.touches,t.touches),rotation:n.utils.getRotation(e.touches,t.touches),startEvent:e}),t},register:function(t){var e=t.defaults||{};return e[t.name]===i&&(e[t.name]=!0),n.utils.extend(n.defaults,e,!0),t.index=t.index||1e3,this.gestures.push(t),this.gestures.sort(function(t,e){return t.index<e.index?-1:t.index>e.index?1:0}),this.gestures}},n.gestures=n.gestures||{},n.gestures.Hold={name:"hold",index:10,defaults:{hold_timeout:500,hold_threshold:1},timer:null,handler:function(t,e){switch(t.eventType){case n.EVENT_START:clearTimeout(this.timer),n.detection.current.name=this.name,this.timer=setTimeout(function(){"hold"==n.detection.current.name&&e.trigger("hold",t)},e.options.hold_timeout);break;case n.EVENT_MOVE:t.distance>e.options.hold_threshold&&clearTimeout(this.timer);break;case n.EVENT_END:clearTimeout(this.timer)}}},n.gestures.Tap={name:"tap",index:100,defaults:{tap_max_touchtime:250,tap_max_distance:10,tap_always:!0,doubletap_distance:20,doubletap_interval:300},handler:function(t,e){if(t.eventType==n.EVENT_END){var i=n.detection.previous,s=!1;if(t.deltaTime>e.options.tap_max_touchtime||t.distance>e.options.tap_max_distance)return;i&&"tap"==i.name&&t.timeStamp-i.lastEvent.timeStamp<e.options.doubletap_interval&&t.distance<e.options.doubletap_distance&&(e.trigger("doubletap",t),s=!0),(!s||e.options.tap_always)&&(n.detection.current.name="tap",e.trigger(n.detection.current.name,t))}}},n.gestures.Swipe={name:"swipe",index:40,defaults:{swipe_max_touches:1,swipe_velocity:.7},handler:function(t,e){if(t.eventType==n.EVENT_END){if(e.options.swipe_max_touches>0&&t.touches.length>e.options.swipe_max_touches)return;(t.velocityX>e.options.swipe_velocity||t.velocityY>e.options.swipe_velocity)&&(e.trigger(this.name,t),e.trigger(this.name+t.direction,t))}}},n.gestures.Drag={name:"drag",index:50,defaults:{drag_min_distance:10,drag_max_touches:1,drag_block_horizontal:!1,drag_block_vertical:!1,drag_lock_to_axis:!1,drag_lock_min_distance:25},triggered:!1,handler:function(t,e){if(n.detection.current.name!=this.name&&this.triggered)return e.trigger(this.name+"end",t),void(this.triggered=!1);if(!(e.options.drag_max_touches>0&&t.touches.length>e.options.drag_max_touches))switch(t.eventType){case n.EVENT_START:this.triggered=!1;break;case n.EVENT_MOVE:if(t.distance<e.options.drag_min_distance&&n.detection.current.name!=this.name)return;n.detection.current.name=this.name,(n.detection.current.lastEvent.drag_locked_to_axis||e.options.drag_lock_to_axis&&e.options.drag_lock_min_distance<=t.distance)&&(t.drag_locked_to_axis=!0);var i=n.detection.current.lastEvent.direction;t.drag_locked_to_axis&&i!==t.direction&&(t.direction=n.utils.isVertical(i)?t.deltaY<0?n.DIRECTION_UP:n.DIRECTION_DOWN:t.deltaX<0?n.DIRECTION_LEFT:n.DIRECTION_RIGHT),this.triggered||(e.trigger(this.name+"start",t),this.triggered=!0),e.trigger(this.name,t),e.trigger(this.name+t.direction,t),(e.options.drag_block_vertical&&n.utils.isVertical(t.direction)||e.options.drag_block_horizontal&&!n.utils.isVertical(t.direction))&&t.preventDefault();break;case n.EVENT_END:this.triggered&&e.trigger(this.name+"end",t),this.triggered=!1}}},n.gestures.Transform={name:"transform",index:45,defaults:{transform_min_scale:.01,transform_min_rotation:1,transform_always_block:!1},triggered:!1,handler:function(t,e){if(n.detection.current.name!=this.name&&this.triggered)return e.trigger(this.name+"end",t),void(this.triggered=!1);if(!(t.touches.length<2))switch(e.options.transform_always_block&&t.preventDefault(),t.eventType){case n.EVENT_START:this.triggered=!1;break;case n.EVENT_MOVE:var i=Math.abs(1-t.scale),s=Math.abs(t.rotation);if(i<e.options.transform_min_scale&&s<e.options.transform_min_rotation)return;n.detection.current.name=this.name,this.triggered||(e.trigger(this.name+"start",t),this.triggered=!0),e.trigger(this.name,t),s>e.options.transform_min_rotation&&e.trigger("rotate",t),i>e.options.transform_min_scale&&(e.trigger("pinch",t),e.trigger("pinch"+(t.scale<1?"in":"out"),t));break;case n.EVENT_END:this.triggered&&e.trigger(this.name+"end",t),this.triggered=!1}}},n.gestures.Touch={name:"touch",index:-1/0,defaults:{prevent_default:!1,prevent_mouseevents:!1},handler:function(t,e){return e.options.prevent_mouseevents&&t.pointerType==n.POINTER_MOUSE?void t.stopDetect():(e.options.prevent_default&&t.preventDefault(),void(t.eventType==n.EVENT_START&&e.trigger(this.name,t)))}},n.gestures.Release={name:"release",index:1/0,handler:function(t,e){t.eventType==n.EVENT_END&&e.trigger(this.name,t)}},"object"==typeof e&&"object"==typeof e.exports?e.exports=n:(t.Hammer=n,"function"==typeof t.define&&t.define.amd&&t.define("hammer",[],function(){return n}))}(this)},{}],4:[function(t,e){var i="undefined"!=typeof self?self:"undefined"!=typeof window?window:{};(function(s){function n(){return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1}}function o(t,e){function i(){le.suppressDeprecationWarnings===!1&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+t)}var s=!0;return l(function(){return s&&(i(),s=!1),e.apply(this,arguments)},e)}function a(t,e){return function(i){return g(t.call(this,i),e)}}function r(t,e){return function(i){return this.lang().ordinal(t.call(this,i),e)}}function h(){}function d(t){I(t),l(this,t)}function c(t){var e=b(t),i=e.year||0,s=e.quarter||0,n=e.month||0,o=e.week||0,a=e.day||0,r=e.hour||0,h=e.minute||0,d=e.second||0,c=e.millisecond||0;this._milliseconds=+c+1e3*d+6e4*h+36e5*r,this._days=+a+7*o,this._months=+n+3*s+12*i,this._data={},this._bubble()}function l(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i]);return e.hasOwnProperty("toString")&&(t.toString=e.toString),e.hasOwnProperty("valueOf")&&(t.valueOf=e.valueOf),t}function u(t){var e,i={};for(e in t)t.hasOwnProperty(e)&&Te.hasOwnProperty(e)&&(i[e]=t[e]);return i}function p(t){return 0>t?Math.ceil(t):Math.floor(t)}function g(t,e,i){for(var s=""+Math.abs(t),n=t>=0;s.length<e;)s="0"+s;return(n?i?"+":"":"-")+s}function m(t,e,i,s){var n=e._milliseconds,o=e._days,a=e._months;s=null==s?!0:s,n&&t._d.setTime(+t._d+n*i),o&&ae(t,"Date",oe(t,"Date")+o*i),a&&ne(t,oe(t,"Month")+a*i),s&&le.updateOffset(t,o||a)}function f(t){return"[object Array]"===Object.prototype.toString.call(t)}function v(t){return"[object Date]"===Object.prototype.toString.call(t)||t instanceof Date}function y(t,e,i){var s,n=Math.min(t.length,e.length),o=Math.abs(t.length-e.length),a=0;for(s=0;n>s;s++)(i&&t[s]!==e[s]||!i&&S(t[s])!==S(e[s]))&&a++;return a+o}function _(t){if(t){var e=t.toLowerCase().replace(/(.)s$/,"$1");t=ti[t]||ei[e]||e}return t}function b(t){var e,i,s={};for(i in t)t.hasOwnProperty(i)&&(e=_(i),e&&(s[e]=t[i]));return s}function w(t){var e,i;if(0===t.indexOf("week"))e=7,i="day";else{if(0!==t.indexOf("month"))return;e=12,i="month"}le[t]=function(n,o){var a,r,h=le.fn._lang[t],d=[];if("number"==typeof n&&(o=n,n=s),r=function(t){var e=le().utc().set(i,t);return h.call(le.fn._lang,e,n||"")},null!=o)return r(o);for(a=0;e>a;a++)d.push(r(a));return d}}function S(t){var e=+t,i=0;return 0!==e&&isFinite(e)&&(i=e>=0?Math.floor(e):Math.ceil(e)),i}function x(t,e){return new Date(Date.UTC(t,e+1,0)).getUTCDate()}function E(t,e,i){return ee(le([t,11,31+e-i]),e,i).week}function T(t){return D(t)?366:365}function D(t){return t%4===0&&t%100!==0||t%400===0}function I(t){var e;t._a&&-2===t._pf.overflow&&(e=t._a[ye]<0||t._a[ye]>11?ye:t._a[_e]<1||t._a[_e]>x(t._a[ve],t._a[ye])?_e:t._a[be]<0||t._a[be]>23?be:t._a[we]<0||t._a[we]>59?we:t._a[Se]<0||t._a[Se]>59?Se:t._a[xe]<0||t._a[xe]>999?xe:-1,t._pf._overflowDayOfYear&&(ve>e||e>_e)&&(e=_e),t._pf.overflow=e)}function C(t){return null==t._isValid&&(t._isValid=!isNaN(t._d.getTime())&&t._pf.overflow<0&&!t._pf.empty&&!t._pf.invalidMonth&&!t._pf.nullInput&&!t._pf.invalidFormat&&!t._pf.userInvalidated,t._strict&&(t._isValid=t._isValid&&0===t._pf.charsLeftOver&&0===t._pf.unusedTokens.length)),t._isValid}function M(t){return t?t.toLowerCase().replace("_","-"):t}function N(t,e){return e._isUTC?le(t).zone(e._offset||0):le(t).local()}function O(t,e){return e.abbr=t,Ee[t]||(Ee[t]=new h),Ee[t].set(e),Ee[t]}function L(t){delete Ee[t]}function k(e){var i,s,n,o,a=0,r=function(e){if(!Ee[e]&&De)try{t("./lang/"+e)}catch(i){}return Ee[e]};if(!e)return le.fn._lang;if(!f(e)){if(s=r(e))return s;e=[e]}for(;a<e.length;){for(o=M(e[a]).split("-"),i=o.length,n=M(e[a+1]),n=n?n.split("-"):null;i>0;){if(s=r(o.slice(0,i).join("-")))return s;if(n&&n.length>=i&&y(o,n,!0)>=i-1)break;i--}a++}return le.fn._lang}function P(t){return t.match(/\[[\s\S]/)?t.replace(/^\[|\]$/g,""):t.replace(/\\/g,"")}function A(t){var e,i,s=t.match(Ne);for(e=0,i=s.length;i>e;e++)s[e]=oi[s[e]]?oi[s[e]]:P(s[e]);return function(n){var o="";for(e=0;i>e;e++)o+=s[e]instanceof Function?s[e].call(n,t):s[e];return o}}function F(t,e){return t.isValid()?(e=z(e,t.lang()),ii[e]||(ii[e]=A(e)),ii[e](t)):t.lang().invalidDate()}function z(t,e){function i(t){return e.longDateFormat(t)||t}var s=5;for(Oe.lastIndex=0;s>=0&&Oe.test(t);)t=t.replace(Oe,i),Oe.lastIndex=0,s-=1;return t}function R(t,e){var i,s=e._strict;switch(t){case"Q":return We;case"DDDD":return je;case"YYYY":case"GGGG":case"gggg":return s?Ve:Pe;case"Y":case"G":case"g":return Xe;case"YYYYYY":case"YYYYY":case"GGGGG":case"ggggg":return s?Ue:Ae;case"S":if(s)return We;case"SS":if(s)return Be;case"SSS":if(s)return je;case"DDD":return ke;case"MMM":case"MMMM":case"dd":case"ddd":case"dddd":return ze;case"a":case"A":return k(e._l)._meridiemParse;case"X":return Ye;case"Z":case"ZZ":return Re;case"T":return He;case"SSSS":return Fe;case"MM":case"DD":case"YY":case"GG":case"gg":case"HH":case"hh":case"mm":case"ss":case"ww":case"WW":return s?Be:Le;case"M":case"D":case"d":case"H":case"h":case"m":case"s":case"w":case"W":case"e":case"E":return Le;case"Do":return Ge;default:return i=new RegExp(U(V(t.replace("\\","")),"i"))}}function H(t){t=t||"";var e=t.match(Re)||[],i=e[e.length-1]||[],s=(i+"").match(Je)||["-",0,0],n=+(60*s[1])+S(s[2]);return"+"===s[0]?-n:n}function Y(t,e,i){var s,n=i._a;switch(t){case"Q":null!=e&&(n[ye]=3*(S(e)-1));break;case"M":case"MM":null!=e&&(n[ye]=S(e)-1);break;case"MMM":case"MMMM":s=k(i._l).monthsParse(e),null!=s?n[ye]=s:i._pf.invalidMonth=e;break;case"D":case"DD":null!=e&&(n[_e]=S(e));break;case"Do":null!=e&&(n[_e]=S(parseInt(e,10)));break;case"DDD":case"DDDD":null!=e&&(i._dayOfYear=S(e));break;case"YY":n[ve]=le.parseTwoDigitYear(e);break;case"YYYY":case"YYYYY":case"YYYYYY":n[ve]=S(e);break;case"a":case"A":i._isPm=k(i._l).isPM(e);break;case"H":case"HH":case"h":case"hh":n[be]=S(e);break;case"m":case"mm":n[we]=S(e);break;case"s":case"ss":n[Se]=S(e);break;case"S":case"SS":case"SSS":case"SSSS":n[xe]=S(1e3*("0."+e));break;case"X":i._d=new Date(1e3*parseFloat(e));break;case"Z":case"ZZ":i._useUTC=!0,i._tzm=H(e);break;case"w":case"ww":case"W":case"WW":case"d":case"dd":case"ddd":case"dddd":case"e":case"E":t=t.substr(0,1);case"gg":case"gggg":case"GG":case"GGGG":case"GGGGG":t=t.substr(0,2),e&&(i._w=i._w||{},i._w[t]=e)}}function G(t){var e,i,s,n,o,a,r,h,d,c,l=[];if(!t._d){for(s=B(t),t._w&&null==t._a[_e]&&null==t._a[ye]&&(o=function(e){var i=parseInt(e,10);return e?e.length<3?i>68?1900+i:2e3+i:i:null==t._a[ve]?le().weekYear():t._a[ve]},a=t._w,null!=a.GG||null!=a.W||null!=a.E?r=ie(o(a.GG),a.W||1,a.E,4,1):(h=k(t._l),d=null!=a.d?J(a.d,h):null!=a.e?parseInt(a.e,10)+h._week.dow:0,c=parseInt(a.w,10)||1,null!=a.d&&d<h._week.dow&&c++,r=ie(o(a.gg),c,d,h._week.doy,h._week.dow)),t._a[ve]=r.year,t._dayOfYear=r.dayOfYear),t._dayOfYear&&(n=null==t._a[ve]?s[ve]:t._a[ve],t._dayOfYear>T(n)&&(t._pf._overflowDayOfYear=!0),i=$(n,0,t._dayOfYear),t._a[ye]=i.getUTCMonth(),t._a[_e]=i.getUTCDate()),e=0;3>e&&null==t._a[e];++e)t._a[e]=l[e]=s[e];for(;7>e;e++)t._a[e]=l[e]=null==t._a[e]?2===e?1:0:t._a[e];l[be]+=S((t._tzm||0)/60),l[we]+=S((t._tzm||0)%60),t._d=(t._useUTC?$:K).apply(null,l)}}function W(t){var e;t._d||(e=b(t._i),t._a=[e.year,e.month,e.day,e.hour,e.minute,e.second,e.millisecond],G(t))}function B(t){var e=new Date;return t._useUTC?[e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()]:[e.getFullYear(),e.getMonth(),e.getDate()]}function j(t){t._a=[],t._pf.empty=!0;var e,i,s,n,o,a=k(t._l),r=""+t._i,h=r.length,d=0;for(s=z(t._f,a).match(Ne)||[],e=0;e<s.length;e++)n=s[e],i=(r.match(R(n,t))||[])[0],i&&(o=r.substr(0,r.indexOf(i)),o.length>0&&t._pf.unusedInput.push(o),r=r.slice(r.indexOf(i)+i.length),d+=i.length),oi[n]?(i?t._pf.empty=!1:t._pf.unusedTokens.push(n),Y(n,i,t)):t._strict&&!i&&t._pf.unusedTokens.push(n);t._pf.charsLeftOver=h-d,r.length>0&&t._pf.unusedInput.push(r),t._isPm&&t._a[be]<12&&(t._a[be]+=12),t._isPm===!1&&12===t._a[be]&&(t._a[be]=0),G(t),I(t)}function V(t){return t.replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(t,e,i,s,n){return e||i||s||n})}function U(t){return t.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function X(t){var e,i,s,o,a;if(0===t._f.length)return t._pf.invalidFormat=!0,void(t._d=new Date(0/0));for(o=0;o<t._f.length;o++)a=0,e=l({},t),e._pf=n(),e._f=t._f[o],j(e),C(e)&&(a+=e._pf.charsLeftOver,a+=10*e._pf.unusedTokens.length,e._pf.score=a,(null==s||s>a)&&(s=a,i=e));l(t,i||e)}function q(t){var e,i,s=t._i,n=qe.exec(s);if(n){for(t._pf.iso=!0,e=0,i=Ke.length;i>e;e++)if(Ke[e][1].exec(s)){t._f=Ke[e][0]+(n[6]||" ");break}for(e=0,i=$e.length;i>e;e++)if($e[e][1].exec(s)){t._f+=$e[e][0];break}s.match(Re)&&(t._f+="Z"),j(t)}else le.createFromInputFallback(t)}function Z(t){var e=t._i,i=Ie.exec(e);e===s?t._d=new Date:i?t._d=new Date(+i[1]):"string"==typeof e?q(t):f(e)?(t._a=e.slice(0),G(t)):v(e)?t._d=new Date(+e):"object"==typeof e?W(t):"number"==typeof e?t._d=new Date(e):le.createFromInputFallback(t)}function K(t,e,i,s,n,o,a){var r=new Date(t,e,i,s,n,o,a);return 1970>t&&r.setFullYear(t),r}function $(t){var e=new Date(Date.UTC.apply(null,arguments));return 1970>t&&e.setUTCFullYear(t),e}function J(t,e){if("string"==typeof t)if(isNaN(t)){if(t=e.weekdaysParse(t),"number"!=typeof t)return null}else t=parseInt(t,10);return t}function Q(t,e,i,s,n){return n.relativeTime(e||1,!!i,t,s)}function te(t,e,i){var s=fe(Math.abs(t)/1e3),n=fe(s/60),o=fe(n/60),a=fe(o/24),r=fe(a/365),h=45>s&&["s",s]||1===n&&["m"]||45>n&&["mm",n]||1===o&&["h"]||22>o&&["hh",o]||1===a&&["d"]||25>=a&&["dd",a]||45>=a&&["M"]||345>a&&["MM",fe(a/30)]||1===r&&["y"]||["yy",r];return h[2]=e,h[3]=t>0,h[4]=i,Q.apply({},h)}function ee(t,e,i){var s,n=i-e,o=i-t.day();return o>n&&(o-=7),n-7>o&&(o+=7),s=le(t).add("d",o),{week:Math.ceil(s.dayOfYear()/7),year:s.year()}}function ie(t,e,i,s,n){var o,a,r=$(t,0,1).getUTCDay();return i=null!=i?i:n,o=n-r+(r>s?7:0)-(n>r?7:0),a=7*(e-1)+(i-n)+o+1,{year:a>0?t:t-1,dayOfYear:a>0?a:T(t-1)+a}}function se(t){var e=t._i,i=t._f;return null===e||i===s&&""===e?le.invalid({nullInput:!0}):("string"==typeof e&&(t._i=e=k().preparse(e)),le.isMoment(e)?(t=u(e),t._d=new Date(+e._d)):i?f(i)?X(t):j(t):Z(t),new d(t))}function ne(t,e){var i;return"string"==typeof e&&(e=t.lang().monthsParse(e),"number"!=typeof e)?t:(i=Math.min(t.date(),x(t.year(),e)),t._d["set"+(t._isUTC?"UTC":"")+"Month"](e,i),t)}function oe(t,e){return t._d["get"+(t._isUTC?"UTC":"")+e]()}function ae(t,e,i){return"Month"===e?ne(t,i):t._d["set"+(t._isUTC?"UTC":"")+e](i)}function re(t,e){return function(i){return null!=i?(ae(this,t,i),le.updateOffset(this,e),this):oe(this,t)}}function he(t){le.duration.fn[t]=function(){return this._data[t]}}function de(t,e){le.duration.fn["as"+t]=function(){return+this/e}}function ce(t){"undefined"==typeof ender&&(ue=me.moment,me.moment=t?o("Accessing Moment through the global scope is deprecated, and will be removed in an upcoming release.",le):le)}for(var le,ue,pe,ge="2.6.0",me="undefined"!=typeof i?i:this,fe=Math.round,ve=0,ye=1,_e=2,be=3,we=4,Se=5,xe=6,Ee={},Te={_isAMomentObject:null,_i:null,_f:null,_l:null,_strict:null,_isUTC:null,_offset:null,_pf:null,_lang:null},De="undefined"!=typeof e&&e.exports,Ie=/^\/?Date\((\-?\d+)/i,Ce=/(\-)?(?:(\d*)\.)?(\d+)\:(\d+)(?:\:(\d+)\.?(\d{3})?)?/,Me=/^(-)?P(?:(?:([0-9,.]*)Y)?(?:([0-9,.]*)M)?(?:([0-9,.]*)D)?(?:T(?:([0-9,.]*)H)?(?:([0-9,.]*)M)?(?:([0-9,.]*)S)?)?|([0-9,.]*)W)$/,Ne=/(\[[^\[]*\])|(\\)?(Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Q|YYYYYY|YYYYY|YYYY|YY|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|mm?|ss?|S{1,4}|X|zz?|ZZ?|.)/g,Oe=/(\[[^\[]*\])|(\\)?(LT|LL?L?L?|l{1,4})/g,Le=/\d\d?/,ke=/\d{1,3}/,Pe=/\d{1,4}/,Ae=/[+\-]?\d{1,6}/,Fe=/\d+/,ze=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,Re=/Z|[\+\-]\d\d:?\d\d/gi,He=/T/i,Ye=/[\+\-]?\d+(\.\d{1,3})?/,Ge=/\d{1,2}/,We=/\d/,Be=/\d\d/,je=/\d{3}/,Ve=/\d{4}/,Ue=/[+-]?\d{6}/,Xe=/[+-]?\d+/,qe=/^\s*(?:[+-]\d{6}|\d{4})-(?:(\d\d-\d\d)|(W\d\d$)|(W\d\d-\d)|(\d\d\d))((T| )(\d\d(:\d\d(:\d\d(\.\d+)?)?)?)?([\+\-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Ze="YYYY-MM-DDTHH:mm:ssZ",Ke=[["YYYYYY-MM-DD",/[+-]\d{6}-\d{2}-\d{2}/],["YYYY-MM-DD",/\d{4}-\d{2}-\d{2}/],["GGGG-[W]WW-E",/\d{4}-W\d{2}-\d/],["GGGG-[W]WW",/\d{4}-W\d{2}/],["YYYY-DDD",/\d{4}-\d{3}/]],$e=[["HH:mm:ss.SSSS",/(T| )\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss",/(T| )\d\d:\d\d:\d\d/],["HH:mm",/(T| )\d\d:\d\d/],["HH",/(T| )\d\d/]],Je=/([\+\-]|\d\d)/gi,Qe=("Date|Hours|Minutes|Seconds|Milliseconds".split("|"),{Milliseconds:1,Seconds:1e3,Minutes:6e4,Hours:36e5,Days:864e5,Months:2592e6,Years:31536e6}),ti={ms:"millisecond",s:"second",m:"minute",h:"hour",d:"day",D:"date",w:"week",W:"isoWeek",M:"month",Q:"quarter",y:"year",DDD:"dayOfYear",e:"weekday",E:"isoWeekday",gg:"weekYear",GG:"isoWeekYear"},ei={dayofyear:"dayOfYear",isoweekday:"isoWeekday",isoweek:"isoWeek",weekyear:"weekYear",isoweekyear:"isoWeekYear"},ii={},si="DDD w W M D d".split(" "),ni="M D H h m s w W".split(" "),oi={M:function(){return this.month()+1},MMM:function(t){return this.lang().monthsShort(this,t)},MMMM:function(t){return this.lang().months(this,t)},D:function(){return this.date()},DDD:function(){return this.dayOfYear()},d:function(){return this.day()},dd:function(t){return this.lang().weekdaysMin(this,t)},ddd:function(t){return this.lang().weekdaysShort(this,t)},dddd:function(t){return this.lang().weekdays(this,t)},w:function(){return this.week()},W:function(){return this.isoWeek()},YY:function(){return g(this.year()%100,2)},YYYY:function(){return g(this.year(),4)},YYYYY:function(){return g(this.year(),5)},YYYYYY:function(){var t=this.year(),e=t>=0?"+":"-";return e+g(Math.abs(t),6)},gg:function(){return g(this.weekYear()%100,2)},gggg:function(){return g(this.weekYear(),4)},ggggg:function(){return g(this.weekYear(),5)},GG:function(){return g(this.isoWeekYear()%100,2)},GGGG:function(){return g(this.isoWeekYear(),4)},GGGGG:function(){return g(this.isoWeekYear(),5)},e:function(){return this.weekday()},E:function(){return this.isoWeekday()},a:function(){return this.lang().meridiem(this.hours(),this.minutes(),!0)},A:function(){return this.lang().meridiem(this.hours(),this.minutes(),!1)},H:function(){return this.hours()},h:function(){return this.hours()%12||12},m:function(){return this.minutes()},s:function(){return this.seconds()},S:function(){return S(this.milliseconds()/100)},SS:function(){return g(S(this.milliseconds()/10),2)},SSS:function(){return g(this.milliseconds(),3)},SSSS:function(){return g(this.milliseconds(),3)},Z:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+g(S(t/60),2)+":"+g(S(t)%60,2)},ZZ:function(){var t=-this.zone(),e="+";return 0>t&&(t=-t,e="-"),e+g(S(t/60),2)+g(S(t)%60,2)},z:function(){return this.zoneAbbr()},zz:function(){return this.zoneName()},X:function(){return this.unix()},Q:function(){return this.quarter()}},ai=["months","monthsShort","weekdays","weekdaysShort","weekdaysMin"];si.length;)pe=si.pop(),oi[pe+"o"]=r(oi[pe],pe);for(;ni.length;)pe=ni.pop(),oi[pe+pe]=a(oi[pe],2);for(oi.DDDD=a(oi.DDD,3),l(h.prototype,{set:function(t){var e,i;for(i in t)e=t[i],"function"==typeof e?this[i]=e:this["_"+i]=e},_months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),months:function(t){return this._months[t.month()]},_monthsShort:"Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),monthsShort:function(t){return this._monthsShort[t.month()]},monthsParse:function(t){var e,i,s;for(this._monthsParse||(this._monthsParse=[]),e=0;12>e;e++)if(this._monthsParse[e]||(i=le.utc([2e3,e]),s="^"+this.months(i,"")+"|^"+this.monthsShort(i,""),this._monthsParse[e]=new RegExp(s.replace(".",""),"i")),this._monthsParse[e].test(t))return e},_weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),weekdays:function(t){return this._weekdays[t.day()]},_weekdaysShort:"Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),weekdaysShort:function(t){return this._weekdaysShort[t.day()]},_weekdaysMin:"Su_Mo_Tu_We_Th_Fr_Sa".split("_"),weekdaysMin:function(t){return this._weekdaysMin[t.day()]},weekdaysParse:function(t){var e,i,s;for(this._weekdaysParse||(this._weekdaysParse=[]),e=0;7>e;e++)if(this._weekdaysParse[e]||(i=le([2e3,1]).day(e),s="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[e]=new RegExp(s.replace(".",""),"i")),this._weekdaysParse[e].test(t))return e},_longDateFormat:{LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D YYYY",LLL:"MMMM D YYYY LT",LLLL:"dddd, MMMM D YYYY LT"},longDateFormat:function(t){var e=this._longDateFormat[t];return!e&&this._longDateFormat[t.toUpperCase()]&&(e=this._longDateFormat[t.toUpperCase()].replace(/MMMM|MM|DD|dddd/g,function(t){return t.slice(1)}),this._longDateFormat[t]=e),e},isPM:function(t){return"p"===(t+"").toLowerCase().charAt(0)},_meridiemParse:/[ap]\.?m?\.?/i,meridiem:function(t,e,i){return t>11?i?"pm":"PM":i?"am":"AM"},_calendar:{sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"},calendar:function(t,e){var i=this._calendar[t];return"function"==typeof i?i.apply(e):i},_relativeTime:{future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"},relativeTime:function(t,e,i,s){var n=this._relativeTime[i];return"function"==typeof n?n(t,e,i,s):n.replace(/%d/i,t)},pastFuture:function(t,e){var i=this._relativeTime[t>0?"future":"past"];return"function"==typeof i?i(e):i.replace(/%s/i,e)},ordinal:function(t){return this._ordinal.replace("%d",t)},_ordinal:"%d",preparse:function(t){return t},postformat:function(t){return t},week:function(t){return ee(t,this._week.dow,this._week.doy).week},_week:{dow:0,doy:6},_invalidDate:"Invalid date",invalidDate:function(){return this._invalidDate}}),le=function(t,e,i,o){var a;return"boolean"==typeof i&&(o=i,i=s),a={},a._isAMomentObject=!0,a._i=t,a._f=e,a._l=i,a._strict=o,a._isUTC=!1,a._pf=n(),se(a)},le.suppressDeprecationWarnings=!1,le.createFromInputFallback=o("moment construction falls back to js Date. This is discouraged and will be removed in upcoming major release. Please refer to https://github.com/moment/moment/issues/1407 for more info.",function(t){t._d=new Date(t._i)}),le.utc=function(t,e,i,o){var a;return"boolean"==typeof i&&(o=i,i=s),a={},a._isAMomentObject=!0,a._useUTC=!0,a._isUTC=!0,a._l=i,a._i=t,a._f=e,a._strict=o,a._pf=n(),se(a).utc()},le.unix=function(t){return le(1e3*t)},le.duration=function(t,e){var i,s,n,o=t,a=null;return le.isDuration(t)?o={ms:t._milliseconds,d:t._days,M:t._months}:"number"==typeof t?(o={},e?o[e]=t:o.milliseconds=t):(a=Ce.exec(t))?(i="-"===a[1]?-1:1,o={y:0,d:S(a[_e])*i,h:S(a[be])*i,m:S(a[we])*i,s:S(a[Se])*i,ms:S(a[xe])*i}):(a=Me.exec(t))&&(i="-"===a[1]?-1:1,n=function(t){var e=t&&parseFloat(t.replace(",","."));return(isNaN(e)?0:e)*i},o={y:n(a[2]),M:n(a[3]),d:n(a[4]),h:n(a[5]),m:n(a[6]),s:n(a[7]),w:n(a[8])}),s=new c(o),le.isDuration(t)&&t.hasOwnProperty("_lang")&&(s._lang=t._lang),s},le.version=ge,le.defaultFormat=Ze,le.momentProperties=Te,le.updateOffset=function(){},le.lang=function(t,e){var i;return t?(e?O(M(t),e):null===e?(L(t),t="en"):Ee[t]||k(t),i=le.duration.fn._lang=le.fn._lang=k(t),i._abbr):le.fn._lang._abbr},le.langData=function(t){return t&&t._lang&&t._lang._abbr&&(t=t._lang._abbr),k(t)},le.isMoment=function(t){return t instanceof d||null!=t&&t.hasOwnProperty("_isAMomentObject")},le.isDuration=function(t){return t instanceof c},pe=ai.length-1;pe>=0;--pe)w(ai[pe]);le.normalizeUnits=function(t){return _(t)},le.invalid=function(t){var e=le.utc(0/0);return null!=t?l(e._pf,t):e._pf.userInvalidated=!0,e},le.parseZone=function(){return le.apply(null,arguments).parseZone()},le.parseTwoDigitYear=function(t){return S(t)+(S(t)>68?1900:2e3)},l(le.fn=d.prototype,{clone:function(){return le(this)},valueOf:function(){return+this._d+6e4*(this._offset||0) },unix:function(){return Math.floor(+this/1e3)},toString:function(){return this.clone().lang("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},toDate:function(){return this._offset?new Date(+this):this._d},toISOString:function(){var t=le(this).utc();return 0<t.year()&&t.year()<=9999?F(t,"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]"):F(t,"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]")},toArray:function(){var t=this;return[t.year(),t.month(),t.date(),t.hours(),t.minutes(),t.seconds(),t.milliseconds()]},isValid:function(){return C(this)},isDSTShifted:function(){return this._a?this.isValid()&&y(this._a,(this._isUTC?le.utc(this._a):le(this._a)).toArray())>0:!1},parsingFlags:function(){return l({},this._pf)},invalidAt:function(){return this._pf.overflow},utc:function(){return this.zone(0)},local:function(){return this.zone(0),this._isUTC=!1,this},format:function(t){var e=F(this,t||le.defaultFormat);return this.lang().postformat(e)},add:function(t,e){var i;return i="string"==typeof t?le.duration(+e,t):le.duration(t,e),m(this,i,1),this},subtract:function(t,e){var i;return i="string"==typeof t?le.duration(+e,t):le.duration(t,e),m(this,i,-1),this},diff:function(t,e,i){var s,n,o=N(t,this),a=6e4*(this.zone()-o.zone());return e=_(e),"year"===e||"month"===e?(s=432e5*(this.daysInMonth()+o.daysInMonth()),n=12*(this.year()-o.year())+(this.month()-o.month()),n+=(this-le(this).startOf("month")-(o-le(o).startOf("month")))/s,n-=6e4*(this.zone()-le(this).startOf("month").zone()-(o.zone()-le(o).startOf("month").zone()))/s,"year"===e&&(n/=12)):(s=this-o,n="second"===e?s/1e3:"minute"===e?s/6e4:"hour"===e?s/36e5:"day"===e?(s-a)/864e5:"week"===e?(s-a)/6048e5:s),i?n:p(n)},from:function(t,e){return le.duration(this.diff(t)).lang(this.lang()._abbr).humanize(!e)},fromNow:function(t){return this.from(le(),t)},calendar:function(){var t=N(le(),this).startOf("day"),e=this.diff(t,"days",!0),i=-6>e?"sameElse":-1>e?"lastWeek":0>e?"lastDay":1>e?"sameDay":2>e?"nextDay":7>e?"nextWeek":"sameElse";return this.format(this.lang().calendar(i,this))},isLeapYear:function(){return D(this.year())},isDST:function(){return this.zone()<this.clone().month(0).zone()||this.zone()<this.clone().month(5).zone()},day:function(t){var e=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=t?(t=J(t,this.lang()),this.add({d:t-e})):e},month:re("Month",!0),startOf:function(t){switch(t=_(t)){case"year":this.month(0);case"quarter":case"month":this.date(1);case"week":case"isoWeek":case"day":this.hours(0);case"hour":this.minutes(0);case"minute":this.seconds(0);case"second":this.milliseconds(0)}return"week"===t?this.weekday(0):"isoWeek"===t&&this.isoWeekday(1),"quarter"===t&&this.month(3*Math.floor(this.month()/3)),this},endOf:function(t){return t=_(t),this.startOf(t).add("isoWeek"===t?"week":t,1).subtract("ms",1)},isAfter:function(t,e){return e="undefined"!=typeof e?e:"millisecond",+this.clone().startOf(e)>+le(t).startOf(e)},isBefore:function(t,e){return e="undefined"!=typeof e?e:"millisecond",+this.clone().startOf(e)<+le(t).startOf(e)},isSame:function(t,e){return e=e||"ms",+this.clone().startOf(e)===+N(t,this).startOf(e)},min:function(t){return t=le.apply(null,arguments),this>t?this:t},max:function(t){return t=le.apply(null,arguments),t>this?this:t},zone:function(t,e){var i=this._offset||0;return null==t?this._isUTC?i:this._d.getTimezoneOffset():("string"==typeof t&&(t=H(t)),Math.abs(t)<16&&(t=60*t),this._offset=t,this._isUTC=!0,i!==t&&(!e||this._changeInProgress?m(this,le.duration(i-t,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,le.updateOffset(this,!0),this._changeInProgress=null)),this)},zoneAbbr:function(){return this._isUTC?"UTC":""},zoneName:function(){return this._isUTC?"Coordinated Universal Time":""},parseZone:function(){return this._tzm?this.zone(this._tzm):"string"==typeof this._i&&this.zone(this._i),this},hasAlignedHourOffset:function(t){return t=t?le(t).zone():0,(this.zone()-t)%60===0},daysInMonth:function(){return x(this.year(),this.month())},dayOfYear:function(t){var e=fe((le(this).startOf("day")-le(this).startOf("year"))/864e5)+1;return null==t?e:this.add("d",t-e)},quarter:function(t){return null==t?Math.ceil((this.month()+1)/3):this.month(3*(t-1)+this.month()%3)},weekYear:function(t){var e=ee(this,this.lang()._week.dow,this.lang()._week.doy).year;return null==t?e:this.add("y",t-e)},isoWeekYear:function(t){var e=ee(this,1,4).year;return null==t?e:this.add("y",t-e)},week:function(t){var e=this.lang().week(this);return null==t?e:this.add("d",7*(t-e))},isoWeek:function(t){var e=ee(this,1,4).week;return null==t?e:this.add("d",7*(t-e))},weekday:function(t){var e=(this.day()+7-this.lang()._week.dow)%7;return null==t?e:this.add("d",t-e)},isoWeekday:function(t){return null==t?this.day()||7:this.day(this.day()%7?t:t-7)},isoWeeksInYear:function(){return E(this.year(),1,4)},weeksInYear:function(){var t=this._lang._week;return E(this.year(),t.dow,t.doy)},get:function(t){return t=_(t),this[t]()},set:function(t,e){return t=_(t),"function"==typeof this[t]&&this[t](e),this},lang:function(t){return t===s?this._lang:(this._lang=k(t),this)}}),le.fn.millisecond=le.fn.milliseconds=re("Milliseconds",!1),le.fn.second=le.fn.seconds=re("Seconds",!1),le.fn.minute=le.fn.minutes=re("Minutes",!1),le.fn.hour=le.fn.hours=re("Hours",!0),le.fn.date=re("Date",!0),le.fn.dates=o("dates accessor is deprecated. Use date instead.",re("Date",!0)),le.fn.year=re("FullYear",!0),le.fn.years=o("years accessor is deprecated. Use year instead.",re("FullYear",!0)),le.fn.days=le.fn.day,le.fn.months=le.fn.month,le.fn.weeks=le.fn.week,le.fn.isoWeeks=le.fn.isoWeek,le.fn.quarters=le.fn.quarter,le.fn.toJSON=le.fn.toISOString,l(le.duration.fn=c.prototype,{_bubble:function(){var t,e,i,s,n=this._milliseconds,o=this._days,a=this._months,r=this._data;r.milliseconds=n%1e3,t=p(n/1e3),r.seconds=t%60,e=p(t/60),r.minutes=e%60,i=p(e/60),r.hours=i%24,o+=p(i/24),r.days=o%30,a+=p(o/30),r.months=a%12,s=p(a/12),r.years=s},weeks:function(){return p(this.days()/7)},valueOf:function(){return this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*S(this._months/12)},humanize:function(t){var e=+this,i=te(e,!t,this.lang());return t&&(i=this.lang().pastFuture(e,i)),this.lang().postformat(i)},add:function(t,e){var i=le.duration(t,e);return this._milliseconds+=i._milliseconds,this._days+=i._days,this._months+=i._months,this._bubble(),this},subtract:function(t,e){var i=le.duration(t,e);return this._milliseconds-=i._milliseconds,this._days-=i._days,this._months-=i._months,this._bubble(),this},get:function(t){return t=_(t),this[t.toLowerCase()+"s"]()},as:function(t){return t=_(t),this["as"+t.charAt(0).toUpperCase()+t.slice(1)+"s"]()},lang:le.fn.lang,toIsoString:function(){var t=Math.abs(this.years()),e=Math.abs(this.months()),i=Math.abs(this.days()),s=Math.abs(this.hours()),n=Math.abs(this.minutes()),o=Math.abs(this.seconds()+this.milliseconds()/1e3);return this.asSeconds()?(this.asSeconds()<0?"-":"")+"P"+(t?t+"Y":"")+(e?e+"M":"")+(i?i+"D":"")+(s||n||o?"T":"")+(s?s+"H":"")+(n?n+"M":"")+(o?o+"S":""):"P0D"}});for(pe in Qe)Qe.hasOwnProperty(pe)&&(de(pe,Qe[pe]),he(pe.toLowerCase()));de("Weeks",6048e5),le.duration.fn.asMonths=function(){return(+this-31536e6*this.years())/2592e6+12*this.years()},le.lang("en",{ordinal:function(t){var e=t%10,i=1===S(t%100/10)?"th":1===e?"st":2===e?"nd":3===e?"rd":"th";return t+i}}),De?e.exports=le:"function"==typeof define&&define.amd?(define("moment",function(t,e,i){return i.config&&i.config()&&i.config().noGlobal===!0&&(me.moment=ue),le}),ce(!0)):ce()}).call(this)},{}],5:[function(t,e){function i(t,e,i){return t.addEventListener?t.addEventListener(e,i,!1):void t.attachEvent("on"+e,i)}function s(t){return"keypress"==t.type?String.fromCharCode(t.which):w[t.which]?w[t.which]:S[t.which]?S[t.which]:String.fromCharCode(t.which).toLowerCase()}function n(t){var e=t.target||t.srcElement,i=e.tagName;return(" "+e.className+" ").indexOf(" mousetrap ")>-1?!1:"INPUT"==i||"SELECT"==i||"TEXTAREA"==i||e.contentEditable&&"true"==e.contentEditable}function o(t,e){return t.sort().join(",")===e.sort().join(",")}function a(t){t=t||{};var e,i=!1;for(e in I)t[e]?i=!0:I[e]=0;i||(M=!1)}function r(t,e,i,s,n){var a,r,h=[];if(!T[t])return[];for("keyup"==i&&u(t)&&(e=[t]),a=0;a<T[t].length;++a)r=T[t][a],r.seq&&I[r.seq]!=r.level||i==r.action&&("keypress"==i||o(e,r.modifiers))&&(s&&r.combo==n&&T[t].splice(a,1),h.push(r));return h}function h(t){var e=[];return t.shiftKey&&e.push("shift"),t.altKey&&e.push("alt"),t.ctrlKey&&e.push("ctrl"),t.metaKey&&e.push("meta"),e}function d(t,e){t(e)===!1&&(e.preventDefault&&e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.returnValue=!1,e.cancelBubble=!0)}function c(t,e){if(!n(e)){var i,s=r(t,h(e),e.type),o={},c=!1;for(i=0;i<s.length;++i)s[i].seq?(c=!0,o[s[i].seq]=1,d(s[i].callback,e)):c||M||d(s[i].callback,e);e.type!=M||u(t)||a(o)}}function l(t){t.which="number"==typeof t.which?t.which:t.keyCode;var e=s(t);if(e)return"keyup"==t.type&&C==e?void(C=!1):void c(e,t)}function u(t){return"shift"==t||"ctrl"==t||"alt"==t||"meta"==t}function p(){clearTimeout(b),b=setTimeout(a,1e3)}function g(){if(!_){_={};for(var t in w)t>95&&112>t||w.hasOwnProperty(t)&&(_[w[t]]=t)}return _}function m(t,e,i){return i||(i=g()[t]?"keydown":"keypress"),"keypress"==i&&e.length&&(i="keydown"),i}function f(t,e,i,n){I[t]=0,n||(n=m(e[0],[]));var o,r=function(){M=n,++I[t],p()},h=function(t){d(i,t),"keyup"!==n&&(C=s(t)),setTimeout(a,10)};for(o=0;o<e.length;++o)v(e[o],o<e.length-1?r:h,n,t,o)}function v(t,e,i,s,n){t=t.replace(/\s+/g," ");var o,a,h,d=t.split(" "),c=[];if(d.length>1)return f(t,d,e,i);for(h="+"===t?["+"]:t.split("+"),o=0;o<h.length;++o)a=h[o],E[a]&&(a=E[a]),i&&"keypress"!=i&&x[a]&&(a=x[a],c.push("shift")),u(a)&&c.push(a);i=m(a,c,i),T[a]||(T[a]=[]),r(a,c,i,!s,t),T[a][s?"unshift":"push"]({callback:e,modifiers:c,action:i,seq:s,level:n,combo:t})}function y(t,e,i){for(var s=0;s<t.length;++s)v(t[s],e,i)}for(var _,b,w={8:"backspace",9:"tab",13:"enter",16:"shift",17:"ctrl",18:"alt",20:"capslock",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",45:"ins",46:"del",91:"meta",93:"meta",224:"meta"},S={106:"*",107:"+",109:"-",110:".",111:"/",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'"},x={"~":"`","!":"1","@":"2","#":"3",$:"4","%":"5","^":"6","&":"7","*":"8","(":"9",")":"0",_:"-","+":"=",":":";",'"':"'","<":",",">":".","?":"/","|":"\\"},E={option:"alt",command:"meta","return":"enter",escape:"esc"},T={},D={},I={},C=!1,M=!1,N=1;20>N;++N)w[111+N]="f"+N;for(N=0;9>=N;++N)w[N+96]=N;i(document,"keypress",l),i(document,"keydown",l),i(document,"keyup",l);var O={bind:function(t,e,i){return y(t instanceof Array?t:[t],e,i),D[t+":"+i]=e,this},unbind:function(t,e){return D[t+":"+e]&&(delete D[t+":"+e],this.bind(t,function(){},e)),this},trigger:function(t,e){return D[t+":"+e](),this},reset:function(){return T={},D={},this}};e.exports=O},{}]},{},[1])(1)});
hhbyyh/cdnjs
ajax/libs/vis/1.0.1/vis.min.js
JavaScript
mit
268,097
/* YUI 3.15.0 (build 834026e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/widget-parent/widget-parent.js']) { __coverage__['build/widget-parent/widget-parent.js'] = {"path":"build/widget-parent/widget-parent.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0,"39":0,"40":0,"41":0,"42":0,"43":0,"44":0,"45":0,"46":0,"47":0,"48":0,"49":0,"50":0,"51":0,"52":0,"53":0,"54":0,"55":0,"56":0,"57":0,"58":0,"59":0,"60":0,"61":0,"62":0,"63":0,"64":0,"65":0,"66":0,"67":0,"68":0,"69":0,"70":0,"71":0,"72":0,"73":0,"74":0,"75":0,"76":0,"77":0,"78":0,"79":0,"80":0,"81":0,"82":0,"83":0,"84":0,"85":0,"86":0,"87":0,"88":0,"89":0,"90":0,"91":0,"92":0,"93":0,"94":0,"95":0,"96":0,"97":0,"98":0,"99":0,"100":0,"101":0,"102":0,"103":0,"104":0,"105":0,"106":0,"107":0,"108":0,"109":0,"110":0,"111":0,"112":0,"113":0,"114":0,"115":0,"116":0,"117":0,"118":0,"119":0,"120":0,"121":0,"122":0,"123":0,"124":0,"125":0,"126":0,"127":0,"128":0,"129":0,"130":0,"131":0,"132":0,"133":0,"134":0,"135":0,"136":0,"137":0,"138":0,"139":0,"140":0,"141":0,"142":0,"143":0,"144":0,"145":0,"146":0,"147":0,"148":0,"149":0,"150":0,"151":0,"152":0,"153":0,"154":0,"155":0,"156":0,"157":0,"158":0,"159":0,"160":0,"161":0,"162":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0],"6":[0,0],"7":[0,0],"8":[0,0],"9":[0,0],"10":[0,0],"11":[0,0],"12":[0,0],"13":[0,0],"14":[0,0],"15":[0,0],"16":[0,0],"17":[0,0],"18":[0,0,0,0],"19":[0,0],"20":[0,0],"21":[0,0],"22":[0,0],"23":[0,0],"24":[0,0],"25":[0,0],"26":[0,0],"27":[0,0,0],"28":[0,0],"29":[0,0],"30":[0,0],"31":[0,0],"32":[0,0],"33":[0,0],"34":[0,0],"35":[0,0],"36":[0,0],"37":[0,0],"38":[0,0],"39":[0,0],"40":[0,0],"41":[0,0],"42":[0,0],"43":[0,0],"44":[0,0],"45":[0,0],"46":[0,0],"47":[0,0],"48":[0,0],"49":[0,0],"50":[0,0],"51":[0,0],"52":[0,0],"53":[0,0],"54":[0,0],"55":[0,0],"56":[0,0],"57":[0,0],"58":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0,"35":0,"36":0,"37":0,"38":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":25},"end":{"line":1,"column":44}}},"2":{"name":"Parent","line":29,"loc":{"start":{"line":29,"column":0},"end":{"line":29,"column":24}}},"3":{"name":"(anonymous_3)","line":86,"loc":{"start":{"line":86,"column":49},"end":{"line":86,"column":62}}},"4":{"name":"(anonymous_4)","line":117,"loc":{"start":{"line":117,"column":16},"end":{"line":117,"column":31}}},"5":{"name":"(anonymous_5)","line":156,"loc":{"start":{"line":156,"column":16},"end":{"line":156,"column":33}}},"6":{"name":"(anonymous_6)","line":176,"loc":{"start":{"line":176,"column":16},"end":{"line":176,"column":33}}},"7":{"name":"(anonymous_7)","line":184,"loc":{"start":{"line":184,"column":16},"end":{"line":184,"column":33}}},"8":{"name":"(anonymous_8)","line":214,"loc":{"start":{"line":214,"column":16},"end":{"line":214,"column":27}}},"9":{"name":"(anonymous_9)","line":227,"loc":{"start":{"line":227,"column":24},"end":{"line":227,"column":41}}},"10":{"name":"(anonymous_10)","line":244,"loc":{"start":{"line":244,"column":27},"end":{"line":244,"column":44}}},"11":{"name":"(anonymous_11)","line":281,"loc":{"start":{"line":281,"column":34},"end":{"line":281,"column":51}}},"12":{"name":"(anonymous_12)","line":299,"loc":{"start":{"line":299,"column":32},"end":{"line":299,"column":49}}},"13":{"name":"(anonymous_13)","line":306,"loc":{"start":{"line":306,"column":22},"end":{"line":306,"column":39}}},"14":{"name":"(anonymous_14)","line":329,"loc":{"start":{"line":329,"column":19},"end":{"line":329,"column":36}}},"15":{"name":"(anonymous_15)","line":338,"loc":{"start":{"line":338,"column":22},"end":{"line":338,"column":35}}},"16":{"name":"(anonymous_16)","line":373,"loc":{"start":{"line":373,"column":22},"end":{"line":373,"column":39}}},"17":{"name":"(anonymous_17)","line":415,"loc":{"start":{"line":415,"column":29},"end":{"line":415,"column":46}}},"18":{"name":"(anonymous_18)","line":434,"loc":{"start":{"line":434,"column":18},"end":{"line":434,"column":36}}},"19":{"name":"(anonymous_19)","line":474,"loc":{"start":{"line":474,"column":20},"end":{"line":474,"column":37}}},"20":{"name":"(anonymous_20)","line":513,"loc":{"start":{"line":513,"column":23},"end":{"line":513,"column":40}}},"21":{"name":"(anonymous_21)","line":550,"loc":{"start":{"line":550,"column":10},"end":{"line":550,"column":34}}},"22":{"name":"(anonymous_22)","line":561,"loc":{"start":{"line":561,"column":26},"end":{"line":561,"column":42}}},"23":{"name":"(anonymous_23)","line":618,"loc":{"start":{"line":618,"column":9},"end":{"line":618,"column":21}}},"24":{"name":"(anonymous_24)","line":637,"loc":{"start":{"line":637,"column":12},"end":{"line":637,"column":29}}},"25":{"name":"(anonymous_25)","line":658,"loc":{"start":{"line":658,"column":15},"end":{"line":658,"column":27}}},"26":{"name":"(anonymous_26)","line":663,"loc":{"start":{"line":663,"column":37},"end":{"line":663,"column":49}}},"27":{"name":"(anonymous_27)","line":683,"loc":{"start":{"line":683,"column":17},"end":{"line":683,"column":29}}},"28":{"name":"(anonymous_28)","line":692,"loc":{"start":{"line":692,"column":15},"end":{"line":692,"column":27}}},"29":{"name":"(anonymous_29)","line":701,"loc":{"start":{"line":701,"column":17},"end":{"line":701,"column":29}}},"30":{"name":"(anonymous_30)","line":714,"loc":{"start":{"line":714,"column":17},"end":{"line":714,"column":46}}},"31":{"name":"(anonymous_31)","line":768,"loc":{"start":{"line":768,"column":20},"end":{"line":768,"column":37}}},"32":{"name":"(anonymous_32)","line":772,"loc":{"start":{"line":772,"column":20},"end":{"line":772,"column":37}}},"33":{"name":"(anonymous_33)","line":780,"loc":{"start":{"line":780,"column":23},"end":{"line":780,"column":40}}},"34":{"name":"(anonymous_34)","line":798,"loc":{"start":{"line":798,"column":19},"end":{"line":798,"column":31}}},"35":{"name":"(anonymous_35)","line":812,"loc":{"start":{"line":812,"column":21},"end":{"line":812,"column":33}}},"36":{"name":"(anonymous_36)","line":831,"loc":{"start":{"line":831,"column":18},"end":{"line":831,"column":35}}},"37":{"name":"(anonymous_37)","line":845,"loc":{"start":{"line":845,"column":22},"end":{"line":845,"column":34}}},"38":{"name":"(anonymous_38)","line":857,"loc":{"start":{"line":857,"column":18},"end":{"line":857,"column":35}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":869,"column":66}},"2":{"start":{"line":9,"column":0},"end":{"line":11,"column":33}},"3":{"start":{"line":29,"column":0},"end":{"line":104,"column":1}},"4":{"start":{"line":49,"column":4},"end":{"line":52,"column":7}},"5":{"start":{"line":72,"column":4},"end":{"line":75,"column":7}},"6":{"start":{"line":77,"column":4},"end":{"line":77,"column":21}},"7":{"start":{"line":79,"column":4},"end":{"line":80,"column":15}},"8":{"start":{"line":82,"column":4},"end":{"line":91,"column":5}},"9":{"start":{"line":84,"column":8},"end":{"line":84,"column":35}},"10":{"start":{"line":86,"column":8},"end":{"line":89,"column":11}},"11":{"start":{"line":87,"column":12},"end":{"line":87,"column":32}},"12":{"start":{"line":88,"column":12},"end":{"line":88,"column":28}},"13":{"start":{"line":94,"column":4},"end":{"line":94,"column":52}},"14":{"start":{"line":95,"column":4},"end":{"line":95,"column":48}},"15":{"start":{"line":97,"column":4},"end":{"line":97,"column":62}},"16":{"start":{"line":98,"column":4},"end":{"line":98,"column":66}},"17":{"start":{"line":99,"column":4},"end":{"line":99,"column":76}},"18":{"start":{"line":101,"column":4},"end":{"line":101,"column":75}},"19":{"start":{"line":102,"column":4},"end":{"line":102,"column":64}},"20":{"start":{"line":106,"column":0},"end":{"line":206,"column":2}},"21":{"start":{"line":119,"column":12},"end":{"line":120,"column":66}},"22":{"start":{"line":122,"column":12},"end":{"line":124,"column":13}},"23":{"start":{"line":123,"column":16},"end":{"line":123,"column":42}},"24":{"start":{"line":126,"column":12},"end":{"line":126,"column":29}},"25":{"start":{"line":157,"column":12},"end":{"line":157,"column":40}},"26":{"start":{"line":158,"column":12},"end":{"line":158,"column":73}},"27":{"start":{"line":177,"column":12},"end":{"line":178,"column":53}},"28":{"start":{"line":179,"column":12},"end":{"line":179,"column":29}},"29":{"start":{"line":196,"column":12},"end":{"line":196,"column":34}},"30":{"start":{"line":198,"column":12},"end":{"line":200,"column":13}},"31":{"start":{"line":199,"column":16},"end":{"line":199,"column":54}},"32":{"start":{"line":202,"column":12},"end":{"line":202,"column":29}},"33":{"start":{"line":208,"column":0},"end":{"line":862,"column":2}},"34":{"start":{"line":215,"column":8},"end":{"line":215,"column":32}},"35":{"start":{"line":228,"column":8},"end":{"line":228,"column":33}},"36":{"start":{"line":230,"column":8},"end":{"line":232,"column":9}},"37":{"start":{"line":231,"column":12},"end":{"line":231,"column":27}},"38":{"start":{"line":246,"column":8},"end":{"line":268,"column":9}},"39":{"start":{"line":248,"column":12},"end":{"line":249,"column":32}},"40":{"start":{"line":252,"column":12},"end":{"line":264,"column":13}},"41":{"start":{"line":254,"column":16},"end":{"line":254,"column":32}},"42":{"start":{"line":257,"column":16},"end":{"line":262,"column":17}},"43":{"start":{"line":260,"column":20},"end":{"line":260,"column":36}},"44":{"start":{"line":266,"column":12},"end":{"line":266,"column":61}},"45":{"start":{"line":282,"column":8},"end":{"line":282,"column":40}},"46":{"start":{"line":284,"column":8},"end":{"line":286,"column":9}},"47":{"start":{"line":285,"column":12},"end":{"line":285,"column":58}},"48":{"start":{"line":301,"column":8},"end":{"line":301,"column":33}},"49":{"start":{"line":303,"column":8},"end":{"line":316,"column":9}},"50":{"start":{"line":306,"column":12},"end":{"line":314,"column":21}},"51":{"start":{"line":312,"column":16},"end":{"line":312,"column":60}},"52":{"start":{"line":331,"column":8},"end":{"line":332,"column":21}},"53":{"start":{"line":334,"column":8},"end":{"line":357,"column":9}},"54":{"start":{"line":336,"column":12},"end":{"line":336,"column":26}},"55":{"start":{"line":338,"column":12},"end":{"line":344,"column":15}},"56":{"start":{"line":340,"column":15},"end":{"line":342,"column":16}},"57":{"start":{"line":341,"column":19},"end":{"line":341,"column":36}},"58":{"start":{"line":346,"column":12},"end":{"line":348,"column":13}},"59":{"start":{"line":347,"column":16},"end":{"line":347,"column":37}},"60":{"start":{"line":353,"column":12},"end":{"line":355,"column":13}},"61":{"start":{"line":354,"column":16},"end":{"line":354,"column":34}},"62":{"start":{"line":359,"column":8},"end":{"line":359,"column":25}},"63":{"start":{"line":375,"column":8},"end":{"line":376,"column":22}},"64":{"start":{"line":378,"column":8},"end":{"line":402,"column":9}},"65":{"start":{"line":380,"column":12},"end":{"line":396,"column":13}},"66":{"start":{"line":382,"column":16},"end":{"line":382,"column":50}},"67":{"start":{"line":384,"column":16},"end":{"line":392,"column":17}},"68":{"start":{"line":390,"column":20},"end":{"line":390,"column":78}},"69":{"start":{"line":394,"column":16},"end":{"line":394,"column":46}},"70":{"start":{"line":398,"column":12},"end":{"line":400,"column":13}},"71":{"start":{"line":399,"column":16},"end":{"line":399,"column":61}},"72":{"start":{"line":416,"column":8},"end":{"line":416,"column":77}},"73":{"start":{"line":417,"column":8},"end":{"line":417,"column":56}},"74":{"start":{"line":436,"column":8},"end":{"line":440,"column":26}},"75":{"start":{"line":442,"column":8},"end":{"line":444,"column":9}},"76":{"start":{"line":443,"column":12},"end":{"line":443,"column":63}},"77":{"start":{"line":446,"column":8},"end":{"line":451,"column":9}},"78":{"start":{"line":447,"column":12},"end":{"line":447,"column":31}},"79":{"start":{"line":448,"column":15},"end":{"line":451,"column":9}},"80":{"start":{"line":450,"column":12},"end":{"line":450,"column":40}},"81":{"start":{"line":453,"column":8},"end":{"line":457,"column":9}},"82":{"start":{"line":454,"column":12},"end":{"line":454,"column":46}},"83":{"start":{"line":456,"column":12},"end":{"line":456,"column":113}},"84":{"start":{"line":459,"column":8},"end":{"line":459,"column":21}},"85":{"start":{"line":476,"column":8},"end":{"line":478,"column":35}},"86":{"start":{"line":480,"column":8},"end":{"line":482,"column":9}},"87":{"start":{"line":481,"column":12},"end":{"line":481,"column":27}},"88":{"start":{"line":484,"column":8},"end":{"line":489,"column":9}},"89":{"start":{"line":485,"column":12},"end":{"line":485,"column":45}},"90":{"start":{"line":488,"column":12},"end":{"line":488,"column":33}},"91":{"start":{"line":491,"column":8},"end":{"line":491,"column":35}},"92":{"start":{"line":492,"column":8},"end":{"line":492,"column":30}},"93":{"start":{"line":496,"column":8},"end":{"line":496,"column":41}},"94":{"start":{"line":499,"column":8},"end":{"line":499,"column":75}},"95":{"start":{"line":515,"column":8},"end":{"line":517,"column":35}},"96":{"start":{"line":519,"column":8},"end":{"line":521,"column":9}},"97":{"start":{"line":520,"column":12},"end":{"line":520,"column":25}},"98":{"start":{"line":523,"column":8},"end":{"line":525,"column":9}},"99":{"start":{"line":524,"column":12},"end":{"line":524,"column":37}},"100":{"start":{"line":527,"column":8},"end":{"line":527,"column":34}},"101":{"start":{"line":529,"column":8},"end":{"line":529,"column":33}},"102":{"start":{"line":530,"column":8},"end":{"line":530,"column":47}},"103":{"start":{"line":531,"column":8},"end":{"line":531,"column":35}},"104":{"start":{"line":552,"column":8},"end":{"line":554,"column":22}},"105":{"start":{"line":557,"column":8},"end":{"line":590,"column":9}},"106":{"start":{"line":559,"column":12},"end":{"line":559,"column":26}},"107":{"start":{"line":561,"column":12},"end":{"line":569,"column":21}},"108":{"start":{"line":563,"column":16},"end":{"line":563,"column":51}},"109":{"start":{"line":565,"column":16},"end":{"line":567,"column":17}},"110":{"start":{"line":566,"column":20},"end":{"line":566,"column":42}},"111":{"start":{"line":572,"column":12},"end":{"line":574,"column":13}},"112":{"start":{"line":573,"column":16},"end":{"line":573,"column":37}},"113":{"start":{"line":579,"column":12},"end":{"line":584,"column":13}},"114":{"start":{"line":580,"column":16},"end":{"line":580,"column":31}},"115":{"start":{"line":583,"column":16},"end":{"line":583,"column":50}},"116":{"start":{"line":586,"column":12},"end":{"line":588,"column":13}},"117":{"start":{"line":587,"column":16},"end":{"line":587,"column":35}},"118":{"start":{"line":592,"column":8},"end":{"line":592,"column":25}},"119":{"start":{"line":620,"column":8},"end":{"line":621,"column":76}},"120":{"start":{"line":623,"column":8},"end":{"line":623,"column":43}},"121":{"start":{"line":639,"column":8},"end":{"line":640,"column":22}},"122":{"start":{"line":642,"column":8},"end":{"line":644,"column":9}},"123":{"start":{"line":643,"column":12},"end":{"line":643,"column":30}},"124":{"start":{"line":646,"column":8},"end":{"line":646,"column":25}},"125":{"start":{"line":660,"column":8},"end":{"line":661,"column":18}},"126":{"start":{"line":663,"column":8},"end":{"line":671,"column":17}},"127":{"start":{"line":665,"column":12},"end":{"line":665,"column":35}},"128":{"start":{"line":667,"column":12},"end":{"line":669,"column":13}},"129":{"start":{"line":668,"column":16},"end":{"line":668,"column":36}},"130":{"start":{"line":673,"column":8},"end":{"line":673,"column":42}},"131":{"start":{"line":684,"column":8},"end":{"line":684,"column":40}},"132":{"start":{"line":693,"column":8},"end":{"line":693,"column":32}},"133":{"start":{"line":702,"column":8},"end":{"line":702,"column":32}},"134":{"start":{"line":716,"column":8},"end":{"line":716,"column":33}},"135":{"start":{"line":720,"column":8},"end":{"line":723,"column":24}},"136":{"start":{"line":732,"column":8},"end":{"line":757,"column":9}},"137":{"start":{"line":734,"column":12},"end":{"line":734,"column":54}},"138":{"start":{"line":735,"column":12},"end":{"line":735,"column":48}},"139":{"start":{"line":739,"column":12},"end":{"line":739,"column":48}},"140":{"start":{"line":741,"column":12},"end":{"line":756,"column":13}},"141":{"start":{"line":743,"column":16},"end":{"line":743,"column":58}},"142":{"start":{"line":744,"column":16},"end":{"line":744,"column":51}},"143":{"start":{"line":746,"column":19},"end":{"line":756,"column":13}},"144":{"start":{"line":755,"column":16},"end":{"line":755,"column":48}},"145":{"start":{"line":769,"column":8},"end":{"line":769,"column":42}},"146":{"start":{"line":773,"column":8},"end":{"line":773,"column":32}},"147":{"start":{"line":775,"column":8},"end":{"line":777,"column":9}},"148":{"start":{"line":776,"column":12},"end":{"line":776,"column":61}},"149":{"start":{"line":781,"column":8},"end":{"line":781,"column":32}},"150":{"start":{"line":783,"column":8},"end":{"line":785,"column":9}},"151":{"start":{"line":784,"column":12},"end":{"line":784,"column":39}},"152":{"start":{"line":799,"column":8},"end":{"line":799,"column":52}},"153":{"start":{"line":800,"column":8},"end":{"line":800,"column":58}},"154":{"start":{"line":827,"column":8},"end":{"line":827,"column":73}},"155":{"start":{"line":829,"column":8},"end":{"line":829,"column":43}},"156":{"start":{"line":831,"column":8},"end":{"line":833,"column":11}},"157":{"start":{"line":832,"column":12},"end":{"line":832,"column":35}},"158":{"start":{"line":854,"column":8},"end":{"line":854,"column":37}},"159":{"start":{"line":857,"column":8},"end":{"line":859,"column":11}},"160":{"start":{"line":858,"column":12},"end":{"line":858,"column":28}},"161":{"start":{"line":864,"column":0},"end":{"line":864,"column":31}},"162":{"start":{"line":866,"column":0},"end":{"line":866,"column":24}}},"branchMap":{"1":{"line":82,"type":"if","locations":[{"start":{"line":82,"column":4},"end":{"line":82,"column":4}},{"start":{"line":82,"column":4},"end":{"line":82,"column":4}}]},"2":{"line":82,"type":"binary-expr","locations":[{"start":{"line":82,"column":8},"end":{"line":82,"column":14}},{"start":{"line":82,"column":18},"end":{"line":82,"column":33}}]},"3":{"line":120,"type":"cond-expr","locations":[{"start":{"line":120,"column":53},"end":{"line":120,"column":59}},{"start":{"line":120,"column":62},"end":{"line":120,"column":65}}]},"4":{"line":122,"type":"if","locations":[{"start":{"line":122,"column":12},"end":{"line":122,"column":12}},{"start":{"line":122,"column":12},"end":{"line":122,"column":12}}]},"5":{"line":158,"type":"cond-expr","locations":[{"start":{"line":158,"column":44},"end":{"line":158,"column":64}},{"start":{"line":158,"column":67},"end":{"line":158,"column":72}}]},"6":{"line":158,"type":"binary-expr","locations":[{"start":{"line":158,"column":20},"end":{"line":158,"column":24}},{"start":{"line":158,"column":28},"end":{"line":158,"column":40}}]},"7":{"line":177,"type":"cond-expr","locations":[{"start":{"line":178,"column":21},"end":{"line":178,"column":43}},{"start":{"line":178,"column":47},"end":{"line":178,"column":52}}]},"8":{"line":198,"type":"if","locations":[{"start":{"line":198,"column":12},"end":{"line":198,"column":12}},{"start":{"line":198,"column":12},"end":{"line":198,"column":12}}]},"9":{"line":198,"type":"binary-expr","locations":[{"start":{"line":198,"column":16},"end":{"line":198,"column":27}},{"start":{"line":198,"column":31},"end":{"line":198,"column":52}}]},"10":{"line":230,"type":"if","locations":[{"start":{"line":230,"column":8},"end":{"line":230,"column":8}},{"start":{"line":230,"column":8},"end":{"line":230,"column":8}}]},"11":{"line":246,"type":"if","locations":[{"start":{"line":246,"column":8},"end":{"line":246,"column":8}},{"start":{"line":246,"column":8},"end":{"line":246,"column":8}}]},"12":{"line":246,"type":"binary-expr","locations":[{"start":{"line":246,"column":12},"end":{"line":246,"column":32}},{"start":{"line":246,"column":36},"end":{"line":246,"column":53}}]},"13":{"line":252,"type":"if","locations":[{"start":{"line":252,"column":12},"end":{"line":252,"column":12}},{"start":{"line":252,"column":12},"end":{"line":252,"column":12}}]},"14":{"line":257,"type":"if","locations":[{"start":{"line":257,"column":16},"end":{"line":257,"column":16}},{"start":{"line":257,"column":16},"end":{"line":257,"column":16}}]},"15":{"line":257,"type":"binary-expr","locations":[{"start":{"line":257,"column":20},"end":{"line":257,"column":56}},{"start":{"line":258,"column":21},"end":{"line":258,"column":53}}]},"16":{"line":284,"type":"if","locations":[{"start":{"line":284,"column":8},"end":{"line":284,"column":8}},{"start":{"line":284,"column":8},"end":{"line":284,"column":8}}]},"17":{"line":303,"type":"if","locations":[{"start":{"line":303,"column":8},"end":{"line":303,"column":8}},{"start":{"line":303,"column":8},"end":{"line":303,"column":8}}]},"18":{"line":303,"type":"binary-expr","locations":[{"start":{"line":303,"column":12},"end":{"line":303,"column":32}},{"start":{"line":303,"column":36},"end":{"line":303,"column":53}},{"start":{"line":304,"column":13},"end":{"line":304,"column":24}},{"start":{"line":304,"column":28},"end":{"line":304,"column":39}}]},"19":{"line":334,"type":"if","locations":[{"start":{"line":334,"column":8},"end":{"line":334,"column":8}},{"start":{"line":334,"column":8},"end":{"line":334,"column":8}}]},"20":{"line":334,"type":"binary-expr","locations":[{"start":{"line":334,"column":12},"end":{"line":334,"column":32}},{"start":{"line":334,"column":36},"end":{"line":334,"column":51}}]},"21":{"line":340,"type":"if","locations":[{"start":{"line":340,"column":15},"end":{"line":340,"column":15}},{"start":{"line":340,"column":15},"end":{"line":340,"column":15}}]},"22":{"line":346,"type":"if","locations":[{"start":{"line":346,"column":12},"end":{"line":346,"column":12}},{"start":{"line":346,"column":12},"end":{"line":346,"column":12}}]},"23":{"line":353,"type":"if","locations":[{"start":{"line":353,"column":12},"end":{"line":353,"column":12}},{"start":{"line":353,"column":12},"end":{"line":353,"column":12}}]},"24":{"line":378,"type":"if","locations":[{"start":{"line":378,"column":8},"end":{"line":378,"column":8}},{"start":{"line":378,"column":8},"end":{"line":378,"column":8}}]},"25":{"line":380,"type":"if","locations":[{"start":{"line":380,"column":12},"end":{"line":380,"column":12}},{"start":{"line":380,"column":12},"end":{"line":380,"column":12}}]},"26":{"line":384,"type":"if","locations":[{"start":{"line":384,"column":16},"end":{"line":384,"column":16}},{"start":{"line":384,"column":16},"end":{"line":384,"column":16}}]},"27":{"line":384,"type":"binary-expr","locations":[{"start":{"line":384,"column":20},"end":{"line":384,"column":41}},{"start":{"line":384,"column":45},"end":{"line":384,"column":54}},{"start":{"line":384,"column":58},"end":{"line":384,"column":74}}]},"28":{"line":398,"type":"if","locations":[{"start":{"line":398,"column":12},"end":{"line":398,"column":12}},{"start":{"line":398,"column":12},"end":{"line":398,"column":12}}]},"29":{"line":416,"type":"cond-expr","locations":[{"start":{"line":416,"column":57},"end":{"line":416,"column":69}},{"start":{"line":416,"column":72},"end":{"line":416,"column":76}}]},"30":{"line":437,"type":"binary-expr","locations":[{"start":{"line":437,"column":22},"end":{"line":437,"column":38}},{"start":{"line":437,"column":42},"end":{"line":437,"column":53}}]},"31":{"line":442,"type":"if","locations":[{"start":{"line":442,"column":8},"end":{"line":442,"column":8}},{"start":{"line":442,"column":8},"end":{"line":442,"column":8}}]},"32":{"line":443,"type":"cond-expr","locations":[{"start":{"line":443,"column":42},"end":{"line":443,"column":52}},{"start":{"line":443,"column":55},"end":{"line":443,"column":62}}]},"33":{"line":446,"type":"if","locations":[{"start":{"line":446,"column":8},"end":{"line":446,"column":8}},{"start":{"line":446,"column":8},"end":{"line":446,"column":8}}]},"34":{"line":448,"type":"if","locations":[{"start":{"line":448,"column":15},"end":{"line":448,"column":15}},{"start":{"line":448,"column":15},"end":{"line":448,"column":15}}]},"35":{"line":453,"type":"if","locations":[{"start":{"line":453,"column":8},"end":{"line":453,"column":8}},{"start":{"line":453,"column":8},"end":{"line":453,"column":8}}]},"36":{"line":480,"type":"if","locations":[{"start":{"line":480,"column":8},"end":{"line":480,"column":8}},{"start":{"line":480,"column":8},"end":{"line":480,"column":8}}]},"37":{"line":484,"type":"if","locations":[{"start":{"line":484,"column":8},"end":{"line":484,"column":8}},{"start":{"line":484,"column":8},"end":{"line":484,"column":8}}]},"38":{"line":519,"type":"if","locations":[{"start":{"line":519,"column":8},"end":{"line":519,"column":8}},{"start":{"line":519,"column":8},"end":{"line":519,"column":8}}]},"39":{"line":523,"type":"if","locations":[{"start":{"line":523,"column":8},"end":{"line":523,"column":8}},{"start":{"line":523,"column":8},"end":{"line":523,"column":8}}]},"40":{"line":557,"type":"if","locations":[{"start":{"line":557,"column":8},"end":{"line":557,"column":8}},{"start":{"line":557,"column":8},"end":{"line":557,"column":8}}]},"41":{"line":565,"type":"if","locations":[{"start":{"line":565,"column":16},"end":{"line":565,"column":16}},{"start":{"line":565,"column":16},"end":{"line":565,"column":16}}]},"42":{"line":572,"type":"if","locations":[{"start":{"line":572,"column":12},"end":{"line":572,"column":12}},{"start":{"line":572,"column":12},"end":{"line":572,"column":12}}]},"43":{"line":579,"type":"if","locations":[{"start":{"line":579,"column":12},"end":{"line":579,"column":12}},{"start":{"line":579,"column":12},"end":{"line":579,"column":12}}]},"44":{"line":586,"type":"if","locations":[{"start":{"line":586,"column":12},"end":{"line":586,"column":12}},{"start":{"line":586,"column":12},"end":{"line":586,"column":12}}]},"45":{"line":586,"type":"binary-expr","locations":[{"start":{"line":586,"column":16},"end":{"line":586,"column":22}},{"start":{"line":586,"column":26},"end":{"line":586,"column":80}}]},"46":{"line":621,"type":"cond-expr","locations":[{"start":{"line":621,"column":32},"end":{"line":621,"column":69}},{"start":{"line":621,"column":73},"end":{"line":621,"column":75}}]},"47":{"line":621,"type":"cond-expr","locations":[{"start":{"line":621,"column":54},"end":{"line":621,"column":59}},{"start":{"line":621,"column":62},"end":{"line":621,"column":69}}]},"48":{"line":642,"type":"if","locations":[{"start":{"line":642,"column":8},"end":{"line":642,"column":8}},{"start":{"line":642,"column":8},"end":{"line":642,"column":8}}]},"49":{"line":642,"type":"binary-expr","locations":[{"start":{"line":642,"column":12},"end":{"line":642,"column":17}},{"start":{"line":642,"column":21},"end":{"line":642,"column":77}}]},"50":{"line":667,"type":"if","locations":[{"start":{"line":667,"column":12},"end":{"line":667,"column":12}},{"start":{"line":667,"column":12},"end":{"line":667,"column":12}}]},"51":{"line":732,"type":"if","locations":[{"start":{"line":732,"column":8},"end":{"line":732,"column":8}},{"start":{"line":732,"column":8},"end":{"line":732,"column":8}}]},"52":{"line":732,"type":"binary-expr","locations":[{"start":{"line":732,"column":12},"end":{"line":732,"column":23}},{"start":{"line":732,"column":27},"end":{"line":732,"column":52}}]},"53":{"line":741,"type":"if","locations":[{"start":{"line":741,"column":12},"end":{"line":741,"column":12}},{"start":{"line":741,"column":12},"end":{"line":741,"column":12}}]},"54":{"line":741,"type":"binary-expr","locations":[{"start":{"line":741,"column":16},"end":{"line":741,"column":27}},{"start":{"line":741,"column":31},"end":{"line":741,"column":56}}]},"55":{"line":746,"type":"if","locations":[{"start":{"line":746,"column":19},"end":{"line":746,"column":19}},{"start":{"line":746,"column":19},"end":{"line":746,"column":19}}]},"56":{"line":775,"type":"if","locations":[{"start":{"line":775,"column":8},"end":{"line":775,"column":8}},{"start":{"line":775,"column":8},"end":{"line":775,"column":8}}]},"57":{"line":783,"type":"if","locations":[{"start":{"line":783,"column":8},"end":{"line":783,"column":8}},{"start":{"line":783,"column":8},"end":{"line":783,"column":8}}]},"58":{"line":827,"type":"binary-expr","locations":[{"start":{"line":827,"column":23},"end":{"line":827,"column":46}},{"start":{"line":827,"column":50},"end":{"line":827,"column":72}}]}},"code":["(function () { YUI.add('widget-parent', function (Y, NAME) {","","/**"," * Extension enabling a Widget to be a parent of another Widget."," *"," * @module widget-parent"," */","","var Lang = Y.Lang,"," RENDERED = \"rendered\","," BOUNDING_BOX = \"boundingBox\";","","/**"," * Widget extension providing functionality enabling a Widget to be a"," * parent of another Widget."," *"," * <p>In addition to the set of attributes supported by WidgetParent, the constructor"," * configuration object can also contain a <code>children</code> which can be used"," * to add child widgets to the parent during construction. The <code>children</code>"," * property is an array of either child widget instances or child widget configuration"," * objects, and is sugar for the <a href=\"#method_add\">add</a> method. See the"," * <a href=\"#method_add\">add</a> for details on the structure of the child widget"," * configuration object."," * @class WidgetParent"," * @constructor"," * @uses ArrayList"," * @param {Object} config User configuration object."," */","function Parent(config) {",""," /**"," * Fires when a Widget is add as a child. The event object will have a"," * 'child' property that returns a reference to the child Widget, as well"," * as an 'index' property that returns a reference to the index specified"," * when the add() method was called."," * <p>"," * Subscribers to the \"on\" moment of this event, will be notified"," * before a child is added."," * </p>"," * <p>"," * Subscribers to the \"after\" moment of this event, will be notified"," * after a child is added."," * </p>"," *"," * @event addChild"," * @preventable _defAddChildFn"," * @param {EventFacade} e The Event Facade"," */"," this.publish(\"addChild\", {"," defaultTargetOnly: true,"," defaultFn: this._defAddChildFn"," });","",""," /**"," * Fires when a child Widget is removed. The event object will have a"," * 'child' property that returns a reference to the child Widget, as well"," * as an 'index' property that returns a reference child's ordinal position."," * <p>"," * Subscribers to the \"on\" moment of this event, will be notified"," * before a child is removed."," * </p>"," * <p>"," * Subscribers to the \"after\" moment of this event, will be notified"," * after a child is removed."," * </p>"," *"," * @event removeChild"," * @preventable _defRemoveChildFn"," * @param {EventFacade} e The Event Facade"," */"," this.publish(\"removeChild\", {"," defaultTargetOnly: true,"," defaultFn: this._defRemoveChildFn"," });",""," this._items = [];",""," var children,"," handle;",""," if (config && config.children) {",""," children = config.children;",""," handle = this.after(\"initializedChange\", function (e) {"," this._add(children);"," handle.detach();"," });",""," }",""," // Widget method overlap"," Y.after(this._renderChildren, this, \"renderUI\");"," Y.after(this._bindUIParent, this, \"bindUI\");",""," this.after(\"selectionChange\", this._afterSelectionChange);"," this.after(\"selectedChange\", this._afterParentSelectedChange);"," this.after(\"activeDescendantChange\", this._afterActiveDescendantChange);",""," this._hDestroyChild = this.after(\"*:destroy\", this._afterDestroyChild);"," this.after(\"*:focusedChange\", this._updateActiveDescendant);","","}","","Parent.ATTRS = {",""," /**"," * @attribute defaultChildType"," * @type {String|Object}"," *"," * @description String representing the default type of the children"," * managed by this Widget. Can also supply default type as a constructor"," * reference."," */"," defaultChildType: {"," setter: function (val) {",""," var returnVal = Y.Attribute.INVALID_VALUE,"," FnConstructor = Lang.isString(val) ? Y[val] : val;",""," if (Lang.isFunction(FnConstructor)) {"," returnVal = FnConstructor;"," }",""," return returnVal;"," }"," },",""," /**"," * @attribute activeDescendant"," * @type Widget"," * @readOnly"," *"," * @description Returns the Widget's currently focused descendant Widget."," */"," activeDescendant: {"," readOnly: true"," },",""," /**"," * @attribute multiple"," * @type Boolean"," * @default false"," * @writeOnce"," *"," * @description Boolean indicating if multiple children can be selected at"," * once. Whether or not multiple selection is enabled is always delegated"," * to the value of the <code>multiple</code> attribute of the root widget"," * in the object hierarchy."," */"," multiple: {"," value: false,"," validator: Lang.isBoolean,"," writeOnce: true,"," getter: function (value) {"," var root = this.get(\"root\");"," return (root && root != this) ? root.get(\"multiple\") : value;"," }"," },","",""," /**"," * @attribute selection"," * @type {ArrayList|Widget}"," * @readOnly"," *"," * @description Returns the currently selected child Widget. If the"," * <code>mulitple</code> attribte is set to <code>true</code> will"," * return an Y.ArrayList instance containing the currently selected"," * children. If no children are selected, will return null."," */"," selection: {"," readOnly: true,"," setter: \"_setSelection\","," getter: function (value) {"," var selection = Lang.isArray(value) ?"," (new Y.ArrayList(value)) : value;"," return selection;"," }"," },",""," selected: {"," setter: function (value) {",""," // Enforces selection behavior on for parent Widgets. Parent's"," // selected attribute can be set to the following:"," // 0 - Not selected"," // 1 - Fully selected (all children are selected). In order for"," // all children to be selected, multiple selection must be"," // enabled. Therefore, you cannot set the \"selected\" attribute"," // on a parent Widget to 1 unless multiple selection is enabled."," // 2 - Partially selected, meaning one ore more (but not all)"," // children are selected.",""," var returnVal = value;",""," if (value === 1 && !this.get(\"multiple\")) {"," returnVal = Y.Attribute.INVALID_VALUE;"," }",""," return returnVal;"," }"," }","","};","","Parent.prototype = {",""," /**"," * The destructor implementation for Parent widgets. Destroys all children."," * @method destructor"," */"," destructor: function() {"," this._destroyChildren();"," },",""," /**"," * Destroy event listener for each child Widget, responsible for removing"," * the destroyed child Widget from the parent's internal array of children"," * (_items property)."," *"," * @method _afterDestroyChild"," * @protected"," * @param {EventFacade} event The event facade for the attribute change."," */"," _afterDestroyChild: function (event) {"," var child = event.target;",""," if (child.get(\"parent\") == this) {"," child.remove();"," }"," },",""," /**"," * Attribute change listener for the <code>selection</code>"," * attribute, responsible for setting the value of the"," * parent's <code>selected</code> attribute."," *"," * @method _afterSelectionChange"," * @protected"," * @param {EventFacade} event The event facade for the attribute change."," */"," _afterSelectionChange: function (event) {",""," if (event.target == this && event.src != this) {",""," var selection = event.newVal,"," selectedVal = 0; // Not selected","",""," if (selection) {",""," selectedVal = 2; // Assume partially selected, confirm otherwise","",""," if (Y.instanceOf(selection, Y.ArrayList) &&"," (selection.size() === this.size())) {",""," selectedVal = 1; // Fully selected",""," }",""," }",""," this.set(\"selected\", selectedVal, { src: this });",""," }"," },","",""," /**"," * Attribute change listener for the <code>activeDescendant</code>"," * attribute, responsible for setting the value of the"," * parent's <code>activeDescendant</code> attribute."," *"," * @method _afterActiveDescendantChange"," * @protected"," * @param {EventFacade} event The event facade for the attribute change."," */"," _afterActiveDescendantChange: function (event) {"," var parent = this.get(\"parent\");",""," if (parent) {"," parent._set(\"activeDescendant\", event.newVal);"," }"," },",""," /**"," * Attribute change listener for the <code>selected</code>"," * attribute, responsible for syncing the selected state of all children to"," * match that of their parent Widget."," *"," *"," * @method _afterParentSelectedChange"," * @protected"," * @param {EventFacade} event The event facade for the attribute change."," */"," _afterParentSelectedChange: function (event) {",""," var value = event.newVal;",""," if (this == event.target && event.src != this &&"," (value === 0 || value === 1)) {",""," this.each(function (child) {",""," // Specify the source of this change as the parent so that"," // value of the parent's \"selection\" attribute isn't"," // recalculated",""," child.set(\"selected\", value, { src: this });",""," }, this);",""," }",""," },","",""," /**"," * Default setter for <code>selection</code> attribute changes."," *"," * @method _setSelection"," * @protected"," * @param child {Widget|Array} Widget or Array of Widget instances."," * @return {Widget|Array} Widget or Array of Widget instances."," */"," _setSelection: function (child) {",""," var selection = null,"," selected;",""," if (this.get(\"multiple\") && !this.isEmpty()) {",""," selected = [];",""," this.each(function (v) {",""," if (v.get(\"selected\") > 0) {"," selected.push(v);"," }",""," });",""," if (selected.length > 0) {"," selection = selected;"," }",""," }"," else {",""," if (child.get(\"selected\") > 0) {"," selection = child;"," }",""," }",""," return selection;",""," },","",""," /**"," * Attribute change listener for the <code>selected</code>"," * attribute of child Widgets, responsible for setting the value of the"," * parent's <code>selection</code> attribute."," *"," * @method _updateSelection"," * @protected"," * @param {EventFacade} event The event facade for the attribute change."," */"," _updateSelection: function (event) {",""," var child = event.target,"," selection;",""," if (child.get(\"parent\") == this) {",""," if (event.src != \"_updateSelection\") {",""," selection = this.get(\"selection\");",""," if (!this.get(\"multiple\") && selection && event.newVal > 0) {",""," // Deselect the previously selected child."," // Set src equal to the current context to prevent"," // unnecessary re-calculation of the selection.",""," selection.set(\"selected\", 0, { src: \"_updateSelection\" });",""," }",""," this._set(\"selection\", child);",""," }",""," if (event.src == this) {"," this._set(\"selection\", child, { src: this });"," }",""," }",""," },",""," /**"," * Attribute change listener for the <code>focused</code>"," * attribute of child Widgets, responsible for setting the value of the"," * parent's <code>activeDescendant</code> attribute."," *"," * @method _updateActiveDescendant"," * @protected"," * @param {EventFacade} event The event facade for the attribute change."," */"," _updateActiveDescendant: function (event) {"," var activeDescendant = (event.newVal === true) ? event.target : null;"," this._set(\"activeDescendant\", activeDescendant);"," },",""," /**"," * Creates an instance of a child Widget using the specified configuration."," * By default Widget instances will be created of the type specified"," * by the <code>defaultChildType</code> attribute. Types can be explicitly"," * defined via the <code>childType</code> property of the configuration object"," * literal. The use of the <code>type</code> property has been deprecated, but"," * will still be used as a fallback, if <code>childType</code> is not defined,"," * for backwards compatibility."," *"," * @method _createChild"," * @protected"," * @param config {Object} Object literal representing the configuration"," * used to create an instance of a Widget."," */"," _createChild: function (config) {",""," var defaultType = this.get(\"defaultChildType\"),"," altType = config.childType || config.type,"," child,"," Fn,"," FnConstructor;",""," if (altType) {"," Fn = Lang.isString(altType) ? Y[altType] : altType;"," }",""," if (Lang.isFunction(Fn)) {"," FnConstructor = Fn;"," } else if (defaultType) {"," // defaultType is normalized to a function in it's setter"," FnConstructor = defaultType;"," }",""," if (FnConstructor) {"," child = new FnConstructor(config);"," } else {"," Y.error(\"Could not create a child instance because its constructor is either undefined or invalid.\");"," }",""," return child;",""," },",""," /**"," * Default addChild handler"," *"," * @method _defAddChildFn"," * @protected"," * @param event {EventFacade} The Event object"," * @param child {Widget} The Widget instance, or configuration"," * object for the Widget to be added as a child."," * @param index {Number} Number representing the position at"," * which the child will be inserted."," */"," _defAddChildFn: function (event) {",""," var child = event.child,"," index = event.index,"," children = this._items;",""," if (child.get(\"parent\")) {"," child.remove();"," }",""," if (Lang.isNumber(index)) {"," children.splice(index, 0, child);"," }"," else {"," children.push(child);"," }",""," child._set(\"parent\", this);"," child.addTarget(this);",""," // Update index in case it got normalized after addition"," // (e.g. user passed in 10, and there are only 3 items, the actual index would be 3. We don't want to pass 10 around in the event facade)."," event.index = child.get(\"index\");",""," // TO DO: Remove in favor of using event bubbling"," child.after(\"selectedChange\", Y.bind(this._updateSelection, this));"," },","",""," /**"," * Default removeChild handler"," *"," * @method _defRemoveChildFn"," * @protected"," * @param event {EventFacade} The Event object"," * @param child {Widget} The Widget instance to be removed."," * @param index {Number} Number representing the index of the Widget to"," * be removed."," */"," _defRemoveChildFn: function (event) {",""," var child = event.child,"," index = event.index,"," children = this._items;",""," if (child.get(\"focused\")) {"," child.blur(); // focused is readOnly, so use the public i/f to unset it"," }",""," if (child.get(\"selected\")) {"," child.set(\"selected\", 0);"," }",""," children.splice(index, 1);",""," child.removeTarget(this);"," child._oldParent = child.get(\"parent\");"," child._set(\"parent\", null);"," },",""," /**"," * @method _add"," * @protected"," * @param child {Widget|Object} The Widget instance, or configuration"," * object for the Widget to be added as a child."," * @param child {Array} Array of Widget instances, or configuration"," * objects for the Widgets to be added as a children."," * @param index {Number} (Optional.) Number representing the position at"," * which the child should be inserted."," * @description Adds a Widget as a child. If the specified Widget already"," * has a parent it will be removed from its current parent before"," * being added as a child."," * @return {Widget|Array} Successfully added Widget or Array containing the"," * successfully added Widget instance(s). If no children where added, will"," * will return undefined."," */"," _add: function (child, index) {",""," var children,"," oChild,"," returnVal;","",""," if (Lang.isArray(child)) {",""," children = [];",""," Y.each(child, function (v, k) {",""," oChild = this._add(v, (index + k));",""," if (oChild) {"," children.push(oChild);"," }",""," }, this);","",""," if (children.length > 0) {"," returnVal = children;"," }",""," }"," else {",""," if (Y.instanceOf(child, Y.Widget)) {"," oChild = child;"," }"," else {"," oChild = this._createChild(child);"," }",""," if (oChild && this.fire(\"addChild\", { child: oChild, index: index })) {"," returnVal = oChild;"," }",""," }",""," return returnVal;",""," },","",""," /**"," * @method add"," * @param child {Widget|Object} The Widget instance, or configuration"," * object for the Widget to be added as a child. The configuration object"," * for the child can include a <code>childType</code> property, which is either"," * a constructor function or a string which names a constructor function on the"," * Y instance (e.g. \"Tab\" would refer to Y.Tab) (<code>childType</code> used to be"," * named <code>type</code>, support for which has been deprecated, but is still"," * maintained for backward compatibility. <code>childType</code> takes precedence"," * over <code>type</code> if both are defined."," * @param child {Array} Array of Widget instances, or configuration"," * objects for the Widgets to be added as a children."," * @param index {Number} (Optional.) Number representing the position at"," * which the child should be inserted."," * @description Adds a Widget as a child. If the specified Widget already"," * has a parent it will be removed from its current parent before"," * being added as a child."," * @return {ArrayList} Y.ArrayList containing the successfully added"," * Widget instance(s). If no children where added, will return an empty"," * Y.ArrayList instance."," */"," add: function () {",""," var added = this._add.apply(this, arguments),"," children = added ? (Lang.isArray(added) ? added : [added]) : [];",""," return (new Y.ArrayList(children));",""," },","",""," /**"," * @method remove"," * @param index {Number} (Optional.) Number representing the index of the"," * child to be removed."," * @description Removes the Widget from its parent. Optionally, can remove"," * a child by specifying its index."," * @return {Widget} Widget instance that was successfully removed, otherwise"," * undefined."," */"," remove: function (index) {",""," var child = this._items[index],"," returnVal;",""," if (child && this.fire(\"removeChild\", { child: child, index: index })) {"," returnVal = child;"," }",""," return returnVal;",""," },","",""," /**"," * @method removeAll"," * @description Removes all of the children from the Widget."," * @return {ArrayList} Y.ArrayList instance containing Widgets that were"," * successfully removed. If no children where removed, will return an empty"," * Y.ArrayList instance."," */"," removeAll: function () {",""," var removed = [],"," child;",""," Y.each(this._items.concat(), function () {",""," child = this.remove(0);",""," if (child) {"," removed.push(child);"," }",""," }, this);",""," return (new Y.ArrayList(removed));",""," },",""," /**"," * Selects the child at the given index (zero-based)."," *"," * @method selectChild"," * @param {Number} i the index of the child to be selected"," */"," selectChild: function(i) {"," this.item(i).set('selected', 1);"," },",""," /**"," * Selects all children."," *"," * @method selectAll"," */"," selectAll: function () {"," this.set(\"selected\", 1);"," },",""," /**"," * Deselects all children."," *"," * @method deselectAll"," */"," deselectAll: function () {"," this.set(\"selected\", 0);"," },",""," /**"," * Updates the UI in response to a child being added."," *"," * @method _uiAddChild"," * @protected"," * @param child {Widget} The child Widget instance to render."," * @param parentNode {Object} The Node under which the"," * child Widget is to be rendered."," */"," _uiAddChild: function (child, parentNode) {",""," child.render(parentNode);",""," // TODO: Ideally this should be in Child's render UI.",""," var childBB = child.get(\"boundingBox\"),"," siblingBB,"," nextSibling = child.next(false),"," prevSibling;",""," // Insert or Append to last child.",""," // Avoiding index, and using the current sibling"," // state (which should be accurate), means we don't have"," // to worry about decorator elements which may be added"," // to the _childContainer node.",""," if (nextSibling && nextSibling.get(RENDERED)) {",""," siblingBB = nextSibling.get(BOUNDING_BOX);"," siblingBB.insert(childBB, \"before\");",""," } else {",""," prevSibling = child.previous(false);",""," if (prevSibling && prevSibling.get(RENDERED)) {",""," siblingBB = prevSibling.get(BOUNDING_BOX);"," siblingBB.insert(childBB, \"after\");",""," } else if (!parentNode.contains(childBB)) {",""," // Based on pull request from andreas-karlsson"," // https://github.com/yui/yui3/pull/25#issuecomment-2103536",""," // Account for case where a child was rendered independently of the"," // parent-child framework, to a node outside of the parentNode,"," // and there are no siblings.",""," parentNode.appendChild(childBB);"," }"," }",""," },",""," /**"," * Updates the UI in response to a child being removed."," *"," * @method _uiRemoveChild"," * @protected"," * @param child {Widget} The child Widget instance to render."," */"," _uiRemoveChild: function (child) {"," child.get(\"boundingBox\").remove();"," },",""," _afterAddChild: function (event) {"," var child = event.child;",""," if (child.get(\"parent\") == this) {"," this._uiAddChild(child, this._childrenContainer);"," }"," },",""," _afterRemoveChild: function (event) {"," var child = event.child;",""," if (child._oldParent == this) {"," this._uiRemoveChild(child);"," }"," },",""," /**"," * Sets up DOM and CustomEvent listeners for the parent widget."," * <p>"," * This method in invoked after bindUI is invoked for the Widget class"," * using YUI's aop infrastructure."," * </p>"," *"," * @method _bindUIParent"," * @protected"," */"," _bindUIParent: function () {"," this.after(\"addChild\", this._afterAddChild);"," this.after(\"removeChild\", this._afterRemoveChild);"," },",""," /**"," * Renders all child Widgets for the parent."," * <p>"," * This method in invoked after renderUI is invoked for the Widget class"," * using YUI's aop infrastructure."," * </p>"," * @method _renderChildren"," * @protected"," */"," _renderChildren: function () {",""," /**"," * <p>By default WidgetParent will render it's children to the parent's content box.</p>"," *"," * <p>If the children need to be rendered somewhere else, the _childrenContainer property"," * can be set to the Node which the children should be rendered to. This property should be"," * set before the _renderChildren method is invoked, ideally in your renderUI method,"," * as soon as you create the element to be rendered to.</p>"," *"," * @protected"," * @property _childrenContainer"," * @value The content box"," * @type Node"," */"," var renderTo = this._childrenContainer || this.get(\"contentBox\");",""," this._childrenContainer = renderTo;",""," this.each(function (child) {"," child.render(renderTo);"," });"," },",""," /**"," * Destroys all child Widgets for the parent."," * <p>"," * This method is invoked before the destructor is invoked for the Widget"," * class using YUI's aop infrastructure."," * </p>"," * @method _destroyChildren"," * @protected"," */"," _destroyChildren: function () {",""," // Detach the handler responsible for removing children in"," // response to destroying them since:"," // 1) It is unnecessary/inefficient at this point since we are doing"," // a batch destroy of all children."," // 2) Removing each child will affect our ability to iterate the"," // children since the size of _items will be changing as we"," // iterate."," this._hDestroyChild.detach();",""," // Need to clone the _items array since"," this.each(function (child) {"," child.destroy();"," });"," }","","};","","Y.augment(Parent, Y.ArrayList);","","Y.WidgetParent = Parent;","","","}, '3.15.0', {\"requires\": [\"arraylist\", \"base-build\", \"widget\"]});","","}());"]}; } var __cov_ieJFWydzGP1sVtdBM9Ovow = __coverage__['build/widget-parent/widget-parent.js']; __cov_ieJFWydzGP1sVtdBM9Ovow.s['1']++;YUI.add('widget-parent',function(Y,NAME){__cov_ieJFWydzGP1sVtdBM9Ovow.f['1']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['2']++;var Lang=Y.Lang,RENDERED='rendered',BOUNDING_BOX='boundingBox';__cov_ieJFWydzGP1sVtdBM9Ovow.s['3']++;function Parent(config){__cov_ieJFWydzGP1sVtdBM9Ovow.f['2']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['4']++;this.publish('addChild',{defaultTargetOnly:true,defaultFn:this._defAddChildFn});__cov_ieJFWydzGP1sVtdBM9Ovow.s['5']++;this.publish('removeChild',{defaultTargetOnly:true,defaultFn:this._defRemoveChildFn});__cov_ieJFWydzGP1sVtdBM9Ovow.s['6']++;this._items=[];__cov_ieJFWydzGP1sVtdBM9Ovow.s['7']++;var children,handle;__cov_ieJFWydzGP1sVtdBM9Ovow.s['8']++;if((__cov_ieJFWydzGP1sVtdBM9Ovow.b['2'][0]++,config)&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['2'][1]++,config.children)){__cov_ieJFWydzGP1sVtdBM9Ovow.b['1'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['9']++;children=config.children;__cov_ieJFWydzGP1sVtdBM9Ovow.s['10']++;handle=this.after('initializedChange',function(e){__cov_ieJFWydzGP1sVtdBM9Ovow.f['3']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['11']++;this._add(children);__cov_ieJFWydzGP1sVtdBM9Ovow.s['12']++;handle.detach();});}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['1'][1]++;}__cov_ieJFWydzGP1sVtdBM9Ovow.s['13']++;Y.after(this._renderChildren,this,'renderUI');__cov_ieJFWydzGP1sVtdBM9Ovow.s['14']++;Y.after(this._bindUIParent,this,'bindUI');__cov_ieJFWydzGP1sVtdBM9Ovow.s['15']++;this.after('selectionChange',this._afterSelectionChange);__cov_ieJFWydzGP1sVtdBM9Ovow.s['16']++;this.after('selectedChange',this._afterParentSelectedChange);__cov_ieJFWydzGP1sVtdBM9Ovow.s['17']++;this.after('activeDescendantChange',this._afterActiveDescendantChange);__cov_ieJFWydzGP1sVtdBM9Ovow.s['18']++;this._hDestroyChild=this.after('*:destroy',this._afterDestroyChild);__cov_ieJFWydzGP1sVtdBM9Ovow.s['19']++;this.after('*:focusedChange',this._updateActiveDescendant);}__cov_ieJFWydzGP1sVtdBM9Ovow.s['20']++;Parent.ATTRS={defaultChildType:{setter:function(val){__cov_ieJFWydzGP1sVtdBM9Ovow.f['4']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['21']++;var returnVal=Y.Attribute.INVALID_VALUE,FnConstructor=Lang.isString(val)?(__cov_ieJFWydzGP1sVtdBM9Ovow.b['3'][0]++,Y[val]):(__cov_ieJFWydzGP1sVtdBM9Ovow.b['3'][1]++,val);__cov_ieJFWydzGP1sVtdBM9Ovow.s['22']++;if(Lang.isFunction(FnConstructor)){__cov_ieJFWydzGP1sVtdBM9Ovow.b['4'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['23']++;returnVal=FnConstructor;}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['4'][1]++;}__cov_ieJFWydzGP1sVtdBM9Ovow.s['24']++;return returnVal;}},activeDescendant:{readOnly:true},multiple:{value:false,validator:Lang.isBoolean,writeOnce:true,getter:function(value){__cov_ieJFWydzGP1sVtdBM9Ovow.f['5']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['25']++;var root=this.get('root');__cov_ieJFWydzGP1sVtdBM9Ovow.s['26']++;return(__cov_ieJFWydzGP1sVtdBM9Ovow.b['6'][0]++,root)&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['6'][1]++,root!=this)?(__cov_ieJFWydzGP1sVtdBM9Ovow.b['5'][0]++,root.get('multiple')):(__cov_ieJFWydzGP1sVtdBM9Ovow.b['5'][1]++,value);}},selection:{readOnly:true,setter:'_setSelection',getter:function(value){__cov_ieJFWydzGP1sVtdBM9Ovow.f['6']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['27']++;var selection=Lang.isArray(value)?(__cov_ieJFWydzGP1sVtdBM9Ovow.b['7'][0]++,new Y.ArrayList(value)):(__cov_ieJFWydzGP1sVtdBM9Ovow.b['7'][1]++,value);__cov_ieJFWydzGP1sVtdBM9Ovow.s['28']++;return selection;}},selected:{setter:function(value){__cov_ieJFWydzGP1sVtdBM9Ovow.f['7']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['29']++;var returnVal=value;__cov_ieJFWydzGP1sVtdBM9Ovow.s['30']++;if((__cov_ieJFWydzGP1sVtdBM9Ovow.b['9'][0]++,value===1)&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['9'][1]++,!this.get('multiple'))){__cov_ieJFWydzGP1sVtdBM9Ovow.b['8'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['31']++;returnVal=Y.Attribute.INVALID_VALUE;}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['8'][1]++;}__cov_ieJFWydzGP1sVtdBM9Ovow.s['32']++;return returnVal;}}};__cov_ieJFWydzGP1sVtdBM9Ovow.s['33']++;Parent.prototype={destructor:function(){__cov_ieJFWydzGP1sVtdBM9Ovow.f['8']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['34']++;this._destroyChildren();},_afterDestroyChild:function(event){__cov_ieJFWydzGP1sVtdBM9Ovow.f['9']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['35']++;var child=event.target;__cov_ieJFWydzGP1sVtdBM9Ovow.s['36']++;if(child.get('parent')==this){__cov_ieJFWydzGP1sVtdBM9Ovow.b['10'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['37']++;child.remove();}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['10'][1]++;}},_afterSelectionChange:function(event){__cov_ieJFWydzGP1sVtdBM9Ovow.f['10']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['38']++;if((__cov_ieJFWydzGP1sVtdBM9Ovow.b['12'][0]++,event.target==this)&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['12'][1]++,event.src!=this)){__cov_ieJFWydzGP1sVtdBM9Ovow.b['11'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['39']++;var selection=event.newVal,selectedVal=0;__cov_ieJFWydzGP1sVtdBM9Ovow.s['40']++;if(selection){__cov_ieJFWydzGP1sVtdBM9Ovow.b['13'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['41']++;selectedVal=2;__cov_ieJFWydzGP1sVtdBM9Ovow.s['42']++;if((__cov_ieJFWydzGP1sVtdBM9Ovow.b['15'][0]++,Y.instanceOf(selection,Y.ArrayList))&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['15'][1]++,selection.size()===this.size())){__cov_ieJFWydzGP1sVtdBM9Ovow.b['14'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['43']++;selectedVal=1;}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['14'][1]++;}}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['13'][1]++;}__cov_ieJFWydzGP1sVtdBM9Ovow.s['44']++;this.set('selected',selectedVal,{src:this});}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['11'][1]++;}},_afterActiveDescendantChange:function(event){__cov_ieJFWydzGP1sVtdBM9Ovow.f['11']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['45']++;var parent=this.get('parent');__cov_ieJFWydzGP1sVtdBM9Ovow.s['46']++;if(parent){__cov_ieJFWydzGP1sVtdBM9Ovow.b['16'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['47']++;parent._set('activeDescendant',event.newVal);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['16'][1]++;}},_afterParentSelectedChange:function(event){__cov_ieJFWydzGP1sVtdBM9Ovow.f['12']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['48']++;var value=event.newVal;__cov_ieJFWydzGP1sVtdBM9Ovow.s['49']++;if((__cov_ieJFWydzGP1sVtdBM9Ovow.b['18'][0]++,this==event.target)&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['18'][1]++,event.src!=this)&&((__cov_ieJFWydzGP1sVtdBM9Ovow.b['18'][2]++,value===0)||(__cov_ieJFWydzGP1sVtdBM9Ovow.b['18'][3]++,value===1))){__cov_ieJFWydzGP1sVtdBM9Ovow.b['17'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['50']++;this.each(function(child){__cov_ieJFWydzGP1sVtdBM9Ovow.f['13']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['51']++;child.set('selected',value,{src:this});},this);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['17'][1]++;}},_setSelection:function(child){__cov_ieJFWydzGP1sVtdBM9Ovow.f['14']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['52']++;var selection=null,selected;__cov_ieJFWydzGP1sVtdBM9Ovow.s['53']++;if((__cov_ieJFWydzGP1sVtdBM9Ovow.b['20'][0]++,this.get('multiple'))&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['20'][1]++,!this.isEmpty())){__cov_ieJFWydzGP1sVtdBM9Ovow.b['19'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['54']++;selected=[];__cov_ieJFWydzGP1sVtdBM9Ovow.s['55']++;this.each(function(v){__cov_ieJFWydzGP1sVtdBM9Ovow.f['15']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['56']++;if(v.get('selected')>0){__cov_ieJFWydzGP1sVtdBM9Ovow.b['21'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['57']++;selected.push(v);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['21'][1]++;}});__cov_ieJFWydzGP1sVtdBM9Ovow.s['58']++;if(selected.length>0){__cov_ieJFWydzGP1sVtdBM9Ovow.b['22'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['59']++;selection=selected;}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['22'][1]++;}}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['19'][1]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['60']++;if(child.get('selected')>0){__cov_ieJFWydzGP1sVtdBM9Ovow.b['23'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['61']++;selection=child;}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['23'][1]++;}}__cov_ieJFWydzGP1sVtdBM9Ovow.s['62']++;return selection;},_updateSelection:function(event){__cov_ieJFWydzGP1sVtdBM9Ovow.f['16']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['63']++;var child=event.target,selection;__cov_ieJFWydzGP1sVtdBM9Ovow.s['64']++;if(child.get('parent')==this){__cov_ieJFWydzGP1sVtdBM9Ovow.b['24'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['65']++;if(event.src!='_updateSelection'){__cov_ieJFWydzGP1sVtdBM9Ovow.b['25'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['66']++;selection=this.get('selection');__cov_ieJFWydzGP1sVtdBM9Ovow.s['67']++;if((__cov_ieJFWydzGP1sVtdBM9Ovow.b['27'][0]++,!this.get('multiple'))&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['27'][1]++,selection)&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['27'][2]++,event.newVal>0)){__cov_ieJFWydzGP1sVtdBM9Ovow.b['26'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['68']++;selection.set('selected',0,{src:'_updateSelection'});}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['26'][1]++;}__cov_ieJFWydzGP1sVtdBM9Ovow.s['69']++;this._set('selection',child);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['25'][1]++;}__cov_ieJFWydzGP1sVtdBM9Ovow.s['70']++;if(event.src==this){__cov_ieJFWydzGP1sVtdBM9Ovow.b['28'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['71']++;this._set('selection',child,{src:this});}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['28'][1]++;}}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['24'][1]++;}},_updateActiveDescendant:function(event){__cov_ieJFWydzGP1sVtdBM9Ovow.f['17']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['72']++;var activeDescendant=event.newVal===true?(__cov_ieJFWydzGP1sVtdBM9Ovow.b['29'][0]++,event.target):(__cov_ieJFWydzGP1sVtdBM9Ovow.b['29'][1]++,null);__cov_ieJFWydzGP1sVtdBM9Ovow.s['73']++;this._set('activeDescendant',activeDescendant);},_createChild:function(config){__cov_ieJFWydzGP1sVtdBM9Ovow.f['18']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['74']++;var defaultType=this.get('defaultChildType'),altType=(__cov_ieJFWydzGP1sVtdBM9Ovow.b['30'][0]++,config.childType)||(__cov_ieJFWydzGP1sVtdBM9Ovow.b['30'][1]++,config.type),child,Fn,FnConstructor;__cov_ieJFWydzGP1sVtdBM9Ovow.s['75']++;if(altType){__cov_ieJFWydzGP1sVtdBM9Ovow.b['31'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['76']++;Fn=Lang.isString(altType)?(__cov_ieJFWydzGP1sVtdBM9Ovow.b['32'][0]++,Y[altType]):(__cov_ieJFWydzGP1sVtdBM9Ovow.b['32'][1]++,altType);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['31'][1]++;}__cov_ieJFWydzGP1sVtdBM9Ovow.s['77']++;if(Lang.isFunction(Fn)){__cov_ieJFWydzGP1sVtdBM9Ovow.b['33'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['78']++;FnConstructor=Fn;}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['33'][1]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['79']++;if(defaultType){__cov_ieJFWydzGP1sVtdBM9Ovow.b['34'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['80']++;FnConstructor=defaultType;}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['34'][1]++;}}__cov_ieJFWydzGP1sVtdBM9Ovow.s['81']++;if(FnConstructor){__cov_ieJFWydzGP1sVtdBM9Ovow.b['35'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['82']++;child=new FnConstructor(config);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['35'][1]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['83']++;Y.error('Could not create a child instance because its constructor is either undefined or invalid.');}__cov_ieJFWydzGP1sVtdBM9Ovow.s['84']++;return child;},_defAddChildFn:function(event){__cov_ieJFWydzGP1sVtdBM9Ovow.f['19']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['85']++;var child=event.child,index=event.index,children=this._items;__cov_ieJFWydzGP1sVtdBM9Ovow.s['86']++;if(child.get('parent')){__cov_ieJFWydzGP1sVtdBM9Ovow.b['36'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['87']++;child.remove();}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['36'][1]++;}__cov_ieJFWydzGP1sVtdBM9Ovow.s['88']++;if(Lang.isNumber(index)){__cov_ieJFWydzGP1sVtdBM9Ovow.b['37'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['89']++;children.splice(index,0,child);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['37'][1]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['90']++;children.push(child);}__cov_ieJFWydzGP1sVtdBM9Ovow.s['91']++;child._set('parent',this);__cov_ieJFWydzGP1sVtdBM9Ovow.s['92']++;child.addTarget(this);__cov_ieJFWydzGP1sVtdBM9Ovow.s['93']++;event.index=child.get('index');__cov_ieJFWydzGP1sVtdBM9Ovow.s['94']++;child.after('selectedChange',Y.bind(this._updateSelection,this));},_defRemoveChildFn:function(event){__cov_ieJFWydzGP1sVtdBM9Ovow.f['20']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['95']++;var child=event.child,index=event.index,children=this._items;__cov_ieJFWydzGP1sVtdBM9Ovow.s['96']++;if(child.get('focused')){__cov_ieJFWydzGP1sVtdBM9Ovow.b['38'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['97']++;child.blur();}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['38'][1]++;}__cov_ieJFWydzGP1sVtdBM9Ovow.s['98']++;if(child.get('selected')){__cov_ieJFWydzGP1sVtdBM9Ovow.b['39'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['99']++;child.set('selected',0);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['39'][1]++;}__cov_ieJFWydzGP1sVtdBM9Ovow.s['100']++;children.splice(index,1);__cov_ieJFWydzGP1sVtdBM9Ovow.s['101']++;child.removeTarget(this);__cov_ieJFWydzGP1sVtdBM9Ovow.s['102']++;child._oldParent=child.get('parent');__cov_ieJFWydzGP1sVtdBM9Ovow.s['103']++;child._set('parent',null);},_add:function(child,index){__cov_ieJFWydzGP1sVtdBM9Ovow.f['21']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['104']++;var children,oChild,returnVal;__cov_ieJFWydzGP1sVtdBM9Ovow.s['105']++;if(Lang.isArray(child)){__cov_ieJFWydzGP1sVtdBM9Ovow.b['40'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['106']++;children=[];__cov_ieJFWydzGP1sVtdBM9Ovow.s['107']++;Y.each(child,function(v,k){__cov_ieJFWydzGP1sVtdBM9Ovow.f['22']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['108']++;oChild=this._add(v,index+k);__cov_ieJFWydzGP1sVtdBM9Ovow.s['109']++;if(oChild){__cov_ieJFWydzGP1sVtdBM9Ovow.b['41'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['110']++;children.push(oChild);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['41'][1]++;}},this);__cov_ieJFWydzGP1sVtdBM9Ovow.s['111']++;if(children.length>0){__cov_ieJFWydzGP1sVtdBM9Ovow.b['42'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['112']++;returnVal=children;}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['42'][1]++;}}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['40'][1]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['113']++;if(Y.instanceOf(child,Y.Widget)){__cov_ieJFWydzGP1sVtdBM9Ovow.b['43'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['114']++;oChild=child;}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['43'][1]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['115']++;oChild=this._createChild(child);}__cov_ieJFWydzGP1sVtdBM9Ovow.s['116']++;if((__cov_ieJFWydzGP1sVtdBM9Ovow.b['45'][0]++,oChild)&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['45'][1]++,this.fire('addChild',{child:oChild,index:index}))){__cov_ieJFWydzGP1sVtdBM9Ovow.b['44'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['117']++;returnVal=oChild;}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['44'][1]++;}}__cov_ieJFWydzGP1sVtdBM9Ovow.s['118']++;return returnVal;},add:function(){__cov_ieJFWydzGP1sVtdBM9Ovow.f['23']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['119']++;var added=this._add.apply(this,arguments),children=added?(__cov_ieJFWydzGP1sVtdBM9Ovow.b['46'][0]++,Lang.isArray(added)?(__cov_ieJFWydzGP1sVtdBM9Ovow.b['47'][0]++,added):(__cov_ieJFWydzGP1sVtdBM9Ovow.b['47'][1]++,[added])):(__cov_ieJFWydzGP1sVtdBM9Ovow.b['46'][1]++,[]);__cov_ieJFWydzGP1sVtdBM9Ovow.s['120']++;return new Y.ArrayList(children);},remove:function(index){__cov_ieJFWydzGP1sVtdBM9Ovow.f['24']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['121']++;var child=this._items[index],returnVal;__cov_ieJFWydzGP1sVtdBM9Ovow.s['122']++;if((__cov_ieJFWydzGP1sVtdBM9Ovow.b['49'][0]++,child)&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['49'][1]++,this.fire('removeChild',{child:child,index:index}))){__cov_ieJFWydzGP1sVtdBM9Ovow.b['48'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['123']++;returnVal=child;}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['48'][1]++;}__cov_ieJFWydzGP1sVtdBM9Ovow.s['124']++;return returnVal;},removeAll:function(){__cov_ieJFWydzGP1sVtdBM9Ovow.f['25']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['125']++;var removed=[],child;__cov_ieJFWydzGP1sVtdBM9Ovow.s['126']++;Y.each(this._items.concat(),function(){__cov_ieJFWydzGP1sVtdBM9Ovow.f['26']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['127']++;child=this.remove(0);__cov_ieJFWydzGP1sVtdBM9Ovow.s['128']++;if(child){__cov_ieJFWydzGP1sVtdBM9Ovow.b['50'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['129']++;removed.push(child);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['50'][1]++;}},this);__cov_ieJFWydzGP1sVtdBM9Ovow.s['130']++;return new Y.ArrayList(removed);},selectChild:function(i){__cov_ieJFWydzGP1sVtdBM9Ovow.f['27']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['131']++;this.item(i).set('selected',1);},selectAll:function(){__cov_ieJFWydzGP1sVtdBM9Ovow.f['28']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['132']++;this.set('selected',1);},deselectAll:function(){__cov_ieJFWydzGP1sVtdBM9Ovow.f['29']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['133']++;this.set('selected',0);},_uiAddChild:function(child,parentNode){__cov_ieJFWydzGP1sVtdBM9Ovow.f['30']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['134']++;child.render(parentNode);__cov_ieJFWydzGP1sVtdBM9Ovow.s['135']++;var childBB=child.get('boundingBox'),siblingBB,nextSibling=child.next(false),prevSibling;__cov_ieJFWydzGP1sVtdBM9Ovow.s['136']++;if((__cov_ieJFWydzGP1sVtdBM9Ovow.b['52'][0]++,nextSibling)&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['52'][1]++,nextSibling.get(RENDERED))){__cov_ieJFWydzGP1sVtdBM9Ovow.b['51'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['137']++;siblingBB=nextSibling.get(BOUNDING_BOX);__cov_ieJFWydzGP1sVtdBM9Ovow.s['138']++;siblingBB.insert(childBB,'before');}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['51'][1]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['139']++;prevSibling=child.previous(false);__cov_ieJFWydzGP1sVtdBM9Ovow.s['140']++;if((__cov_ieJFWydzGP1sVtdBM9Ovow.b['54'][0]++,prevSibling)&&(__cov_ieJFWydzGP1sVtdBM9Ovow.b['54'][1]++,prevSibling.get(RENDERED))){__cov_ieJFWydzGP1sVtdBM9Ovow.b['53'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['141']++;siblingBB=prevSibling.get(BOUNDING_BOX);__cov_ieJFWydzGP1sVtdBM9Ovow.s['142']++;siblingBB.insert(childBB,'after');}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['53'][1]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['143']++;if(!parentNode.contains(childBB)){__cov_ieJFWydzGP1sVtdBM9Ovow.b['55'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['144']++;parentNode.appendChild(childBB);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['55'][1]++;}}}},_uiRemoveChild:function(child){__cov_ieJFWydzGP1sVtdBM9Ovow.f['31']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['145']++;child.get('boundingBox').remove();},_afterAddChild:function(event){__cov_ieJFWydzGP1sVtdBM9Ovow.f['32']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['146']++;var child=event.child;__cov_ieJFWydzGP1sVtdBM9Ovow.s['147']++;if(child.get('parent')==this){__cov_ieJFWydzGP1sVtdBM9Ovow.b['56'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['148']++;this._uiAddChild(child,this._childrenContainer);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['56'][1]++;}},_afterRemoveChild:function(event){__cov_ieJFWydzGP1sVtdBM9Ovow.f['33']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['149']++;var child=event.child;__cov_ieJFWydzGP1sVtdBM9Ovow.s['150']++;if(child._oldParent==this){__cov_ieJFWydzGP1sVtdBM9Ovow.b['57'][0]++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['151']++;this._uiRemoveChild(child);}else{__cov_ieJFWydzGP1sVtdBM9Ovow.b['57'][1]++;}},_bindUIParent:function(){__cov_ieJFWydzGP1sVtdBM9Ovow.f['34']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['152']++;this.after('addChild',this._afterAddChild);__cov_ieJFWydzGP1sVtdBM9Ovow.s['153']++;this.after('removeChild',this._afterRemoveChild);},_renderChildren:function(){__cov_ieJFWydzGP1sVtdBM9Ovow.f['35']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['154']++;var renderTo=(__cov_ieJFWydzGP1sVtdBM9Ovow.b['58'][0]++,this._childrenContainer)||(__cov_ieJFWydzGP1sVtdBM9Ovow.b['58'][1]++,this.get('contentBox'));__cov_ieJFWydzGP1sVtdBM9Ovow.s['155']++;this._childrenContainer=renderTo;__cov_ieJFWydzGP1sVtdBM9Ovow.s['156']++;this.each(function(child){__cov_ieJFWydzGP1sVtdBM9Ovow.f['36']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['157']++;child.render(renderTo);});},_destroyChildren:function(){__cov_ieJFWydzGP1sVtdBM9Ovow.f['37']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['158']++;this._hDestroyChild.detach();__cov_ieJFWydzGP1sVtdBM9Ovow.s['159']++;this.each(function(child){__cov_ieJFWydzGP1sVtdBM9Ovow.f['38']++;__cov_ieJFWydzGP1sVtdBM9Ovow.s['160']++;child.destroy();});}};__cov_ieJFWydzGP1sVtdBM9Ovow.s['161']++;Y.augment(Parent,Y.ArrayList);__cov_ieJFWydzGP1sVtdBM9Ovow.s['162']++;Y.WidgetParent=Parent;},'3.15.0',{'requires':['arraylist','base-build','widget']});
lmccart/cdnjs
ajax/libs/yui/3.15.0/widget-parent/widget-parent-coverage.js
JavaScript
mit
75,765
Ext.define("Ext.chart.series.Radar",{extend:"Ext.chart.series.Series",requires:["Ext.chart.Shape","Ext.fx.Anim"],type:"radar",alias:"series.radar",rad:Math.PI/180,showInLegend:false,style:{},constructor:function(b){this.callParent(arguments);var c=this,a=c.chart.surface;c.group=a.getGroup(c.seriesId);if(c.showMarkers){c.markerGroup=a.getGroup(c.seriesId+"-markers")}},drawSeries:function(){var t=this,b=t.chart.getChartStore(),M=b.data.items,N,D,u=t.group,O=t.chart,G=O.series.items,H,r,j,m=t.field||t.yField,F=O.surface,A=O.chartBBox,g=t.colorArrayStyle,e,c,v,I,o=0,a=[],z=Math.max,h=Math.cos,p=Math.sin,n=Math.PI*2,K=b.getCount(),f,J,E,C,B,L,q,k=t.seriesStyle,w=O.axes&&O.axes.get(0),P=!(w&&w.maximum);t.setBBox();o=P?0:(w.maximum||0);Ext.apply(k,t.style||{});if(!b||!b.getCount()||t.seriesIsHidden){t.hide();t.items=[];if(t.radar){t.radar.hide(true)}t.radar=null;return}if(!k.stroke){k.stroke=g[t.themeIdx%g.length]}t.unHighlightItem();t.cleanHighlights();e=t.centerX=A.x+(A.width/2);c=t.centerY=A.y+(A.height/2);t.radius=I=Math.min(A.width,A.height)/2;t.items=v=[];if(P){for(H=0,r=G.length;H<r;H++){j=G[H];a.push(j.yField)}for(N=0;N<K;N++){D=M[N];for(L=0,q=a.length;L<q;L++){o=z(+D.get(a[L]),o)}}}o=o||1;f=[];J=[];for(L=0;L<K;L++){D=M[L];B=I*D.get(m)/o;E=B*h(L/K*n);C=B*p(L/K*n);if(L==0){J.push("M",E+e,C+c);f.push("M",0.01*E+e,0.01*C+c)}else{J.push("L",E+e,C+c);f.push("L",0.01*E+e,0.01*C+c)}v.push({sprite:false,point:[e+E,c+C],storeItem:D,series:t})}J.push("Z");if(!t.radar){t.radar=F.add(Ext.apply({type:"path",group:u,path:f},k||{}))}if(O.resizing){t.radar.setAttributes({path:f},true)}if(O.animate){t.onAnimate(t.radar,{to:Ext.apply({path:J},k||{})})}else{t.radar.setAttributes(Ext.apply({path:J},k||{}),true)}if(t.showMarkers){t.drawMarkers()}t.renderLabels();t.renderCallouts()},drawMarkers:function(){var m=this,j=m.chart,a=j.surface,o=j.getChartStore(),b=Ext.apply({},m.markerStyle||{}),h=Ext.apply(b,m.markerConfig,{fill:m.colorArrayStyle[m.themeIdx%m.colorArrayStyle.length]}),k=m.items,n=h.type,r=m.markerGroup,e=m.centerX,d=m.centerY,q,g,c,f,p;delete h.type;for(g=0,c=k.length;g<c;g++){q=k[g];f=r.getAt(g);if(!f){f=Ext.chart.Shape[n](a,Ext.apply({group:r,x:0,y:0,translate:{x:e,y:d}},h))}else{f.show()}q.sprite=f;if(j.resizing){f.setAttributes({x:0,y:0,translate:{x:e,y:d}},true)}f._to={translate:{x:q.point[0],y:q.point[1]}};p=m.renderer(f,o.getAt(g),f._to,g,o);p=Ext.applyIf(p||{},h||{});if(j.animate){m.onAnimate(f,{to:p})}else{f.setAttributes(p,true)}}},isItemInPoint:function(c,f,e){var b,d=10,a=Math.abs;b=e.point;return(a(b[0]-c)<=d&&a(b[1]-f)<=d)},onCreateLabel:function(f,k,e,g){var h=this,j=h.labelsGroup,a=h.label,d=h.centerX,c=h.centerY,b=Ext.apply({},a,h.seriesLabelStyle||{});return h.chart.surface.add(Ext.apply({type:"text","text-anchor":"middle",group:j,x:d,y:c},b||{}))},onPlaceLabel:function(g,n,u,r,p,d,e){var z=this,o=z.chart,t=o.resizing,w=z.label,s=w.renderer,c=w.field,j=z.centerX,h=z.centerY,b={x:Number(u.point[0]),y:Number(u.point[1])},l=b.x-j,k=b.y-h,f=Math.atan2(k,l||1),m=f*180/Math.PI,q,v;function a(i){if(i<0){i+=360}return i%360}g.setAttributes({text:s(n.get(c),g,n,u,r,p,d,e),hidden:true},true);q=g.getBBox();m=a(m);if((m>45&&m<135)||(m>225&&m<315)){v=(m>45&&m<135?1:-1);b.y+=v*q.height/2}else{v=(m>=135&&m<=225?-1:1);b.x+=v*q.width/2}if(t){g.setAttributes({x:j,y:h},true)}if(d){g.show(true);z.onAnimate(g,{to:b})}else{g.setAttributes(b,true);g.show(true)}},toggleAll:function(a){var e=this,b,d,f,c;if(!a){Ext.chart.series.Radar.superclass.hideAll.call(e)}else{Ext.chart.series.Radar.superclass.showAll.call(e)}if(e.radar){e.radar.setAttributes({hidden:!a},true);if(e.radar.shadows){for(b=0,c=e.radar.shadows,d=c.length;b<d;b++){f=c[b];f.setAttributes({hidden:!a},true)}}}},hideAll:function(){this.toggleAll(false);this.hideMarkers(0)},showAll:function(){this.toggleAll(true)},hideMarkers:function(a){var d=this,c=d.markerGroup&&d.markerGroup.getCount()||0,b=a||0;for(;b<c;b++){d.markerGroup.getAt(b).hide(true)}},getAxesForXAndYFields:function(){var c=this,b=c.chart,d=b.axes,a=[].concat(d&&d.get(0));return{yAxis:a}}});
sahat/cdnjs
ajax/libs/extjs/4.2.1/src/chart/series/Radar.min.js
JavaScript
mit
4,075
Ext.define("Ext.container.Viewport",{extend:"Ext.container.Container",alias:"widget.viewport",requires:["Ext.EventManager"],alternateClassName:"Ext.Viewport",isViewport:true,ariaRole:"application",preserveElOnDestroy:true,viewportCls:Ext.baseCSSPrefix+"viewport",initComponent:function(){var c=this,a=document.body.parentNode,b=c.el=Ext.getBody();Ext.getScrollbarSize();c.width=c.height=undefined;c.callParent(arguments);Ext.fly(a).addCls(c.viewportCls);if(c.autoScroll){Ext.fly(a).setStyle(c.getOverflowStyle());delete c.autoScroll}b.setHeight=b.setWidth=Ext.emptyFn;b.dom.scroll="no";c.allowDomMove=false;c.renderTo=c.el},applyTargetCls:function(a){this.el.addCls(a)},onRender:function(){var a=this;a.callParent(arguments);a.width=Ext.Element.getViewportWidth();a.height=Ext.Element.getViewportHeight()},afterFirstLayout:function(){var a=this;a.callParent(arguments);setTimeout(function(){Ext.EventManager.onWindowResize(a.fireResize,a)},1)},fireResize:function(b,a){if(b!=this.width||a!=this.height){this.setSize(b,a)}},initHierarchyState:function(a){this.callParent([this.hierarchyState=Ext.rootHierarchyState])},beforeDestroy:function(){var a=this;a.removeUIFromElement();a.el.removeCls(a.baseCls);Ext.fly(document.body.parentNode).removeCls(a.viewportCls);a.callParent()}});
hibrahimsafak/cdnjs
ajax/libs/extjs/4.2.1/src/container/Viewport.min.js
JavaScript
mit
1,280
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Debug\Tests; use Symfony\Component\Debug\DebugClassLoader; class DebugClassLoaderTest extends \PHPUnit_Framework_TestCase { private $loader; protected function setUp() { $this->loader = new ClassLoader(); spl_autoload_register(array($this->loader, 'loadClass')); } protected function tearDown() { spl_autoload_unregister(array($this->loader, 'loadClass')); } public function testIdempotence() { DebugClassLoader::enable(); DebugClassLoader::enable(); $functions = spl_autoload_functions(); foreach ($functions as $function) { if (is_array($function) && $function[0] instanceof DebugClassLoader) { $reflClass = new \ReflectionClass($function[0]); $reflProp = $reflClass->getProperty('classFinder'); $reflProp->setAccessible(true); $this->assertNotInstanceOf('Symfony\Component\Debug\DebugClassLoader', $reflProp->getValue($function[0])); DebugClassLoader::disable(); return; } } DebugClassLoader::disable(); $this->fail('DebugClassLoader did not register'); } } class ClassLoader { public function loadClass($class) { } public function findFile($class) { } }
hugosoltys/ephemit
vendor/symfony/symfony/src/Symfony/Component/Debug/Tests/DebugClassLoaderTest.php
PHP
mit
1,601
/** * Copyright <%= year %> Telerik AD * * 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. */ !function(e,define){define([],e)}(function(){return function(e){var t=e.kendo||(e.kendo={cultures:{}});t.cultures.az={name:"az",numberFormat:{pattern:["-n"],decimals:2,",":" ",".":",",groupSize:[3],percent:{pattern:["-n%","n%"],decimals:2,",":" ",".":",",groupSize:[3],symbol:"%"},currency:{pattern:["-n $","n $"],decimals:2,",":" ",".":",",groupSize:[3],symbol:"man."}},calendars:{standard:{days:{names:["Bazar","Bazar ertəsi","Çərşənbə axşamı","Çərşənbə","Cümə axşamı","Cümə","Şənbə"],namesAbbr:["B","Be","Ça","Ç","Ca","C","Ş"],namesShort:["B","Be","Ça","Ç","Ca","C","Ş"]},months:{names:["Yanvar","Fevral","Mart","Aprel","May","İyun","İyul","Avgust","Sentyabr","Oktyabr","Noyabr","Dekabr",""],namesAbbr:["Yan","Fev","Mar","Apr","May","İyun","İyul","Avg","Sen","Okt","Noy","Dek",""]},AM:[""],PM:[""],patterns:{d:"dd.MM.yyyy",D:"d MMMM yyyy",F:"d MMMM yyyy H:mm:ss",g:"dd.MM.yyyy H:mm",G:"dd.MM.yyyy H:mm:ss",m:"d MMMM",M:"d MMMM",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",t:"H:mm",T:"H:mm:ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",y:"MMMM yyyy",Y:"MMMM yyyy"},"/":".",":":":",firstDay:1}}}}(this),window.kendo},"function"==typeof define&&define.amd?define:function(e,t){t()});
honestree/cdnjs
ajax/libs/kendo-ui-core/2014.1.416/js/cultures/kendo.culture.az.min.js
JavaScript
mit
1,806
/** * Copyright <%= year %> Telerik AD * * 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. */ !function(e,define){define([],e)}(function(){return function(e){var t=e.kendo||(e.kendo={cultures:{}});t.cultures["et-EE"]={name:"et-EE",numberFormat:{pattern:["-n"],decimals:2,",":" ",".":",",groupSize:[3],percent:{pattern:["-n%","n%"],decimals:2,",":" ",".":",",groupSize:[3],symbol:"%"},currency:{pattern:["-n $","n $"],decimals:2,",":" ",".":".",groupSize:[3],symbol:"kr"}},calendars:{standard:{days:{names:["pühapäev","esmaspäev","teisipäev","kolmapäev","neljapäev","reede","laupäev"],namesAbbr:["P","E","T","K","N","R","L"],namesShort:["P","E","T","K","N","R","L"]},months:{names:["jaanuar","veebruar","märts","aprill","mai","juuni","juuli","august","september","oktoober","november","detsember",""],namesAbbr:["jaan","veebr","märts","apr","mai","juuni","juuli","aug","sept","okt","nov","dets",""]},AM:["EL","el","EL"],PM:["PL","pl","PL"],patterns:{d:"d.MM.yyyy",D:"d. MMMM yyyy'. a.'",F:"d. MMMM yyyy'. a.' H:mm:ss",g:"d.MM.yyyy H:mm",G:"d.MM.yyyy H:mm:ss",m:"d. MMMM",M:"d. MMMM",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",t:"H:mm",T:"H:mm:ss",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",y:"MMMM yyyy'. a.'",Y:"MMMM yyyy'. a.'"},"/":".",":":":",firstDay:1}}}}(this),window.kendo},"function"==typeof define&&define.amd?define:function(e,t){t()});
lobbin/cdnjs
ajax/libs/kendo-ui-core/2014.1.416/js/cultures/kendo.culture.et-EE.min.js
JavaScript
mit
1,849
/** * Copyright <%= year %> Telerik AD * * 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. */ !function(e,define){define([],e)}(function(){return function(e){var t=e.kendo||(e.kendo={cultures:{}});t.cultures["en-ZW"]={name:"en-ZW",numberFormat:{pattern:["-n"],decimals:2,",":",",".":".",groupSize:[3],percent:{pattern:["-n %","n %"],decimals:2,",":",",".":".",groupSize:[3],symbol:"%"},currency:{pattern:["($n)","$n"],decimals:2,",":",",".":".",groupSize:[3],symbol:"Z$"}},calendars:{standard:{days:{names:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],namesAbbr:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],namesShort:["Su","Mo","Tu","We","Th","Fr","Sa"]},months:{names:["January","February","March","April","May","June","July","August","September","October","November","December",""],namesAbbr:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""]},AM:["AM","am","AM"],PM:["PM","pm","PM"],patterns:{d:"M/d/yyyy",D:"dddd, MMMM dd, yyyy",F:"dddd, MMMM dd, yyyy h:mm:ss tt",g:"M/d/yyyy h:mm tt",G:"M/d/yyyy h:mm:ss tt",m:"MMMM dd",M:"MMMM dd",s:"yyyy'-'MM'-'dd'T'HH':'mm':'ss",t:"h:mm tt",T:"h:mm:ss tt",u:"yyyy'-'MM'-'dd HH':'mm':'ss'Z'",y:"MMMM, yyyy",Y:"MMMM, yyyy"},"/":"/",":":":",firstDay:0}}}}(this),window.kendo},"function"==typeof define&&define.amd?define:function(e,t){t()});
steakknife/cdnjs
ajax/libs/kendo-ui-core/2014.1.416/js/cultures/kendo.culture.en-ZW.min.js
JavaScript
mit
1,841
Ext.define("Ext.data.writer.Writer",{alias:"writer.base",alternateClassName:["Ext.data.DataWriter","Ext.data.Writer"],writeAllFields:true,nameProperty:"name",writeRecordId:true,isWriter:true,constructor:function(a){Ext.apply(this,a)},write:function(e){var c=e.operation,b=c.records||[],a=b.length,d=0,f=[];for(;d<a;d++){f.push(this.getRecordData(b[d],c))}return this.writeRecords(e,f)},getRecordData:function(d,b){var l=d.phantom===true,a=this.writeAllFields||l,g=d.fields,n=g.items,c={},k=d.clientIdProperty,j,i,m,e,h,o;if(a){o=n.length;for(h=0;h<o;h++){i=n[h];if(i.persist){this.writeValue(c,i,d)}}}else{j=d.getChanges();for(m in j){if(j.hasOwnProperty(m)){i=g.get(m);if(i.persist){this.writeValue(c,i,d)}}}}if(l){if(k&&b&&b.records.length>1){c[k]=d.internalId}}else{if(this.writeRecordId){e=g.get(d.idProperty)[this.nameProperty]||d.idProperty;c[e]=d.getId()}}return c},writeValue:function(e,f,b){var c=f[this.nameProperty],a=this.dateFormat||f.dateWriteFormat||f.dateFormat,d=b.get(f.name);if(c==null){c=f.name}if(f.serialize){e[c]=f.serialize(d,b)}else{if(f.type===Ext.data.Types.DATE&&a&&Ext.isDate(d)){e[c]=Ext.Date.format(d,a)}else{e[c]=d}}}});
svenanders/cdnjs
ajax/libs/extjs/4.2.1/src/data/writer/Writer.min.js
JavaScript
mit
1,152
/* AngularJS v1.3.0-beta.11 (c) 2010-2014 Google, Inc. http://angularjs.org License: MIT */ (function(K,S,t){'use strict';function G(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.3.0-beta.11/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+encodeURIComponent("function"==typeof arguments[c]?arguments[c].toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof arguments[c]?"undefined":"string"!=typeof arguments[c]?JSON.stringify(arguments[c]):arguments[c]);return Error(a)}}function hb(b){if(null==b||Da(b))return!1; var a=b.length;return 1===b.nodeType&&a?!0:z(b)||M(b)||0===a||"number"===typeof a&&0<a&&a-1 in b}function q(b,a,c){var d;if(b)if(P(b))for(d in b)"prototype"==d||("length"==d||"name"==d||b.hasOwnProperty&&!b.hasOwnProperty(d))||a.call(c,b[d],d);else if(b.forEach&&b.forEach!==q)b.forEach(a,c);else if(hb(b))for(d=0;d<b.length;d++)a.call(c,b[d],d);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return b}function $b(b){var a=[],c;for(c in b)b.hasOwnProperty(c)&&a.push(c);return a.sort()}function ed(b, a,c){for(var d=$b(b),e=0;e<d.length;e++)a.call(c,b[d[e]],d[e]);return d}function ac(b){return function(a,c){b(c,a)}}function ib(){for(var b=ha.length,a;b;){b--;a=ha[b].charCodeAt(0);if(57==a)return ha[b]="A",ha.join("");if(90==a)ha[b]="0";else return ha[b]=String.fromCharCode(a+1),ha.join("")}ha.unshift("0");return ha.join("")}function bc(b,a){a?b.$$hashKey=a:delete b.$$hashKey}function D(b){var a=b.$$hashKey;q(arguments,function(a){a!==b&&q(a,function(a,c){b[c]=a})});bc(b,a);return b}function W(b){return parseInt(b, 10)}function cc(b,a){return D(new (D(function(){},{prototype:b})),a)}function A(){}function Ea(b){return b}function aa(b){return function(){return b}}function y(b){return"undefined"===typeof b}function F(b){return"undefined"!==typeof b}function Q(b){return null!=b&&"object"===typeof b}function z(b){return"string"===typeof b}function Fa(b){return"number"===typeof b}function oa(b){return"[object Date]"===wa.call(b)}function M(b){return"[object Array]"===wa.call(b)}function P(b){return"function"===typeof b} function jb(b){return"[object RegExp]"===wa.call(b)}function Da(b){return b&&b.document&&b.location&&b.alert&&b.setInterval}function fd(b){return!(!b||!(b.nodeName||b.prop&&b.attr&&b.find))}function gd(b){var a={};b=b.split(",");var c;for(c=0;c<b.length;c++)a[b[c]]=!0;return a}function hd(b,a,c){var d=[];q(b,function(b,f,h){d.push(a.call(c,b,f,h))});return d}function Pa(b,a){if(b.indexOf)return b.indexOf(a);for(var c=0;c<b.length;c++)if(a===b[c])return c;return-1}function Ga(b,a){var c=Pa(b,a);0<= c&&b.splice(c,1);return a}function xa(b,a,c,d){if(Da(b)||b&&b.$evalAsync&&b.$watch)throw Qa("cpws");if(a){if(b===a)throw Qa("cpi");c=c||[];d=d||[];if(Q(b)){var e=Pa(c,b);if(-1!==e)return d[e];c.push(b);d.push(a)}if(M(b))for(var f=a.length=0;f<b.length;f++)e=xa(b[f],null,c,d),Q(b[f])&&(c.push(b[f]),d.push(e)),a.push(e);else{var h=a.$$hashKey;q(a,function(b,c){delete a[c]});for(f in b)e=xa(b[f],null,c,d),Q(b[f])&&(c.push(b[f]),d.push(e)),a[f]=e;bc(a,h)}}else(a=b)&&(M(b)?a=xa(b,[],c,d):oa(b)?a=new Date(b.getTime()): jb(b)?a=RegExp(b.source):Q(b)&&(a=xa(b,{},c,d)));return a}function ia(b,a){if(M(b)){a=a||[];for(var c=0;c<b.length;c++)a[c]=b[c]}else if(Q(b))for(c in a=a||{},b)!Db.call(b,c)||"$"===c.charAt(0)&&"$"===c.charAt(1)||(a[c]=b[c]);return a||b}function ya(b,a){if(b===a)return!0;if(null===b||null===a)return!1;if(b!==b&&a!==a)return!0;var c=typeof b,d;if(c==typeof a&&"object"==c)if(M(b)){if(!M(a))return!1;if((c=b.length)==a.length){for(d=0;d<c;d++)if(!ya(b[d],a[d]))return!1;return!0}}else{if(oa(b))return oa(a)&& b.getTime()==a.getTime();if(jb(b)&&jb(a))return b.toString()==a.toString();if(b&&b.$evalAsync&&b.$watch||a&&a.$evalAsync&&a.$watch||Da(b)||Da(a)||M(a))return!1;c={};for(d in b)if("$"!==d.charAt(0)&&!P(b[d])){if(!ya(b[d],a[d]))return!1;c[d]=!0}for(d in a)if(!c.hasOwnProperty(d)&&"$"!==d.charAt(0)&&a[d]!==t&&!P(a[d]))return!1;return!0}return!1}function dc(){return S.securityPolicy&&S.securityPolicy.isActive||S.querySelector&&!(!S.querySelector("[ng-csp]")&&!S.querySelector("[data-ng-csp]"))}function Eb(b, a){var c=2<arguments.length?pa.call(arguments,2):[];return!P(a)||a instanceof RegExp?a:c.length?function(){return arguments.length?a.apply(b,c.concat(pa.call(arguments,0))):a.apply(b,c)}:function(){return arguments.length?a.apply(b,arguments):a.call(b)}}function id(b,a){var c=a;"string"===typeof b&&"$"===b.charAt(0)&&"$"===b.charAt(1)?c=t:Da(a)?c="$WINDOW":a&&S===a?c="$DOCUMENT":a&&(a.$evalAsync&&a.$watch)&&(c="$SCOPE");return c}function qa(b,a){return"undefined"===typeof b?t:JSON.stringify(b,id, a?" ":null)}function ec(b){return z(b)?JSON.parse(b):b}function Ra(b){"function"===typeof b?b=!0:b&&0!==b.length?(b=r(""+b),b=!("f"==b||"0"==b||"false"==b||"no"==b||"n"==b||"[]"==b)):b=!1;return b}function fa(b){b=w(b).clone();try{b.empty()}catch(a){}var c=w("<div>").append(b).html();try{return 3===b[0].nodeType?r(c):c.match(/^(<[^>]+>)/)[1].replace(/^<([\w\-]+)/,function(a,b){return"<"+r(b)})}catch(d){return r(c)}}function fc(b){try{return decodeURIComponent(b)}catch(a){}}function gc(b){var a={}, c,d;q((b||"").split("&"),function(b){b&&(c=b.split("="),d=fc(c[0]),F(d)&&(b=F(c[1])?fc(c[1]):!0,a[d]?M(a[d])?a[d].push(b):a[d]=[a[d],b]:a[d]=b))});return a}function Fb(b){var a=[];q(b,function(b,d){M(b)?q(b,function(b){a.push(za(d,!0)+(!0===b?"":"="+za(b,!0)))}):a.push(za(d,!0)+(!0===b?"":"="+za(b,!0)))});return a.length?a.join("&"):""}function kb(b){return za(b,!0).replace(/%26/gi,"&").replace(/%3D/gi,"=").replace(/%2B/gi,"+")}function za(b,a){return encodeURIComponent(b).replace(/%40/gi,"@").replace(/%3A/gi, ":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,a?"%20":"+")}function jd(b,a){var c,d,e=hc.length;b=w(b);for(d=0;d<e;++d)if(c=hc[d]+a,z(c=b.attr(c)))return c;return null}function kd(b,a){function c(a){a&&d.push(a)}var d=[b],e,f,h={},g=["ng:app","ng-app","x-ng-app","data-ng-app"],n=/\sng[:\-]app(:\s*([\w\d_]+);?)?\s/;q(g,function(a){g[a]=!0;c(S.getElementById(a));a=a.replace(":","\\:");b.querySelectorAll&&(q(b.querySelectorAll("."+a),c),q(b.querySelectorAll("."+a+"\\:"),c),q(b.querySelectorAll("["+ a+"]"),c))});q(d,function(a){if(!e){var b=n.exec(" "+a.className+" ");b?(e=a,f=(b[2]||"").replace(/\s+/g,",")):q(a.attributes,function(b){!e&&g[b.name]&&(e=a,f=b.value)})}});e&&(h.strictDi=null!==jd(e,"strict-di"),a(e,f?[f]:[],h))}function ic(b,a,c){Q(c)||(c={});c=D({strictDi:!1},c);var d=function(){b=w(b);if(b.injector()){var d=b[0]===S?"document":fa(b);throw Qa("btstrpd",d);}a=a||[];a.unshift(["$provide",function(a){a.value("$rootElement",b)}]);a.unshift("ng");d=Gb(a,c.strictDi);d.invoke(["$rootScope", "$rootElement","$compile","$injector",function(a,b,c,d){a.$apply(function(){b.data("$injector",d);c(b)(a)})}]);return d},e=/^NG_DEFER_BOOTSTRAP!/;if(K&&!e.test(K.name))return d();K.name=K.name.replace(e,"");Sa.resumeBootstrap=function(b){q(b,function(b){a.push(b)});d()}}function lb(b,a){a=a||"_";return b.replace(ld,function(b,d){return(d?a:"")+b.toLowerCase()})}function md(){var b;(ra=K.jQuery)&&ra.fn.on?(w=ra,D(ra.fn,{scope:Ha.scope,isolateScope:Ha.isolateScope,controller:Ha.controller,injector:Ha.injector, inheritedData:Ha.inheritedData}),b=ra.cleanData,b=b.$$original||b,ra.cleanData=function(a){for(var c=0,d;null!=(d=a[c]);c++)ra(d).triggerHandler("$destroy");b(a)},ra.cleanData.$$original=b):w=N;Sa.element=w}function Hb(b,a,c){if(!b)throw Qa("areq",a||"?",c||"required");return b}function Ta(b,a,c){c&&M(b)&&(b=b[b.length-1]);Hb(P(b),a,"not a function, got "+(b&&"object"==typeof b?b.constructor.name||"Object":typeof b));return b}function Aa(b,a){if("hasOwnProperty"===b)throw Qa("badname",a);}function jc(b, a,c){if(!a)return b;a=a.split(".");for(var d,e=b,f=a.length,h=0;h<f;h++)d=a[h],b&&(b=(e=b)[d]);return!c&&P(b)?Eb(e,b):b}function Ib(b){var a=b[0];b=b[b.length-1];if(a===b)return w(a);var c=[a];do{a=a.nextSibling;if(!a)break;c.push(a)}while(a!==b);return w(c)}function nd(b){var a=G("$injector"),c=G("ng");b=b.angular||(b.angular={});b.$$minErr=b.$$minErr||G;return b.module||(b.module=function(){var b={};return function(e,f,h){if("hasOwnProperty"===e)throw c("badname","module");f&&b.hasOwnProperty(e)&& (b[e]=null);return b[e]||(b[e]=function(){function b(a,d,e,f){f||(f=c);return function(){f[e||"push"]([a,d,arguments]);return k}}if(!f)throw a("nomod",e);var c=[],d=[],l=[],p=b("$injector","invoke","push",d),k={_invokeQueue:c,_configBlocks:d,_runBlocks:l,requires:f,name:e,provider:b("$provide","provider"),factory:b("$provide","factory"),service:b("$provide","service"),value:b("$provide","value"),constant:b("$provide","constant","unshift"),animation:b("$animateProvider","register"),filter:b("$filterProvider", "register"),controller:b("$controllerProvider","register"),directive:b("$compileProvider","directive"),config:p,run:function(a){l.push(a);return this}};h&&p(h);return k}())}}())}function od(b){D(b,{bootstrap:ic,copy:xa,extend:D,equals:ya,element:w,forEach:q,injector:Gb,noop:A,bind:Eb,toJson:qa,fromJson:ec,identity:Ea,isUndefined:y,isDefined:F,isString:z,isFunction:P,isObject:Q,isNumber:Fa,isElement:fd,isArray:M,version:pd,isDate:oa,lowercase:r,uppercase:Ia,callbacks:{counter:0},$$minErr:G,$$csp:dc}); Ua=nd(K);try{Ua("ngLocale")}catch(a){Ua("ngLocale",[]).provider("$locale",qd)}Ua("ng",["ngLocale"],["$provide",function(a){a.provider({$$sanitizeUri:rd});a.provider("$compile",kc).directive({a:sd,input:lc,textarea:lc,form:td,script:ud,select:vd,style:wd,option:xd,ngBind:yd,ngBindHtml:zd,ngBindTemplate:Ad,ngClass:Bd,ngClassEven:Cd,ngClassOdd:Dd,ngCloak:Ed,ngController:Fd,ngForm:Gd,ngHide:Hd,ngIf:Id,ngInclude:Jd,ngInit:Kd,ngNonBindable:Ld,ngPluralize:Md,ngRepeat:Nd,ngShow:Od,ngStyle:Pd,ngSwitch:Qd, ngSwitchWhen:Rd,ngSwitchDefault:Sd,ngOptions:Td,ngTransclude:Ud,ngModel:Vd,ngList:Wd,ngChange:Xd,required:mc,ngRequired:mc,ngValue:Yd,ngModelOptions:Zd}).directive({ngInclude:$d}).directive(Jb).directive(nc);a.provider({$anchorScroll:ae,$animate:be,$browser:ce,$cacheFactory:de,$controller:ee,$document:fe,$exceptionHandler:ge,$filter:oc,$interpolate:he,$interval:ie,$http:je,$httpBackend:ke,$location:le,$log:me,$parse:ne,$rootScope:oe,$q:pe,$sce:qe,$sceDelegate:re,$sniffer:se,$templateCache:te,$timeout:ue, $window:ve,$$rAF:we,$$asyncCallback:xe})}])}function Va(b){return b.replace(ye,function(a,b,d,e){return e?d.toUpperCase():d}).replace(ze,"Moz$1")}function Ae(b,a){var c,d,e=a.createDocumentFragment(),f=[];if(Kb.test(b)){c=c||e.appendChild(a.createElement("div"));d=(Be.exec(b)||["",""])[1].toLowerCase();d=ba[d]||ba._default;c.innerHTML=d[1]+b.replace(Ce,"<$1></$2>")+d[2];for(d=d[0];d--;)c=c.lastChild;f=f.concat(pa.call(c.childNodes,void 0));c=e.firstChild;c.textContent=""}else f.push(a.createTextNode(b)); e.textContent="";e.innerHTML="";q(f,function(a){e.appendChild(a)});return e}function N(b){if(b instanceof N)return b;z(b)&&(b=Y(b));if(!(this instanceof N)){if(z(b)&&"<"!=b.charAt(0))throw Lb("nosel");return new N(b)}if(z(b)){var a;a=S;var c;b=(c=De.exec(b))?[a.createElement(c[1])]:(c=Ae(b,a))?c.childNodes:[]}pc(this,b)}function Mb(b){return b.cloneNode(!0)}function Ja(b){qc(b);var a=0;for(b=b.childNodes||[];a<b.length;a++)Ja(b[a])}function rc(b,a,c,d){if(F(d))throw Lb("offargs");var e=ja(b,"events"); ja(b,"handle")&&(y(a)?q(e,function(a,c){Wa(b,c,a);delete e[c]}):q(a.split(" "),function(a){y(c)?(Wa(b,a,e[a]),delete e[a]):Ga(e[a]||[],c)}))}function qc(b,a){var c=b[mb],d=Xa[c];d&&(a?delete Xa[c].data[a]:(d.handle&&(d.events.$destroy&&d.handle({},"$destroy"),rc(b)),delete Xa[c],b[mb]=t))}function ja(b,a,c){var d=b[mb],d=Xa[d||-1];if(F(c))d||(b[mb]=d=++Ee,d=Xa[d]={}),d[a]=c;else return d&&d[a]}function sc(b,a,c){var d=ja(b,"data"),e=F(c),f=!e&&F(a),h=f&&!Q(a);d||h||ja(b,"data",d={});if(e)d[a]=c;else if(f){if(h)return d&& d[a];D(d,a)}else return d}function Nb(b,a){return b.getAttribute?-1<(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").indexOf(" "+a+" "):!1}function nb(b,a){a&&b.setAttribute&&q(a.split(" "),function(a){b.setAttribute("class",Y((" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ").replace(" "+Y(a)+" "," ")))})}function ob(b,a){if(a&&b.setAttribute){var c=(" "+(b.getAttribute("class")||"")+" ").replace(/[\n\t]/g," ");q(a.split(" "),function(a){a=Y(a);-1===c.indexOf(" "+a+" ")&& (c+=a+" ")});b.setAttribute("class",Y(c))}}function pc(b,a){if(a){a=a.nodeName||!F(a.length)||Da(a)?[a]:a;for(var c=0;c<a.length;c++)b.push(a[c])}}function tc(b,a){return pb(b,"$"+(a||"ngController")+"Controller")}function pb(b,a,c){b=w(b);9==b[0].nodeType&&(b=b.find("html"));for(a=M(a)?a:[a];b.length;){for(var d=b[0],e=0,f=a.length;e<f;e++)if((c=b.data(a[e]))!==t)return c;b=w(d.parentNode||11===d.nodeType&&d.host)}}function uc(b){for(var a=0,c=b.childNodes;a<c.length;a++)Ja(c[a]);for(;b.firstChild;)b.removeChild(b.firstChild)} function vc(b,a){var c=qb[a.toLowerCase()];return c&&wc[b.nodeName]&&c}function Fe(b,a){var c=function(c,e){c.preventDefault||(c.preventDefault=function(){c.returnValue=!1});c.stopPropagation||(c.stopPropagation=function(){c.cancelBubble=!0});c.target||(c.target=c.srcElement||S);if(y(c.defaultPrevented)){var f=c.preventDefault;c.preventDefault=function(){c.defaultPrevented=!0;f.call(c)};c.defaultPrevented=!1}c.isDefaultPrevented=function(){return c.defaultPrevented||!1===c.returnValue};var h=ia(a[e|| c.type]||[]);q(h,function(a){a.call(b,c)});8>=T?(c.preventDefault=null,c.stopPropagation=null,c.isDefaultPrevented=null):(delete c.preventDefault,delete c.stopPropagation,delete c.isDefaultPrevented)};c.elem=b;return c}function Ka(b){var a=typeof b,c;"object"==a&&null!==b?"function"==typeof(c=b.$$hashKey)?c=b.$$hashKey():c===t&&(c=b.$$hashKey=ib()):c=b;return a+":"+c}function Ya(b){q(b,this.put,this)}function Ge(b){return(b=b.toString().replace(xc,"").match(yc))?"function("+(b[1]||"").replace(/[\s\r\n]+/, " ")+")":"fn"}function Ob(b,a,c){var d;if("function"==typeof b){if(!(d=b.$inject)){d=[];if(b.length){if(a)throw z(c)&&c||(c=b.name||Ge(b)),La("strictdi",c);a=b.toString().replace(xc,"");a=a.match(yc);q(a[1].split(He),function(a){a.replace(Ie,function(a,b,c){d.push(c)})})}b.$inject=d}}else M(b)?(a=b.length-1,Ta(b[a],"fn"),d=b.slice(0,a)):Ta(b,"fn",!0);return d}function Gb(b,a){function c(a){return function(b,c){if(Q(b))q(b,ac(a));else return a(b,c)}}function d(a,b){Aa(a,"service");if(P(b)||M(b))b= k.instantiate(b);if(!b.$get)throw La("pget",a);return p[a+n]=b}function e(a,b){return d(a,{$get:b})}function f(a){var b=[],c;q(a,function(a){function d(a){var b,c;b=0;for(c=a.length;b<c;b++){var e=a[b],f=k.get(e[0]);f[e[1]].apply(f,e[2])}}if(!l.get(a)){l.put(a,!0);try{z(a)?(c=Ua(a),b=b.concat(f(c.requires)).concat(c._runBlocks),d(c._invokeQueue),d(c._configBlocks)):P(a)?b.push(k.invoke(a)):M(a)?b.push(k.invoke(a)):Ta(a,"module")}catch(e){throw M(a)&&(a=a[a.length-1]),e.message&&(e.stack&&-1==e.stack.indexOf(e.message))&& (e=e.message+"\n"+e.stack),La("modulerr",a,e.stack||e.message||e);}}});return b}function h(b,c){function d(a){if(b.hasOwnProperty(a)){if(b[a]===g)throw La("cdep",m.join(" <- "));return b[a]}try{return m.unshift(a),b[a]=g,b[a]=c(a)}catch(e){throw b[a]===g&&delete b[a],e;}finally{m.shift()}}function e(b,c,f,g){"string"===typeof f&&(g=f,f=null);var h=[];g=Ob(b,a,g);var n,l,s;l=0;for(n=g.length;l<n;l++){s=g[l];if("string"!==typeof s)throw La("itkn",s);h.push(f&&f.hasOwnProperty(s)?f[s]:d(s))}b.$inject|| (b=b[n]);return b.apply(c,h)}return{invoke:e,instantiate:function(a,b,c){var d=function(){};d.prototype=(M(a)?a[a.length-1]:a).prototype;d=new d;a=e(a,d,b,c);return Q(a)||P(a)?a:d},get:d,annotate:Ob,has:function(a){return p.hasOwnProperty(a+n)||b.hasOwnProperty(a)}}}a=!0===a;var g={},n="Provider",m=[],l=new Ya,p={$provide:{provider:c(d),factory:c(e),service:c(function(a,b){return e(a,["$injector",function(a){return a.instantiate(b)}])}),value:c(function(a,b){return e(a,aa(b))}),constant:c(function(a, b){Aa(a,"constant");p[a]=b;s[a]=b}),decorator:function(a,b){var c=k.get(a+n),d=c.$get;c.$get=function(){var a=C.invoke(d,c);return C.invoke(b,null,{$delegate:a})}}}},k=p.$injector=h(p,function(){throw La("unpr",m.join(" <- "));},a),s={},C=s.$injector=h(s,function(a){var b=k.get(a+n);return C.invoke(b.$get,b,t,a)},a);q(f(b),function(a){C.invoke(a||A)});return C}function ae(){var b=!0;this.disableAutoScrolling=function(){b=!1};this.$get=["$window","$location","$rootScope",function(a,c,d){function e(a){var b= null;q(a,function(a){b||"a"!==r(a.nodeName)||(b=a)});return b}function f(){var b=c.hash(),d;b?(d=h.getElementById(b))?d.scrollIntoView():(d=e(h.getElementsByName(b)))?d.scrollIntoView():"top"===b&&a.scrollTo(0,0):a.scrollTo(0,0)}var h=a.document;b&&d.$watch(function(){return c.hash()},function(){d.$evalAsync(f)});return f}]}function xe(){this.$get=["$$rAF","$timeout",function(b,a){return b.supported?function(a){return b(a)}:function(b){return a(b,0,!1)}}]}function Je(b,a,c,d){function e(a){try{a.apply(null, pa.call(arguments,1))}finally{if(C--,0===C)for(;L.length;)try{L.pop()()}catch(b){c.error(b)}}}function f(a,b){(function Ke(){q(x,function(a){a()});I=b(Ke,a)})()}function h(){v=null;u!=g.url()&&(u=g.url(),q(V,function(a){a(g.url())}))}var g=this,n=a[0],m=b.location,l=b.history,p=b.setTimeout,k=b.clearTimeout,s={};g.isMock=!1;var C=0,L=[];g.$$completeOutstandingRequest=e;g.$$incOutstandingRequestCount=function(){C++};g.notifyWhenNoOutstandingRequests=function(a){q(x,function(a){a()});0===C?a():L.push(a)}; var x=[],I;g.addPollFn=function(a){y(I)&&f(100,p);x.push(a);return a};var u=m.href,E=a.find("base"),v=null;g.url=function(a,c){m!==b.location&&(m=b.location);l!==b.history&&(l=b.history);if(a){if(u!=a)return u=a,d.history?c?l.replaceState(null,"",a):(l.pushState(null,"",a),E.attr("href",E.attr("href"))):(v=a,c?m.replace(a):m.href=a),g}else return v||m.href.replace(/%27/g,"'")};var V=[],O=!1;g.onUrlChange=function(a){if(!O){if(d.history)w(b).on("popstate",h);if(d.hashchange)w(b).on("hashchange",h); else g.addPollFn(h);O=!0}V.push(a);return a};g.baseHref=function(){var a=E.attr("href");return a?a.replace(/^(https?\:)?\/\/[^\/]*/,""):""};var R={},U="",ca=g.baseHref();g.cookies=function(a,b){var d,e,f,g;if(a)b===t?n.cookie=escape(a)+"=;path="+ca+";expires=Thu, 01 Jan 1970 00:00:00 GMT":z(b)&&(d=(n.cookie=escape(a)+"="+escape(b)+";path="+ca).length+1,4096<d&&c.warn("Cookie '"+a+"' possibly not set or overflowed because it was too large ("+d+" > 4096 bytes)!"));else{if(n.cookie!==U)for(U=n.cookie, d=U.split("; "),R={},f=0;f<d.length;f++)e=d[f],g=e.indexOf("="),0<g&&(a=unescape(e.substring(0,g)),R[a]===t&&(R[a]=unescape(e.substring(g+1))));return R}};g.defer=function(a,b){var c;C++;c=p(function(){delete s[c];e(a)},b||0);s[c]=!0;return c};g.defer.cancel=function(a){return s[a]?(delete s[a],k(a),e(A),!0):!1}}function ce(){this.$get=["$window","$log","$sniffer","$document",function(b,a,c,d){return new Je(b,d,a,c)}]}function de(){this.$get=function(){function b(b,d){function e(a){a!=p&&(k?k==a&& (k=a.n):k=a,f(a.n,a.p),f(a,p),p=a,p.n=null)}function f(a,b){a!=b&&(a&&(a.p=b),b&&(b.n=a))}if(b in a)throw G("$cacheFactory")("iid",b);var h=0,g=D({},d,{id:b}),n={},m=d&&d.capacity||Number.MAX_VALUE,l={},p=null,k=null;return a[b]={put:function(a,b){if(m<Number.MAX_VALUE){var c=l[a]||(l[a]={key:a});e(c)}if(!y(b))return a in n||h++,n[a]=b,h>m&&this.remove(k.key),b},get:function(a){if(m<Number.MAX_VALUE){var b=l[a];if(!b)return;e(b)}return n[a]},remove:function(a){if(m<Number.MAX_VALUE){var b=l[a];if(!b)return; b==p&&(p=b.p);b==k&&(k=b.n);f(b.n,b.p);delete l[a]}delete n[a];h--},removeAll:function(){n={};h=0;l={};p=k=null},destroy:function(){l=g=n=null;delete a[b]},info:function(){return D({},g,{size:h})}}}var a={};b.info=function(){var b={};q(a,function(a,e){b[e]=a.info()});return b};b.get=function(b){return a[b]};return b}}function te(){this.$get=["$cacheFactory",function(b){return b("templates")}]}function kc(b,a){var c={},d="Directive",e=/^\s*directive\:\s*([\d\w_\-]+)\s+(.*)$/,f=/(([\d\w_\-]+)(?:\:([^;]+))?;?)/, h=gd("ngSrc,ngSrcset,src,srcset"),g=/^(on[a-z]+|formaction)$/;this.directive=function m(a,e){Aa(a,"directive");z(a)?(Hb(e,"directiveFactory"),c.hasOwnProperty(a)||(c[a]=[],b.factory(a+d,["$injector","$exceptionHandler",function(b,d){var e=[];q(c[a],function(c,f){try{var g=b.invoke(c);P(g)?g={compile:aa(g)}:!g.compile&&g.link&&(g.compile=aa(g.link));g.priority=g.priority||0;g.index=f;g.name=g.name||a;g.require=g.require||g.controller&&g.name;g.restrict=g.restrict||"A";e.push(g)}catch(h){d(h)}});return e}])), c[a].push(e)):q(a,ac(m));return this};this.aHrefSanitizationWhitelist=function(b){return F(b)?(a.aHrefSanitizationWhitelist(b),this):a.aHrefSanitizationWhitelist()};this.imgSrcSanitizationWhitelist=function(b){return F(b)?(a.imgSrcSanitizationWhitelist(b),this):a.imgSrcSanitizationWhitelist()};this.$get=["$injector","$interpolate","$exceptionHandler","$http","$templateCache","$parse","$controller","$rootScope","$document","$sce","$animate","$$sanitizeUri",function(a,b,p,k,s,C,L,x,I,u,E,v){function V(a, b,c,d,e){a instanceof w||(a=w(a));q(a,function(b,c){3==b.nodeType&&b.nodeValue.match(/\S+/)&&(a[c]=w(b).wrap("<span></span>").parent()[0])});var f=R(a,b,a,c,d,e);O(a,"ng-scope");return function(b,c,d,e){Hb(b,"scope");var g=c?Ha.clone.call(a):a;q(d,function(a,b){g.data("$"+b+"Controller",a)});d=0;for(var h=g.length;d<h;d++){var l=g[d].nodeType;1!==l&&9!==l||g.eq(d).data("$scope",b)}c&&c(g,b);f&&f(b,g,g,e);return g}}function O(a,b){try{a.addClass(b)}catch(c){}}function R(a,b,c,d,e,f){function g(a,c, d,e){var f,l,k,m,p,s,I;f=c.length;var x=Array(f);for(p=0;p<f;p++)x[p]=c[p];I=p=0;for(s=h.length;p<s;I++)l=x[I],c=h[p++],f=h[p++],k=w(l),c?(c.scope?(m=a.$new(),k.data("$scope",m)):m=a,k=c.transcludeOnThisElement?U(a,c.transclude,e):!c.templateOnThisElement&&e?e:!e&&b?U(a,b):null,c(f,m,l,d,k)):f&&f(a,l.childNodes,t,e)}for(var h=[],l,k,m,s,p=0;p<a.length;p++)l=new Pb,k=ca(a[p],[],l,0===p?d:t,e),(f=k.length?J(k,a[p],l,b,c,null,[],[],f):null)&&f.scope&&O(w(a[p]),"ng-scope"),l=f&&f.terminal||!(m=a[p].childNodes)|| !m.length?null:R(m,f?(f.transcludeOnThisElement||!f.templateOnThisElement)&&f.transclude:b),h.push(f,l),s=s||f||l,f=null;return s?g:null}function U(a,b,c){return function(d,e,f){var g=!1;d||(d=a.$new(),g=d.$$transcluded=!0);e=b(d,e,f,c);if(g)e.on("$destroy",function(){d.$destroy()});return e}}function ca(a,b,c,d,g){var h=c.$attr,l;switch(a.nodeType){case 1:sa(b,la(Ma(a).toLowerCase()),"E",d,g);var k,m,p;l=a.attributes;for(var s=0,I=l&&l.length;s<I;s++){var x=!1,C=!1;k=l[s];if(!T||8<=T||k.specified){m= k.name;p=la(m);Ba.test(p)&&(m=lb(p.substr(6),"-"));var u=p.replace(/(Start|End)$/,"");p===u+"Start"&&(x=m,C=m.substr(0,m.length-5)+"end",m=m.substr(0,m.length-6));p=la(m.toLowerCase());h[p]=m;c[p]=k=Y(k.value);vc(a,p)&&(c[p]=!0);Na(a,b,k,p);sa(b,p,"A",d,g,x,C)}}a=a.className;if(z(a)&&""!==a)for(;l=f.exec(a);)p=la(l[2]),sa(b,p,"C",d,g)&&(c[p]=Y(l[3])),a=a.substr(l.index+l[0].length);break;case 3:G(b,a.nodeValue);break;case 8:try{if(l=e.exec(a.nodeValue))p=la(l[1]),sa(b,p,"M",d,g)&&(c[p]=Y(l[2]))}catch(L){}}b.sort(y); return b}function B(a,b,c){var d=[],e=0;if(b&&a.hasAttribute&&a.hasAttribute(b)){do{if(!a)throw ga("uterdir",b,c);1==a.nodeType&&(a.hasAttribute(b)&&e++,a.hasAttribute(c)&&e--);d.push(a);a=a.nextSibling}while(0<e)}else d.push(a);return w(d)}function X(a,b,c){return function(d,e,f,g,h){e=B(e[0],b,c);return a(d,e,f,g,h)}}function J(a,c,d,e,f,g,h,m,k){function s(a,b,c,d){if(a){c&&(a=X(a,c,d));a.require=H.require;a.directiveName=D;if(v===H||H.$$isolateScope)a=Ac(a,{isolateScope:!0});h.push(a)}if(b){c&& (b=X(b,c,d));b.require=H.require;b.directiveName=D;if(v===H||H.$$isolateScope)b=Ac(b,{isolateScope:!0});m.push(b)}}function I(a,b,c,d){var e,f="data",g=!1;if(z(b)){for(;"^"==(e=b.charAt(0))||"?"==e;)b=b.substr(1),"^"==e&&(f="inheritedData"),g=g||"?"==e;e=null;d&&"data"===f&&(e=d[b]);e=e||c[f]("$"+b+"Controller");if(!e&&!g)throw ga("ctreq",b,a);}else M(b)&&(e=[],q(b,function(b){e.push(I(a,b,c,d))}));return e}function x(a,e,f,g,k){function s(a,b){var c;2>arguments.length&&(b=a,a=t);Na&&(c=ca);return k(a, b,c)}var u,E,zc,B,V,J,ca={},X;u=c===f?d:ia(d,new Pb(w(f),d.$attr));E=u.$$element;if(v){var ka=/^\s*([@=&])(\??)\s*(\w*)\s*$/;g=w(f);J=e.$new(!0);!R||R!==v&&R!==v.$$originalDirective?g.data("$isolateScopeNoTemplate",J):g.data("$isolateScope",J);O(g,"ng-isolate-scope");q(v.scope,function(a,c){var d=a.match(ka)||[],f=d[3]||c,g="?"==d[2],d=d[1],h,k,p,m;J.$$isolateBindings[c]=d+f;switch(d){case "@":u.$observe(f,function(a){J[c]=a});u.$$observers[f].$$scope=e;u[f]&&(J[c]=b(u[f])(e));break;case "=":if(g&& !u[f])break;k=C(u[f]);m=k.literal?ya:function(a,b){return a===b};p=k.assign||function(){h=J[c]=k(e);throw ga("nonassign",u[f],v.name);};h=J[c]=k(e);J.$watch(function Me(){var a=k(e);m(a,J[c])||(m(a,h)?p(e,a=J[c]):J[c]=a);Me.$$unwatch=k.$$unwatch;return h=a},null,k.literal);break;case "&":k=C(u[f]);J[c]=function(a){return k(e,a)};break;default:throw ga("iscp",v.name,c,a);}})}X=k&&s;U&&q(U,function(a){var b={$scope:a===v||a.$$isolateScope?J:e,$element:E,$attrs:u,$transclude:X},c;V=a.controller;"@"== V&&(V=u[a.name]);c=L(V,b);ca[a.name]=c;Na||E.data("$"+a.name+"Controller",c);a.controllerAs&&(b.$scope[a.controllerAs]=c)});g=0;for(zc=h.length;g<zc;g++)try{B=h[g],B(B.isolateScope?J:e,E,u,B.require&&I(B.directiveName,B.require,E,ca),X)}catch(Le){p(Le,fa(E))}g=e;v&&(v.template||null===v.templateUrl)&&(g=J);a&&a(g,f.childNodes,t,k);for(g=m.length-1;0<=g;g--)try{B=m[g],B(B.isolateScope?J:e,E,u,B.require&&I(B.directiveName,B.require,E,ca),X)}catch(r){p(r,fa(E))}}k=k||{};for(var u=-Number.MAX_VALUE,E, U=k.controllerDirectives,v=k.newIsolateScopeDirective,R=k.templateDirective,J=k.nonTlbTranscludeDirective,sa=!1,ab=!1,Na=k.hasElementTranscludeDirective,y=d.$$element=w(c),H,D,r,Za=e,G,K=0,N=a.length;K<N;K++){H=a[K];var Ba=H.$$start,rb=H.$$end;Ba&&(y=B(c,Ba,rb));r=t;if(u>H.priority)break;if(r=H.scope)E=E||H,H.templateUrl||($a("new/isolated scope",v,H,y),Q(r)&&(v=H));D=H.name;!H.templateUrl&&H.controller&&(r=H.controller,U=U||{},$a("'"+D+"' controller",U[D],H,y),U[D]=H);if(r=H.transclude)sa=!0,H.$$tlb|| ($a("transclusion",J,H,y),J=H),"element"==r?(Na=!0,u=H.priority,r=B(c,Ba,rb),y=d.$$element=w(S.createComment(" "+D+": "+d[D]+" ")),c=y[0],sb(f,w(pa.call(r,0)),c),Za=V(r,e,u,g&&g.name,{nonTlbTranscludeDirective:J})):(r=w(Mb(c)).contents(),y.empty(),Za=V(r,e));if(H.template)if(ab=!0,$a("template",R,H,y),R=H,r=P(H.template)?H.template(y,d):H.template,r=Bc(r),H.replace){g=H;r=Kb.test(r)?w(Cc(H.type,Y(r))):[];c=r[0];if(1!=r.length||1!==c.nodeType)throw ga("tplrt",D,"");sb(f,y,c);N={$attr:{}};r=ca(c,[], N);var T=a.splice(K+1,a.length-(K+1));v&&F(r);a=a.concat(r).concat(T);ka(d,N);N=a.length}else y.html(r);if(H.templateUrl)ab=!0,$a("template",R,H,y),R=H,H.replace&&(g=H),x=A(a.splice(K,a.length-K),y,d,f,sa&&Za,h,m,{controllerDirectives:U,newIsolateScopeDirective:v,templateDirective:R,nonTlbTranscludeDirective:J}),N=a.length;else if(H.compile)try{G=H.compile(y,d,Za),P(G)?s(null,G,Ba,rb):G&&s(G.pre,G.post,Ba,rb)}catch(W){p(W,fa(y))}H.terminal&&(x.terminal=!0,u=Math.max(u,H.priority))}x.scope=E&&!0=== E.scope;x.transcludeOnThisElement=sa;x.templateOnThisElement=ab;x.transclude=Za;k.hasElementTranscludeDirective=Na;return x}function F(a){for(var b=0,c=a.length;b<c;b++)a[b]=cc(a[b],{$$isolateScope:!0})}function sa(b,e,f,g,h,k,l){if(e===h)return null;h=null;if(c.hasOwnProperty(e)){var s;e=a.get(e+d);for(var I=0,x=e.length;I<x;I++)try{s=e[I],(g===t||g>s.priority)&&-1!=s.restrict.indexOf(f)&&(k&&(s=cc(s,{$$start:k,$$end:l})),b.push(s),h=s)}catch(u){p(u)}}return h}function ka(a,b){var c=b.$attr,d=a.$attr, e=a.$$element;q(a,function(d,e){"$"!=e.charAt(0)&&(b[e]&&b[e]!==d&&(d+=("style"===e?";":" ")+b[e]),a.$set(e,d,!0,c[e]))});q(b,function(b,f){"class"==f?(O(e,b),a["class"]=(a["class"]?a["class"]+" ":"")+b):"style"==f?(e.attr("style",e.attr("style")+";"+b),a.style=(a.style?a.style+";":"")+b):"$"==f.charAt(0)||a.hasOwnProperty(f)||(a[f]=b,d[f]=c[f])})}function A(a,b,c,d,e,f,g,h){var l=[],p,m,I=b[0],x=a.shift(),C=D({},x,{templateUrl:null,transclude:null,replace:null,$$originalDirective:x}),L=P(x.templateUrl)? x.templateUrl(b,c):x.templateUrl,E=x.type;b.empty();k.get(u.getTrustedResourceUrl(L),{cache:s}).success(function(k){var s,u;k=Bc(k);if(x.replace){k=Kb.test(k)?w(Cc(E,Y(k))):[];s=k[0];if(1!=k.length||1!==s.nodeType)throw ga("tplrt",x.name,L);k={$attr:{}};sb(d,b,s);var v=ca(s,[],k);Q(x.scope)&&F(v);a=v.concat(a);ka(c,k)}else s=I,b.html(k);a.unshift(C);p=J(a,s,c,e,b,x,f,g,h);q(d,function(a,c){a==s&&(d[c]=b[0])});for(m=R(b[0].childNodes,e);l.length;){k=l.shift();u=l.shift();var B=l.shift(),V=l.shift(), v=b[0];if(u!==I){var X=u.className;h.hasElementTranscludeDirective&&x.replace||(v=Mb(s));sb(B,w(u),v);O(w(v),X)}u=p.transcludeOnThisElement?U(k,p.transclude,V):V;p(m,k,v,d,u)}l=null}).error(function(a,b,c,d){throw ga("tpload",d.url);});return function(a,b,c,d,e){l?(l.push(b),l.push(c),l.push(d),l.push(e)):p(m,b,c,d,e)}}function y(a,b){var c=b.priority-a.priority;return 0!==c?c:a.name!==b.name?a.name<b.name?-1:1:a.index-b.index}function $a(a,b,c,d){if(b)throw ga("multidir",b.name,c.name,a,fa(d));} function G(a,c){var d=b(c,!0);d&&a.push({priority:0,compile:aa(function(a,e){var f=e.parent(),g=f.data("$binding")||[];d=b(c);g.push(d);O(f.data("$binding",g),"ng-binding");a.$watch(d,function(a){e[0].nodeValue=a})})})}function Cc(a,b){a=r(a||"html");switch(a){case "svg":case "math":var c=S.createElement("div");c.innerHTML="<"+a+">"+b+"</"+a+">";return c.childNodes[0].childNodes;default:return b}}function ab(a,b){if("srcdoc"==b)return u.HTML;var c=Ma(a);if("xlinkHref"==b||"FORM"==c&&"action"==b|| "IMG"!=c&&("src"==b||"ngSrc"==b))return u.RESOURCE_URL}function Na(a,c,d,e){var f=b(d,!0);if(f){if("multiple"===e&&"SELECT"===Ma(a))throw ga("selmulti",fa(a));c.push({priority:100,compile:function(){return{pre:function(c,d,k){d=k.$$observers||(k.$$observers={});if(g.test(e))throw ga("nodomevents");if(f=b(k[e],!0,ab(a,e),h[e]))k[e]=f(c),(d[e]||(d[e]=[])).$$inter=!0,(k.$$observers&&k.$$observers[e].$$scope||c).$watch(f,function(a,b){"class"===e&&a!=b?k.$updateClass(a,b):k.$set(e,a)})}}}})}}function sb(a, b,c){var d=b[0],e=b.length,f=d.parentNode,g,h;if(a)for(g=0,h=a.length;g<h;g++)if(a[g]==d){a[g++]=c;h=g+e-1;for(var k=a.length;g<k;g++,h++)h<k?a[g]=a[h]:delete a[g];a.length-=e-1;break}f&&f.replaceChild(c,d);a=S.createDocumentFragment();a.appendChild(d);c[w.expando]=d[w.expando];d=1;for(e=b.length;d<e;d++)f=b[d],w(f).remove(),a.appendChild(f),delete b[d];b[0]=c;b.length=1}function Ac(a,b){return D(function(){return a.apply(null,arguments)},a,b)}var Pb=function(a,b){this.$$element=a;this.$attr=b||{}}; Pb.prototype={$normalize:la,$addClass:function(a){a&&0<a.length&&E.addClass(this.$$element,a)},$removeClass:function(a){a&&0<a.length&&E.removeClass(this.$$element,a)},$updateClass:function(a,b){var c=Dc(a,b),d=Dc(b,a);0===c.length?E.removeClass(this.$$element,d):0===d.length?E.addClass(this.$$element,c):E.setClass(this.$$element,c,d)},$set:function(a,b,c,d){var e=vc(this.$$element[0],a);e&&(this.$$element.prop(a,b),d=e);this[a]=b;d?this.$attr[a]=d:(d=this.$attr[a])||(this.$attr[a]=d=lb(a,"-"));e= Ma(this.$$element);if("A"===e&&"href"===a||"IMG"===e&&"src"===a)this[a]=b=v(b,"src"===a);!1!==c&&(null===b||b===t?this.$$element.removeAttr(d):this.$$element.attr(d,b));(c=this.$$observers)&&q(c[a],function(a){try{a(b)}catch(c){p(c)}})},$observe:function(a,b){var c=this,d=c.$$observers||(c.$$observers={}),e=d[a]||(d[a]=[]);e.push(b);x.$evalAsync(function(){e.$$inter||b(c[a])});return function(){Ga(e,b)}}};var K=b.startSymbol(),N=b.endSymbol(),Bc="{{"==K||"}}"==N?Ea:function(a){return a.replace(/\{\{/g, K).replace(/}}/g,N)},Ba=/^ngAttr[A-Z]/;return V}]}function la(b){return Va(b.replace(Ne,""))}function Dc(b,a){var c="",d=b.split(/\s+/),e=a.split(/\s+/),f=0;a:for(;f<d.length;f++){for(var h=d[f],g=0;g<e.length;g++)if(h==e[g])continue a;c+=(0<c.length?" ":"")+h}return c}function ee(){var b={},a=/^(\S+)(\s+as\s+(\w+))?$/;this.register=function(a,d){Aa(a,"controller");Q(a)?D(b,a):b[a]=d};this.$get=["$injector","$window",function(c,d){return function(e,f){var h,g,n;z(e)&&(h=e.match(a),g=h[1],n=h[3],e= b.hasOwnProperty(g)?b[g]:jc(f.$scope,g,!0)||jc(d,g,!0),Ta(e,g,!0));h=c.instantiate(e,f,g);if(n){if(!f||"object"!=typeof f.$scope)throw G("$controller")("noscp",g||e.name,n);f.$scope[n]=h}return h}}]}function fe(){this.$get=["$window",function(b){return w(b.document)}]}function ge(){this.$get=["$log",function(b){return function(a,c){b.error.apply(b,arguments)}}]}function Ec(b){var a={},c,d,e;if(!b)return a;q(b.split("\n"),function(b){e=b.indexOf(":");c=r(Y(b.substr(0,e)));d=Y(b.substr(e+1));c&&(a[c]= a[c]?a[c]+(", "+d):d)});return a}function Fc(b){var a=Q(b)?b:t;return function(c){a||(a=Ec(b));return c?a[r(c)]||null:a}}function Gc(b,a,c){if(P(c))return c(b,a);q(c,function(c){b=c(b,a)});return b}function je(){var b=/^\s*(\[|\{[^\{])/,a=/[\}\]]\s*$/,c=/^\)\]\}',?\n/,d={"Content-Type":"application/json;charset=utf-8"},e=this.defaults={transformResponse:[function(d){z(d)&&(d=d.replace(c,""),b.test(d)&&a.test(d)&&(d=ec(d)));return d}],transformRequest:[function(a){return Q(a)&&"[object File]"!==wa.call(a)&& "[object Blob]"!==wa.call(a)?qa(a):a}],headers:{common:{Accept:"application/json, text/plain, */*"},post:ia(d),put:ia(d),patch:ia(d)},xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN"},f=this.interceptors=[];this.$get=["$httpBackend","$browser","$cacheFactory","$rootScope","$q","$injector",function(a,b,c,d,l,p){function k(a){function c(a){var b=D({},a,{data:Gc(a.data,a.headers,d.transformResponse)});return 200<=a.status&&300>a.status?b:l.reject(b)}var d={method:"get",transformRequest:e.transformRequest, transformResponse:e.transformResponse},f=function(a){function b(a){var c;q(a,function(b,d){P(b)&&(c=b(),null!=c?a[d]=c:delete a[d])})}var c=e.headers,d=D({},a.headers),f,g,c=D({},c.common,c[r(a.method)]);b(c);b(d);a:for(f in c){a=r(f);for(g in d)if(r(g)===a)continue a;d[f]=c[f]}return d}(a);D(d,a);d.headers=f;d.method=Ia(d.method);(a=Qb(d.url)?b.cookies()[d.xsrfCookieName||e.xsrfCookieName]:t)&&(f[d.xsrfHeaderName||e.xsrfHeaderName]=a);var h=[function(a){f=a.headers;var b=Gc(a.data,Fc(f),a.transformRequest); y(a.data)&&q(f,function(a,b){"content-type"===r(b)&&delete f[b]});y(a.withCredentials)&&!y(e.withCredentials)&&(a.withCredentials=e.withCredentials);return s(a,b,f).then(c,c)},t],k=l.when(d);for(q(x,function(a){(a.request||a.requestError)&&h.unshift(a.request,a.requestError);(a.response||a.responseError)&&h.push(a.response,a.responseError)});h.length;){a=h.shift();var n=h.shift(),k=k.then(a,n)}k.success=function(a){k.then(function(b){a(b.data,b.status,b.headers,d)});return k};k.error=function(a){k.then(null, function(b){a(b.data,b.status,b.headers,d)});return k};return k}function s(b,c,f){function g(a,b,c,e){q&&(200<=a&&300>a?q.put(X,[a,b,Ec(c),e]):q.remove(X));n(b,a,c,e);d.$$phase||d.$apply()}function n(a,c,d,e){c=Math.max(c,0);(200<=c&&300>c?s.resolve:s.reject)({data:a,status:c,headers:Fc(d),config:b,statusText:e})}function p(){var a=Pa(k.pendingRequests,b);-1!==a&&k.pendingRequests.splice(a,1)}var s=l.defer(),x=s.promise,q,B,X=C(b.url,b.params);k.pendingRequests.push(b);x.then(p,p);(b.cache||e.cache)&& (!1!==b.cache&&"GET"==b.method)&&(q=Q(b.cache)?b.cache:Q(e.cache)?e.cache:L);if(q)if(B=q.get(X),F(B)){if(B.then)return B.then(p,p),B;M(B)?n(B[1],B[0],ia(B[2]),B[3]):n(B,200,{},"OK")}else q.put(X,x);y(B)&&a(b.method,X,c,g,f,b.timeout,b.withCredentials,b.responseType);return x}function C(a,b){if(!b)return a;var c=[];ed(b,function(a,b){null===a||y(a)||(M(a)||(a=[a]),q(a,function(a){Q(a)&&(a=qa(a));c.push(za(b)+"="+za(a))}))});0<c.length&&(a+=(-1==a.indexOf("?")?"?":"&")+c.join("&"));return a}var L=c("$http"), x=[];q(f,function(a){x.unshift(z(a)?p.get(a):p.invoke(a))});k.pendingRequests=[];(function(a){q(arguments,function(a){k[a]=function(b,c){return k(D(c||{},{method:a,url:b}))}})})("get","delete","head","jsonp");(function(a){q(arguments,function(a){k[a]=function(b,c,d){return k(D(d||{},{method:a,url:b,data:c}))}})})("post","put");k.defaults=e;return k}]}function Oe(b){if(8>=T&&(!b.match(/^(get|post|head|put|delete|options)$/i)||!K.XMLHttpRequest))return new K.ActiveXObject("Microsoft.XMLHTTP");if(K.XMLHttpRequest)return new K.XMLHttpRequest; throw G("$httpBackend")("noxhr");}function ke(){this.$get=["$browser","$window","$document",function(b,a,c){return Pe(b,Oe,b.defer,a.angular.callbacks,c[0])}]}function Pe(b,a,c,d,e){function f(a,b,c){var f=e.createElement("script"),h=null;f.type="text/javascript";f.src=a;f.async=!0;h=function(a){Wa(f,"load",h);Wa(f,"error",h);e.body.removeChild(f);f=null;var g=-1,C="unknown";a&&("load"!==a.type||d[b].called||(a={type:"error"}),C=a.type,g="error"===a.type?404:200);c&&c(g,C)};tb(f,"load",h);tb(f,"error", h);e.body.appendChild(f);return h}var h=-1;return function(e,n,m,l,p,k,s,C){function L(){I=h;E&&E();v&&v.abort()}function x(a,d,e,f,g){O&&c.cancel(O);E=v=null;0===d&&(d=e?200:"file"==ta(n).protocol?404:0);a(1223===d?204:d,e,f,g||"");b.$$completeOutstandingRequest(A)}var I;b.$$incOutstandingRequestCount();n=n||b.url();if("jsonp"==r(e)){var u="_"+(d.counter++).toString(36);d[u]=function(a){d[u].data=a;d[u].called=!0};var E=f(n.replace("JSON_CALLBACK","angular.callbacks."+u),u,function(a,b){x(l,a,d[u].data, "",b);d[u]=A})}else{var v=a(e);v.open(e,n,!0);q(p,function(a,b){F(a)&&v.setRequestHeader(b,a)});v.onreadystatechange=function(){if(v&&4==v.readyState){var a=null,b=null;I!==h&&(a=v.getAllResponseHeaders(),b="response"in v?v.response:v.responseText);x(l,I||v.status,b,a,v.statusText||"")}};s&&(v.withCredentials=!0);if(C)try{v.responseType=C}catch(V){if("json"!==C)throw V;}v.send(m||null)}if(0<k)var O=c(L,k);else k&&k.then&&k.then(L)}}function he(){var b="{{",a="}}";this.startSymbol=function(a){return a? (b=a,this):b};this.endSymbol=function(b){return b?(a=b,this):a};this.$get=["$parse","$exceptionHandler","$sce",function(c,d,e){function f(a){return"\\\\\\"+a}function h(f,h,s,C){C=!!C;for(var L,x,I=0,u=[],E=[],v=[],V=f.length,O=!1,R=!1,U=[],r={},B={};I<V;)if(-1!=(L=f.indexOf(b,I))&&-1!=(x=f.indexOf(a,L+g)))I!==L&&(R=!0),u.push(f.substring(I,L)),I=f.substring(L+g,x),E.push(I),v.push(c(I)),I=x+n,O=!0;else{I!==V&&(R=!0,u.push(f.substring(I)));break}q(u,function(c,d){u[d]=u[d].replace(m,b).replace(l, a)});u.length===E.length&&u.push("");if(s&&O&&(R||1<E.length))throw Hc("noconcat",f);if(!h||O){U.length=u.length+E.length;var X=function(a){for(var b=0,c=E.length;b<c;b++)U[2*b]=u[b],U[2*b+1]=a[b];U[2*c]=u[c];return U.join("")},J=function(a){return a=s?e.getTrusted(s,a):e.valueOf(a)},w=function(a){if(null==a)return"";switch(typeof a){case "string":break;case "number":a=""+a;break;default:a=qa(a)}return a};return D(function ka(a){var b=a&&a.$id||"notAScope",c=r[b],e=B[b],g=0,h=E.length,n=Array(h), k,l=e===t?!0:!1;c||(c=[],l=!0,a&&a.$on&&a.$on("$destroy",function(){r[b]=null;B[b]=null}));try{for(ka.$$unwatch=!0;g<h;g++){k=J(v[g](a));if(C&&y(k)){ka.$$unwatch=t;return}k=w(k);k!==c[g]&&(l=!0);n[g]=k;ka.$$unwatch=ka.$$unwatch&&v[g].$$unwatch}l&&(r[b]=n,B[b]=e=X(n))}catch(m){a=Hc("interr",f,m.toString()),d(a)}return e},{exp:f,separators:u,expressions:E})}}var g=b.length,n=a.length,m=RegExp(b.replace(/./g,f),"g"),l=RegExp(a.replace(/./g,f),"g");h.startSymbol=function(){return b};h.endSymbol=function(){return a}; return h}]}function ie(){this.$get=["$rootScope","$window","$q",function(b,a,c){function d(d,h,g,n){var m=a.setInterval,l=a.clearInterval,p=c.defer(),k=p.promise,s=0,C=F(n)&&!n;g=F(g)?g:0;k.then(null,null,d);k.$$intervalId=m(function(){p.notify(s++);0<g&&s>=g&&(p.resolve(s),l(k.$$intervalId),delete e[k.$$intervalId]);C||b.$apply()},h);e[k.$$intervalId]=p;return k}var e={};d.cancel=function(a){return a&&a.$$intervalId in e?(e[a.$$intervalId].reject("canceled"),clearInterval(a.$$intervalId),delete e[a.$$intervalId], !0):!1};return d}]}function qd(){this.$get=function(){return{id:"en-us",NUMBER_FORMATS:{DECIMAL_SEP:".",GROUP_SEP:",",PATTERNS:[{minInt:1,minFrac:0,maxFrac:3,posPre:"",posSuf:"",negPre:"-",negSuf:"",gSize:3,lgSize:3},{minInt:1,minFrac:2,maxFrac:2,posPre:"\u00a4",posSuf:"",negPre:"(\u00a4",negSuf:")",gSize:3,lgSize:3}],CURRENCY_SYM:"$"},DATETIME_FORMATS:{MONTH:"January February March April May June July August September October November December".split(" "),SHORTMONTH:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "), DAY:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),SHORTDAY:"Sun Mon Tue Wed Thu Fri Sat".split(" "),AMPMS:["AM","PM"],medium:"MMM d, y h:mm:ss a","short":"M/d/yy h:mm a",fullDate:"EEEE, MMMM d, y",longDate:"MMMM d, y",mediumDate:"MMM d, y",shortDate:"M/d/yy",mediumTime:"h:mm:ss a",shortTime:"h:mm a"},pluralCat:function(b){return 1===b?"one":"other"}}}}function Rb(b){b=b.split("/");for(var a=b.length;a--;)b[a]=kb(b[a]);return b.join("/")}function Ic(b,a,c){b=ta(b,c);a.$$protocol= b.protocol;a.$$host=b.hostname;a.$$port=W(b.port)||Qe[b.protocol]||null}function Jc(b,a,c){var d="/"!==b.charAt(0);d&&(b="/"+b);b=ta(b,c);a.$$path=decodeURIComponent(d&&"/"===b.pathname.charAt(0)?b.pathname.substring(1):b.pathname);a.$$search=gc(b.search);a.$$hash=decodeURIComponent(b.hash);a.$$path&&"/"!=a.$$path.charAt(0)&&(a.$$path="/"+a.$$path)}function ma(b,a){if(0===a.indexOf(b))return a.substr(b.length)}function bb(b){var a=b.indexOf("#");return-1==a?b:b.substr(0,a)}function Sb(b){return b.substr(0, bb(b).lastIndexOf("/")+1)}function Kc(b,a){this.$$html5=!0;a=a||"";var c=Sb(b);Ic(b,this,b);this.$$parse=function(a){var e=ma(c,a);if(!z(e))throw Tb("ipthprfx",a,c);Jc(e,this,b);this.$$path||(this.$$path="/");this.$$compose()};this.$$compose=function(){var a=Fb(this.$$search),b=this.$$hash?"#"+kb(this.$$hash):"";this.$$url=Rb(this.$$path)+(a?"?"+a:"")+b;this.$$absUrl=c+this.$$url.substr(1)};this.$$rewrite=function(d){var e;if((e=ma(b,d))!==t)return d=e,(e=ma(a,e))!==t?c+(ma("/",e)||e):b+d;if((e=ma(c, d))!==t)return c+e;if(c==d+"/")return c}}function Ub(b,a){var c=Sb(b);Ic(b,this,b);this.$$parse=function(d){var e=ma(b,d)||ma(c,d),e="#"==e.charAt(0)?ma(a,e):this.$$html5?e:"";if(!z(e))throw Tb("ihshprfx",d,a);Jc(e,this,b);d=this.$$path;var f=/^\/[A-Z]:(\/.*)/;0===e.indexOf(b)&&(e=e.replace(b,""));f.exec(e)||(d=(e=f.exec(d))?e[1]:d);this.$$path=d;this.$$compose()};this.$$compose=function(){var c=Fb(this.$$search),e=this.$$hash?"#"+kb(this.$$hash):"";this.$$url=Rb(this.$$path)+(c?"?"+c:"")+e;this.$$absUrl= b+(this.$$url?a+this.$$url:"")};this.$$rewrite=function(a){if(bb(b)==bb(a))return a}}function Vb(b,a){this.$$html5=!0;Ub.apply(this,arguments);var c=Sb(b);this.$$rewrite=function(d){var e;if(b==bb(d))return d;if(e=ma(c,d))return b+a+e;if(c===d+"/")return c};this.$$compose=function(){var c=Fb(this.$$search),e=this.$$hash?"#"+kb(this.$$hash):"";this.$$url=Rb(this.$$path)+(c?"?"+c:"")+e;this.$$absUrl=b+a+this.$$url}}function ub(b){return function(){return this[b]}}function Lc(b,a){return function(c){if(y(c))return this[b]; this[b]=a(c);this.$$compose();return this}}function le(){var b="",a=!1;this.hashPrefix=function(a){return F(a)?(b=a,this):b};this.html5Mode=function(b){return F(b)?(a=b,this):a};this.$get=["$rootScope","$browser","$sniffer","$rootElement",function(c,d,e,f){function h(a){c.$broadcast("$locationChangeSuccess",g.absUrl(),a)}var g,n,m=d.baseHref(),l=d.url(),p;a?(p=l.substring(0,l.indexOf("/",l.indexOf("//")+2))+(m||"/"),n=e.history?Kc:Vb):(p=bb(l),n=Ub);g=new n(p,"#"+b);g.$$parse(g.$$rewrite(l));f.on("click", function(a){if(!a.ctrlKey&&!a.metaKey&&2!=a.which){for(var e=w(a.target);"a"!==r(e[0].nodeName);)if(e[0]===f[0]||!(e=e.parent())[0])return;var h=e.prop("href");Q(h)&&"[object SVGAnimatedString]"===h.toString()&&(h=ta(h.animVal).href);if(n===Vb){var k=e.attr("href")||e.attr("xlink:href");if(0>k.indexOf("://"))if(h="#"+b,"/"==k[0])h=p+h+k;else if("#"==k[0])h=p+h+(g.path()||"/")+k;else{for(var l=g.path().split("/"),k=k.split("/"),m=0;m<k.length;m++)"."!=k[m]&&(".."==k[m]?l.pop():k[m].length&&l.push(k[m])); h=p+h+l.join("/")}}l=g.$$rewrite(h);h&&(!e.attr("target")&&l&&!a.isDefaultPrevented())&&(a.preventDefault(),l!=d.url()&&(g.$$parse(l),c.$apply(),K.angular["ff-684208-preventDefault"]=!0))}});g.absUrl()!=l&&d.url(g.absUrl(),!0);d.onUrlChange(function(a){g.absUrl()!=a&&(c.$evalAsync(function(){var b=g.absUrl();g.$$parse(a);c.$broadcast("$locationChangeStart",a,b).defaultPrevented?(g.$$parse(b),d.url(b)):h(b)}),c.$$phase||c.$digest())});var k=0;c.$watch(function(){var a=d.url(),b=g.$$replace;k&&a==g.absUrl()|| (k++,c.$evalAsync(function(){c.$broadcast("$locationChangeStart",g.absUrl(),a).defaultPrevented?g.$$parse(a):(d.url(g.absUrl(),b),h(a))}));g.$$replace=!1;return k});return g}]}function me(){var b=!0,a=this;this.debugEnabled=function(a){return F(a)?(b=a,this):b};this.$get=["$window",function(c){function d(a){a instanceof Error&&(a.stack?a=a.message&&-1===a.stack.indexOf(a.message)?"Error: "+a.message+"\n"+a.stack:a.stack:a.sourceURL&&(a=a.message+"\n"+a.sourceURL+":"+a.line));return a}function e(a){var b= c.console||{},e=b[a]||b.log||A;a=!1;try{a=!!e.apply}catch(n){}return a?function(){var a=[];q(arguments,function(b){a.push(d(b))});return e.apply(b,a)}:function(a,b){e(a,null==b?"":b)}}return{log:e("log"),info:e("info"),warn:e("warn"),error:e("error"),debug:function(){var c=e("debug");return function(){b&&c.apply(a,arguments)}}()}}]}function da(b,a){if("constructor"===b)throw Ca("isecfld",a);return b}function cb(b,a){if(b){if(b.constructor===b)throw Ca("isecfn",a);if(b.document&&b.location&&b.alert&& b.setInterval)throw Ca("isecwindow",a);if(b.children&&(b.nodeName||b.prop&&b.attr&&b.find))throw Ca("isecdom",a);}return b}function vb(b,a,c,d){a=a.split(".");for(var e,f=0;1<a.length;f++){e=da(a.shift(),d);var h=b[e];h||(h={},b[e]=h);b=h}e=da(a.shift(),d);return b[e]=c}function Mc(b,a,c,d,e,f){da(b,f);da(a,f);da(c,f);da(d,f);da(e,f);return function(f,g){var n=g&&g.hasOwnProperty(b)?g:f;if(null==n)return n;n=n[b];if(!a)return n;if(null==n)return t;n=n[a];if(!c)return n;if(null==n)return t;n=n[c]; if(!d)return n;if(null==n)return t;n=n[d];return e?null==n?t:n=n[e]:n}}function Re(b,a){da(b,a);return function(a,d){return null==a?t:(d&&d.hasOwnProperty(b)?d:a)[b]}}function Se(b,a,c){da(b,c);da(a,c);return function(c,e){if(null==c)return t;c=(e&&e.hasOwnProperty(b)?e:c)[b];return null==c?t:c[a]}}function Nc(b,a,c){if(Wb.hasOwnProperty(b))return Wb[b];var d=b.split("."),e=d.length;if(1===e)a=Re(d[0],c);else if(2===e)a=Se(d[0],d[1],c);else if(a.csp)a=6>e?Mc(d[0],d[1],d[2],d[3],d[4],c):function(a, b){var f=0,m;do m=Mc(d[f++],d[f++],d[f++],d[f++],d[f++],c)(a,b),b=t,a=m;while(f<e);return m};else{var f="var p;\n";q(d,function(a,b){da(a,c);f+="if(s == null) return undefined;\ns="+(b?"s":'((k&&k.hasOwnProperty("'+a+'"))?k:s)')+'["'+a+'"];\n'});f+="return s;";a=new Function("s","k",f);a.toString=aa(f)}"hasOwnProperty"!==b&&(Wb[b]=a);return a}function ne(){var b={},a={csp:!1};this.$get=["$filter","$sniffer",function(c,d){a.csp=d.csp;return function(d){function f(a){function b(e,f){c||(d=a(e,f),b.$$unwatch= F(d),b.$$unwatch&&(e&&e.$$postDigestQueue)&&e.$$postDigestQueue.push(function(){(c=F(d))&&!d.$$unwrapTrustedValue&&(d=xa(d,null))}));return d}var c=!1,d;b.literal=a.literal;b.constant=a.constant;b.assign=a.assign;return b}var h,g;switch(typeof d){case "string":d=Y(d);":"===d.charAt(0)&&":"===d.charAt(1)&&(g=!0,d=d.substring(2));if(b.hasOwnProperty(d))return g?f(b[d]):b[d];h=new Xb(a);h=(new db(h,c,a)).parse(d);"hasOwnProperty"!==d&&(b[d]=h);h.constant&&(h.$$unwatch=!0);return g?f(h):h;case "function":return d; default:return A}}}]}function pe(){this.$get=["$rootScope","$exceptionHandler",function(b,a){return Te(function(a){b.$evalAsync(a)},a)}]}function Te(b,a){function c(a){return a}function d(a){return h(a)}var e=function(){var h=[],m,l;return l={resolve:function(a){if(h){var c=h;h=t;m=f(a);c.length&&b(function(){for(var a,b=0,d=c.length;b<d;b++)a=c[b],m.then(a[0],a[1],a[2])})}},reject:function(a){l.resolve(g(a))},notify:function(a){if(h){var c=h;h.length&&b(function(){for(var b,d=0,e=c.length;d<e;d++)b= c[d],b[2](a)})}},promise:{then:function(b,f,g){var l=e(),L=function(d){try{l.resolve((P(b)?b:c)(d))}catch(e){l.reject(e),a(e)}},x=function(b){try{l.resolve((P(f)?f:d)(b))}catch(c){l.reject(c),a(c)}},I=function(b){try{l.notify((P(g)?g:c)(b))}catch(d){a(d)}};h?h.push([L,x,I]):m.then(L,x,I);return l.promise},"catch":function(a){return this.then(null,a)},"finally":function(a){function b(a,c){var d=e();c?d.resolve(a):d.reject(a);return d.promise}function d(e,f){var g=null;try{g=(a||c)()}catch(h){return b(h, !1)}return g&&P(g.then)?g.then(function(){return b(e,f)},function(a){return b(a,!1)}):b(e,f)}return this.then(function(a){return d(a,!0)},function(a){return d(a,!1)})}}}},f=function(a){return a&&P(a.then)?a:{then:function(c){var d=e();b(function(){d.resolve(c(a))});return d.promise}}},h=function(a){var b=e();b.reject(a);return b.promise},g=function(c){return{then:function(f,g){var h=e();b(function(){try{h.resolve((P(g)?g:d)(c))}catch(b){h.reject(b),a(b)}});return h.promise}}};return{defer:e,reject:h, when:function(g,m,l,p){var k=e(),s,C=function(b){try{return(P(m)?m:c)(b)}catch(d){return a(d),h(d)}},L=function(b){try{return(P(l)?l:d)(b)}catch(c){return a(c),h(c)}},x=function(b){try{return(P(p)?p:c)(b)}catch(d){a(d)}};b(function(){f(g).then(function(a){s||(s=!0,k.resolve(f(a).then(C,L,x)))},function(a){s||(s=!0,k.resolve(L(a)))},function(a){s||k.notify(x(a))})});return k.promise},all:function(a){var b=e(),c=0,d=M(a)?[]:{};q(a,function(a,e){c++;f(a).then(function(a){d.hasOwnProperty(e)||(d[e]=a, --c||b.resolve(d))},function(a){d.hasOwnProperty(e)||b.reject(a)})});0===c&&b.resolve(d);return b.promise}}}function we(){this.$get=["$window","$timeout",function(b,a){var c=b.requestAnimationFrame||b.webkitRequestAnimationFrame||b.mozRequestAnimationFrame,d=b.cancelAnimationFrame||b.webkitCancelAnimationFrame||b.mozCancelAnimationFrame||b.webkitCancelRequestAnimationFrame,e=!!c,f=e?function(a){var b=c(a);return function(){d(b)}}:function(b){var c=a(b,16.66,!1);return function(){a.cancel(c)}};f.supported= e;return f}]}function oe(){var b=10,a=G("$rootScope"),c=null;this.digestTtl=function(a){arguments.length&&(b=a);return b};this.$get=["$injector","$exceptionHandler","$parse","$browser",function(d,e,f,h){function g(){this.$id=ib();this.$$phase=this.$parent=this.$$watchers=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=null;this["this"]=this.$root=this;this.$$destroyed=!1;this.$$asyncQueue=[];this.$$postDigestQueue=[];this.$$listeners={};this.$$listenerCount={};this.$$isolateBindings= {}}function n(b){if(k.$$phase)throw a("inprog",k.$$phase);k.$$phase=b}function m(a,b){var c=f(a);Ta(c,b);return c}function l(a,b,c){do a.$$listenerCount[c]-=b,0===a.$$listenerCount[c]&&delete a.$$listenerCount[c];while(a=a.$parent)}function p(){}g.prototype={constructor:g,$new:function(a){a?(a=new g,a.$root=this.$root,a.$$asyncQueue=this.$$asyncQueue,a.$$postDigestQueue=this.$$postDigestQueue):(this.$$childScopeClass||(this.$$childScopeClass=function(){this.$$watchers=this.$$nextSibling=this.$$childHead= this.$$childTail=null;this.$$listeners={};this.$$listenerCount={};this.$id=ib();this.$$childScopeClass=null},this.$$childScopeClass.prototype=this),a=new this.$$childScopeClass);a["this"]=a;a.$parent=this;a.$$prevSibling=this.$$childTail;this.$$childHead?this.$$childTail=this.$$childTail.$$nextSibling=a:this.$$childHead=this.$$childTail=a;return a},$watch:function(a,b,d){var e=m(a,"watch"),f=this.$$watchers,g={fn:b,last:p,get:e,exp:a,eq:!!d};c=null;if(!P(b)){var h=m(b||A,"listener");g.fn=function(a, b,c){h(c)}}f||(f=this.$$watchers=[]);f.unshift(g);return function(){Ga(f,g);c=null}},$watchGroup:function(a,b){function c(){return h}var d=Array(a.length),e=Array(a.length),g=[],h=0,k=this,n=Array(a.length),l=a.length;q(a,function(a,b){var c=f(a);g.push(k.$watch(c,function(a,f){e[b]=a;d[b]=f;h++;n[b]&&!c.$$unwatch&&l++;!n[b]&&c.$$unwatch&&l--;n[b]=c.$$unwatch}))},this);g.push(k.$watch(c,function(){b(e,d,k);c.$$unwatch=0===l?!0:!1}));return function(){q(g,function(a){a()})}},$watchCollection:function(a, b){function c(){e=l(d);var a,b;if(Q(e))if(hb(e))for(g!==m&&(g=m,B=g.length=0,n++),a=e.length,B!==a&&(n++,g.length=B=a),b=0;b<a;b++)g[b]!==g[b]&&e[b]!==e[b]||g[b]===e[b]||(n++,g[b]=e[b]);else{g!==p&&(g=p={},B=0,n++);a=0;for(b in e)e.hasOwnProperty(b)&&(a++,g.hasOwnProperty(b)?g[b]!==e[b]&&(n++,g[b]=e[b]):(B++,g[b]=e[b],n++));if(B>a)for(b in n++,g)g.hasOwnProperty(b)&&!e.hasOwnProperty(b)&&(B--,delete g[b])}else g!==e&&(g=e,n++);c.$$unwatch=l.$$unwatch;return n}var d=this,e,g,h,k=1<b.length,n=0,l=f(a), m=[],p={},q=!0,B=0;return this.$watch(c,function(){q?(q=!1,b(e,e,d)):b(e,h,d);if(k)if(Q(e))if(hb(e)){h=Array(e.length);for(var a=0;a<e.length;a++)h[a]=e[a]}else for(a in h={},e)Db.call(e,a)&&(h[a]=e[a]);else h=e})},$digest:function(){var d,f,g,h,l=this.$$asyncQueue,m=this.$$postDigestQueue,q,v,r=b,O,R=[],t=[],w,B,y;n("$digest");c=null;do{v=!1;for(O=this;l.length;){try{y=l.shift(),y.scope.$eval(y.expression)}catch(J){k.$$phase=null,e(J)}c=null}a:do{if(h=O.$$watchers)for(q=h.length;q--;)try{if(d=h[q])if((f= d.get(O))!==(g=d.last)&&!(d.eq?ya(f,g):"number"==typeof f&&"number"==typeof g&&isNaN(f)&&isNaN(g)))v=!0,c=d,d.last=d.eq?xa(f,null):f,d.fn(f,g===p?f:g,O),5>r&&(w=4-r,R[w]||(R[w]=[]),B=P(d.exp)?"fn: "+(d.exp.name||d.exp.toString()):d.exp,B+="; newVal: "+qa(f)+"; oldVal: "+qa(g),R[w].push(B)),d.get.$$unwatch&&t.push({watch:d,array:h});else if(d===c){v=!1;break a}}catch(F){k.$$phase=null,e(F)}if(!(q=O.$$childHead||O!==this&&O.$$nextSibling))for(;O!==this&&!(q=O.$$nextSibling);)O=O.$parent}while(O=q); if((v||l.length)&&!r--)throw k.$$phase=null,a("infdig",b,qa(R));}while(v||l.length);for(k.$$phase=null;m.length;)try{m.shift()()}catch(D){e(D)}for(q=t.length-1;0<=q;--q)d=t[q],d.watch.get.$$unwatch&&Ga(d.array,d.watch)},$destroy:function(){if(!this.$$destroyed){var a=this.$parent;this.$broadcast("$destroy");this.$$destroyed=!0;this!==k&&(q(this.$$listenerCount,Eb(null,l,this)),a.$$childHead==this&&(a.$$childHead=this.$$nextSibling),a.$$childTail==this&&(a.$$childTail=this.$$prevSibling),this.$$prevSibling&& (this.$$prevSibling.$$nextSibling=this.$$nextSibling),this.$$nextSibling&&(this.$$nextSibling.$$prevSibling=this.$$prevSibling),this.$parent=this.$$nextSibling=this.$$prevSibling=this.$$childHead=this.$$childTail=this.$root=null,this.$$listeners={},this.$$watchers=this.$$asyncQueue=this.$$postDigestQueue=[],this.$destroy=this.$digest=this.$apply=A,this.$on=this.$watch=this.$watchGroup=function(){return A})}},$eval:function(a,b){return f(a)(this,b)},$evalAsync:function(a){k.$$phase||k.$$asyncQueue.length|| h.defer(function(){k.$$asyncQueue.length&&k.$digest()});this.$$asyncQueue.push({scope:this,expression:a})},$$postDigest:function(a){this.$$postDigestQueue.push(a)},$apply:function(a){try{return n("$apply"),this.$eval(a)}catch(b){e(b)}finally{k.$$phase=null;try{k.$digest()}catch(c){throw e(c),c;}}},$on:function(a,b){var c=this.$$listeners[a];c||(this.$$listeners[a]=c=[]);c.push(b);var d=this;do d.$$listenerCount[a]||(d.$$listenerCount[a]=0),d.$$listenerCount[a]++;while(d=d.$parent);var e=this;return function(){c[Pa(c, b)]=null;l(e,1,a)}},$emit:function(a,b){var c=[],d,f=this,g=!1,h={name:a,targetScope:f,stopPropagation:function(){g=!0},preventDefault:function(){h.defaultPrevented=!0},defaultPrevented:!1},k=[h].concat(pa.call(arguments,1)),n,l;do{d=f.$$listeners[a]||c;h.currentScope=f;n=0;for(l=d.length;n<l;n++)if(d[n])try{d[n].apply(null,k)}catch(m){e(m)}else d.splice(n,1),n--,l--;if(g)return h.currentScope=null,h;f=f.$parent}while(f);h.currentScope=null;return h},$broadcast:function(a,b){for(var c=this,d=this, f={name:a,targetScope:this,preventDefault:function(){f.defaultPrevented=!0},defaultPrevented:!1},g=[f].concat(pa.call(arguments,1)),h,k;c=d;){f.currentScope=c;d=c.$$listeners[a]||[];h=0;for(k=d.length;h<k;h++)if(d[h])try{d[h].apply(null,g)}catch(n){e(n)}else d.splice(h,1),h--,k--;if(!(d=c.$$listenerCount[a]&&c.$$childHead||c!==this&&c.$$nextSibling))for(;c!==this&&!(d=c.$$nextSibling);)c=c.$parent}f.currentScope=null;return f}};var k=new g;return k}]}function rd(){var b=/^\s*(https?|ftp|mailto|tel|file):/, a=/^\s*(https?|ftp|file|blob):|data:image\//;this.aHrefSanitizationWhitelist=function(a){return F(a)?(b=a,this):b};this.imgSrcSanitizationWhitelist=function(b){return F(b)?(a=b,this):a};this.$get=function(){return function(c,d){var e=d?a:b,f;if(!T||8<=T)if(f=ta(c).href,""!==f&&!f.match(e))return"unsafe:"+f;return c}}}function Ue(b){if("self"===b)return b;if(z(b)){if(-1<b.indexOf("***"))throw ua("iwcard",b);b=b.replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08").replace("\\*\\*", ".*").replace("\\*","[^:/.?&;]*");return RegExp("^"+b+"$")}if(jb(b))return RegExp("^"+b.source+"$");throw ua("imatcher");}function Oc(b){var a=[];F(b)&&q(b,function(b){a.push(Ue(b))});return a}function re(){this.SCE_CONTEXTS=ea;var b=["self"],a=[];this.resourceUrlWhitelist=function(a){arguments.length&&(b=Oc(a));return b};this.resourceUrlBlacklist=function(b){arguments.length&&(a=Oc(b));return a};this.$get=["$injector",function(c){function d(a){var b=function(a){this.$$unwrapTrustedValue=function(){return a}}; a&&(b.prototype=new a);b.prototype.valueOf=function(){return this.$$unwrapTrustedValue()};b.prototype.toString=function(){return this.$$unwrapTrustedValue().toString()};return b}var e=function(a){throw ua("unsafe");};c.has("$sanitize")&&(e=c.get("$sanitize"));var f=d(),h={};h[ea.HTML]=d(f);h[ea.CSS]=d(f);h[ea.URL]=d(f);h[ea.JS]=d(f);h[ea.RESOURCE_URL]=d(h[ea.URL]);return{trustAs:function(a,b){var c=h.hasOwnProperty(a)?h[a]:null;if(!c)throw ua("icontext",a,b);if(null===b||b===t||""===b)return b;if("string"!== typeof b)throw ua("itype",a);return new c(b)},getTrusted:function(c,d){if(null===d||d===t||""===d)return d;var f=h.hasOwnProperty(c)?h[c]:null;if(f&&d instanceof f)return d.$$unwrapTrustedValue();if(c===ea.RESOURCE_URL){var f=ta(d.toString()),l,p,k=!1;l=0;for(p=b.length;l<p;l++)if("self"===b[l]?Qb(f):b[l].exec(f.href)){k=!0;break}if(k)for(l=0,p=a.length;l<p;l++)if("self"===a[l]?Qb(f):a[l].exec(f.href)){k=!1;break}if(k)return d;throw ua("insecurl",d.toString());}if(c===ea.HTML)return e(d);throw ua("unsafe"); },valueOf:function(a){return a instanceof f?a.$$unwrapTrustedValue():a}}}]}function qe(){var b=!0;this.enabled=function(a){arguments.length&&(b=!!a);return b};this.$get=["$parse","$sniffer","$sceDelegate",function(a,c,d){if(b&&c.msie&&8>c.msieDocumentMode)throw ua("iequirks");var e=ia(ea);e.isEnabled=function(){return b};e.trustAs=d.trustAs;e.getTrusted=d.getTrusted;e.valueOf=d.valueOf;b||(e.trustAs=e.getTrusted=function(a,b){return b},e.valueOf=Ea);e.parseAs=function(b,c){var d=a(c);return d.literal&& d.constant?d:function k(a,c){var f=e.getTrusted(b,d(a,c));k.$$unwatch=d.$$unwatch;return f}};var f=e.parseAs,h=e.getTrusted,g=e.trustAs;q(ea,function(a,b){var c=r(b);e[Va("parse_as_"+c)]=function(b){return f(a,b)};e[Va("get_trusted_"+c)]=function(b){return h(a,b)};e[Va("trust_as_"+c)]=function(b){return g(a,b)}});return e}]}function se(){this.$get=["$window","$document",function(b,a){var c={},d=W((/android (\d+)/.exec(r((b.navigator||{}).userAgent))||[])[1]),e=/Boxee/i.test((b.navigator||{}).userAgent), f=a[0]||{},h=f.documentMode,g,n=/^(Moz|webkit|O|ms)(?=[A-Z])/,m=f.body&&f.body.style,l=!1,p=!1;if(m){for(var k in m)if(l=n.exec(k)){g=l[0];g=g.substr(0,1).toUpperCase()+g.substr(1);break}g||(g="WebkitOpacity"in m&&"webkit");l=!!("transition"in m||g+"Transition"in m);p=!!("animation"in m||g+"Animation"in m);!d||l&&p||(l=z(f.body.style.webkitTransition),p=z(f.body.style.webkitAnimation))}return{history:!(!b.history||!b.history.pushState||4>d||e),hashchange:"onhashchange"in b&&(!h||7<h),hasEvent:function(a){if("input"== a&&9==T)return!1;if(y(c[a])){var b=f.createElement("div");c[a]="on"+a in b}return c[a]},csp:dc(),vendorPrefix:g,transitions:l,animations:p,android:d,msie:T,msieDocumentMode:h}}]}function ue(){this.$get=["$rootScope","$browser","$q","$exceptionHandler",function(b,a,c,d){function e(e,g,n){var m=c.defer(),l=m.promise,p=F(n)&&!n;g=a.defer(function(){try{m.resolve(e())}catch(a){m.reject(a),d(a)}finally{delete f[l.$$timeoutId]}p||b.$apply()},g);l.$$timeoutId=g;f[g]=m;return l}var f={};e.cancel=function(b){return b&& b.$$timeoutId in f?(f[b.$$timeoutId].reject("canceled"),delete f[b.$$timeoutId],a.defer.cancel(b.$$timeoutId)):!1};return e}]}function ta(b,a){var c=b;T&&(Z.setAttribute("href",c),c=Z.href);Z.setAttribute("href",c);return{href:Z.href,protocol:Z.protocol?Z.protocol.replace(/:$/,""):"",host:Z.host,search:Z.search?Z.search.replace(/^\?/,""):"",hash:Z.hash?Z.hash.replace(/^#/,""):"",hostname:Z.hostname,port:Z.port,pathname:"/"===Z.pathname.charAt(0)?Z.pathname:"/"+Z.pathname}}function Qb(b){b=z(b)?ta(b): b;return b.protocol===Pc.protocol&&b.host===Pc.host}function ve(){this.$get=aa(K)}function oc(b){function a(d,e){if(Q(d)){var f={};q(d,function(b,c){f[c]=a(c,b)});return f}return b.factory(d+c,e)}var c="Filter";this.register=a;this.$get=["$injector",function(a){return function(b){return a.get(b+c)}}];a("currency",Qc);a("date",Rc);a("filter",Ve);a("json",We);a("limitTo",Xe);a("lowercase",Ye);a("number",Sc);a("orderBy",Tc);a("uppercase",Ze)}function Ve(){return function(b,a,c){if(!M(b))return b;var d= typeof c,e=[];e.check=function(a){for(var b=0;b<e.length;b++)if(!e[b](a))return!1;return!0};"function"!==d&&(c="boolean"===d&&c?function(a,b){return Sa.equals(a,b)}:function(a,b){if(a&&b&&"object"===typeof a&&"object"===typeof b){for(var d in a)if("$"!==d.charAt(0)&&Db.call(a,d)&&c(a[d],b[d]))return!0;return!1}b=(""+b).toLowerCase();return-1<(""+a).toLowerCase().indexOf(b)});var f=function(a,b){if("string"==typeof b&&"!"===b.charAt(0))return!f(a,b.substr(1));switch(typeof a){case "boolean":case "number":case "string":return c(a, b);case "object":switch(typeof b){case "object":return c(a,b);default:for(var d in a)if("$"!==d.charAt(0)&&f(a[d],b))return!0}return!1;case "array":for(d=0;d<a.length;d++)if(f(a[d],b))return!0;return!1;default:return!1}};switch(typeof a){case "boolean":case "number":case "string":a={$:a};case "object":for(var h in a)(function(b){"undefined"!=typeof a[b]&&e.push(function(c){return f("$"==b?c:c&&c[b],a[b])})})(h);break;case "function":e.push(a);break;default:return b}d=[];for(h=0;h<b.length;h++){var g= b[h];e.check(g)&&d.push(g)}return d}}function Qc(b){var a=b.NUMBER_FORMATS;return function(b,d){y(d)&&(d=a.CURRENCY_SYM);return Uc(b,a.PATTERNS[1],a.GROUP_SEP,a.DECIMAL_SEP,2).replace(/\u00A4/g,d)}}function Sc(b){var a=b.NUMBER_FORMATS;return function(b,d){return Uc(b,a.PATTERNS[0],a.GROUP_SEP,a.DECIMAL_SEP,d)}}function Uc(b,a,c,d,e){if(null==b||!isFinite(b)||Q(b))return"";var f=0>b;b=Math.abs(b);var h=b+"",g="",n=[],m=!1;if(-1!==h.indexOf("e")){var l=h.match(/([\d\.]+)e(-?)(\d+)/);l&&"-"==l[2]&& l[3]>e+1?h="0":(g=h,m=!0)}if(m)0<e&&(-1<b&&1>b)&&(g=b.toFixed(e));else{h=(h.split(Vc)[1]||"").length;y(e)&&(e=Math.min(Math.max(a.minFrac,h),a.maxFrac));h=Math.pow(10,e+1);b=Math.floor(b*h+5)/h;b=(""+b).split(Vc);h=b[0];b=b[1]||"";var l=0,p=a.lgSize,k=a.gSize;if(h.length>=p+k)for(l=h.length-p,m=0;m<l;m++)0===(l-m)%k&&0!==m&&(g+=c),g+=h.charAt(m);for(m=l;m<h.length;m++)0===(h.length-m)%p&&0!==m&&(g+=c),g+=h.charAt(m);for(;b.length<e;)b+="0";e&&"0"!==e&&(g+=d+b.substr(0,e))}n.push(f?a.negPre:a.posPre); n.push(g);n.push(f?a.negSuf:a.posSuf);return n.join("")}function wb(b,a,c){var d="";0>b&&(d="-",b=-b);for(b=""+b;b.length<a;)b="0"+b;c&&(b=b.substr(b.length-a));return d+b}function $(b,a,c,d){c=c||0;return function(e){e=e["get"+b]();if(0<c||e>-c)e+=c;0===e&&-12==c&&(e=12);return wb(e,a,d)}}function xb(b,a){return function(c,d){var e=c["get"+b](),f=Ia(a?"SHORT"+b:b);return d[f][e]}}function Wc(b){var a=(new Date(b,0,1)).getDay();return new Date(b,0,(4>=a?5:12)-a)}function Xc(b){return function(a){var c= Wc(a.getFullYear());a=+new Date(a.getFullYear(),a.getMonth(),a.getDate()+(4-a.getDay()))-+c;a=1+Math.round(a/6048E5);return wb(a,b)}}function Rc(b){function a(a){var b;if(b=a.match(c)){a=new Date(0);var f=0,h=0,g=b[8]?a.setUTCFullYear:a.setFullYear,n=b[8]?a.setUTCHours:a.setHours;b[9]&&(f=W(b[9]+b[10]),h=W(b[9]+b[11]));g.call(a,W(b[1]),W(b[2])-1,W(b[3]));f=W(b[4]||0)-f;h=W(b[5]||0)-h;g=W(b[6]||0);b=Math.round(1E3*parseFloat("0."+(b[7]||0)));n.call(a,f,h,g,b)}return a}var c=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/; return function(c,e){var f="",h=[],g,n;e=e||"mediumDate";e=b.DATETIME_FORMATS[e]||e;z(c)&&(c=$e.test(c)?W(c):a(c));Fa(c)&&(c=new Date(c));if(!oa(c))return c;for(;e;)(n=af.exec(e))?(h=h.concat(pa.call(n,1)),e=h.pop()):(h.push(e),e=null);q(h,function(a){g=bf[a];f+=g?g(c,b.DATETIME_FORMATS):a.replace(/(^'|'$)/g,"").replace(/''/g,"'")});return f}}function We(){return function(b){return qa(b,!0)}}function Xe(){return function(b,a){if(!M(b)&&!z(b))return b;a=Infinity===Math.abs(Number(a))?Number(a):W(a); if(z(b))return a?0<=a?b.slice(0,a):b.slice(a,b.length):"";var c=[],d,e;a>b.length?a=b.length:a<-b.length&&(a=-b.length);0<a?(d=0,e=a):(d=b.length+a,e=b.length);for(;d<e;d++)c.push(b[d]);return c}}function Tc(b){return function(a,c,d){function e(a,b){return Ra(b)?function(b,c){return a(c,b)}:a}function f(a,b){var c=typeof a,d=typeof b;return c==d?("string"==c&&(a=a.toLowerCase(),b=b.toLowerCase()),a===b?0:a<b?-1:1):c<d?-1:1}if(!M(a)||!c)return a;c=M(c)?c:[c];c=hd(c,function(a){var c=!1,d=a||Ea;if(z(a)){if("+"== a.charAt(0)||"-"==a.charAt(0))c="-"==a.charAt(0),a=a.substring(1);d=b(a);if(d.constant){var g=d();return e(function(a,b){return f(a[g],b[g])},c)}}return e(function(a,b){return f(d(a),d(b))},c)});for(var h=[],g=0;g<a.length;g++)h.push(a[g]);return h.sort(e(function(a,b){for(var d=0;d<c.length;d++){var e=c[d](a,b);if(0!==e)return e}return 0},d))}}function va(b){P(b)&&(b={link:b});b.restrict=b.restrict||"AC";return aa(b)}function Yc(b,a,c,d){function e(a,c){c=c?"-"+lb(c,"-"):"";d.removeClass(b,(a?yb: zb)+c);d.addClass(b,(a?zb:yb)+c)}var f=this,h=b.parent().controller("form")||Ab,g=0,n=f.$error={},m=[];f.$name=a.name||a.ngForm;f.$dirty=!1;f.$pristine=!0;f.$valid=!0;f.$invalid=!1;h.$addControl(f);b.addClass(Oa);e(!0);f.$commitViewValue=function(){q(m,function(a){a.$commitViewValue()})};f.$addControl=function(a){Aa(a.$name,"input");m.push(a);a.$name&&(f[a.$name]=a)};f.$removeControl=function(a){a.$name&&f[a.$name]===a&&delete f[a.$name];q(n,function(b,c){f.$setValidity(c,!0,a)});Ga(m,a)};f.$setValidity= function(a,b,c){var d=n[a];if(b)d&&(Ga(d,c),d.length||(g--,g||(e(b),f.$valid=!0,f.$invalid=!1),n[a]=!1,e(!0,a),h.$setValidity(a,!0,f)));else{g||e(b);if(d){if(-1!=Pa(d,c))return}else n[a]=d=[],g++,e(!1,a),h.$setValidity(a,!1,f);d.push(c);f.$valid=!1;f.$invalid=!0}};f.$setDirty=function(){d.removeClass(b,Oa);d.addClass(b,Bb);f.$dirty=!0;f.$pristine=!1;h.$setDirty()};f.$setPristine=function(){d.removeClass(b,Bb);d.addClass(b,Oa);f.$dirty=!1;f.$pristine=!0;q(m,function(a){a.$setPristine()})}}function na(b, a,c,d){b.$setValidity(a,c);return c?d:t}function cf(b,a,c){var d=c.prop("validity");Q(d)&&b.$parsers.push(function(c){if(b.$error[a]||!(d.badInput||d.customError||d.typeMismatch)||d.valueMissing)return c;b.$setValidity(a,!1)})}function eb(b,a,c,d,e,f){var h=a.prop("validity"),g=a[0].placeholder,n={};if(!e.android){var m=!1;a.on("compositionstart",function(a){m=!0});a.on("compositionend",function(){m=!1;l()})}var l=function(e){if(!m){var f=a.val(),k=e&&e.type;if(T&&"input"===(e||n).type&&a[0].placeholder!== g)g=a[0].placeholder;else if(Ra(c.ngTrim||"T")&&(f=Y(f)),d.$viewValue!==f||h&&""===f&&!h.valueMissing)b.$$phase?d.$setViewValue(f,k):b.$apply(function(){d.$setViewValue(f,k)})}};if(e.hasEvent("input"))a.on("input",l);else{var p,k=function(a){p||(p=f.defer(function(){l(a);p=null}))};a.on("keydown",function(a){var b=a.keyCode;91===b||(15<b&&19>b||37<=b&&40>=b)||k(a)});if(e.hasEvent("paste"))a.on("paste cut",k)}a.on("change",l);d.$render=function(){a.val(d.$isEmpty(d.$viewValue)?"":d.$viewValue)};var q= c.ngPattern;q&&((e=q.match(/^\/(.*)\/([gim]*)$/))?(q=RegExp(e[1],e[2]),e=function(a){return na(d,"pattern",d.$isEmpty(a)||q.test(a),a)}):e=function(c){var e=b.$eval(q);if(!e||!e.test)throw G("ngPattern")("noregexp",q,e,fa(a));return na(d,"pattern",d.$isEmpty(c)||e.test(c),c)},d.$formatters.push(e),d.$parsers.push(e));if(c.ngMinlength){var C=W(c.ngMinlength);e=function(a){return na(d,"minlength",d.$isEmpty(a)||a.length>=C,a)};d.$parsers.push(e);d.$formatters.push(e)}if(c.ngMaxlength){var L=W(c.ngMaxlength); e=function(a){return na(d,"maxlength",d.$isEmpty(a)||a.length<=L,a)};d.$parsers.push(e);d.$formatters.push(e)}}function Cb(b,a){return function(c){var d;return oa(c)?c:z(c)&&(b.lastIndex=0,c=b.exec(c))?(c.shift(),d={yyyy:0,MM:1,dd:1,HH:0,mm:0},q(c,function(b,c){c<a.length&&(d[a[c]]=+b)}),new Date(d.yyyy,d.MM-1,d.dd,d.HH,d.mm)):NaN}}function fb(b,a,c,d){return function(e,f,h,g,n,m,l){eb(e,f,h,g,n,m);g.$parsers.push(function(d){if(g.$isEmpty(d))return g.$setValidity(b,!0),null;if(a.test(d))return g.$setValidity(b, !0),c(d);g.$setValidity(b,!1);return t});g.$formatters.push(function(a){return oa(a)?l("date")(a,d):""});h.min&&(e=function(a){var b=g.$isEmpty(a)||c(a)>=c(h.min);g.$setValidity("min",b);return b?a:t},g.$parsers.push(e),g.$formatters.push(e));h.max&&(e=function(a){var b=g.$isEmpty(a)||c(a)<=c(h.max);g.$setValidity("max",b);return b?a:t},g.$parsers.push(e),g.$formatters.push(e))}}function Yb(b,a){b="ngClass"+b;return["$animate",function(c){function d(a,b){var c=[],d=0;a:for(;d<a.length;d++){for(var e= a[d],l=0;l<b.length;l++)if(e==b[l])continue a;c.push(e)}return c}function e(a){if(!M(a)){if(z(a))return a.split(" ");if(Q(a)){var b=[];q(a,function(a,c){a&&(b=b.concat(c.split(" ")))});return b}}return a}return{restrict:"AC",link:function(f,h,g){function n(a,b){var c=h.data("$classCounts")||{},d=[];q(a,function(a){if(0<b||c[a])c[a]=(c[a]||0)+b,c[a]===+(0<b)&&d.push(a)});h.data("$classCounts",c);return d.join(" ")}function m(b){if(!0===a||f.$index%2===a){var k=e(b||[]);if(!l){var m=n(k,1);g.$addClass(m)}else if(!ya(b, l)){var q=e(l),m=d(k,q),k=d(q,k),k=n(k,-1),m=n(m,1);0===m.length?c.removeClass(h,k):0===k.length?c.addClass(h,m):c.setClass(h,m,k)}}l=ia(b)}var l;f.$watch(g[b],m,!0);g.$observe("class",function(a){m(f.$eval(g[b]))});"ngClass"!==b&&f.$watch("$index",function(c,d){var h=c&1;if(h!==(d&1)){var l=e(f.$eval(g[b]));h===a?(h=n(l,1),g.$addClass(h)):(h=n(l,-1),g.$removeClass(h))}})}}}]}var r=function(b){return z(b)?b.toLowerCase():b},Db=Object.prototype.hasOwnProperty,Ia=function(b){return z(b)?b.toUpperCase(): b},T,w,ra,pa=[].slice,df=[].push,wa=Object.prototype.toString,Qa=G("ng"),Sa=K.angular||(K.angular={}),Ua,Ma,ha=["0","0","0"];T=W((/msie (\d+)/.exec(r(navigator.userAgent))||[])[1]);isNaN(T)&&(T=W((/trident\/.*; rv:(\d+)/.exec(r(navigator.userAgent))||[])[1]));A.$inject=[];Ea.$inject=[];var Y=function(){return String.prototype.trim?function(b){return z(b)?b.trim():b}:function(b){return z(b)?b.replace(/^\s\s*/,"").replace(/\s\s*$/,""):b}}();Ma=9>T?function(b){b=b.nodeName?b:b[0];return b.scopeName&& "HTML"!=b.scopeName?Ia(b.scopeName+":"+b.nodeName):b.nodeName}:function(b){return b.nodeName?b.nodeName:b[0].nodeName};var hc=["ng-","data-ng-","ng:","x-ng-"],ld=/[A-Z]/g,pd={full:"1.3.0-beta.11",major:1,minor:3,dot:0,codeName:"transclusion-deforestation"},Xa=N.cache={},mb=N.expando="ng"+(new Date).getTime(),Ee=1,tb=K.document.addEventListener?function(b,a,c){b.addEventListener(a,c,!1)}:function(b,a,c){b.attachEvent("on"+a,c)},Wa=K.document.removeEventListener?function(b,a,c){b.removeEventListener(a, c,!1)}:function(b,a,c){b.detachEvent("on"+a,c)};N._data=function(b){return this.cache[b[this.expando]]||{}};var ye=/([\:\-\_]+(.))/g,ze=/^moz([A-Z])/,Lb=G("jqLite"),De=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,Kb=/<|&#?\w+;/,Be=/<([\w:]+)/,Ce=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,ba={option:[1,'<select multiple="multiple">',"</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>", "</tr></tbody></table>"],_default:[0,"",""]};ba.optgroup=ba.option;ba.tbody=ba.tfoot=ba.colgroup=ba.caption=ba.thead;ba.th=ba.td;var Ha=N.prototype={ready:function(b){function a(){c||(c=!0,b())}var c=!1;"complete"===S.readyState?setTimeout(a):(this.on("DOMContentLoaded",a),N(K).on("load",a))},toString:function(){var b=[];q(this,function(a){b.push(""+a)});return"["+b.join(", ")+"]"},eq:function(b){return 0<=b?w(this[b]):w(this[this.length+b])},length:0,push:df,sort:[].sort,splice:[].splice},qb={}; q("multiple selected checked disabled readOnly required open".split(" "),function(b){qb[r(b)]=b});var wc={};q("input select option textarea button form details".split(" "),function(b){wc[Ia(b)]=!0});q({data:sc,inheritedData:pb,scope:function(b){return w(b).data("$scope")||pb(b.parentNode||b,["$isolateScope","$scope"])},isolateScope:function(b){return w(b).data("$isolateScope")||w(b).data("$isolateScopeNoTemplate")},controller:tc,injector:function(b){return pb(b,"$injector")},removeAttr:function(b, a){b.removeAttribute(a)},hasClass:Nb,css:function(b,a,c){a=Va(a);if(F(c))b.style[a]=c;else{var d;8>=T&&(d=b.currentStyle&&b.currentStyle[a],""===d&&(d="auto"));d=d||b.style[a];8>=T&&(d=""===d?t:d);return d}},attr:function(b,a,c){var d=r(a);if(qb[d])if(F(c))c?(b[a]=!0,b.setAttribute(a,d)):(b[a]=!1,b.removeAttribute(d));else return b[a]||(b.attributes.getNamedItem(a)||A).specified?d:t;else if(F(c))b.setAttribute(a,c);else if(b.getAttribute)return b=b.getAttribute(a,2),null===b?t:b},prop:function(b, a,c){if(F(c))b[a]=c;else return b[a]},text:function(){function b(b,d){var e=a[b.nodeType];if(y(d))return e?b[e]:"";b[e]=d}var a=[];9>T?(a[1]="innerText",a[3]="nodeValue"):a[1]=a[3]="textContent";b.$dv="";return b}(),val:function(b,a){if(y(a)){if("SELECT"===Ma(b)&&b.multiple){var c=[];q(b.options,function(a){a.selected&&c.push(a.value||a.text)});return 0===c.length?null:c}return b.value}b.value=a},html:function(b,a){if(y(a))return b.innerHTML;for(var c=0,d=b.childNodes;c<d.length;c++)Ja(d[c]);b.innerHTML= a},empty:uc},function(b,a){N.prototype[a]=function(a,d){var e,f;if(b!==uc&&(2==b.length&&b!==Nb&&b!==tc?a:d)===t){if(Q(a)){for(e=0;e<this.length;e++)if(b===sc)b(this[e],a);else for(f in a)b(this[e],f,a[f]);return this}e=b.$dv;f=e===t?Math.min(this.length,1):this.length;for(var h=0;h<f;h++){var g=b(this[h],a,d);e=e?e+g:g}return e}for(e=0;e<this.length;e++)b(this[e],a,d);return this}});q({removeData:qc,dealoc:Ja,on:function a(c,d,e,f){if(F(f))throw Lb("onargs");var h=ja(c,"events"),g=ja(c,"handle"); h||ja(c,"events",h={});g||ja(c,"handle",g=Fe(c,h));q(d.split(" "),function(d){var f=h[d];if(!f){if("mouseenter"==d||"mouseleave"==d){var l=S.body.contains||S.body.compareDocumentPosition?function(a,c){var d=9===a.nodeType?a.documentElement:a,e=c&&c.parentNode;return a===e||!!(e&&1===e.nodeType&&(d.contains?d.contains(e):a.compareDocumentPosition&&a.compareDocumentPosition(e)&16))}:function(a,c){if(c)for(;c=c.parentNode;)if(c===a)return!0;return!1};h[d]=[];a(c,{mouseleave:"mouseout",mouseenter:"mouseover"}[d], function(a){var c=a.relatedTarget;c&&(c===this||l(this,c))||g(a,d)})}else tb(c,d,g),h[d]=[];f=h[d]}f.push(e)})},off:rc,one:function(a,c,d){a=w(a);a.on(c,function f(){a.off(c,d);a.off(c,f)});a.on(c,d)},replaceWith:function(a,c){var d,e=a.parentNode;Ja(a);q(new N(c),function(c){d?e.insertBefore(c,d.nextSibling):e.replaceChild(c,a);d=c})},children:function(a){var c=[];q(a.childNodes,function(a){1===a.nodeType&&c.push(a)});return c},contents:function(a){return a.contentDocument||a.childNodes||[]},append:function(a, c){q(new N(c),function(c){1!==a.nodeType&&11!==a.nodeType||a.appendChild(c)})},prepend:function(a,c){if(1===a.nodeType){var d=a.firstChild;q(new N(c),function(c){a.insertBefore(c,d)})}},wrap:function(a,c){c=w(c)[0];var d=a.parentNode;d&&d.replaceChild(c,a);c.appendChild(a)},remove:function(a){Ja(a);var c=a.parentNode;c&&c.removeChild(a)},after:function(a,c){var d=a,e=a.parentNode;q(new N(c),function(a){e.insertBefore(a,d.nextSibling);d=a})},addClass:ob,removeClass:nb,toggleClass:function(a,c,d){c&& q(c.split(" "),function(c){var f=d;y(f)&&(f=!Nb(a,c));(f?ob:nb)(a,c)})},parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},next:function(a){if(a.nextElementSibling)return a.nextElementSibling;for(a=a.nextSibling;null!=a&&1!==a.nodeType;)a=a.nextSibling;return a},find:function(a,c){return a.getElementsByTagName?a.getElementsByTagName(c):[]},clone:Mb,triggerHandler:function(a,c,d){c=(ja(a,"events")||{})[c];d=d||[];var e=[{preventDefault:A,stopPropagation:A}];q(c,function(c){c.apply(a, e.concat(d))})}},function(a,c){N.prototype[c]=function(c,e,f){for(var h,g=0;g<this.length;g++)y(h)?(h=a(this[g],c,e,f),F(h)&&(h=w(h))):pc(h,a(this[g],c,e,f));return F(h)?h:this};N.prototype.bind=N.prototype.on;N.prototype.unbind=N.prototype.off});Ya.prototype={put:function(a,c){this[Ka(a)]=c},get:function(a){return this[Ka(a)]},remove:function(a){var c=this[a=Ka(a)];delete this[a];return c}};var yc=/^function\s*[^\(]*\(\s*([^\)]*)\)/m,He=/,/,Ie=/^\s*(_?)(\S+?)\1\s*$/,xc=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg, La=G("$injector");Gb.$$annotate=Ob;var ef=G("$animate"),be=["$provide",function(a){this.$$selectors={};this.register=function(c,d){var e=c+"-animation";if(c&&"."!=c.charAt(0))throw ef("notcsel",c);this.$$selectors[c.substr(1)]=e;a.factory(e,d)};this.classNameFilter=function(a){1===arguments.length&&(this.$$classNameFilter=a instanceof RegExp?a:null);return this.$$classNameFilter};this.$get=["$timeout","$$asyncCallback",function(a,d){return{enter:function(a,c,h,g){h?h.after(a):c.prepend(a);g&&d(g)}, leave:function(a,c){a.remove();c&&d(c)},move:function(a,c,d,g){this.enter(a,c,d,g)},addClass:function(a,c,h){c=z(c)?c:M(c)?c.join(" "):"";q(a,function(a){ob(a,c)});h&&d(h)},removeClass:function(a,c,h){c=z(c)?c:M(c)?c.join(" "):"";q(a,function(a){nb(a,c)});h&&d(h)},setClass:function(a,c,h,g){q(a,function(a){ob(a,c);nb(a,h)});g&&d(g)},enabled:A}}]}],ga=G("$compile");kc.$inject=["$provide","$$sanitizeUriProvider"];var Ne=/^(x[\:\-_]|data[\:\-_])/i,Hc=G("$interpolate"),ff=/^([^\?#]*)(\?([^#]*))?(#(.*))?$/, Qe={http:80,https:443,ftp:21},Tb=G("$location");Vb.prototype=Ub.prototype=Kc.prototype={$$html5:!1,$$replace:!1,absUrl:ub("$$absUrl"),url:function(a,c){if(y(a))return this.$$url;var d=ff.exec(a);d[1]&&this.path(decodeURIComponent(d[1]));(d[2]||d[1])&&this.search(d[3]||"");this.hash(d[5]||"",c);return this},protocol:ub("$$protocol"),host:ub("$$host"),port:ub("$$port"),path:Lc("$$path",function(a){return"/"==a.charAt(0)?a:"/"+a}),search:function(a,c){switch(arguments.length){case 0:return this.$$search; case 1:if(z(a))this.$$search=gc(a);else if(Q(a))this.$$search=a;else throw Tb("isrcharg");break;default:y(c)||null===c?delete this.$$search[a]:this.$$search[a]=c}this.$$compose();return this},hash:Lc("$$hash",Ea),replace:function(){this.$$replace=!0;return this}};var Ca=G("$parse"),gb={"null":function(){return null},"true":function(){return!0},"false":function(){return!1},undefined:A,"+":function(a,c,d,e){d=d(a,c);e=e(a,c);return F(d)?F(e)?d+e:d:F(e)?e:t},"-":function(a,c,d,e){d=d(a,c);e=e(a,c);return(F(d)? d:0)-(F(e)?e:0)},"*":function(a,c,d,e){return d(a,c)*e(a,c)},"/":function(a,c,d,e){return d(a,c)/e(a,c)},"%":function(a,c,d,e){return d(a,c)%e(a,c)},"^":function(a,c,d,e){return d(a,c)^e(a,c)},"=":A,"===":function(a,c,d,e){return d(a,c)===e(a,c)},"!==":function(a,c,d,e){return d(a,c)!==e(a,c)},"==":function(a,c,d,e){return d(a,c)==e(a,c)},"!=":function(a,c,d,e){return d(a,c)!=e(a,c)},"<":function(a,c,d,e){return d(a,c)<e(a,c)},">":function(a,c,d,e){return d(a,c)>e(a,c)},"<=":function(a,c,d,e){return d(a, c)<=e(a,c)},">=":function(a,c,d,e){return d(a,c)>=e(a,c)},"&&":function(a,c,d,e){return d(a,c)&&e(a,c)},"||":function(a,c,d,e){return d(a,c)||e(a,c)},"&":function(a,c,d,e){return d(a,c)&e(a,c)},"|":function(a,c,d,e){return e(a,c)(a,c,d(a,c))},"!":function(a,c,d){return!d(a,c)}},gf={n:"\n",f:"\f",r:"\r",t:"\t",v:"\v","'":"'",'"':'"'},Xb=function(a){this.options=a};Xb.prototype={constructor:Xb,lex:function(a){this.text=a;this.index=0;this.ch=t;for(this.tokens=[];this.index<this.text.length;)if(this.ch= this.text.charAt(this.index),this.is("\"'"))this.readString(this.ch);else if(this.isNumber(this.ch)||this.is(".")&&this.isNumber(this.peek()))this.readNumber();else if(this.isIdent(this.ch))this.readIdent();else if(this.is("(){}[].,;:?"))this.tokens.push({index:this.index,text:this.ch}),this.index++;else if(this.isWhitespace(this.ch))this.index++;else{a=this.ch+this.peek();var c=a+this.peek(2),d=gb[this.ch],e=gb[a],f=gb[c];f?(this.tokens.push({index:this.index,text:c,fn:f}),this.index+=3):e?(this.tokens.push({index:this.index, text:a,fn:e}),this.index+=2):d?(this.tokens.push({index:this.index,text:this.ch,fn:d}),this.index+=1):this.throwError("Unexpected next character ",this.index,this.index+1)}return this.tokens},is:function(a){return-1!==a.indexOf(this.ch)},peek:function(a){a=a||1;return this.index+a<this.text.length?this.text.charAt(this.index+a):!1},isNumber:function(a){return"0"<=a&&"9">=a},isWhitespace:function(a){return" "===a||"\r"===a||"\t"===a||"\n"===a||"\v"===a||"\u00a0"===a},isIdent:function(a){return"a"<= a&&"z">=a||"A"<=a&&"Z">=a||"_"===a||"$"===a},isExpOperator:function(a){return"-"===a||"+"===a||this.isNumber(a)},throwError:function(a,c,d){d=d||this.index;c=F(c)?"s "+c+"-"+this.index+" ["+this.text.substring(c,d)+"]":" "+d;throw Ca("lexerr",a,c,this.text);},readNumber:function(){for(var a="",c=this.index;this.index<this.text.length;){var d=r(this.text.charAt(this.index));if("."==d||this.isNumber(d))a+=d;else{var e=this.peek();if("e"==d&&this.isExpOperator(e))a+=d;else if(this.isExpOperator(d)&& e&&this.isNumber(e)&&"e"==a.charAt(a.length-1))a+=d;else if(!this.isExpOperator(d)||e&&this.isNumber(e)||"e"!=a.charAt(a.length-1))break;else this.throwError("Invalid exponent")}this.index++}a*=1;this.tokens.push({index:c,text:a,constant:!0,fn:function(){return a}})},readIdent:function(){for(var a=this,c="",d=this.index,e,f,h,g;this.index<this.text.length;){g=this.text.charAt(this.index);if("."===g||this.isIdent(g)||this.isNumber(g))"."===g&&(e=this.index),c+=g;else break;this.index++}if(e)for(f= this.index;f<this.text.length;){g=this.text.charAt(f);if("("===g){h=c.substr(e-d+1);c=c.substr(0,e-d);this.index=f;break}if(this.isWhitespace(g))f++;else break}d={index:d,text:c};if(gb.hasOwnProperty(c))d.fn=gb[c],d.constant=!0;else{var n=Nc(c,this.options,this.text);d.fn=D(function(a,c){return n(a,c)},{assign:function(d,e){return vb(d,c,e,a.text)}})}this.tokens.push(d);h&&(this.tokens.push({index:e,text:"."}),this.tokens.push({index:e+1,text:h}))},readString:function(a){var c=this.index;this.index++; for(var d="",e=a,f=!1;this.index<this.text.length;){var h=this.text.charAt(this.index),e=e+h;if(f)"u"===h?(h=this.text.substring(this.index+1,this.index+5),h.match(/[\da-f]{4}/i)||this.throwError("Invalid unicode escape [\\u"+h+"]"),this.index+=4,d+=String.fromCharCode(parseInt(h,16))):d=(f=gf[h])?d+f:d+h,f=!1;else if("\\"===h)f=!0;else{if(h===a){this.index++;this.tokens.push({index:c,text:e,string:d,constant:!0,fn:function(){return d}});return}d+=h}this.index++}this.throwError("Unterminated quote", c)}};var db=function(a,c,d){this.lexer=a;this.$filter=c;this.options=d};db.ZERO=D(function(){return 0},{constant:!0});db.prototype={constructor:db,parse:function(a){this.text=a;this.tokens=this.lexer.lex(a);a=this.statements();0!==this.tokens.length&&this.throwError("is an unexpected token",this.tokens[0]);a.literal=!!a.literal;a.constant=!!a.constant;return a},primary:function(){var a;if(this.expect("("))a=this.filterChain(),this.consume(")");else if(this.expect("["))a=this.arrayDeclaration();else if(this.expect("{"))a= this.object();else{var c=this.expect();(a=c.fn)||this.throwError("not a primary expression",c);c.constant&&(a.constant=!0,a.literal=!0)}for(var d;c=this.expect("(","[",".");)"("===c.text?(a=this.functionCall(a,d),d=null):"["===c.text?(d=a,a=this.objectIndex(a)):"."===c.text?(d=a,a=this.fieldAccess(a)):this.throwError("IMPOSSIBLE");return a},throwError:function(a,c){throw Ca("syntax",c.text,a,c.index+1,this.text,this.text.substring(c.index));},peekToken:function(){if(0===this.tokens.length)throw Ca("ueoe", this.text);return this.tokens[0]},peek:function(a,c,d,e){if(0<this.tokens.length){var f=this.tokens[0],h=f.text;if(h===a||h===c||h===d||h===e||!(a||c||d||e))return f}return!1},expect:function(a,c,d,e){return(a=this.peek(a,c,d,e))?(this.tokens.shift(),a):!1},consume:function(a){this.expect(a)||this.throwError("is unexpected, expecting ["+a+"]",this.peek())},unaryFn:function(a,c){return D(function(d,e){return a(d,e,c)},{constant:c.constant})},ternaryFn:function(a,c,d){return D(function(e,f){return a(e, f)?c(e,f):d(e,f)},{constant:a.constant&&c.constant&&d.constant})},binaryFn:function(a,c,d){return D(function(e,f){return c(e,f,a,d)},{constant:a.constant&&d.constant})},statements:function(){for(var a=[];;)if(0<this.tokens.length&&!this.peek("}",")",";","]")&&a.push(this.filterChain()),!this.expect(";"))return 1===a.length?a[0]:function(c,d){for(var e,f=0;f<a.length;f++){var h=a[f];h&&(e=h(c,d))}return e}},filterChain:function(){for(var a=this.expression(),c;;)if(c=this.expect("|"))a=this.binaryFn(a, c.fn,this.filter());else return a},filter:function(){for(var a=this.expect(),c=this.$filter(a.text),d=[];this.expect(":");)d.push(this.expression());return aa(function(a,f,h){h=[h];for(var g=0;g<d.length;g++)h.push(d[g](a,f));return c.apply(a,h)})},expression:function(){return this.assignment()},assignment:function(){var a=this.ternary(),c,d;return(d=this.expect("="))?(a.assign||this.throwError("implies assignment but ["+this.text.substring(0,d.index)+"] can not be assigned to",d),c=this.ternary(), function(d,f){return a.assign(d,c(d,f),f)}):a},ternary:function(){var a=this.logicalOR(),c,d;if(this.expect("?")){c=this.ternary();if(d=this.expect(":"))return this.ternaryFn(a,c,this.ternary());this.throwError("expected :",d)}else return a},logicalOR:function(){for(var a=this.logicalAND(),c;;)if(c=this.expect("||"))a=this.binaryFn(a,c.fn,this.logicalAND());else return a},logicalAND:function(){var a=this.equality(),c;if(c=this.expect("&&"))a=this.binaryFn(a,c.fn,this.logicalAND());return a},equality:function(){var a= this.relational(),c;if(c=this.expect("==","!=","===","!=="))a=this.binaryFn(a,c.fn,this.equality());return a},relational:function(){var a=this.additive(),c;if(c=this.expect("<",">","<=",">="))a=this.binaryFn(a,c.fn,this.relational());return a},additive:function(){for(var a=this.multiplicative(),c;c=this.expect("+","-");)a=this.binaryFn(a,c.fn,this.multiplicative());return a},multiplicative:function(){for(var a=this.unary(),c;c=this.expect("*","/","%");)a=this.binaryFn(a,c.fn,this.unary());return a}, unary:function(){var a;return this.expect("+")?this.primary():(a=this.expect("-"))?this.binaryFn(db.ZERO,a.fn,this.unary()):(a=this.expect("!"))?this.unaryFn(a.fn,this.unary()):this.primary()},fieldAccess:function(a){var c=this,d=this.expect().text,e=Nc(d,this.options,this.text);return D(function(c,d,g){return e(g||a(c,d))},{assign:function(e,h,g){return vb(a(e,g),d,h,c.text)}})},objectIndex:function(a){var c=this,d=this.expression();this.consume("]");return D(function(e,f){var h=a(e,f),g=d(e,f); return h?cb(h[g],c.text):t},{assign:function(e,f,h){var g=d(e,h);return cb(a(e,h),c.text)[g]=f}})},functionCall:function(a,c){var d=[];if(")"!==this.peekToken().text){do d.push(this.expression());while(this.expect(","))}this.consume(")");var e=this;return function(f,h){for(var g=[],n=c?c(f,h):f,m=0;m<d.length;m++)g.push(d[m](f,h));m=a(f,h,n)||A;cb(n,e.text);cb(m,e.text);g=m.apply?m.apply(n,g):m(g[0],g[1],g[2],g[3],g[4]);return cb(g,e.text)}},arrayDeclaration:function(){var a=[],c=!0;if("]"!==this.peekToken().text){do{if(this.peek("]"))break; var d=this.expression();a.push(d);d.constant||(c=!1)}while(this.expect(","))}this.consume("]");return D(function(c,d){for(var h=[],g=0;g<a.length;g++)h.push(a[g](c,d));return h},{literal:!0,constant:c})},object:function(){var a=[],c=!0;if("}"!==this.peekToken().text){do{if(this.peek("}"))break;var d=this.expect(),d=d.string||d.text;this.consume(":");var e=this.expression();a.push({key:d,value:e});e.constant||(c=!1)}while(this.expect(","))}this.consume("}");return D(function(c,d){for(var e={},n=0;n< a.length;n++){var m=a[n];e[m.key]=m.value(c,d)}return e},{literal:!0,constant:c})}};var Wb={},ua=G("$sce"),ea={HTML:"html",CSS:"css",URL:"url",RESOURCE_URL:"resourceUrl",JS:"js"},Z=S.createElement("a"),Pc=ta(K.location.href,!0);oc.$inject=["$provide"];Qc.$inject=["$locale"];Sc.$inject=["$locale"];var Vc=".",bf={yyyy:$("FullYear",4),yy:$("FullYear",2,0,!0),y:$("FullYear",1),MMMM:xb("Month"),MMM:xb("Month",!0),MM:$("Month",2,1),M:$("Month",1,1),dd:$("Date",2),d:$("Date",1),HH:$("Hours",2),H:$("Hours", 1),hh:$("Hours",2,-12),h:$("Hours",1,-12),mm:$("Minutes",2),m:$("Minutes",1),ss:$("Seconds",2),s:$("Seconds",1),sss:$("Milliseconds",3),EEEE:xb("Day"),EEE:xb("Day",!0),a:function(a,c){return 12>a.getHours()?c.AMPMS[0]:c.AMPMS[1]},Z:function(a){a=-1*a.getTimezoneOffset();return a=(0<=a?"+":"")+(wb(Math[0<a?"floor":"ceil"](a/60),2)+wb(Math.abs(a%60),2))},ww:Xc(2),w:Xc(1)},af=/((?:[^yMdHhmsaZEw']+)|(?:'(?:[^']|'')*')|(?:E+|y+|M+|d+|H+|h+|m+|s+|a|Z|w+))(.*)/,$e=/^\-?\d+$/;Rc.$inject=["$locale"];var Ye= aa(r),Ze=aa(Ia);Tc.$inject=["$parse"];var sd=aa({restrict:"E",compile:function(a,c){8>=T&&(c.href||c.name||c.$set("href",""),a.append(S.createComment("IE fix")));if(!c.href&&!c.xlinkHref&&!c.name)return function(a,c){var f="[object SVGAnimatedString]"===wa.call(c.prop("href"))?"xlink:href":"href";c.on("click",function(a){c.attr(f)||a.preventDefault()})}}}),Jb={};q(qb,function(a,c){if("multiple"!=a){var d=la("ng-"+c);Jb[d]=function(){return{priority:100,link:function(a,f,h){a.$watch(h[d],function(a){h.$set(c, !!a)})}}}}});q(["src","srcset","href"],function(a){var c=la("ng-"+a);Jb[c]=function(){return{priority:99,link:function(d,e,f){var h=a,g=a;"href"===a&&"[object SVGAnimatedString]"===wa.call(e.prop("href"))&&(g="xlinkHref",f.$attr[g]="xlink:href",h=null);f.$observe(c,function(a){a&&(f.$set(g,a),T&&h&&e.prop(h,f[g]))})}}}});var Ab={$addControl:A,$removeControl:A,$setValidity:A,$setDirty:A,$setPristine:A};Yc.$inject=["$element","$attrs","$scope","$animate"];var Zc=function(a){return["$timeout",function(c){return{name:"form", restrict:a?"EAC":"E",controller:Yc,compile:function(){return{pre:function(a,e,f,h){if(!f.action){var g=function(c){a.$apply(function(){h.$commitViewValue()});c.preventDefault?c.preventDefault():c.returnValue=!1};tb(e[0],"submit",g);e.on("$destroy",function(){c(function(){Wa(e[0],"submit",g)},0,!1)})}var n=e.parent().controller("form"),m=f.name||f.ngForm;m&&vb(a,m,h,m);if(n)e.on("$destroy",function(){n.$removeControl(h);m&&vb(a,m,t,m);D(h,Ab)})}}}}}]},td=Zc(),Gd=Zc(!0),hf=/^(ftp|http|https):\/\/(\w+:{0,1}\w*@)?(\S+)(:[0-9]+)?(\/|\/([\w#!:.?+=&%@!\-\/]))?$/, jf=/^[a-z0-9!#$%&'*+/=?^_`{|}~.-]+@[a-z0-9-]+(\.[a-z0-9-]+)*$/i,kf=/^\s*(\-|\+)?(\d+|(\d*(\.\d*)))\s*$/,$c=/^(\d{4})-(\d{2})-(\d{2})$/,ad=/^(\d{4})-(\d\d)-(\d\d)T(\d\d):(\d\d)$/,Zb=/^(\d{4})-W(\d\d)$/,bd=/^(\d{4})-(\d\d)$/,cd=/^(\d\d):(\d\d)$/,lf=/(\s+|^)default(\s+|$)/,dd={text:eb,date:fb("date",$c,Cb($c,["yyyy","MM","dd"]),"yyyy-MM-dd"),"datetime-local":fb("datetimelocal",ad,Cb(ad,["yyyy","MM","dd","HH","mm"]),"yyyy-MM-ddTHH:mm"),time:fb("time",cd,Cb(cd,["HH","mm"]),"HH:mm"),week:fb("week",Zb,function(a){if(oa(a))return a; if(z(a)){Zb.lastIndex=0;var c=Zb.exec(a);if(c){a=+c[1];var d=+c[2],c=Wc(a),d=7*(d-1);return new Date(a,0,c.getDate()+d)}}return NaN},"yyyy-Www"),month:fb("month",bd,Cb(bd,["yyyy","MM"]),"yyyy-MM"),number:function(a,c,d,e,f,h){eb(a,c,d,e,f,h);e.$parsers.push(function(a){var c=e.$isEmpty(a);if(c||kf.test(a))return e.$setValidity("number",!0),""===a?null:c?a:parseFloat(a);e.$setValidity("number",!1);return t});cf(e,"number",c);e.$formatters.push(function(a){return e.$isEmpty(a)?"":""+a});d.min&&(a=function(a){var c= parseFloat(d.min);return na(e,"min",e.$isEmpty(a)||a>=c,a)},e.$parsers.push(a),e.$formatters.push(a));d.max&&(a=function(a){var c=parseFloat(d.max);return na(e,"max",e.$isEmpty(a)||a<=c,a)},e.$parsers.push(a),e.$formatters.push(a));e.$formatters.push(function(a){return na(e,"number",e.$isEmpty(a)||Fa(a),a)})},url:function(a,c,d,e,f,h){eb(a,c,d,e,f,h);a=function(a){return na(e,"url",e.$isEmpty(a)||hf.test(a),a)};e.$formatters.push(a);e.$parsers.push(a)},email:function(a,c,d,e,f,h){eb(a,c,d,e,f,h); a=function(a){return na(e,"email",e.$isEmpty(a)||jf.test(a),a)};e.$formatters.push(a);e.$parsers.push(a)},radio:function(a,c,d,e){y(d.name)&&c.attr("name",ib());c.on("click",function(f){c[0].checked&&a.$apply(function(){e.$setViewValue(d.value,f&&f.type)})});e.$render=function(){c[0].checked=d.value==e.$viewValue};d.$observe("value",e.$render)},checkbox:function(a,c,d,e){var f=d.ngTrueValue,h=d.ngFalseValue;z(f)||(f=!0);z(h)||(h=!1);c.on("click",function(d){a.$apply(function(){e.$setViewValue(c[0].checked, d&&d.type)})});e.$render=function(){c[0].checked=e.$viewValue};e.$isEmpty=function(a){return a!==f};e.$formatters.push(function(a){return a===f});e.$parsers.push(function(a){return a?f:h})},hidden:A,button:A,submit:A,reset:A,file:A},lc=["$browser","$sniffer","$filter",function(a,c,d){return{restrict:"E",require:["?ngModel"],link:function(e,f,h,g){g[0]&&(dd[r(h.type)]||dd.text)(e,f,h,g[0],c,a,d)}}}],zb="ng-valid",yb="ng-invalid",Oa="ng-pristine",Bb="ng-dirty",mf=["$scope","$exceptionHandler","$attrs", "$element","$parse","$animate","$timeout",function(a,c,d,e,f,h,g){function n(a,c){c=c?"-"+lb(c,"-"):"";h.removeClass(e,(a?yb:zb)+c);h.addClass(e,(a?zb:yb)+c)}this.$modelValue=this.$viewValue=Number.NaN;this.$parsers=[];this.$formatters=[];this.$viewChangeListeners=[];this.$pristine=!0;this.$dirty=!1;this.$valid=!0;this.$invalid=!1;this.$name=d.name;var m=f(d.ngModel),l=m.assign,p=null,k=this;if(!l)throw G("ngModel")("nonassign",d.ngModel,fa(e));this.$render=A;this.$isEmpty=function(a){return y(a)|| ""===a||null===a||a!==a};var s=e.inheritedData("$formController")||Ab,r=0,L=this.$error={};e.addClass(Oa);n(!0);this.$setValidity=function(a,c){L[a]!==!c&&(c?(L[a]&&r--,r||(n(!0),k.$valid=!0,k.$invalid=!1)):(n(!1),k.$invalid=!0,k.$valid=!1,r++),L[a]=!c,n(c,a),s.$setValidity(a,c,k))};this.$setPristine=function(){k.$dirty=!1;k.$pristine=!0;h.removeClass(e,Bb);h.addClass(e,Oa)};this.$rollbackViewValue=function(){g.cancel(p);k.$viewValue=k.$$lastCommittedViewValue;k.$render()};this.$commitViewValue=function(){var d= k.$viewValue;g.cancel(p);k.$$lastCommittedViewValue!==d&&(k.$$lastCommittedViewValue=d,k.$pristine&&(k.$dirty=!0,k.$pristine=!1,h.removeClass(e,Oa),h.addClass(e,Bb),s.$setDirty()),q(k.$parsers,function(a){d=a(d)}),k.$modelValue!==d&&(k.$modelValue=d,l(a,d),q(k.$viewChangeListeners,function(a){try{a()}catch(d){c(d)}})))};this.$setViewValue=function(a,c){k.$viewValue=a;k.$options&&!k.$options.updateOnDefault||k.$$debounceViewValueCommit(c)};this.$$debounceViewValueCommit=function(a){var c=0,d=k.$options; d&&F(d.debounce)&&(d=d.debounce,Fa(d)?c=d:Fa(d[a])?c=d[a]:Fa(d["default"])&&(c=d["default"]));g.cancel(p);c?p=g(function(){k.$commitViewValue()},c):k.$commitViewValue()};a.$watch(function(){var c=m(a);if(k.$modelValue!==c){var d=k.$formatters,e=d.length;for(k.$modelValue=c;e--;)c=d[e](c);k.$viewValue!==c&&(k.$viewValue=k.$$lastCommittedViewValue=c,k.$render())}return c})}],Vd=function(){return{require:["ngModel","^?form","^?ngModelOptions"],controller:mf,link:{pre:function(a,c,d,e){e[2]&&(e[0].$options= e[2].$options);var f=e[0],h=e[1]||Ab;h.$addControl(f);a.$on("$destroy",function(){h.$removeControl(f)})},post:function(a,c,d,e){var f=e[0];if(f.$options&&f.$options.updateOn)c.on(f.$options.updateOn,function(c){a.$apply(function(){f.$$debounceViewValueCommit(c&&c.type)})})}}}},Xd=aa({require:"ngModel",link:function(a,c,d,e){e.$viewChangeListeners.push(function(){a.$eval(d.ngChange)})}}),mc=function(){return{require:"?ngModel",link:function(a,c,d,e){if(e){d.required=!0;var f=function(a){if(d.required&& e.$isEmpty(a))e.$setValidity("required",!1);else return e.$setValidity("required",!0),a};e.$formatters.push(f);e.$parsers.unshift(f);d.$observe("required",function(){f(e.$viewValue)})}}}},Wd=function(){return{require:"ngModel",link:function(a,c,d,e){var f=(a=/\/(.*)\//.exec(d.ngList))&&RegExp(a[1])||d.ngList||",";e.$parsers.push(function(a){if(!y(a)){var c=[];a&&q(a.split(f),function(a){a&&c.push(Y(a))});return c}});e.$formatters.push(function(a){return M(a)?a.join(", "):t});e.$isEmpty=function(a){return!a|| !a.length}}}},nf=/^(true|false|\d+)$/,Yd=function(){return{priority:100,compile:function(a,c){return nf.test(c.ngValue)?function(a,c,f){f.$set("value",a.$eval(f.ngValue))}:function(a,c,f){a.$watch(f.ngValue,function(a){f.$set("value",a)})}}}},Zd=function(){return{controller:["$scope","$attrs",function(a,c){var d=this;this.$options=a.$eval(c.ngModelOptions);this.$options.updateOn!==t?(this.$options.updateOnDefault=!1,this.$options.updateOn=Y(this.$options.updateOn.replace(lf,function(){d.$options.updateOnDefault= !0;return" "}))):this.$options.updateOnDefault=!0}]}},yd=va(function(a,c,d){c.addClass("ng-binding").data("$binding",d.ngBind);a.$watch(d.ngBind,function(a){c.text(a==t?"":a)})}),Ad=["$interpolate",function(a){return function(c,d,e){c=a(d.attr(e.$attr.ngBindTemplate));d.addClass("ng-binding").data("$binding",c);e.$observe("ngBindTemplate",function(a){d.text(a)})}}],zd=["$sce","$parse",function(a,c){return function(d,e,f){function h(){var a=g(d);h.$$unwatch=g.$$unwatch;return(a||"").toString()}e.addClass("ng-binding").data("$binding", f.ngBindHtml);var g=c(f.ngBindHtml);d.$watch(h,function(c){e.html(a.getTrustedHtml(g(d))||"")})}}],Bd=Yb("",!0),Dd=Yb("Odd",0),Cd=Yb("Even",1),Ed=va({compile:function(a,c){c.$set("ngCloak",t);a.removeClass("ng-cloak")}}),Fd=[function(){return{scope:!0,controller:"@",priority:500}}],nc={};q("click dblclick mousedown mouseup mouseover mouseout mousemove mouseenter mouseleave keydown keyup keypress submit focus blur copy cut paste".split(" "),function(a){var c=la("ng-"+a);nc[c]=["$parse",function(d){return{compile:function(e, f){var h=d(f[c]);return function(c,d,e){d.on(r(a),function(a){c.$apply(function(){h(c,{$event:a})})})}}}}]});var Id=["$animate",function(a){return{transclude:"element",priority:600,terminal:!0,restrict:"A",$$tlb:!0,link:function(c,d,e,f,h){var g,n,m;c.$watch(e.ngIf,function(c){Ra(c)?n||h(function(c,f){n=f;c[c.length++]=S.createComment(" end ngIf: "+e.ngIf+" ");g={clone:c};a.enter(c,d.parent(),d)}):(m&&(m.remove(),m=null),n&&(n.$destroy(),n=null),g&&(m=Ib(g.clone),a.leave(m,function(){m=null}),g=null))})}}}], Jd=["$http","$templateCache","$anchorScroll","$animate","$sce",function(a,c,d,e,f){return{restrict:"ECA",priority:400,terminal:!0,transclude:"element",controller:Sa.noop,compile:function(h,g){var n=g.ngInclude||g.src,m=g.onload||"",l=g.autoscroll;return function(g,h,q,r,L){var x=0,t,u,E,v=function(){u&&(u.remove(),u=null);t&&(t.$destroy(),t=null);E&&(e.leave(E,function(){u=null}),u=E,E=null)};g.$watch(f.parseAsResourceUrl(n),function(f){var n=function(){!F(l)||l&&!g.$eval(l)||d()},q=++x;f?(a.get(f, {cache:c}).success(function(a){if(q===x){var c=g.$new();r.template=a;a=L(c,function(a){v();e.enter(a,null,h,n)});t=c;E=a;t.$emit("$includeContentLoaded");g.$eval(m)}}).error(function(){q===x&&v()}),g.$emit("$includeContentRequested")):(v(),r.template=null)})}}}}],$d=["$compile",function(a){return{restrict:"ECA",priority:-400,require:"ngInclude",link:function(c,d,e,f){d.html(f.template);a(d.contents())(c)}}}],Kd=va({priority:450,compile:function(){return{pre:function(a,c,d){a.$eval(d.ngInit)}}}}), Ld=va({terminal:!0,priority:1E3}),Md=["$locale","$interpolate",function(a,c){var d=/{}/g;return{restrict:"EA",link:function(e,f,h){var g=h.count,n=h.$attr.when&&f.attr(h.$attr.when),m=h.offset||0,l=e.$eval(n)||{},p={},k=c.startSymbol(),s=c.endSymbol(),t=/^when(Minus)?(.+)$/;q(h,function(a,c){t.test(c)&&(l[r(c.replace("when","").replace("Minus","-"))]=f.attr(h.$attr[c]))});q(l,function(a,e){p[e]=c(a.replace(d,k+g+"-"+m+s))});e.$watch(function(){var c=parseFloat(e.$eval(g));if(isNaN(c))return"";c in l||(c=a.pluralCat(c-m));return p[c](e)},function(a){f.text(a)})}}}],Nd=["$parse","$animate",function(a,c){var d=G("ngRepeat");return{transclude:"element",priority:1E3,terminal:!0,$$tlb:!0,link:function(e,f,h,g,n){var m=h.ngRepeat,l=m.match(/^\s*([\s\S]+?)\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?\s*$/),p,k,s,r,t,x,y={$id:Ka};if(!l)throw d("iexp",m);h=l[1];g=l[2];(l=l[3])?(p=a(l),k=function(a,c,d){x&&(y[x]=a);y[t]=c;y.$index=d;return p(e,y)}):(s=function(a,c){return Ka(c)},r=function(a){return a}); l=h.match(/^(?:([\$\w]+)|\(([\$\w]+)\s*,\s*([\$\w]+)\))$/);if(!l)throw d("iidexp",h);t=l[3]||l[1];x=l[2];var u={};e.$watchCollection(g,function(a){var e,g,h=f[0],l,p={},y,B,F,J,I,D,z,A=[],G=function(a,c){a[t]=F;x&&(a[x]=B);a.$index=c;a.$first=0===c;a.$last=c===y-1;a.$middle=!(a.$first||a.$last);a.$odd=!(a.$even=0===(c&1))};if(hb(a))D=a,I=k||s;else{I=k||r;D=[];for(g in a)a.hasOwnProperty(g)&&"$"!=g.charAt(0)&&D.push(g);D.sort()}y=D.length;g=A.length=D.length;for(e=0;e<g;e++)if(B=a===D?e:D[e],F=a[B], J=I(B,F,e),Aa(J,"`track by` id"),u.hasOwnProperty(J))z=u[J],delete u[J],p[J]=z,A[e]=z;else{if(p.hasOwnProperty(J))throw q(A,function(a){a&&a.scope&&(u[a.id]=a)}),d("dupes",m,J);A[e]={id:J};p[J]=!1}for(l in u)u.hasOwnProperty(l)&&(z=u[l],g=Ib(z.clone),c.leave(g),q(g,function(a){a.$$NG_REMOVED=!0}),z.scope.$destroy());e=0;for(g=D.length;e<g;e++)if(B=a===D?e:D[e],F=a[B],z=A[e],A[e-1]&&(h=A[e-1].clone[A[e-1].clone.length-1]),z.scope){l=h;do l=l.nextSibling;while(l&&l.$$NG_REMOVED);z.clone[0]!=l&&c.move(Ib(z.clone), null,w(h));h=z.clone[z.clone.length-1];G(z.scope,e)}else n(function(a,d){z.scope=d;a[a.length++]=S.createComment(" end ngRepeat: "+m+" ");c.enter(a,null,w(h));h=a;z.clone=a;p[z.id]=z;G(z.scope,e)});u=p})}}}],Od=["$animate",function(a){return function(c,d,e){c.$watch(e.ngShow,function(c){a[Ra(c)?"removeClass":"addClass"](d,"ng-hide")})}}],Hd=["$animate",function(a){return function(c,d,e){c.$watch(e.ngHide,function(c){a[Ra(c)?"addClass":"removeClass"](d,"ng-hide")})}}],Pd=va(function(a,c,d){a.$watch(d.ngStyle, function(a,d){d&&a!==d&&q(d,function(a,d){c.css(d,"")});a&&c.css(a)},!0)}),Qd=["$animate",function(a){return{restrict:"EA",require:"ngSwitch",controller:["$scope",function(){this.cases={}}],link:function(c,d,e,f){var h=[],g=[],n=[],m=[];c.$watch(e.ngSwitch||e.on,function(d){var p,k;p=0;for(k=n.length;p<k;++p)n[p].remove();p=n.length=0;for(k=m.length;p<k;++p){var s=g[p];m[p].$destroy();n[p]=s;a.leave(s,function(){n.splice(p,1)})}g.length=0;m.length=0;if(h=f.cases["!"+d]||f.cases["?"])c.$eval(e.change), q(h,function(d){var e=c.$new();m.push(e);d.transclude(e,function(c){var e=d.element;g.push(c);a.enter(c,e.parent(),e)})})})}}}],Rd=va({transclude:"element",priority:800,require:"^ngSwitch",link:function(a,c,d,e,f){e.cases["!"+d.ngSwitchWhen]=e.cases["!"+d.ngSwitchWhen]||[];e.cases["!"+d.ngSwitchWhen].push({transclude:f,element:c})}}),Sd=va({transclude:"element",priority:800,require:"^ngSwitch",link:function(a,c,d,e,f){e.cases["?"]=e.cases["?"]||[];e.cases["?"].push({transclude:f,element:c})}}),Ud= va({link:function(a,c,d,e,f){if(!f)throw G("ngTransclude")("orphan",fa(c));f(function(a){c.empty();c.append(a)})}}),ud=["$templateCache",function(a){return{restrict:"E",terminal:!0,compile:function(c,d){"text/ng-template"==d.type&&a.put(d.id,c[0].text)}}}],of=G("ngOptions"),Td=aa({terminal:!0}),vd=["$compile","$parse",function(a,c){var d=/^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?\s+for\s+(?:([\$\w][\$\w]*)|(?:\(\s*([\$\w][\$\w]*)\s*,\s*([\$\w][\$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/, e={$setViewValue:A};return{restrict:"E",require:["select","?ngModel"],controller:["$element","$scope","$attrs",function(a,c,d){var n=this,m={},l=e,p;n.databound=d.ngModel;n.init=function(a,c,d){l=a;p=d};n.addOption=function(c){Aa(c,'"option value"');m[c]=!0;l.$viewValue==c&&(a.val(c),p.parent()&&p.remove())};n.removeOption=function(a){this.hasOption(a)&&(delete m[a],l.$viewValue==a&&this.renderUnknownOption(a))};n.renderUnknownOption=function(c){c="? "+Ka(c)+" ?";p.val(c);a.prepend(p);a.val(c);p.prop("selected", !0)};n.hasOption=function(a){return m.hasOwnProperty(a)};c.$on("$destroy",function(){n.renderUnknownOption=A})}],link:function(e,h,g,n){function m(a,c,d,e){d.$render=function(){var a=d.$viewValue;e.hasOption(a)?(E.parent()&&E.remove(),c.val(a),""===a&&x.prop("selected",!0)):y(a)&&x?c.val(""):e.renderUnknownOption(a)};c.on("change",function(){a.$apply(function(){E.parent()&&E.remove();d.$setViewValue(c.val())})})}function l(a,c,d){var e;d.$render=function(){var a=new Ya(d.$viewValue);q(c.find("option"), function(c){c.selected=F(a.get(c.value))})};a.$watch(function(){ya(e,d.$viewValue)||(e=ia(d.$viewValue),d.$render())});c.on("change",function(){a.$apply(function(){var a=[];q(c.find("option"),function(c){c.selected&&a.push(c.value)});d.$setViewValue(a)})})}function p(e,f,g){function h(){var a={"":[]},c=[""],d,k,r,t,w;t=g.$modelValue;w=x(e)||[];var B=n?$b(w):w,E,A,C;A={};r=!1;var G,K;if(s)if(v&&M(t))for(r=new Ya([]),C=0;C<t.length;C++)A[m]=t[C],r.put(v(e,A),t[C]);else r=new Ya(t);for(C=0;E=B.length, C<E;C++){k=C;if(n){k=B[C];if("$"===k.charAt(0))continue;A[n]=k}A[m]=w[k];d=p(e,A)||"";(k=a[d])||(k=a[d]=[],c.push(d));s?d=F(r.remove(v?v(e,A):q(e,A))):(v?(d={},d[m]=t,d=v(e,d)===v(e,A)):d=t===q(e,A),r=r||d);G=l(e,A);G=F(G)?G:"";k.push({id:v?v(e,A):n?B[C]:C,label:G,selected:d})}s||(z||null===t?a[""].unshift({id:"",label:"",selected:!r}):r||a[""].unshift({id:"?",label:"",selected:!0}));A=0;for(B=c.length;A<B;A++){d=c[A];k=a[d];y.length<=A?(t={element:u.clone().attr("label",d),label:k.label},w=[t],y.push(w), f.append(t.element)):(w=y[A],t=w[0],t.label!=d&&t.element.attr("label",t.label=d));G=null;C=0;for(E=k.length;C<E;C++)r=k[C],(d=w[C+1])?(G=d.element,d.label!==r.label&&G.text(d.label=r.label),d.id!==r.id&&G.val(d.id=r.id),d.selected!==r.selected&&G.prop("selected",d.selected=r.selected)):(""===r.id&&z?K=z:(K=D.clone()).val(r.id).attr("selected",r.selected).text(r.label),w.push({element:K,label:r.label,id:r.id,selected:r.selected}),G?G.after(K):t.element.append(K),G=K);for(C++;w.length>C;)w.pop().element.remove()}for(;y.length> A;)y.pop()[0].element.remove()}var k;if(!(k=r.match(d)))throw of("iexp",r,fa(f));var l=c(k[2]||k[1]),m=k[4]||k[6],n=k[5],p=c(k[3]||""),q=c(k[2]?k[1]:m),x=c(k[7]),v=k[8]?c(k[8]):null,y=[[{element:f,label:""}]];z&&(a(z)(e),z.removeClass("ng-scope"),z.remove());f.empty();f.on("change",function(){e.$apply(function(){var a,c=x(e)||[],d={},h,k,l,p,r,u,w;if(s)for(k=[],p=0,u=y.length;p<u;p++)for(a=y[p],l=1,r=a.length;l<r;l++){if((h=a[l].element)[0].selected){h=h.val();n&&(d[n]=h);if(v)for(w=0;w<c.length&& (d[m]=c[w],v(e,d)!=h);w++);else d[m]=c[h];k.push(q(e,d))}}else{h=f.val();if("?"==h)k=t;else if(""===h)k=null;else if(v)for(w=0;w<c.length;w++){if(d[m]=c[w],v(e,d)==h){k=q(e,d);break}}else d[m]=c[h],n&&(d[n]=h),k=q(e,d);1<y[0].length&&y[0][1].id!==h&&(y[0][1].selected=!1)}g.$setViewValue(k)})});g.$render=h;e.$watch(h)}if(n[1]){var k=n[0];n=n[1];var s=g.multiple,r=g.ngOptions,z=!1,x,D=w(S.createElement("option")),u=w(S.createElement("optgroup")),E=D.clone();g=0;for(var v=h.children(),A=v.length;g<A;g++)if(""=== v[g].value){x=z=v.eq(g);break}k.init(n,z,E);s&&(n.$isEmpty=function(a){return!a||0===a.length});r?p(e,h,n):s?l(e,h,n):m(e,h,n,k)}}}}],xd=["$interpolate",function(a){var c={addOption:A,removeOption:A};return{restrict:"E",priority:100,compile:function(d,e){if(y(e.value)){var f=a(d.text(),!0);f||e.$set("value",d.text())}return function(a,d,e){var m=d.parent(),l=m.data("$selectController")||m.parent().data("$selectController");l&&l.databound?d.prop("selected",!1):l=c;f?a.$watch(f,function(a,c){e.$set("value", a);c!==a&&l.removeOption(c);l.addOption(a)}):l.addOption(e.value);d.on("$destroy",function(){l.removeOption(e.value)})}}}}],wd=aa({restrict:"E",terminal:!1});K.angular.bootstrap?console.log("WARNING: Tried to load angular more than once."):(md(),od(Sa),w(S).ready(function(){kd(S,ic)}))})(window,document);!window.angular.$$csp()&&window.angular.element(document).find("head").prepend('<style type="text/css">@charset "UTF-8";[ng\\:cloak],[ng-cloak],[data-ng-cloak],[x-ng-cloak],.ng-cloak,.x-ng-cloak,.ng-hide:not(.ng-animate){display:none !important;}ng\\:form{display:block;}</style>'); //# sourceMappingURL=angular.min.js.map
2947721120/cdnjs
ajax/libs/angular.js/1.3.0-beta.11/angular.min.js
JavaScript
mit
108,573
/* YUI 3.15.0 (build 834026e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/dataschema-base/dataschema-base.js']) { __coverage__['build/dataschema-base/dataschema-base.js'] = {"path":"build/dataschema-base/dataschema-base.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0]},"f":{"1":0,"2":0,"3":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":27},"end":{"line":1,"column":46}}},"2":{"name":"(anonymous_2)","line":36,"loc":{"start":{"line":36,"column":11},"end":{"line":36,"column":34}}},"3":{"name":"(anonymous_3)","line":48,"loc":{"start":{"line":48,"column":11},"end":{"line":48,"column":34}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":66,"column":37}},"2":{"start":{"line":20,"column":0},"end":{"line":60,"column":2}},"3":{"start":{"line":37,"column":8},"end":{"line":37,"column":20}},"4":{"start":{"line":49,"column":8},"end":{"line":57,"column":9}},"5":{"start":{"line":50,"column":12},"end":{"line":51,"column":54}},"6":{"start":{"line":52,"column":12},"end":{"line":56,"column":13}},"7":{"start":{"line":53,"column":16},"end":{"line":53,"column":49}},"8":{"start":{"line":58,"column":8},"end":{"line":58,"column":21}},"9":{"start":{"line":62,"column":0},"end":{"line":62,"column":44}},"10":{"start":{"line":63,"column":0},"end":{"line":63,"column":23}}},"branchMap":{"1":{"line":49,"type":"if","locations":[{"start":{"line":49,"column":8},"end":{"line":49,"column":8}},{"start":{"line":49,"column":8},"end":{"line":49,"column":8}}]},"2":{"line":50,"type":"cond-expr","locations":[{"start":{"line":51,"column":12},"end":{"line":51,"column":24}},{"start":{"line":51,"column":27},"end":{"line":51,"column":53}}]},"3":{"line":52,"type":"if","locations":[{"start":{"line":52,"column":12},"end":{"line":52,"column":12}},{"start":{"line":52,"column":12},"end":{"line":52,"column":12}}]}},"code":["(function () { YUI.add('dataschema-base', function (Y, NAME) {","","/**"," * The DataSchema utility provides a common configurable interface for widgets to"," * apply a given schema to a variety of data."," *"," * @module dataschema"," * @main dataschema"," */","","/**"," * Provides the base DataSchema implementation, which can be extended to"," * create DataSchemas for specific data formats, such XML, JSON, text and"," * arrays."," *"," * @module dataschema"," * @submodule dataschema-base"," */","","var LANG = Y.Lang,","/**"," * Base class for the YUI DataSchema Utility."," * @class DataSchema.Base"," * @static"," */"," SchemaBase = {"," /**"," * Overridable method returns data as-is."," *"," * @method apply"," * @param schema {Object} Schema to apply."," * @param data {Object} Data."," * @return {Object} Schema-parsed data."," * @static"," */"," apply: function(schema, data) {"," return data;"," },",""," /**"," * Applies field parser, if defined"," *"," * @method parse"," * @param value {Object} Original value."," * @param field {Object} Field."," * @return {Object} Type-converted value."," */"," parse: function(value, field) {"," if(field.parser) {"," var parser = (LANG.isFunction(field.parser)) ?"," field.parser : Y.Parsers[field.parser+''];"," if(parser) {"," value = parser.call(this, value);"," }"," else {"," }"," }"," return value;"," }","};","","Y.namespace(\"DataSchema\").Base = SchemaBase;","Y.namespace(\"Parsers\");","","","}, '3.15.0', {\"requires\": [\"base\"]});","","}());"]}; } var __cov_ogg_CNcIcpOXPnOEm1joVQ = __coverage__['build/dataschema-base/dataschema-base.js']; __cov_ogg_CNcIcpOXPnOEm1joVQ.s['1']++;YUI.add('dataschema-base',function(Y,NAME){__cov_ogg_CNcIcpOXPnOEm1joVQ.f['1']++;__cov_ogg_CNcIcpOXPnOEm1joVQ.s['2']++;var LANG=Y.Lang,SchemaBase={apply:function(schema,data){__cov_ogg_CNcIcpOXPnOEm1joVQ.f['2']++;__cov_ogg_CNcIcpOXPnOEm1joVQ.s['3']++;return data;},parse:function(value,field){__cov_ogg_CNcIcpOXPnOEm1joVQ.f['3']++;__cov_ogg_CNcIcpOXPnOEm1joVQ.s['4']++;if(field.parser){__cov_ogg_CNcIcpOXPnOEm1joVQ.b['1'][0]++;__cov_ogg_CNcIcpOXPnOEm1joVQ.s['5']++;var parser=LANG.isFunction(field.parser)?(__cov_ogg_CNcIcpOXPnOEm1joVQ.b['2'][0]++,field.parser):(__cov_ogg_CNcIcpOXPnOEm1joVQ.b['2'][1]++,Y.Parsers[field.parser+'']);__cov_ogg_CNcIcpOXPnOEm1joVQ.s['6']++;if(parser){__cov_ogg_CNcIcpOXPnOEm1joVQ.b['3'][0]++;__cov_ogg_CNcIcpOXPnOEm1joVQ.s['7']++;value=parser.call(this,value);}else{__cov_ogg_CNcIcpOXPnOEm1joVQ.b['3'][1]++;}}else{__cov_ogg_CNcIcpOXPnOEm1joVQ.b['1'][1]++;}__cov_ogg_CNcIcpOXPnOEm1joVQ.s['8']++;return value;}};__cov_ogg_CNcIcpOXPnOEm1joVQ.s['9']++;Y.namespace('DataSchema').Base=SchemaBase;__cov_ogg_CNcIcpOXPnOEm1joVQ.s['10']++;Y.namespace('Parsers');},'3.15.0',{'requires':['base']});
justinelam/cdnjs
ajax/libs/yui/3.15.0/dataschema-base/dataschema-base-coverage.js
JavaScript
mit
5,028
/* YUI 3.15.0 (build 834026e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ if (typeof __coverage__ === 'undefined') { __coverage__ = {}; } if (!__coverage__['build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js']) { __coverage__['build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js'] = {"path":"build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js","s":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0,"15":0,"16":0,"17":0,"18":0,"19":0,"20":0,"21":0,"22":0,"23":0,"24":0,"25":0,"26":0,"27":0,"28":0,"29":0,"30":0,"31":0,"32":0,"33":0,"34":0},"b":{"1":[0,0],"2":[0,0],"3":[0,0],"4":[0,0],"5":[0,0]},"f":{"1":0,"2":0,"3":0,"4":0,"5":0,"6":0,"7":0,"8":0,"9":0,"10":0,"11":0,"12":0,"13":0,"14":0},"fnMap":{"1":{"name":"(anonymous_1)","line":1,"loc":{"start":{"line":1,"column":43},"end":{"line":1,"column":62}}},"2":{"name":"(anonymous_2)","line":34,"loc":{"start":{"line":34,"column":19},"end":{"line":34,"column":45}}},"3":{"name":"(anonymous_3)","line":39,"loc":{"start":{"line":39,"column":38},"end":{"line":39,"column":56}}},"4":{"name":"(anonymous_4)","line":42,"loc":{"start":{"line":42,"column":44},"end":{"line":42,"column":59}}},"5":{"name":"(anonymous_5)","line":57,"loc":{"start":{"line":57,"column":21},"end":{"line":57,"column":47}}},"6":{"name":"(anonymous_6)","line":62,"loc":{"start":{"line":62,"column":38},"end":{"line":62,"column":56}}},"7":{"name":"(anonymous_7)","line":76,"loc":{"start":{"line":76,"column":20},"end":{"line":76,"column":46}}},"8":{"name":"(anonymous_8)","line":81,"loc":{"start":{"line":81,"column":38},"end":{"line":81,"column":56}}},"9":{"name":"(anonymous_9)","line":95,"loc":{"start":{"line":95,"column":22},"end":{"line":95,"column":48}}},"10":{"name":"(anonymous_10)","line":100,"loc":{"start":{"line":100,"column":38},"end":{"line":100,"column":56}}},"11":{"name":"(anonymous_11)","line":103,"loc":{"start":{"line":103,"column":44},"end":{"line":103,"column":65}}},"12":{"name":"(anonymous_12)","line":118,"loc":{"start":{"line":118,"column":19},"end":{"line":118,"column":45}}},"13":{"name":"(anonymous_13)","line":123,"loc":{"start":{"line":123,"column":38},"end":{"line":123,"column":56}}},"14":{"name":"(anonymous_14)","line":128,"loc":{"start":{"line":128,"column":44},"end":{"line":128,"column":60}}}},"statementMap":{"1":{"start":{"line":1,"column":0},"end":{"line":136,"column":82}},"2":{"start":{"line":19,"column":0},"end":{"line":22,"column":26}},"3":{"start":{"line":24,"column":0},"end":{"line":133,"column":3}},"4":{"start":{"line":35,"column":8},"end":{"line":35,"column":39}},"5":{"start":{"line":35,"column":22},"end":{"line":35,"column":37}},"6":{"start":{"line":37,"column":8},"end":{"line":37,"column":73}},"7":{"start":{"line":39,"column":8},"end":{"line":45,"column":11}},"8":{"start":{"line":40,"column":12},"end":{"line":40,"column":52}},"9":{"start":{"line":42,"column":12},"end":{"line":44,"column":15}},"10":{"start":{"line":43,"column":16},"end":{"line":43,"column":48}},"11":{"start":{"line":58,"column":8},"end":{"line":58,"column":39}},"12":{"start":{"line":58,"column":22},"end":{"line":58,"column":37}},"13":{"start":{"line":60,"column":8},"end":{"line":60,"column":39}},"14":{"start":{"line":62,"column":8},"end":{"line":64,"column":11}},"15":{"start":{"line":63,"column":12},"end":{"line":63,"column":70}},"16":{"start":{"line":77,"column":8},"end":{"line":77,"column":39}},"17":{"start":{"line":77,"column":22},"end":{"line":77,"column":37}},"18":{"start":{"line":79,"column":8},"end":{"line":79,"column":39}},"19":{"start":{"line":81,"column":8},"end":{"line":83,"column":11}},"20":{"start":{"line":82,"column":12},"end":{"line":82,"column":69}},"21":{"start":{"line":96,"column":8},"end":{"line":96,"column":39}},"22":{"start":{"line":96,"column":22},"end":{"line":96,"column":37}},"23":{"start":{"line":98,"column":8},"end":{"line":98,"column":74}},"24":{"start":{"line":100,"column":8},"end":{"line":106,"column":11}},"25":{"start":{"line":101,"column":12},"end":{"line":101,"column":58}},"26":{"start":{"line":103,"column":12},"end":{"line":105,"column":15}},"27":{"start":{"line":104,"column":16},"end":{"line":104,"column":60}},"28":{"start":{"line":119,"column":8},"end":{"line":119,"column":39}},"29":{"start":{"line":119,"column":22},"end":{"line":119,"column":37}},"30":{"start":{"line":121,"column":8},"end":{"line":121,"column":74}},"31":{"start":{"line":123,"column":8},"end":{"line":131,"column":11}},"32":{"start":{"line":125,"column":12},"end":{"line":126,"column":51}},"33":{"start":{"line":128,"column":12},"end":{"line":130,"column":15}},"34":{"start":{"line":129,"column":16},"end":{"line":129,"column":55}}},"branchMap":{"1":{"line":35,"type":"if","locations":[{"start":{"line":35,"column":8},"end":{"line":35,"column":8}},{"start":{"line":35,"column":8},"end":{"line":35,"column":8}}]},"2":{"line":58,"type":"if","locations":[{"start":{"line":58,"column":8},"end":{"line":58,"column":8}},{"start":{"line":58,"column":8},"end":{"line":58,"column":8}}]},"3":{"line":77,"type":"if","locations":[{"start":{"line":77,"column":8},"end":{"line":77,"column":8}},{"start":{"line":77,"column":8},"end":{"line":77,"column":8}}]},"4":{"line":96,"type":"if","locations":[{"start":{"line":96,"column":8},"end":{"line":96,"column":8}},{"start":{"line":96,"column":8},"end":{"line":96,"column":8}}]},"5":{"line":119,"type":"if","locations":[{"start":{"line":119,"column":8},"end":{"line":119,"column":8}},{"start":{"line":119,"column":8},"end":{"line":119,"column":8}}]}},"code":["(function () { YUI.add('autocomplete-filters-accentfold', function (Y, NAME) {","","/**","Provides pre-built accent-folding result matching filters for AutoComplete.","","These filters are similar to the ones provided by the `autocomplete-filters`","module, but use accent-aware comparisons. For example, \"resume\" and \"résumé\"","will be considered equal when using the accent-folding filters.","","@module autocomplete","@submodule autocomplete-filters-accentfold","**/","","/**","@class AutoCompleteFilters","@static","**/","","var AccentFold = Y.Text.AccentFold,"," WordBreak = Y.Text.WordBreak,"," YArray = Y.Array,"," YObject = Y.Object;","","Y.mix(Y.namespace('AutoCompleteFilters'), {"," /**"," Accent folding version of `charMatch()`.",""," @method charMatchFold"," @param {String} query Query to match"," @param {Array} results Results to filter"," @return {Array} Filtered results"," @static"," **/"," charMatchFold: function (query, results) {"," if (!query) { return results; }",""," var queryChars = YArray.unique(AccentFold.fold(query).split(''));",""," return YArray.filter(results, function (result) {"," var text = AccentFold.fold(result.text);",""," return YArray.every(queryChars, function (chr) {"," return text.indexOf(chr) !== -1;"," });"," });"," },",""," /**"," Accent folding version of `phraseMatch()`.",""," @method phraseMatchFold"," @param {String} query Query to match"," @param {Array} results Results to filter"," @return {Array} Filtered results"," @static"," **/"," phraseMatchFold: function (query, results) {"," if (!query) { return results; }",""," query = AccentFold.fold(query);",""," return YArray.filter(results, function (result) {"," return AccentFold.fold(result.text).indexOf(query) !== -1;"," });"," },",""," /**"," Accent folding version of `startsWith()`.",""," @method startsWithFold"," @param {String} query Query to match"," @param {Array} results Results to filter"," @return {Array} Filtered results"," @static"," **/"," startsWithFold: function (query, results) {"," if (!query) { return results; }",""," query = AccentFold.fold(query);",""," return YArray.filter(results, function (result) {"," return AccentFold.fold(result.text).indexOf(query) === 0;"," });"," },",""," /**"," Accent folding version of `subWordMatch()`.",""," @method subWordMatchFold"," @param {String} query Query to match"," @param {Array} results Results to filter"," @return {Array} Filtered results"," @static"," **/"," subWordMatchFold: function (query, results) {"," if (!query) { return results; }",""," var queryWords = WordBreak.getUniqueWords(AccentFold.fold(query));",""," return YArray.filter(results, function (result) {"," var resultText = AccentFold.fold(result.text);",""," return YArray.every(queryWords, function (queryWord) {"," return resultText.indexOf(queryWord) !== -1;"," });"," });"," },",""," /**"," Accent folding version of `wordMatch()`.",""," @method wordMatchFold"," @param {String} query Query to match"," @param {Array} results Results to filter"," @return {Array} Filtered results"," @static"," **/"," wordMatchFold: function (query, results) {"," if (!query) { return results; }",""," var queryWords = WordBreak.getUniqueWords(AccentFold.fold(query));",""," return YArray.filter(results, function (result) {"," // Convert resultWords array to a hash for fast lookup."," var resultWords = YArray.hash(WordBreak.getUniqueWords("," AccentFold.fold(result.text)));",""," return YArray.every(queryWords, function (word) {"," return YObject.owns(resultWords, word);"," });"," });"," }","});","","","}, '3.15.0', {\"requires\": [\"array-extras\", \"text-accentfold\", \"text-wordbreak\"]});","","}());"]}; } var __cov_FPXCo_fR8sOM0vaP91Yuew = __coverage__['build/autocomplete-filters-accentfold/autocomplete-filters-accentfold.js']; __cov_FPXCo_fR8sOM0vaP91Yuew.s['1']++;YUI.add('autocomplete-filters-accentfold',function(Y,NAME){__cov_FPXCo_fR8sOM0vaP91Yuew.f['1']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['2']++;var AccentFold=Y.Text.AccentFold,WordBreak=Y.Text.WordBreak,YArray=Y.Array,YObject=Y.Object;__cov_FPXCo_fR8sOM0vaP91Yuew.s['3']++;Y.mix(Y.namespace('AutoCompleteFilters'),{charMatchFold:function(query,results){__cov_FPXCo_fR8sOM0vaP91Yuew.f['2']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['4']++;if(!query){__cov_FPXCo_fR8sOM0vaP91Yuew.b['1'][0]++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['5']++;return results;}else{__cov_FPXCo_fR8sOM0vaP91Yuew.b['1'][1]++;}__cov_FPXCo_fR8sOM0vaP91Yuew.s['6']++;var queryChars=YArray.unique(AccentFold.fold(query).split(''));__cov_FPXCo_fR8sOM0vaP91Yuew.s['7']++;return YArray.filter(results,function(result){__cov_FPXCo_fR8sOM0vaP91Yuew.f['3']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['8']++;var text=AccentFold.fold(result.text);__cov_FPXCo_fR8sOM0vaP91Yuew.s['9']++;return YArray.every(queryChars,function(chr){__cov_FPXCo_fR8sOM0vaP91Yuew.f['4']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['10']++;return text.indexOf(chr)!==-1;});});},phraseMatchFold:function(query,results){__cov_FPXCo_fR8sOM0vaP91Yuew.f['5']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['11']++;if(!query){__cov_FPXCo_fR8sOM0vaP91Yuew.b['2'][0]++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['12']++;return results;}else{__cov_FPXCo_fR8sOM0vaP91Yuew.b['2'][1]++;}__cov_FPXCo_fR8sOM0vaP91Yuew.s['13']++;query=AccentFold.fold(query);__cov_FPXCo_fR8sOM0vaP91Yuew.s['14']++;return YArray.filter(results,function(result){__cov_FPXCo_fR8sOM0vaP91Yuew.f['6']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['15']++;return AccentFold.fold(result.text).indexOf(query)!==-1;});},startsWithFold:function(query,results){__cov_FPXCo_fR8sOM0vaP91Yuew.f['7']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['16']++;if(!query){__cov_FPXCo_fR8sOM0vaP91Yuew.b['3'][0]++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['17']++;return results;}else{__cov_FPXCo_fR8sOM0vaP91Yuew.b['3'][1]++;}__cov_FPXCo_fR8sOM0vaP91Yuew.s['18']++;query=AccentFold.fold(query);__cov_FPXCo_fR8sOM0vaP91Yuew.s['19']++;return YArray.filter(results,function(result){__cov_FPXCo_fR8sOM0vaP91Yuew.f['8']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['20']++;return AccentFold.fold(result.text).indexOf(query)===0;});},subWordMatchFold:function(query,results){__cov_FPXCo_fR8sOM0vaP91Yuew.f['9']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['21']++;if(!query){__cov_FPXCo_fR8sOM0vaP91Yuew.b['4'][0]++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['22']++;return results;}else{__cov_FPXCo_fR8sOM0vaP91Yuew.b['4'][1]++;}__cov_FPXCo_fR8sOM0vaP91Yuew.s['23']++;var queryWords=WordBreak.getUniqueWords(AccentFold.fold(query));__cov_FPXCo_fR8sOM0vaP91Yuew.s['24']++;return YArray.filter(results,function(result){__cov_FPXCo_fR8sOM0vaP91Yuew.f['10']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['25']++;var resultText=AccentFold.fold(result.text);__cov_FPXCo_fR8sOM0vaP91Yuew.s['26']++;return YArray.every(queryWords,function(queryWord){__cov_FPXCo_fR8sOM0vaP91Yuew.f['11']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['27']++;return resultText.indexOf(queryWord)!==-1;});});},wordMatchFold:function(query,results){__cov_FPXCo_fR8sOM0vaP91Yuew.f['12']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['28']++;if(!query){__cov_FPXCo_fR8sOM0vaP91Yuew.b['5'][0]++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['29']++;return results;}else{__cov_FPXCo_fR8sOM0vaP91Yuew.b['5'][1]++;}__cov_FPXCo_fR8sOM0vaP91Yuew.s['30']++;var queryWords=WordBreak.getUniqueWords(AccentFold.fold(query));__cov_FPXCo_fR8sOM0vaP91Yuew.s['31']++;return YArray.filter(results,function(result){__cov_FPXCo_fR8sOM0vaP91Yuew.f['13']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['32']++;var resultWords=YArray.hash(WordBreak.getUniqueWords(AccentFold.fold(result.text)));__cov_FPXCo_fR8sOM0vaP91Yuew.s['33']++;return YArray.every(queryWords,function(word){__cov_FPXCo_fR8sOM0vaP91Yuew.f['14']++;__cov_FPXCo_fR8sOM0vaP91Yuew.s['34']++;return YObject.owns(resultWords,word);});});}});},'3.15.0',{'requires':['array-extras','text-accentfold','text-wordbreak']});
amwmedia/cdnjs
ajax/libs/yui/3.15.0/autocomplete-filters-accentfold/autocomplete-filters-accentfold-coverage.js
JavaScript
mit
13,878
Ext.define("Ext.dom.Helper",(function(){var b="afterbegin",h="afterend",a="beforebegin",n="beforeend",k="<table>",g="</table>",c=k+"<tbody>",m="</tbody>"+g,j=c+"<tr>",e="</tr>"+m,o=document.createElement("div"),l=["BeforeBegin","previousSibling"],i=["AfterEnd","nextSibling"],d={beforebegin:l,afterend:i},f={beforebegin:l,afterend:i,afterbegin:["AfterBegin","firstChild"],beforeend:["BeforeEnd","lastChild"]};return{extend:"Ext.dom.AbstractHelper",requires:["Ext.dom.AbstractElement"],tableRe:/^(?:table|thead|tbody|tr|td)$/i,tableElRe:/td|tr|tbody|thead/i,useDom:false,createDom:function(p,v){var q,y=document,t,w,r,x,u,s;if(Ext.isArray(p)){q=y.createDocumentFragment();for(u=0,s=p.length;u<s;u++){this.createDom(p[u],q)}}else{if(typeof p=="string"){q=y.createTextNode(p)}else{q=y.createElement(p.tag||"div");t=!!q.setAttribute;for(w in p){if(!this.confRe.test(w)){r=p[w];if(w=="cls"){q.className=r}else{if(t){q.setAttribute(w,r)}else{q[w]=r}}}}Ext.DomHelper.applyStyles(q,p.style);if((x=p.children||p.cn)){this.createDom(x,q)}else{if(p.html){q.innerHTML=p.html}}}}if(v){v.appendChild(q)}return q},ieTable:function(u,p,v,t){o.innerHTML=[p,v,t].join("");var q=-1,s=o,r;while(++q<u){s=s.firstChild}r=s.nextSibling;if(r){r=s;s=document.createDocumentFragment();while(r){nx=r.nextSibling;s.appendChild(r);r=nx}}return s},insertIntoTable:function(y,r,q,s){var p,v,u=r==a,x=r==b,t=r==n,w=r==h;if(y=="td"&&(x||t)||!this.tableElRe.test(y)&&(u||w)){return null}v=u?q:w?q.nextSibling:x?q.firstChild:null;if(u||w){q=q.parentNode}if(y=="td"||(y=="tr"&&(t||x))){p=this.ieTable(4,j,s,e)}else{if(((y=="tbody"||y=="thead")&&(t||x))||(y=="tr"&&(u||w))){p=this.ieTable(3,c,s,m)}else{p=this.ieTable(2,k,s,g)}}q.insertBefore(p,v);return p},createContextualFragment:function(q){var p=document.createDocumentFragment(),r,s;o.innerHTML=q;s=o.childNodes;r=s.length;while(r--){p.appendChild(s[0])}return p},applyStyles:function(p,q){if(q){if(typeof q=="function"){q=q.call()}if(typeof q=="string"){q=Ext.dom.Element.parseStyles(q)}if(typeof q=="object"){Ext.fly(p,"_applyStyles").setStyle(q)}}},createHtml:function(p){return this.markup(p)},doInsert:function(s,u,t,v,r,p){s=s.dom||Ext.getDom(s);var q;if(this.useDom){q=this.createDom(u,null);if(p){s.appendChild(q)}else{(r=="firstChild"?s:s.parentNode).insertBefore(q,s[r]||s)}}else{q=this.insertHtml(v,s,this.markup(u))}return t?Ext.get(q,true):q},overwrite:function(r,q,s){var p;r=Ext.getDom(r);q=this.markup(q);if(Ext.isIE&&this.tableRe.test(r.tagName)){while(r.firstChild){r.removeChild(r.firstChild)}if(q){p=this.insertHtml("afterbegin",r,q);return s?Ext.get(p):p}return null}r.innerHTML=q;return s?Ext.get(r.firstChild):r.firstChild},insertHtml:function(r,u,s){var w,q,t,p,v;r=r.toLowerCase();if(u.insertAdjacentHTML){if(Ext.isIE&&this.tableRe.test(u.tagName)&&(v=this.insertIntoTable(u.tagName.toLowerCase(),r,u,s))){return v}if((w=f[r])){if(Ext.global.MSApp&&Ext.global.MSApp.execUnsafeLocalFunction){MSApp.execUnsafeLocalFunction(function(){u.insertAdjacentHTML(w[0],s)})}else{u.insertAdjacentHTML(w[0],s)}return u[w[1]]}}else{if(u.nodeType===3){r=r==="afterbegin"?"beforebegin":r;r=r==="beforeend"?"afterend":r}q=Ext.supports.CreateContextualFragment?u.ownerDocument.createRange():undefined;p="setStart"+(this.endRe.test(r)?"After":"Before");if(d[r]){if(q){q[p](u);v=q.createContextualFragment(s)}else{v=this.createContextualFragment(s)}u.parentNode.insertBefore(v,r==a?u:u.nextSibling);return u[(r==a?"previous":"next")+"Sibling"]}else{t=(r==b?"first":"last")+"Child";if(u.firstChild){if(q){q[p](u[t]);v=q.createContextualFragment(s)}else{v=this.createContextualFragment(s)}if(r==b){u.insertBefore(v,u.firstChild)}else{u.appendChild(v)}}else{u.innerHTML=s}return u[t]}}Ext.Error.raise({sourceClass:"Ext.DomHelper",sourceMethod:"insertHtml",htmlToInsert:s,targetElement:u,msg:'Illegal insertion point reached: "'+r+'"'})},createTemplate:function(q){var p=this.markup(q);return new Ext.Template(p)}}})(),function(){Ext.ns("Ext.core");Ext.DomHelper=Ext.core.DomHelper=new this});
vdurmont/cdnjs
ajax/libs/extjs/4.2.1/src/dom/Helper.min.js
JavaScript
mit
4,013
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; } body { line-height: 1; } ol, ul { list-style: none; } table { border-collapse: collapse; border-spacing: 0; } caption, th, td { text-align: left; font-weight: normal; vertical-align: middle; } q, blockquote { quotes: none; } q:before, q:after, blockquote:before, blockquote:after { content: ""; content: none; } a img { border: none; } article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary { display: block; } h1 a, h2 a, h3 a, h4 a, h5 a, h6 a { text-decoration: none; } h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { text-decoration: underline; } h1 span.divider, h2 span.divider, h3 span.divider, h4 span.divider, h5 span.divider, h6 span.divider { color: #aaaaaa; } h1 { color: black; font-size: 1.5em; line-height: 1.3em; padding: 10px 0 10px 0; font-family: "Droid Sans", sans-serif; font-weight: bold; } h2 { color: black; font-size: 1.3em; padding: 10px 0 10px 0; } h2 a { color: black; } h2 span.sub { font-size: 0.7em; color: #999999; font-style: italic; } h2 span.sub a { color: #777777; } h3 { color: black; font-size: 1.1em; padding: 10px 0 10px 0; } .heading_with_menu { float: none; clear: both; overflow: hidden; display: block; } .heading_with_menu h1, .heading_with_menu h2, .heading_with_menu h3, .heading_with_menu h4, .heading_with_menu h5, .heading_with_menu h6 { display: block; clear: none; float: left; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; width: 60%; } .heading_with_menu ul { display: block; clear: none; float: right; -moz-box-sizing: border-box; -webkit-box-sizing: border-box; -ms-box-sizing: border-box; box-sizing: border-box; margin-top: 10px; } input.parameter { width: 300px; border: 1px solid #aaa; } .body-textarea { width: 300px; height: 100px; border: 1px solid #aaa; } p { line-height: 1.4em; padding: 0 0 10px; color: #333333; } ol { margin: 0px 0 10px; padding: 0 0 0 18px; list-style-type: decimal; } ol li { padding: 5px 0px; font-size: 0.9em; color: #333333; } .markdown h3 { color: #547f00; } .markdown h4 { color: #666666; } .markdown pre { font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; background-color: #fcf6db; border: 1px solid #e5e0c6; padding: 10px; margin: 0 0 10px 0; } .markdown pre code { line-height: 1.6em; } .markdown p code, .markdown li code { font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; background-color: #f0f0f0; color: black; padding: 1px 3px; } .markdown ol, .markdown ul { font-family: "Droid Sans", sans-serif; margin: 5px 0 10px; padding: 0 0 0 18px; list-style-type: disc; } .markdown ol li, .markdown ul li { padding: 3px 0px; line-height: 1.4em; color: #333333; } div.gist { margin: 20px 0 25px 0 !important; } p.big, div.big p { font-size: 1em; margin-bottom: 10px; } span.weak { color: #666666; } span.blank, span.empty { color: #888888; font-style: italic; } a { color: #547f00; } b, strong { font-family: "Droid Sans", sans-serif; font-weight: bold; } .code { font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; } pre { font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; background-color: #fcf6db; border: 1px solid #e5e0c6; padding: 10px; } pre code { line-height: 1.6em; } .required { font-weight: bold; } table.fullwidth { width: 100%; } table thead tr th { padding: 5px; font-size: 0.9em; color: #666666; border-bottom: 1px solid #999999; } table tbody tr.offset { background-color: #f5f5f5; } table tbody tr td { padding: 6px; font-size: 0.9em; border-bottom: 1px solid #cccccc; vertical-align: top; line-height: 1.3em; } table tbody tr:last-child td { border-bottom: none; } table tbody tr.offset { background-color: #f0f0f0; } form.form_box { background-color: #ebf3f9; border: 1px solid #c3d9ec; padding: 10px; } form.form_box label { color: #0f6ab4 !important; } form.form_box input[type=submit] { display: block; padding: 10px; } form.form_box p { font-size: 0.9em; padding: 0 0 15px; color: #7e7b6d; } form.form_box p a { color: #646257; } form.form_box p strong { color: black; } form.form_box p.weak { font-size: 0.8em; } form.formtastic fieldset.inputs ol li p.inline-hints { margin-left: 0; font-style: italic; font-size: 0.9em; margin: 0; } form.formtastic fieldset.inputs ol li label { display: block; clear: both; width: auto; padding: 0 0 3px; color: #666666; } form.formtastic fieldset.inputs ol li label abbr { padding-left: 3px; color: #888888; } form.formtastic fieldset.inputs ol li.required label { color: black; } form.formtastic fieldset.inputs ol li.string input, form.formtastic fieldset.inputs ol li.url input, form.formtastic fieldset.inputs ol li.numeric input { display: block; padding: 4px; width: auto; clear: both; } form.formtastic fieldset.inputs ol li.string input.title, form.formtastic fieldset.inputs ol li.url input.title, form.formtastic fieldset.inputs ol li.numeric input.title { font-size: 1.3em; } form.formtastic fieldset.inputs ol li.text textarea { font-family: "Droid Sans", sans-serif; height: 250px; padding: 4px; display: block; clear: both; } form.formtastic fieldset.inputs ol li.select select { display: block; clear: both; } form.formtastic fieldset.inputs ol li.boolean { float: none; clear: both; overflow: hidden; display: block; } form.formtastic fieldset.inputs ol li.boolean input { display: block; float: left; clear: none; margin: 0 5px 0 0; } form.formtastic fieldset.inputs ol li.boolean label { display: block; float: left; clear: none; margin: 0; padding: 0; } form.formtastic fieldset.buttons { margin: 0; padding: 0; } form.fullwidth ol li.string input, form.fullwidth ol li.url input, form.fullwidth ol li.text textarea, form.fullwidth ol li.numeric input { width: 500px !important; } body { font-family: "Droid Sans", sans-serif; } body #content_message { margin: 10px 15px; font-style: italic; color: #999999; } body #header { background-color: #89bf04; padding: 14px; } body #header a#logo { font-size: 1.5em; font-weight: bold; text-decoration: none; background: transparent url(../images/logo_small.png) no-repeat left center; padding: 20px 0 20px 40px; color: white; } body #header form#api_selector { display: block; clear: none; float: right; } body #header form#api_selector .input { display: block; clear: none; float: left; margin: 0 10px 0 0; } body #header form#api_selector .input input { font-size: 0.9em; padding: 3px; margin: 0; } body #header form#api_selector .input input#input_baseUrl { width: 400px; } body #header form#api_selector .input input#input_apiKey { width: 200px; } body #header form#api_selector .input a#explore { display: block; text-decoration: none; font-weight: bold; padding: 6px 8px; font-size: 0.9em; color: white; background-color: #547f00; -moz-border-radius: 4px; -webkit-border-radius: 4px; -o-border-radius: 4px; -ms-border-radius: 4px; -khtml-border-radius: 4px; border-radius: 4px; } body #header form#api_selector .input a#explore:hover { background-color: #547f00; } body p#colophon { margin: 0 15px 40px 15px; padding: 10px 0; font-size: 0.8em; border-top: 1px solid #dddddd; font-family: "Droid Sans", sans-serif; color: #999999; font-style: italic; } body p#colophon a { text-decoration: none; color: #547f00; } body ul#resources { font-family: "Droid Sans", sans-serif; font-size: 0.9em; } body ul#resources li.resource { border-bottom: 1px solid #dddddd; } body ul#resources li.resource:last-child { border-bottom: none; } body ul#resources li.resource div.heading { border: 1px solid transparent; float: none; clear: both; overflow: hidden; display: block; } body ul#resources li.resource div.heading h2 { color: #999999; padding-left: 0; display: block; clear: none; float: left; font-family: "Droid Sans", sans-serif; font-weight: bold; } body ul#resources li.resource div.heading h2 a { color: #999999; } body ul#resources li.resource div.heading h2 a:hover { color: black; } body ul#resources li.resource div.heading ul.options { overflow: hidden; padding: 0; display: block; clear: none; float: right; margin: 14px 10px 0 0; } body ul#resources li.resource div.heading ul.options li { float: left; clear: none; margin: 0; padding: 2px 10px; border-right: 1px solid #dddddd; } body ul#resources li.resource div.heading ul.options li:first-child, body ul#resources li.resource div.heading ul.options li.first { padding-left: 0; } body ul#resources li.resource div.heading ul.options li:last-child, body ul#resources li.resource div.heading ul.options li.last { padding-right: 0; border-right: none; } body ul#resources li.resource div.heading ul.options li { color: #666666; font-size: 0.9em; } body ul#resources li.resource div.heading ul.options li a { color: #aaaaaa; text-decoration: none; } body ul#resources li.resource div.heading ul.options li a:hover { text-decoration: underline; color: black; } body ul#resources li.resource:hover div.heading h2 a, body ul#resources li.resource.active div.heading h2 a { color: black; } body ul#resources li.resource:hover div.heading ul.options li a, body ul#resources li.resource.active div.heading ul.options li a { color: #555555; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get { float: none; clear: both; overflow: hidden; display: block; margin: 0 0 10px; padding: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading { float: none; clear: both; overflow: hidden; display: block; margin: 0; padding: 0; background-color: #e7f0f7; border: 1px solid #c3d9ec; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 { display: block; clear: none; float: left; width: auto; margin: 0; padding: 0; line-height: 1.1em; color: black; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span { margin: 0; padding: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.http_method a { text-transform: uppercase; background-color: #0f6ab4; text-decoration: none; color: white; display: inline-block; width: 50px; font-size: 0.7em; text-align: center; padding: 7px 0 4px 0; -moz-border-radius: 2px; -webkit-border-radius: 2px; -o-border-radius: 2px; -ms-border-radius: 2px; -khtml-border-radius: 2px; border-radius: 2px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.path { padding-left: 10px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.path a { color: black; text-decoration: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading h3 span.path a:hover { text-decoration: underline; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options { overflow: hidden; padding: 0; display: block; clear: none; float: right; margin: 6px 10px 0 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li { float: left; clear: none; margin: 0; padding: 2px 10px; border-right: 1px solid #dddddd; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.first { padding-left: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li.last { padding-right: 0; border-right: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li { border-right-color: #c3d9ec; color: #0f6ab4; font-size: 0.9em; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a { color: #0f6ab4; text-decoration: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.heading ul.options li a.active { text-decoration: underline; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content { background-color: #ebf3f9; border: 1px solid #c3d9ec; border-top: none; padding: 10px; -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -o-border-bottom-left-radius: 6px; -ms-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -o-border-bottom-right-radius: 6px; -ms-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; margin: 0 0 20px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content h4 { color: #0f6ab4; font-size: 1.1em; margin: 0; padding: 15px 0 5px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content form input[type='text'].error { outline: 2px solid black; outline-color: #cc0000; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header { float: none; clear: both; overflow: hidden; display: block; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header input.submit { display: block; clear: none; float: left; padding: 6px 8px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header img { display: block; clear: none; float: right; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.sandbox_header a { padding: 4px 0 0 10px; color: #6fa5d2; display: inline-block; font-size: 0.9em; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.get div.content div.response div.block pre { font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; padding: 10px; font-size: 0.9em; max-height: 400px; overflow-y: auto; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post { float: none; clear: both; overflow: hidden; display: block; margin: 0 0 10px; padding: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading { float: none; clear: both; overflow: hidden; display: block; margin: 0; padding: 0; background-color: #e7f6ec; border: 1px solid #c3e8d1; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 { display: block; clear: none; float: left; width: auto; margin: 0; padding: 0; line-height: 1.1em; color: black; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span { margin: 0; padding: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.http_method a { text-transform: uppercase; background-color: #10a54a; text-decoration: none; color: white; display: inline-block; width: 50px; font-size: 0.7em; text-align: center; padding: 7px 0 4px 0; -moz-border-radius: 2px; -webkit-border-radius: 2px; -o-border-radius: 2px; -ms-border-radius: 2px; -khtml-border-radius: 2px; border-radius: 2px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path { padding-left: 10px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path a { color: black; text-decoration: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading h3 span.path a:hover { text-decoration: underline; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options { overflow: hidden; padding: 0; display: block; clear: none; float: right; margin: 6px 10px 0 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li { float: left; clear: none; margin: 0; padding: 2px 10px; border-right: 1px solid #dddddd; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.first { padding-left: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li.last { padding-right: 0; border-right: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li { border-right-color: #c3e8d1; color: #10a54a; font-size: 0.9em; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a { color: #10a54a; text-decoration: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.heading ul.options li a.active { text-decoration: underline; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content { background-color: #ebf7f0; border: 1px solid #c3e8d1; border-top: none; padding: 10px; -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -o-border-bottom-left-radius: 6px; -ms-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -o-border-bottom-right-radius: 6px; -ms-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; margin: 0 0 20px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content h4 { color: #10a54a; font-size: 1.1em; margin: 0; padding: 15px 0 5px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content form input[type='text'].error { outline: 2px solid black; outline-color: #cc0000; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header { float: none; clear: both; overflow: hidden; display: block; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header input.submit { display: block; clear: none; float: left; padding: 6px 8px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header img { display: block; clear: none; float: right; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.sandbox_header a { padding: 4px 0 0 10px; color: #6fc992; display: inline-block; font-size: 0.9em; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.post div.content div.response div.block pre { font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; padding: 10px; font-size: 0.9em; max-height: 400px; overflow-y: auto; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put { float: none; clear: both; overflow: hidden; display: block; margin: 0 0 10px; padding: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading { float: none; clear: both; overflow: hidden; display: block; margin: 0; padding: 0; background-color: #f9f2e9; border: 1px solid #f0e0ca; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 { display: block; clear: none; float: left; width: auto; margin: 0; padding: 0; line-height: 1.1em; color: black; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span { margin: 0; padding: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.http_method a { text-transform: uppercase; background-color: #c5862b; text-decoration: none; color: white; display: inline-block; width: 50px; font-size: 0.7em; text-align: center; padding: 7px 0 4px; -moz-border-radius: 2px; -webkit-border-radius: 2px; -o-border-radius: 2px; -ms-border-radius: 2px; -khtml-border-radius: 2px; border-radius: 2px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.path { padding-left: 10px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.path a { color: black; text-decoration: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading h3 span.path a:hover { text-decoration: underline; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options { overflow: hidden; padding: 0; display: block; clear: none; float: right; margin: 6px 10px 0 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li { float: left; clear: none; margin: 0; padding: 2px 10px; border-right: 1px solid #dddddd; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.first { padding-left: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li.last { padding-right: 0; border-right: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li { border-right-color: #f0e0ca; color: #c5862b; font-size: 0.9em; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a { color: #c5862b; text-decoration: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.heading ul.options li a.active { text-decoration: underline; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content { background-color: #faf5ee; border: 1px solid #f0e0ca; border-top: none; padding: 10px; -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -o-border-bottom-left-radius: 6px; -ms-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -o-border-bottom-right-radius: 6px; -ms-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; margin: 0 0 20px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content h4 { color: #c5862b; font-size: 1.1em; margin: 0; padding: 15px 0 5px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content form input[type='text'].error { outline: 2px solid black; outline-color: #cc0000; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header { float: none; clear: both; overflow: hidden; display: block; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header input.submit { display: block; clear: none; float: left; padding: 6px 8px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header img { display: block; clear: none; float: right; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.sandbox_header a { padding: 4px 0 0 10px; color: #dcb67f; display: inline-block; font-size: 0.9em; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.put div.content div.response div.block pre { font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; padding: 10px; font-size: 0.9em; max-height: 400px; overflow-y: auto; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch { float: none; clear: both; overflow: hidden; display: block; margin: 0 0 10px; padding: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading { float: none; clear: both; overflow: hidden; display: block; margin: 0; padding: 0; background-color: #FCE9E3; border: 1px solid #F5D5C3; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 { display: block; clear: none; float: left; width: auto; margin: 0; padding: 0; line-height: 1.1em; color: black; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span { margin: 0; padding: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.http_method a { text-transform: uppercase; background-color: #D38042; text-decoration: none; color: white; display: inline-block; width: 50px; font-size: 0.7em; text-align: center; padding: 7px 0 4px 0; -moz-border-radius: 2px; -webkit-border-radius: 2px; -o-border-radius: 2px; -ms-border-radius: 2px; -khtml-border-radius: 2px; border-radius: 2px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.path { padding-left: 10px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.path a { color: black; text-decoration: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading h3 span.path a:hover { text-decoration: underline; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options { overflow: hidden; padding: 0; display: block; clear: none; float: right; margin: 6px 10px 0 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li { float: left; clear: none; margin: 0; padding: 2px 10px; border-right: 1px solid #dddddd; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li.first { padding-left: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li.last { padding-right: 0; border-right: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li { border-right-color: #f0cecb; color: #D38042; font-size: 0.9em; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a { color: #D38042; text-decoration: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.heading ul.options li a.active { text-decoration: underline; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content { background-color: #faf0ef; border: 1px solid #f0cecb; border-top: none; padding: 10px; -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -o-border-bottom-left-radius: 6px; -ms-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -o-border-bottom-right-radius: 6px; -ms-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; margin: 0 0 20px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content h4 { color: #D38042; font-size: 1.1em; margin: 0; padding: 15px 0 5px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content form input[type='text'].error { outline: 2px solid black; outline-color: #F5D5C3; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header { float: none; clear: both; overflow: hidden; display: block; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header input.submit { display: block; clear: none; float: left; padding: 6px 8px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header img { display: block; clear: none; float: right; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.sandbox_header a { padding: 4px 0 0 10px; color: #dcb67f; display: inline-block; font-size: 0.9em; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.patch div.content div.response div.block pre { font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; padding: 10px; font-size: 0.9em; max-height: 400px; overflow-y: auto; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete { float: none; clear: both; overflow: hidden; display: block; margin: 0 0 10px; padding: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading { float: none; clear: both; overflow: hidden; display: block; margin: 0; padding: 0; background-color: #f5e8e8; border: 1px solid #e8c6c7; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 { display: block; clear: none; float: left; width: auto; margin: 0; padding: 0; line-height: 1.1em; color: black; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span { margin: 0; padding: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.http_method a { text-transform: uppercase; background-color: #a41e22; text-decoration: none; color: white; display: inline-block; width: 50px; font-size: 0.7em; text-align: center; padding: 7px 0 4px 0; -moz-border-radius: 2px; -webkit-border-radius: 2px; -o-border-radius: 2px; -ms-border-radius: 2px; -khtml-border-radius: 2px; border-radius: 2px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.path { padding-left: 10px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.path a { color: black; text-decoration: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading h3 span.path a:hover { text-decoration: underline; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options { overflow: hidden; padding: 0; display: block; clear: none; float: right; margin: 6px 10px 0 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li { float: left; clear: none; margin: 0; padding: 2px 10px; border-right: 1px solid #dddddd; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:first-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.first { padding-left: 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li:last-child, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li.last { padding-right: 0; border-right: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li { border-right-color: #e8c6c7; color: #a41e22; font-size: 0.9em; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a { color: #a41e22; text-decoration: none; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a:hover, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a:active, body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.heading ul.options li a.active { text-decoration: underline; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content { background-color: #f7eded; border: 1px solid #e8c6c7; border-top: none; padding: 10px; -moz-border-radius-bottomleft: 6px; -webkit-border-bottom-left-radius: 6px; -o-border-bottom-left-radius: 6px; -ms-border-bottom-left-radius: 6px; -khtml-border-bottom-left-radius: 6px; border-bottom-left-radius: 6px; -moz-border-radius-bottomright: 6px; -webkit-border-bottom-right-radius: 6px; -o-border-bottom-right-radius: 6px; -ms-border-bottom-right-radius: 6px; -khtml-border-bottom-right-radius: 6px; border-bottom-right-radius: 6px; margin: 0 0 20px 0; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content h4 { color: #a41e22; font-size: 1.1em; margin: 0; padding: 15px 0 5px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content form input[type='text'].error { outline: 2px solid black; outline-color: #cc0000; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header { float: none; clear: both; overflow: hidden; display: block; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header input.submit { display: block; clear: none; float: left; padding: 6px 8px; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header img { display: block; clear: none; float: right; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.sandbox_header a { padding: 4px 0 0 10px; color: #c8787a; display: inline-block; font-size: 0.9em; } body ul#resources li.resource ul.endpoints li.endpoint ul.operations li.operation.delete div.content div.response div.block pre { font-family: "Anonymous Pro", "Menlo", "Consolas", "Bitstream Vera Sans Mono", "Courier New", monospace; padding: 10px; font-size: 0.9em; max-height: 400px; overflow-y: auto; } .model-signature { font-family: "Droid Sans", sans-serif; font-size: 1em; line-height: 1.5em; } .model-signature .description div { font-size: 0.9em; line-height: 1.5em; margin-left: 1em; } .model-signature .description .strong { font-weight: bold; color: #000; font-size: .9em; } .model-signature .description .stronger { font-weight: bold; color: #000; } .model-signature .signature-nav a { text-decoration: none; color: #AAA; } .model-signature pre { font-size: .85em; line-height: 1.2em; overflow: auto; max-height: 200px; cursor: pointer; } .model-signature pre:hover { background-color: #ffffdd; } .model-signature .snippet small { font-size: 0.75em; } .model-signature .signature-container { clear: both; } .model-signature .signature-nav a:hover { text-decoration: underline; color: black; } .model-signature .signature-nav .selected { color: black; text-decoration: none; } .model-signature ul.signature-nav { display: block; margin: 0; padding: 0; } .model-signature ul.signature-nav li { float: left; margin: 0 5px 5px 0; padding: 2px 5px 2px 0; border-right: 1px solid #ddd; } .model-signature ul.signature-nav li:last-child { padding-right: 0; border-right: none; } .model-signature .propName { font-weight: bold; } .model-signature .propType { color: #5555aa; } .model-signature .propOptKey { font-style: italic; } .model-signature .propOpt { color: #555; } pre code { background: none; } .content pre { font-size: 12px; margin-top: 5px; padding: 5px; } .content > .content-type > div > label { clear: both; display: block; color: #0F6AB4; font-size: 1.1em; margin: 0; padding: 15px 0 5px; } .swagger-ui-wrap { max-width: 960px; margin-left: auto; margin-right: auto; } .icon-btn { cursor: pointer; } #message-bar { min-height: 30px; text-align: center; padding-top: 10px; } .message-success { color: #89BF04; } .message-fail { color: #cc0000; }
froala/cdnjs
ajax/libs/swagger-ui/1.0.13/css/screen.css
CSS
mit
42,501
ace.define("ace/mode/abc_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text_highlight_rules").TextHighlightRules,s=function(){this.$rules={start:[{token:["zupfnoter.information.comment.line.percentage","information.keyword","in formation.keyword.embedded"],regex:"(%%%%)(hn\\.[a-z]*)(.*)",comment:"Instruction Comment"},{token:["information.comment.line.percentage","information.keyword.embedded"],regex:"(%%)(.*)",comment:"Instruction Comment"},{token:"comment.line.percentage",regex:"%.*",comment:"Comments"},{token:"barline.keyword.operator",regex:"[\\[:]*[|:][|\\]:]*(?:\\[?[0-9]+)?|\\[[0-9]+",comment:"Bar lines"},{token:["information.keyword.embedded","information.argument.string.unquoted"],regex:"(\\[[A-Za-z]:)([^\\]]*\\])",comment:"embedded Header lines"},{token:["information.keyword","information.argument.string.unquoted"],regex:"^([A-Za-z]:)([^%\\\\]*)",comment:"Header lines"},{token:["text","entity.name.function","string.unquoted","text"],regex:"(\\[)([A-Z]:)(.*?)(\\])",comment:"Inline fields"},{token:["accent.constant.language","pitch.constant.numeric","duration.constant.numeric"],regex:"([\\^=_]*)([A-Ga-gz][,']*)([0-9]*/*[><0-9]*)",comment:"Notes"},{token:"zupfnoter.jumptarget.string.quoted",regex:'[\\"!]\\^\\:.*?[\\"!]',comment:"Zupfnoter jumptarget"},{token:"zupfnoter.goto.string.quoted",regex:'[\\"!]\\^\\@.*?[\\"!]',comment:"Zupfnoter goto"},{token:"zupfnoter.annotation.string.quoted",regex:'[\\"!]\\^\\!.*?[\\"!]',comment:"Zupfnoter annoation"},{token:"zupfnoter.annotationref.string.quoted",regex:'[\\"!]\\^\\#.*?[\\"!]',comment:"Zupfnoter annotation reference"},{token:"chordname.string.quoted",regex:'[\\"!]\\^.*?[\\"!]',comment:"abc chord"},{token:"string.quoted",regex:'[\\"!].*?[\\"!]',comment:"abc annotation"}]},this.normalizeRules()};s.metaData={fileTypes:["abc"],name:"ABC",scopeName:"text.abcnotation"},r.inherits(s,i),t.ABCHighlightRules=s}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(e,t,n){"use strict";var r=e("../../lib/oop"),i=e("../../range").Range,s=e("./fold_mode").FoldMode,o=t.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};r.inherits(o,s),function(){this.foldingStartMarker=/(\{|\[)[^\}\]]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{]*(\}|\])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,t,n){var r=e.getLine(n);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,t,n);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,t,n,r){var i=e.getLine(n);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,n);var s=i.match(this.foldingStartMarker);if(s){var o=s.index;if(s[1])return this.openingBracketBlock(e,s[1],n,o);var u=e.getCommentFoldRange(n,o+s[0].length,1);return u&&!u.isMultiLine()&&(r?u=this.getSectionRange(e,n):t!="all"&&(u=null)),u}if(t==="markbegin")return;var s=i.match(this.foldingStopMarker);if(s){var o=s.index+s[0].length;return s[1]?this.closingBracketBlock(e,s[1],n,o):e.getCommentFoldRange(n,o,-1)}},this.getSectionRange=function(e,t){var n=e.getLine(t),r=n.search(/\S/),s=t,o=n.length;t+=1;var u=t,a=e.getLength();while(++t<a){n=e.getLine(t);var f=n.search(/\S/);if(f===-1)continue;if(r>f)break;var l=this.getFoldWidgetRange(e,"all",t);if(l){if(l.start.row<=s)break;if(l.isMultiLine())t=l.end.row;else if(r==f)break}u=t}return new i(s,o,u,e.getLine(u).length)},this.getCommentRegionBlock=function(e,t,n){var r=t.search(/\s*$/),s=e.getLength(),o=n,u=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;while(++n<s){t=e.getLine(n);var f=u.exec(t);if(!f)continue;f[1]?a--:a++;if(!a)break}var l=n;if(l>o)return new i(o,r,l,t.length)}}.call(o.prototype)}),ace.define("ace/mode/abc",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/abc_highlight_rules","ace/mode/folding/cstyle"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("./text").Mode,s=e("./abc_highlight_rules").ABCHighlightRules,o=e("./folding/cstyle").FoldMode,u=function(){this.HighlightRules=s,this.foldingRules=new o};r.inherits(u,i),function(){this.$id="ace/mode/abc"}.call(u.prototype),t.Mode=u})
MichaelSL/jsdelivr
files/ace/1.2.0/noconflict/mode-abc.js
JavaScript
mit
4,670
"no use strict";(function(e){if(typeof e.window!="undefined"&&e.document)return;e.console=function(){var e=Array.prototype.slice.call(arguments,0);postMessage({type:"log",data:e})},e.console.error=e.console.warn=e.console.log=e.console.trace=e.console,e.window=e,e.ace=e,e.onerror=function(e,t,n,r,i){console.error("Worker "+(i?i.stack:e))},e.normalizeModule=function(t,n){if(n.indexOf("!")!==-1){var r=n.split("!");return e.normalizeModule(t,r[0])+"!"+e.normalizeModule(t,r[1])}if(n.charAt(0)=="."){var i=t.split("/").slice(0,-1).join("/");n=(i?i+"/":"")+n;while(n.indexOf(".")!==-1&&s!=n){var s=n;n=n.replace(/^\.\//,"").replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}}return n},e.require=function(t,n){n||(n=t,t=null);if(!n.charAt)throw new Error("worker.js require() accepts only (parentId, id) as arguments");n=e.normalizeModule(t,n);var r=e.require.modules[n];if(r)return r.initialized||(r.initialized=!0,r.exports=r.factory().exports),r.exports;var i=n.split("/");if(!e.require.tlns)return console.log("unable to load "+n);i[0]=e.require.tlns[i[0]]||i[0];var s=i.join("/")+".js";return e.require.id=n,importScripts(s),e.require(t,n)},e.require.modules={},e.require.tlns={},e.define=function(t,n,r){arguments.length==2?(r=n,typeof t!="string"&&(n=t,t=e.require.id)):arguments.length==1&&(r=t,n=[],t=e.require.id),n.length||(n=["require","exports","module"]);if(t.indexOf("text!")===0)return;var i=function(n){return e.require(t,n)};e.require.modules[t]={exports:{},factory:function(){var e=this,t=r.apply(this,n.map(function(t){switch(t){case"require":return i;case"exports":return e.exports;case"module":return e;default:return i(t)}}));return t&&(e.exports=t),e}}},e.define.amd={},e.initBaseUrls=function(t){require.tlns=t},e.initSender=function(){var n=e.require("ace/lib/event_emitter").EventEmitter,r=e.require("ace/lib/oop"),i=function(){};return function(){r.implement(this,n),this.callback=function(e,t){postMessage({type:"call",id:t,data:e})},this.emit=function(e,t){postMessage({type:"event",name:e,data:t})}}.call(i.prototype),new i};var t=e.main=null,n=e.sender=null;e.onmessage=function(r){var i=r.data;if(i.command){if(!t[i.command])throw new Error("Unknown command:"+i.command);t[i.command].apply(t,i.args)}else if(i.init){initBaseUrls(i.tlns),require("ace/lib/es5-shim"),n=e.sender=initSender();var s=require(i.module)[i.classname];t=e.main=new s(n)}else i.event&&n&&n._signal(i.event,i.data)}})(this),define("ace/lib/oop",["require","exports","module"],function(e,t,n){"use strict";t.inherits=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})},t.mixin=function(e,t){for(var n in t)e[n]=t[n];return e},t.implement=function(e,n){t.mixin(e,n)}}),define("ace/lib/event_emitter",["require","exports","module"],function(e,t,n){"use strict";var r={},i=function(){this.propagationStopped=!0},s=function(){this.defaultPrevented=!0};r._emit=r._dispatchEvent=function(e,t){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var n=this._eventRegistry[e]||[],r=this._defaultHandlers[e];if(!n.length&&!r)return;if(typeof t!="object"||!t)t={};t.type||(t.type=e),t.stopPropagation||(t.stopPropagation=i),t.preventDefault||(t.preventDefault=s),n=n.slice();for(var o=0;o<n.length;o++){n[o](t,this);if(t.propagationStopped)break}if(r&&!t.defaultPrevented)return r(t,this)},r._signal=function(e,t){var n=(this._eventRegistry||{})[e];if(!n)return;n=n.slice();for(var r=0;r<n.length;r++)n[r](t,this)},r.once=function(e,t){var n=this;t&&this.addEventListener(e,function r(){n.removeEventListener(e,r),t.apply(null,arguments)})},r.setDefaultHandler=function(e,t){var n=this._defaultHandlers;n||(n=this._defaultHandlers={_disabled_:{}});if(n[e]){var r=n[e],i=n._disabled_[e];i||(n._disabled_[e]=i=[]),i.push(r);var s=i.indexOf(t);s!=-1&&i.splice(s,1)}n[e]=t},r.removeDefaultHandler=function(e,t){var n=this._defaultHandlers;if(!n)return;var r=n._disabled_[e];if(n[e]==t){var i=n[e];r&&this.setDefaultHandler(e,r.pop())}else if(r){var s=r.indexOf(t);s!=-1&&r.splice(s,1)}},r.on=r.addEventListener=function(e,t,n){this._eventRegistry=this._eventRegistry||{};var r=this._eventRegistry[e];return r||(r=this._eventRegistry[e]=[]),r.indexOf(t)==-1&&r[n?"unshift":"push"](t),t},r.off=r.removeListener=r.removeEventListener=function(e,t){this._eventRegistry=this._eventRegistry||{};var n=this._eventRegistry[e];if(!n)return;var r=n.indexOf(t);r!==-1&&n.splice(r,1)},r.removeAllListeners=function(e){this._eventRegistry&&(this._eventRegistry[e]=[])},t.EventEmitter=r}),define("ace/range",["require","exports","module"],function(e,t,n){"use strict";var r=function(e,t){return e.row-t.row||e.column-t.column},i=function(e,t,n,r){this.start={row:e,column:t},this.end={row:n,column:r}};(function(){this.isEqual=function(e){return this.start.row===e.start.row&&this.end.row===e.end.row&&this.start.column===e.start.column&&this.end.column===e.end.column},this.toString=function(){return"Range: ["+this.start.row+"/"+this.start.column+"] -> ["+this.end.row+"/"+this.end.column+"]"},this.contains=function(e,t){return this.compare(e,t)==0},this.compareRange=function(e){var t,n=e.end,r=e.start;return t=this.compare(n.row,n.column),t==1?(t=this.compare(r.row,r.column),t==1?2:t==0?1:0):t==-1?-2:(t=this.compare(r.row,r.column),t==-1?-1:t==1?42:0)},this.comparePoint=function(e){return this.compare(e.row,e.column)},this.containsRange=function(e){return this.comparePoint(e.start)==0&&this.comparePoint(e.end)==0},this.intersects=function(e){var t=this.compareRange(e);return t==-1||t==0||t==1},this.isEnd=function(e,t){return this.end.row==e&&this.end.column==t},this.isStart=function(e,t){return this.start.row==e&&this.start.column==t},this.setStart=function(e,t){typeof e=="object"?(this.start.column=e.column,this.start.row=e.row):(this.start.row=e,this.start.column=t)},this.setEnd=function(e,t){typeof e=="object"?(this.end.column=e.column,this.end.row=e.row):(this.end.row=e,this.end.column=t)},this.inside=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)||this.isStart(e,t)?!1:!0:!1},this.insideStart=function(e,t){return this.compare(e,t)==0?this.isEnd(e,t)?!1:!0:!1},this.insideEnd=function(e,t){return this.compare(e,t)==0?this.isStart(e,t)?!1:!0:!1},this.compare=function(e,t){return!this.isMultiLine()&&e===this.start.row?t<this.start.column?-1:t>this.end.column?1:0:e<this.start.row?-1:e>this.end.row?1:this.start.row===e?t>=this.start.column?0:-1:this.end.row===e?t<=this.end.column?0:1:0},this.compareStart=function(e,t){return this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.compareEnd=function(e,t){return this.end.row==e&&this.end.column==t?1:this.compare(e,t)},this.compareInside=function(e,t){return this.end.row==e&&this.end.column==t?1:this.start.row==e&&this.start.column==t?-1:this.compare(e,t)},this.clipRows=function(e,t){if(this.end.row>t)var n={row:t+1,column:0};else if(this.end.row<e)var n={row:e,column:0};if(this.start.row>t)var r={row:t+1,column:0};else if(this.start.row<e)var r={row:e,column:0};return i.fromPoints(r||this.start,n||this.end)},this.extend=function(e,t){var n=this.compare(e,t);if(n==0)return this;if(n==-1)var r={row:e,column:t};else var s={row:e,column:t};return i.fromPoints(r||this.start,s||this.end)},this.isEmpty=function(){return this.start.row===this.end.row&&this.start.column===this.end.column},this.isMultiLine=function(){return this.start.row!==this.end.row},this.clone=function(){return i.fromPoints(this.start,this.end)},this.collapseRows=function(){return this.end.column==0?new i(this.start.row,0,Math.max(this.start.row,this.end.row-1),0):new i(this.start.row,0,this.end.row,0)},this.toScreenRange=function(e){var t=e.documentToScreenPosition(this.start),n=e.documentToScreenPosition(this.end);return new i(t.row,t.column,n.row,n.column)},this.moveBy=function(e,t){this.start.row+=e,this.start.column+=t,this.end.row+=e,this.end.column+=t}}).call(i.prototype),i.fromPoints=function(e,t){return new i(e.row,e.column,t.row,t.column)},i.comparePoints=r,i.comparePoints=function(e,t){return e.row-t.row||e.column-t.column},t.Range=i}),define("ace/anchor",["require","exports","module","ace/lib/oop","ace/lib/event_emitter"],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,s=t.Anchor=function(e,t,n){this.$onChange=this.onChange.bind(this),this.attach(e),typeof n=="undefined"?this.setPosition(t.row,t.column):this.setPosition(t,n)};(function(){r.implement(this,i),this.getPosition=function(){return this.$clipPositionToDocument(this.row,this.column)},this.getDocument=function(){return this.document},this.$insertRight=!1,this.onChange=function(e){var t=e.data,n=t.range;if(n.start.row==n.end.row&&n.start.row!=this.row)return;if(n.start.row>this.row)return;if(n.start.row==this.row&&n.start.column>this.column)return;var r=this.row,i=this.column,s=n.start,o=n.end;if(t.action==="insertText")if(s.row===r&&s.column<=i){if(s.column!==i||!this.$insertRight)s.row===o.row?i+=o.column-s.column:(i-=s.column,r+=o.row-s.row)}else s.row!==o.row&&s.row<r&&(r+=o.row-s.row);else t.action==="insertLines"?(s.row!==r||i!==0||!this.$insertRight)&&s.row<=r&&(r+=o.row-s.row):t.action==="removeText"?s.row===r&&s.column<i?o.column>=i?i=s.column:i=Math.max(0,i-(o.column-s.column)):s.row!==o.row&&s.row<r?(o.row===r&&(i=Math.max(0,i-o.column)+s.column),r-=o.row-s.row):o.row===r&&(r-=o.row-s.row,i=Math.max(0,i-o.column)+s.column):t.action=="removeLines"&&s.row<=r&&(o.row<=r?r-=o.row-s.row:(r=s.row,i=0));this.setPosition(r,i,!0)},this.setPosition=function(e,t,n){var r;n?r={row:e,column:t}:r=this.$clipPositionToDocument(e,t);if(this.row==r.row&&this.column==r.column)return;var i={row:this.row,column:this.column};this.row=r.row,this.column=r.column,this._signal("change",{old:i,value:r})},this.detach=function(){this.document.removeEventListener("change",this.$onChange)},this.attach=function(e){this.document=e||this.document,this.document.on("change",this.$onChange)},this.$clipPositionToDocument=function(e,t){var n={};return e>=this.document.getLength()?(n.row=Math.max(0,this.document.getLength()-1),n.column=this.document.getLine(n.row).length):e<0?(n.row=0,n.column=0):(n.row=e,n.column=Math.min(this.document.getLine(n.row).length,Math.max(0,t))),t<0&&(n.column=0),n}}).call(s.prototype)}),define("ace/document",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/range","ace/anchor"],function(e,t,n){"use strict";var r=e("./lib/oop"),i=e("./lib/event_emitter").EventEmitter,s=e("./range").Range,o=e("./anchor").Anchor,u=function(e){this.$lines=[],e.length===0?this.$lines=[""]:Array.isArray(e)?this._insertLines(0,e):this.insert({row:0,column:0},e)};(function(){r.implement(this,i),this.setValue=function(e){var t=this.getLength();this.remove(new s(0,0,t,this.getLine(t-1).length)),this.insert({row:0,column:0},e)},this.getValue=function(){return this.getAllLines().join(this.getNewLineCharacter())},this.createAnchor=function(e,t){return new o(this,e,t)},"aaa".split(/a/).length===0?this.$split=function(e){return e.replace(/\r\n|\r/g,"\n").split("\n")}:this.$split=function(e){return e.split(/\r\n|\r|\n/)},this.$detectNewLine=function(e){var t=e.match(/^.*?(\r\n|\r|\n)/m);this.$autoNewLine=t?t[1]:"\n",this._signal("changeNewLineMode")},this.getNewLineCharacter=function(){switch(this.$newLineMode){case"windows":return"\r\n";case"unix":return"\n";default:return this.$autoNewLine||"\n"}},this.$autoNewLine="",this.$newLineMode="auto",this.setNewLineMode=function(e){if(this.$newLineMode===e)return;this.$newLineMode=e,this._signal("changeNewLineMode")},this.getNewLineMode=function(){return this.$newLineMode},this.isNewLine=function(e){return e=="\r\n"||e=="\r"||e=="\n"},this.getLine=function(e){return this.$lines[e]||""},this.getLines=function(e,t){return this.$lines.slice(e,t+1)},this.getAllLines=function(){return this.getLines(0,this.getLength())},this.getLength=function(){return this.$lines.length},this.getTextRange=function(e){if(e.start.row==e.end.row)return this.getLine(e.start.row).substring(e.start.column,e.end.column);var t=this.getLines(e.start.row,e.end.row);t[0]=(t[0]||"").substring(e.start.column);var n=t.length-1;return e.end.row-e.start.row==n&&(t[n]=t[n].substring(0,e.end.column)),t.join(this.getNewLineCharacter())},this.$clipPosition=function(e){var t=this.getLength();return e.row>=t?(e.row=Math.max(0,t-1),e.column=this.getLine(t-1).length):e.row<0&&(e.row=0),e},this.insert=function(e,t){if(!t||t.length===0)return e;e=this.$clipPosition(e),this.getLength()<=1&&this.$detectNewLine(t);var n=this.$split(t),r=n.splice(0,1)[0],i=n.length==0?null:n.splice(n.length-1,1)[0];return e=this.insertInLine(e,r),i!==null&&(e=this.insertNewLine(e),e=this._insertLines(e.row,n),e=this.insertInLine(e,i||"")),e},this.insertLines=function(e,t){return e>=this.getLength()?this.insert({row:e,column:0},"\n"+t.join("\n")):this._insertLines(Math.max(e,0),t)},this._insertLines=function(e,t){if(t.length==0)return{row:e,column:0};while(t.length>61440){var n=this._insertLines(e,t.slice(0,61440));t=t.slice(61440),e=n.row}var r=[e,0];r.push.apply(r,t),this.$lines.splice.apply(this.$lines,r);var i=new s(e,0,e+t.length,0),o={action:"insertLines",range:i,lines:t};return this._signal("change",{data:o}),i.end},this.insertNewLine=function(e){e=this.$clipPosition(e);var t=this.$lines[e.row]||"";this.$lines[e.row]=t.substring(0,e.column),this.$lines.splice(e.row+1,0,t.substring(e.column,t.length));var n={row:e.row+1,column:0},r={action:"insertText",range:s.fromPoints(e,n),text:this.getNewLineCharacter()};return this._signal("change",{data:r}),n},this.insertInLine=function(e,t){if(t.length==0)return e;var n=this.$lines[e.row]||"";this.$lines[e.row]=n.substring(0,e.column)+t+n.substring(e.column);var r={row:e.row,column:e.column+t.length},i={action:"insertText",range:s.fromPoints(e,r),text:t};return this._signal("change",{data:i}),r},this.remove=function(e){e instanceof s||(e=s.fromPoints(e.start,e.end)),e.start=this.$clipPosition(e.start),e.end=this.$clipPosition(e.end);if(e.isEmpty())return e.start;var t=e.start.row,n=e.end.row;if(e.isMultiLine()){var r=e.start.column==0?t:t+1,i=n-1;e.end.column>0&&this.removeInLine(n,0,e.end.column),i>=r&&this._removeLines(r,i),r!=t&&(this.removeInLine(t,e.start.column,this.getLine(t).length),this.removeNewLine(e.start.row))}else this.removeInLine(t,e.start.column,e.end.column);return e.start},this.removeInLine=function(e,t,n){if(t==n)return;var r=new s(e,t,e,n),i=this.getLine(e),o=i.substring(t,n),u=i.substring(0,t)+i.substring(n,i.length);this.$lines.splice(e,1,u);var a={action:"removeText",range:r,text:o};return this._signal("change",{data:a}),r.start},this.removeLines=function(e,t){return e<0||t>=this.getLength()?this.remove(new s(e,0,t+1,0)):this._removeLines(e,t)},this._removeLines=function(e,t){var n=new s(e,0,t+1,0),r=this.$lines.splice(e,t-e+1),i={action:"removeLines",range:n,nl:this.getNewLineCharacter(),lines:r};return this._signal("change",{data:i}),r},this.removeNewLine=function(e){var t=this.getLine(e),n=this.getLine(e+1),r=new s(e,t.length,e+1,0),i=t+n;this.$lines.splice(e,2,i);var o={action:"removeText",range:r,text:this.getNewLineCharacter()};this._signal("change",{data:o})},this.replace=function(e,t){e instanceof s||(e=s.fromPoints(e.start,e.end));if(t.length==0&&e.isEmpty())return e.start;if(t==this.getTextRange(e))return e.end;this.remove(e);if(t)var n=this.insert(e.start,t);else n=e.start;return n},this.applyDeltas=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=s.fromPoints(n.range.start,n.range.end);n.action=="insertLines"?this.insertLines(r.start.row,n.lines):n.action=="insertText"?this.insert(r.start,n.text):n.action=="removeLines"?this._removeLines(r.start.row,r.end.row-1):n.action=="removeText"&&this.remove(r)}},this.revertDeltas=function(e){for(var t=e.length-1;t>=0;t--){var n=e[t],r=s.fromPoints(n.range.start,n.range.end);n.action=="insertLines"?this._removeLines(r.start.row,r.end.row-1):n.action=="insertText"?this.remove(r):n.action=="removeLines"?this._insertLines(r.start.row,n.lines):n.action=="removeText"&&this.insert(r.start,n.text)}},this.indexToPosition=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length;for(var i=t||0,s=n.length;i<s;i++){e-=n[i].length+r;if(e<0)return{row:i,column:e+n[i].length+r}}return{row:s-1,column:n[s-1].length}},this.positionToIndex=function(e,t){var n=this.$lines||this.getAllLines(),r=this.getNewLineCharacter().length,i=0,s=Math.min(e.row,n.length);for(var o=t||0;o<s;++o)i+=n[o].length+r;return i+e.column}}).call(u.prototype),t.Document=u}),define("ace/lib/lang",["require","exports","module"],function(e,t,n){"use strict";t.last=function(e){return e[e.length-1]},t.stringReverse=function(e){return e.split("").reverse().join("")},t.stringRepeat=function(e,t){var n="";while(t>0){t&1&&(n+=e);if(t>>=1)e+=e}return n};var r=/^\s\s*/,i=/\s\s*$/;t.stringTrimLeft=function(e){return e.replace(r,"")},t.stringTrimRight=function(e){return e.replace(i,"")},t.copyObject=function(e){var t={};for(var n in e)t[n]=e[n];return t},t.copyArray=function(e){var t=[];for(var n=0,r=e.length;n<r;n++)e[n]&&typeof e[n]=="object"?t[n]=this.copyObject(e[n]):t[n]=e[n];return t},t.deepCopy=function(e){if(typeof e!="object"||!e)return e;var n=e.constructor;if(n===RegExp)return e;var r=n();for(var i in e)typeof e[i]=="object"?r[i]=t.deepCopy(e[i]):r[i]=e[i];return r},t.arrayToMap=function(e){var t={};for(var n=0;n<e.length;n++)t[e[n]]=1;return t},t.createMap=function(e){var t=Object.create(null);for(var n in e)t[n]=e[n];return t},t.arrayRemove=function(e,t){for(var n=0;n<=e.length;n++)t===e[n]&&e.splice(n,1)},t.escapeRegExp=function(e){return e.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},t.escapeHTML=function(e){return e.replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},t.getMatchOffsets=function(e,t){var n=[];return e.replace(t,function(e){n.push({offset:arguments[arguments.length-2],length:e.length})}),n},t.deferredCall=function(e){var t=null,n=function(){t=null,e()},r=function(e){return r.cancel(),t=setTimeout(n,e||0),r};return r.schedule=r,r.call=function(){return this.cancel(),e(),r},r.cancel=function(){return clearTimeout(t),t=null,r},r.isPending=function(){return t},r},t.delayedCall=function(e,t){var n=null,r=function(){n=null,e()},i=function(e){n==null&&(n=setTimeout(r,e||t))};return i.delay=function(e){n&&clearTimeout(n),n=setTimeout(r,e||t)},i.schedule=i,i.call=function(){this.cancel(),e()},i.cancel=function(){n&&clearTimeout(n),n=null},i.isPending=function(){return n},i}}),define("ace/worker/mirror",["require","exports","module","ace/document","ace/lib/lang"],function(e,t,n){"use strict";var r=e("../document").Document,i=e("../lib/lang"),s=t.Mirror=function(e){this.sender=e;var t=this.doc=new r(""),n=this.deferredUpdate=i.delayedCall(this.onUpdate.bind(this)),s=this;e.on("change",function(e){t.applyDeltas(e.data);if(s.$timeout)return n.schedule(s.$timeout);s.onUpdate()})};(function(){this.$timeout=500,this.setTimeout=function(e){this.$timeout=e},this.setValue=function(e){this.doc.setValue(e),this.deferredUpdate.schedule(this.$timeout)},this.getValue=function(e){this.sender.callback(this.doc.getValue(),e)},this.onUpdate=function(){},this.isPending=function(){return this.deferredUpdate.isPending()}}).call(s.prototype)}),define("ace/mode/lua/luaparse",["require","exports","module"],function(e,t,n){(function(e,n,r){r(t)})(this,"luaparse",function(e){"use strict";function m(e){if(mt){var t=vt.pop();t.complete(),n.locations&&(e.loc=t.loc),n.ranges&&(e.range=t.range)}return e}function w(e,t,n){for(var r=0,i=e.length;r<i;r++)if(e[r][t]===n)return r;return-1}function E(e){var t=g.call(arguments,1);return e=e.replace(/%(\d)/g,function(e,n){return""+t[n-1]||""}),e}function S(){var e=g.call(arguments),t={},n,r;for(var i=0,s=e.length;i<s;i++){n=e[i];for(r in n)n.hasOwnProperty(r)&&(t[r]=n[r])}return t}function x(e){var t=E.apply(null,g.call(arguments,1)),n,r;throw"undefined"!=typeof e.line?(r=e.range[0]-e.lineStart,n=new SyntaxError(E("[%1:%2] %3",e.line,r,t)),n.line=e.line,n.index=e.range[0],n.column=r):(r=C-D+1,n=new SyntaxError(E("[%1:%2] %3",_,r,t)),n.index=C,n.line=_,n.column=r),n}function T(e,t){x(t,d.expectedToken,e,t.value)}function N(e,t){"undefined"==typeof t&&(t=A.value);if("undefined"!=typeof e.type){var n;switch(e.type){case o:n="string";break;case u:n="keyword";break;case a:n="identifier";break;case f:n="number";break;case l:n="symbol";break;case c:n="boolean";break;case h:return x(e,d.unexpected,"symbol","nil",t)}return x(e,d.unexpected,n,e.value,t)}return x(e,d.unexpected,"symbol",e,t)}function P(){H();while(45===t.charCodeAt(C)&&45===t.charCodeAt(C+1))X(),H();if(C>=r)return{type:s,value:"<eof>",line:_,lineStart:D,range:[C,C]};var e=t.charCodeAt(C),n=t.charCodeAt(C+1);M=C;if(et(e))return B();switch(e){case 39:case 34:return I();case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return R();case 46:if(Y(n))return R();if(46===n)return 46===t.charCodeAt(C+2)?F():j("..");return j(".");case 61:if(61===n)return j("==");return j("=");case 62:if(61===n)return j(">=");return j(">");case 60:if(61===n)return j("<=");return j("<");case 126:if(61===n)return j("~=");return x({},d.expected,"=","~");case 58:if(58===n)return j("::");return j(":");case 91:if(91===n||61===n)return q();return j("[");case 42:case 47:case 94:case 37:case 44:case 123:case 125:case 93:case 40:case 41:case 59:case 35:case 45:case 43:return j(t.charAt(C))}return N(t.charAt(C))}function H(){while(C<r){var e=t.charCodeAt(C);if(Q(e))C++;else{if(!G(e))break;_++,D=++C}}}function B(){var e,n;while(tt(t.charCodeAt(++C)));return e=t.slice(M,C),nt(e)?n=u:"true"===e||"false"===e?(n=c,e="true"===e):"nil"===e?(n=h,e=null):n=a,{type:n,value:e,line:_,lineStart:D,range:[M,C]}}function j(e){return C+=e.length,{type:l,value:e,line:_,lineStart:D,range:[M,C]}}function F(){return C+=3,{type:p,value:"...",line:_,lineStart:D,range:[M,C]}}function I(){var e=t.charCodeAt(C++),n=C,i="",s;while(C<r){s=t.charCodeAt(C++);if(e===s)break;if(92===s)i+=t.slice(n,C-1)+W(),n=C;else if(C>=r||G(s))i+=t.slice(n,C-1),x({},d.unfinishedString,i+String.fromCharCode(s))}return i+=t.slice(n,C-1),{type:o,value:i,line:_,lineStart:D,range:[M,C]}}function q(){var e=V();return!1===e&&x(k,d.expected,"[",k.value),{type:o,value:e,line:_,lineStart:D,range:[M,C]}}function R(){var e=t.charAt(C),n=t.charAt(C+1),r="0"===e&&"xX".indexOf(n||null)>=0?U():z();return{type:f,value:r,line:_,lineStart:D,range:[M,C]}}function U(){var e=0,n=1,r=1,i,s,o,u;u=C+=2,Z(t.charCodeAt(C))||x({},d.malformedNumber,t.slice(M,C));while(Z(t.charCodeAt(C)))C++;i=parseInt(t.slice(u,C),16);if("."===t.charAt(C)){s=++C;while(Z(t.charCodeAt(C)))C++;e=t.slice(s,C),e=s===C?0:parseInt(e,16)/Math.pow(16,C-s)}if("pP".indexOf(t.charAt(C)||null)>=0){C++,"+-".indexOf(t.charAt(C)||null)>=0&&(r="+"===t.charAt(C++)?1:-1),o=C,Y(t.charCodeAt(C))||x({},d.malformedNumber,t.slice(M,C));while(Y(t.charCodeAt(C)))C++;n=t.slice(o,C),n=Math.pow(2,n*r)}return(i+e)*n}function z(){while(Y(t.charCodeAt(C)))C++;if("."===t.charAt(C)){C++;while(Y(t.charCodeAt(C)))C++}if("eE".indexOf(t.charAt(C)||null)>=0){C++,"+-".indexOf(t.charAt(C)||null)>=0&&C++,Y(t.charCodeAt(C))||x({},d.malformedNumber,t.slice(M,C));while(Y(t.charCodeAt(C)))C++}return parseFloat(t.slice(M,C))}function W(){var e=C;switch(t.charAt(C)){case"n":return C++,"\n";case"r":return C++,"\r";case"t":return C++," ";case"v":return C++," ";case"b":return C++,"\b";case"f":return C++,"\f";case"z":return C++,H(),"";case"x":if(Z(t.charCodeAt(C+1))&&Z(t.charCodeAt(C+2)))return C+=3,"\\"+t.slice(e,C);return"\\"+t.charAt(C++);default:if(Y(t.charCodeAt(C))){while(Y(t.charCodeAt(++C)));return"\\"+t.slice(e,C)}return t.charAt(C++)}}function X(){M=C,C+=2;var e=t.charAt(C),i="",s=!1,o=C,u=D,a=_;"["===e&&(i=V(),!1===i?i=e:s=!0);if(!s){while(C<r){if(G(t.charCodeAt(C)))break;C++}n.comments&&(i=t.slice(o,C))}if(n.comments){var f=v.comment(i,t.slice(M,C));n.locations&&(f.loc={start:{line:a,column:M-u},end:{line:_,column:C-D}}),n.ranges&&(f.range=[M,C]),O.push(f)}}function V(){var e=0,n="",i=!1,s,o;C++;while("="===t.charAt(C+e))e++;if("["!==t.charAt(C+e))return!1;C+=e+1,G(t.charCodeAt(C))&&(_++,D=C++),o=C;while(C<r){s=t.charAt(C++),G(s.charCodeAt(0))&&(_++,D=C);if("]"===s){i=!0;for(var u=0;u<e;u++)"="!==t.charAt(C+u)&&(i=!1);"]"!==t.charAt(C+e)&&(i=!1)}if(i)break}return n+=t.slice(o,C-1),C+=e+1,n}function $(){L=k,k=A,A=P()}function J(e){return e===k.value?($(),!0):!1}function K(e){e===k.value?$():x(k,d.expected,e,k.value)}function Q(e){return 9===e||32===e||11===e||12===e}function G(e){return 10===e||13===e}function Y(e){return e>=48&&e<=57}function Z(e){return e>=48&&e<=57||e>=97&&e<=102||e>=65&&e<=70}function et(e){return e>=65&&e<=90||e>=97&&e<=122||95===e}function tt(e){return e>=65&&e<=90||e>=97&&e<=122||95===e||e>=48&&e<=57}function nt(e){switch(e.length){case 2:return"do"===e||"if"===e||"in"===e||"or"===e;case 3:return"and"===e||"end"===e||"for"===e||"not"===e;case 4:return"else"===e||"goto"===e||"then"===e;case 5:return"break"===e||"local"===e||"until"===e||"while"===e;case 6:return"elseif"===e||"repeat"===e||"return"===e;case 8:return"function"===e}return!1}function rt(e){return l===e.type?"#-".indexOf(e.value)>=0:u===e.type?"not"===e.value:!1}function it(e){switch(e.type){case"CallExpression":case"TableCallExpression":case"StringCallExpression":return!0}return!1}function st(e){if(s===e.type)return!0;if(u!==e.type)return!1;switch(e.value){case"else":case"elseif":case"end":case"until":return!0;default:return!1}}function ft(){ot.push(Array.apply(null,ot[ut++]))}function lt(){ot.pop(),ut--}function ct(e){if(-1!==b(ot[ut],e))return;ot[ut].push(e)}function ht(e){ct(e.name),pt(e,!0)}function pt(e,t){!t&&-1===w(at,"name",e.name)&&at.push(e),e.isLocal=t}function dt(e){return-1!==b(ot[ut],e)}function gt(){return new yt(k)}function yt(e){n.locations&&(this.loc={start:{line:e.line,column:e.range[0]-e.lineStart},end:{line:0,column:0}}),n.ranges&&(this.range=[e.range[0],0])}function bt(){mt&&vt.push(gt())}function wt(e){mt&&vt.push(e)}function Et(){$(),bt();var e=St();return s!==k.type&&N(k),mt&&!e.length&&(L=k),m(v.chunk(e))}function St(e){var t=[],r;n.scope&&ft();while(!st(k)){if("return"===k.value){t.push(xt());break}r=xt(),r&&t.push(r)}return n.scope&&lt(),t}function xt(){bt();if(u===k.type)switch(k.value){case"local":return $(),Dt();case"if":return $(),Mt();case"return":return $(),Ot();case"function":$();var e=jt();return Bt(e);case"while":return $(),Lt();case"for":return $(),_t();case"repeat":return $(),At();case"break":return $(),Nt();case"do":return $(),kt();case"goto":return $(),Ct()}if(l===k.type&&J("::"))return Tt();mt&&vt.pop();if(J(";"))return;return Pt()}function Tt(){var e=k.value,t=Ht();return n.scope&&(ct("::"+e+"::"),pt(t,!0)),K("::"),m(v.labelStatement(t))}function Nt(){return m(v.breakStatement())}function Ct(){var e=k.value,t=Ht();return n.scope&&(t.isLabel=dt("::"+e+"::")),m(v.gotoStatement(t))}function kt(){var e=St();return K("end"),m(v.doStatement(e))}function Lt(){var e=qt();K("do");var t=St();return K("end"),m(v.whileStatement(e,t))}function At(){var e=St();K("until");var t=qt();return m(v.repeatStatement(t,e))}function Ot(){var e=[];if("end"!==k.value){var t=It();null!=t&&e.push(t);while(J(","))t=qt(),e.push(t);J(";")}return m(v.returnStatement(e))}function Mt(){var e=[],t,n,r;mt&&(r=vt[vt.length-1],vt.push(r)),t=qt(),K("then"),n=St(),e.push(m(v.ifClause(t,n))),mt&&(r=gt());while(J("elseif"))wt(r),t=qt(),K("then"),n=St(),e.push(m(v.elseifClause(t,n))),mt&&(r=gt());return J("else")&&(mt&&(r=new yt(L),vt.push(r)),n=St(),e.push(m(v.elseClause(n)))),K("end"),m(v.ifStatement(e))}function _t(){var e=Ht(),t;n.scope&&ht(e);if(J("=")){var r=qt();K(",");var i=qt(),s=J(",")?qt():null;return K("do"),t=St(),K("end"),m(v.forNumericStatement(e,r,i,s,t))}var o=[e];while(J(","))e=Ht(),n.scope&&ht(e),o.push(e);K("in");var u=[];do{var a=qt();u.push(a)}while(J(","));return K("do"),t=St(),K("end"),m(v.forGenericStatement(o,u,t))}function Dt(){var e;if(a===k.type){var t=[],r=[];do e=Ht(),t.push(e);while(J(","));if(J("="))do{var i=qt();r.push(i)}while(J(","));if(n.scope)for(var s=0,o=t.length;s<o;s++)ht(t[s]);return m(v.localStatement(t,r))}if(J("function"))return e=Ht(),n.scope&&ht(e),Bt(e,!0);T("<name>",k)}function Pt(){var e=k,t,n;mt&&(n=gt()),t=zt();if(null==t)return N(k);if(",=".indexOf(k.value)>=0){var r=[t],i=[],s;while(J(","))s=zt(),null==s&&T("<expression>",k),r.push(s);K("=");do s=qt(),i.push(s);while(J(","));return wt(n),m(v.assignmentStatement(r,i))}return it(t)?(wt(n),m(v.callStatement(t))):N(e)}function Ht(){bt();var e=k.value;return a!==k.type&&T("<name>",k),$(),m(v.identifier(e))}function Bt(e,t){var r=[];K("(");if(!J(")"))for(;;)if(a===k.type){var i=Ht();n.scope&&ht(i),r.push(i);if(J(","))continue;if(J(")"))break}else{if(p===k.type){r.push(Xt()),K(")");break}T("<name> or '...'",k)}var s=St();return K("end"),t=t||!1,m(v.functionStatement(e,r,t,s))}function jt(){var e,t,r;mt&&(r=gt()),e=Ht(),n.scope&&pt(e,!1);while(J("."))wt(r),t=Ht(),n.scope&&pt(t,!1),e=m(v.memberExpression(e,".",t));return J(":")&&(wt(r),t=Ht(),n.scope&&pt(t,!1),e=m(v.memberExpression(e,":",t))),e}function Ft(){var e=[],t,n;for(;;){bt();if(l===k.type&&J("["))t=qt(),K("]"),K("="),n=qt(),e.push(m(v.tableKey(t,n)));else if(a===k.type)t=qt(),J("=")?(n=qt(),e.push(m(v.tableKeyString(t,n)))):e.push(m(v.tableValue(t)));else{if(null==(n=It())){vt.pop();break}e.push(m(v.tableValue(n)))}if(",;".indexOf(k.value)>=0){$();continue}if("}"===k.value)break}return K("}"),m(v.tableConstructorExpression(e))}function It(){var e=Ut(0);return e}function qt(){var e=It();if(null!=e)return e;T("<expression>",k)}function Rt(e){var t=e.charCodeAt(0),n=e.length;if(1===n)switch(t){case 94:return 10;case 42:case 47:case 37:return 7;case 43:case 45:return 6;case 60:case 62:return 3}else if(2===n)switch(t){case 46:return 5;case 60:case 62:case 61:case 126:return 3;case 111:return 1}else if(97===t&&"and"===e)return 2;return 0}function Ut(e){var t=k.value,n,r;mt&&(r=gt());if(rt(k)){bt(),$();var i=Ut(8);i==null&&T("<expression>",k),n=m(v.unaryExpression(t,i))}null==n&&(n=Xt(),null==n&&(n=zt()));if(null==n)return null;var s;for(;;){t=k.value,s=l===k.type||u===k.type?Rt(t):0;if(s===0||s<=e)break;("^"===t||".."===t)&&s--,$();var o=Ut(s);null==o&&T("<expression>",k),mt&&vt.push(r),n=m(v.binaryExpression(t,n,o))}return n}function zt(){var e,t,r,i;mt&&(r=gt());if(a===k.type)t=k.value,e=Ht(),n.scope&&pt(e,i=dt(t));else{if(!J("("))return null;e=qt(),K(")"),n.scope&&(i=e.isLocal)}var s,u;for(;;)if(l===k.type)switch(k.value){case"[":wt(r),$(),s=qt(),e=m(v.indexExpression(e,s)),K("]");break;case".":wt(r),$(),u=Ht(),n.scope&&pt(u,i),e=m(v.memberExpression(e,".",u));break;case":":wt(r),$(),u=Ht(),n.scope&&pt(u,i),e=m(v.memberExpression(e,":",u)),wt(r),e=Wt(e);break;case"(":case"{":wt(r),e=Wt(e);break;default:return e}else{if(o!==k.type)break;wt(r),e=Wt(e)}return e}function Wt(e){if(l===k.type)switch(k.value){case"(":$();var t=[],n=It();null!=n&&t.push(n);while(J(","))n=qt(),t.push(n);return K(")"),m(v.callExpression(e,t));case"{":bt(),$();var r=Ft();return m(v.tableCallExpression(e,r))}else if(o===k.type)return m(v.stringCallExpression(e,Xt()));T("function arguments",k)}function Xt(){var e=o|f|c|h|p,n=k.value,r=k.type,i;mt&&(i=gt());if(r&e){wt(i);var s=t.slice(k.range[0],k.range[1]);return $(),m(v.literal(r,n,s))}if(u===r&&"function"===n)return wt(i),$(),Bt(null);if(J("{"))return wt(i),Ft()}function Vt(s,o){return"undefined"==typeof o&&"object"==typeof s&&(o=s,s=undefined),o||(o={}),t=s||"",n=S(i,o),C=0,_=1,D=0,r=t.length,ot=[[]],ut=0,at=[],vt=[],n.comments&&(O=[]),n.wait?e:Jt()}function $t(n){return t+=String(n),r=t.length,e}function Jt(e){"undefined"!=typeof e&&$t(e),r=t.length,mt=n.locations||n.ranges,A=P();var i=Et();n.comments&&(i.comments=O),n.scope&&(i.globals=at);if(vt.length>0)throw new Error("Location tracking failed. This is most likely a bug in luaparse");return i}e.version="0.1.4";var t,n,r,i=e.defaultOptions={wait:!1,comments:!0,scope:!1,locations:!1,ranges:!1},s=1,o=2,u=4,a=8,f=16,l=32,c=64,h=128,p=256;e.tokenTypes={EOF:s,StringLiteral:o,Keyword:u,Identifier:a,NumericLiteral:f,Punctuator:l,BooleanLiteral:c,NilLiteral:h,VarargLiteral:p};var d=e.errors={unexpected:"Unexpected %1 '%2' near '%3'",expected:"'%1' expected near '%2'",expectedToken:"%1 expected near '%2'",unfinishedString:"unfinished string near '%1'",malformedNumber:"malformed number near '%1'"},v=e.ast={labelStatement:function(e){return{type:"LabelStatement",label:e}},breakStatement:function(){return{type:"BreakStatement"}},gotoStatement:function(e){return{type:"GotoStatement",label:e}},returnStatement:function(e){return{type:"ReturnStatement",arguments:e}},ifStatement:function(e){return{type:"IfStatement",clauses:e}},ifClause:function(e,t){return{type:"IfClause",condition:e,body:t}},elseifClause:function(e,t){return{type:"ElseifClause",condition:e,body:t}},elseClause:function(e){return{type:"ElseClause",body:e}},whileStatement:function(e,t){return{type:"WhileStatement",condition:e,body:t}},doStatement:function(e){return{type:"DoStatement",body:e}},repeatStatement:function(e,t){return{type:"RepeatStatement",condition:e,body:t}},localStatement:function(e,t){return{type:"LocalStatement",variables:e,init:t}},assignmentStatement:function(e,t){return{type:"AssignmentStatement",variables:e,init:t}},callStatement:function(e){return{type:"CallStatement",expression:e}},functionStatement:function(e,t,n,r){return{type:"FunctionDeclaration",identifier:e,isLocal:n,parameters:t,body:r}},forNumericStatement:function(e,t,n,r,i){return{type:"ForNumericStatement",variable:e,start:t,end:n,step:r,body:i}},forGenericStatement:function(e,t,n){return{type:"ForGenericStatement",variables:e,iterators:t,body:n}},chunk:function(e){return{type:"Chunk",body:e}},identifier:function(e){return{type:"Identifier",name:e}},literal:function(e,t,n){return e=e===o?"StringLiteral":e===f?"NumericLiteral":e===c?"BooleanLiteral":e===h?"NilLiteral":"VarargLiteral",{type:e,value:t,raw:n}},tableKey:function(e,t){return{type:"TableKey",key:e,value:t}},tableKeyString:function(e,t){return{type:"TableKeyString",key:e,value:t}},tableValue:function(e){return{type:"TableValue",value:e}},tableConstructorExpression:function(e){return{type:"TableConstructorExpression",fields:e}},binaryExpression:function(e,t,n){var r="and"===e||"or"===e?"LogicalExpression":"BinaryExpression";return{type:r,operator:e,left:t,right:n}},unaryExpression:function(e,t){return{type:"UnaryExpression",operator:e,argument:t}},memberExpression:function(e,t,n){return{type:"MemberExpression",indexer:t,identifier:n,base:e}},indexExpression:function(e,t){return{type:"IndexExpression",base:e,index:t}},callExpression:function(e,t){return{type:"CallExpression",base:e,arguments:t}},tableCallExpression:function(e,t){return{type:"TableCallExpression",base:e,arguments:t}},stringCallExpression:function(e,t){return{type:"StringCallExpression",base:e,argument:t}},comment:function(e,t){return{type:"Comment",value:e,raw:t}}},g=Array.prototype.slice,y=Object.prototype.toString,b=function(t,n){for(var r=0,i=t.length;r<i;r++)if(t[r]===n)return r;return-1},C,k,L,A,O,M,_,D;e.lex=P;var ot,ut,at,vt=[],mt;yt.prototype.complete=function(){n.locations&&(this.loc.end.line=L.line,this.loc.end.column=L.range[1]-L.lineStart),n.ranges&&(this.range[1]=L.range[1])},e.parse=Vt,e.write=$t,e.end=Jt})}),define("ace/mode/lua_worker",["require","exports","module","ace/lib/oop","ace/worker/mirror","ace/mode/lua/luaparse"],function(e,t,n){"use strict";var r=e("../lib/oop"),i=e("../worker/mirror").Mirror,s=e("../mode/lua/luaparse"),o=t.Worker=function(e){i.call(this,e),this.setTimeout(500)};r.inherits(o,i),function(){this.onUpdate=function(){var e=this.doc.getValue();try{s.parse(e)}catch(t){t instanceof SyntaxError&&this.sender.emit("error",{row:t.line-1,column:t.column,text:t.message,type:"error"});return}this.sender.emit("ok")}}.call(o.prototype)}),define("ace/lib/es5-shim",["require","exports","module"],function(e,t,n){function r(){}function w(e){try{return Object.defineProperty(e,"sentinel",{}),"sentinel"in e}catch(t){}}function H(e){return e=+e,e!==e?e=0:e!==0&&e!==1/0&&e!==-1/0&&(e=(e>0||-1)*Math.floor(Math.abs(e))),e}function B(e){var t=typeof e;return e===null||t==="undefined"||t==="boolean"||t==="number"||t==="string"}function j(e){var t,n,r;if(B(e))return e;n=e.valueOf;if(typeof n=="function"){t=n.call(e);if(B(t))return t}r=e.toString;if(typeof r=="function"){t=r.call(e);if(B(t))return t}throw new TypeError}Function.prototype.bind||(Function.prototype.bind=function(t){var n=this;if(typeof n!="function")throw new TypeError("Function.prototype.bind called on incompatible "+n);var i=u.call(arguments,1),s=function(){if(this instanceof s){var e=n.apply(this,i.concat(u.call(arguments)));return Object(e)===e?e:this}return n.apply(t,i.concat(u.call(arguments)))};return n.prototype&&(r.prototype=n.prototype,s.prototype=new r,r.prototype=null),s});var i=Function.prototype.call,s=Array.prototype,o=Object.prototype,u=s.slice,a=i.bind(o.toString),f=i.bind(o.hasOwnProperty),l,c,h,p,d;if(d=f(o,"__defineGetter__"))l=i.bind(o.__defineGetter__),c=i.bind(o.__defineSetter__),h=i.bind(o.__lookupGetter__),p=i.bind(o.__lookupSetter__);if([1,2].splice(0).length!=2)if(!function(){function e(e){var t=new Array(e+2);return t[0]=t[1]=0,t}var t=[],n;t.splice.apply(t,e(20)),t.splice.apply(t,e(26)),n=t.length,t.splice(5,0,"XXX"),n+1==t.length;if(n+1==t.length)return!0}())Array.prototype.splice=function(e,t){var n=this.length;e>0?e>n&&(e=n):e==void 0?e=0:e<0&&(e=Math.max(n+e,0)),e+t<n||(t=n-e);var r=this.slice(e,e+t),i=u.call(arguments,2),s=i.length;if(e===n)s&&this.push.apply(this,i);else{var o=Math.min(t,n-e),a=e+o,f=a+s-o,l=n-a,c=n-o;if(f<a)for(var h=0;h<l;++h)this[f+h]=this[a+h];else if(f>a)for(h=l;h--;)this[f+h]=this[a+h];if(s&&e===c)this.length=c,this.push.apply(this,i);else{this.length=c+s;for(h=0;h<s;++h)this[e+h]=i[h]}}return r};else{var v=Array.prototype.splice;Array.prototype.splice=function(e,t){return arguments.length?v.apply(this,[e===void 0?0:e,t===void 0?this.length-e:t].concat(u.call(arguments,2))):[]}}Array.isArray||(Array.isArray=function(t){return a(t)=="[object Array]"});var m=Object("a"),g=m[0]!="a"||!(0 in m);Array.prototype.forEach||(Array.prototype.forEach=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=arguments[1],s=-1,o=r.length>>>0;if(a(t)!="[object Function]")throw new TypeError;while(++s<o)s in r&&t.call(i,r[s],s,n)}),Array.prototype.map||(Array.prototype.map=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=Array(i),o=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var u=0;u<i;u++)u in r&&(s[u]=t.call(o,r[u],u,n));return s}),Array.prototype.filter||(Array.prototype.filter=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=[],o,u=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var f=0;f<i;f++)f in r&&(o=r[f],t.call(u,o,f,n)&&s.push(o));return s}),Array.prototype.every||(Array.prototype.every=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var o=0;o<i;o++)if(o in r&&!t.call(s,r[o],o,n))return!1;return!0}),Array.prototype.some||(Array.prototype.some=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0,s=arguments[1];if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");for(var o=0;o<i;o++)if(o in r&&t.call(s,r[o],o,n))return!0;return!1}),Array.prototype.reduce||(Array.prototype.reduce=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0;if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");if(!i&&arguments.length==1)throw new TypeError("reduce of empty array with no initial value");var s=0,o;if(arguments.length>=2)o=arguments[1];else do{if(s in r){o=r[s++];break}if(++s>=i)throw new TypeError("reduce of empty array with no initial value")}while(!0);for(;s<i;s++)s in r&&(o=t.call(void 0,o,r[s],s,n));return o}),Array.prototype.reduceRight||(Array.prototype.reduceRight=function(t){var n=F(this),r=g&&a(this)=="[object String]"?this.split(""):n,i=r.length>>>0;if(a(t)!="[object Function]")throw new TypeError(t+" is not a function");if(!i&&arguments.length==1)throw new TypeError("reduceRight of empty array with no initial value");var s,o=i-1;if(arguments.length>=2)s=arguments[1];else do{if(o in r){s=r[o--];break}if(--o<0)throw new TypeError("reduceRight of empty array with no initial value")}while(!0);do o in this&&(s=t.call(void 0,s,r[o],o,n));while(o--);return s});if(!Array.prototype.indexOf||[0,1].indexOf(1,2)!=-1)Array.prototype.indexOf=function(t){var n=g&&a(this)=="[object String]"?this.split(""):F(this),r=n.length>>>0;if(!r)return-1;var i=0;arguments.length>1&&(i=H(arguments[1])),i=i>=0?i:Math.max(0,r+i);for(;i<r;i++)if(i in n&&n[i]===t)return i;return-1};if(!Array.prototype.lastIndexOf||[0,1].lastIndexOf(0,-3)!=-1)Array.prototype.lastIndexOf=function(t){var n=g&&a(this)=="[object String]"?this.split(""):F(this),r=n.length>>>0;if(!r)return-1;var i=r-1;arguments.length>1&&(i=Math.min(i,H(arguments[1]))),i=i>=0?i:r-Math.abs(i);for(;i>=0;i--)if(i in n&&t===n[i])return i;return-1};Object.getPrototypeOf||(Object.getPrototypeOf=function(t){return t.__proto__||(t.constructor?t.constructor.prototype:o)});if(!Object.getOwnPropertyDescriptor){var y="Object.getOwnPropertyDescriptor called on a non-object: ";Object.getOwnPropertyDescriptor=function(t,n){if(typeof t!="object"&&typeof t!="function"||t===null)throw new TypeError(y+t);if(!f(t,n))return;var r,i,s;r={enumerable:!0,configurable:!0};if(d){var u=t.__proto__;t.__proto__=o;var i=h(t,n),s=p(t,n);t.__proto__=u;if(i||s)return i&&(r.get=i),s&&(r.set=s),r}return r.value=t[n],r}}Object.getOwnPropertyNames||(Object.getOwnPropertyNames=function(t){return Object.keys(t)});if(!Object.create){var b;Object.prototype.__proto__===null?b=function(){return{__proto__:null}}:b=function(){var e={};for(var t in e)e[t]=null;return e.constructor=e.hasOwnProperty=e.propertyIsEnumerable=e.isPrototypeOf=e.toLocaleString=e.toString=e.valueOf=e.__proto__=null,e},Object.create=function(t,n){var r;if(t===null)r=b();else{if(typeof t!="object")throw new TypeError("typeof prototype["+typeof t+"] != 'object'");var i=function(){};i.prototype=t,r=new i,r.__proto__=t}return n!==void 0&&Object.defineProperties(r,n),r}}if(Object.defineProperty){var E=w({}),S=typeof document=="undefined"||w(document.createElement("div"));if(!E||!S)var x=Object.defineProperty}if(!Object.defineProperty||x){var T="Property description must be an object: ",N="Object.defineProperty called on non-object: ",C="getters & setters can not be defined on this javascript engine";Object.defineProperty=function(t,n,r){if(typeof t!="object"&&typeof t!="function"||t===null)throw new TypeError(N+t);if(typeof r!="object"&&typeof r!="function"||r===null)throw new TypeError(T+r);if(x)try{return x.call(Object,t,n,r)}catch(i){}if(f(r,"value"))if(d&&(h(t,n)||p(t,n))){var s=t.__proto__;t.__proto__=o,delete t[n],t[n]=r.value,t.__proto__=s}else t[n]=r.value;else{if(!d)throw new TypeError(C);f(r,"get")&&l(t,n,r.get),f(r,"set")&&c(t,n,r.set)}return t}}Object.defineProperties||(Object.defineProperties=function(t,n){for(var r in n)f(n,r)&&Object.defineProperty(t,r,n[r]);return t}),Object.seal||(Object.seal=function(t){return t}),Object.freeze||(Object.freeze=function(t){return t});try{Object.freeze(function(){})}catch(k){Object.freeze=function(t){return function(n){return typeof n=="function"?n:t(n)}}(Object.freeze)}Object.preventExtensions||(Object.preventExtensions=function(t){return t}),Object.isSealed||(Object.isSealed=function(t){return!1}),Object.isFrozen||(Object.isFrozen=function(t){return!1}),Object.isExtensible||(Object.isExtensible=function(t){if(Object(t)===t)throw new TypeError;var n="";while(f(t,n))n+="?";t[n]=!0;var r=f(t,n);return delete t[n],r});if(!Object.keys){var L=!0,A=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],O=A.length;for(var M in{toString:null})L=!1;Object.keys=function I(e){if(typeof e!="object"&&typeof e!="function"||e===null)throw new TypeError("Object.keys called on a non-object");var I=[];for(var t in e)f(e,t)&&I.push(t);if(L)for(var n=0,r=O;n<r;n++){var i=A[n];f(e,i)&&I.push(i)}return I}}Date.now||(Date.now=function(){return(new Date).getTime()});var _=" \n \f\r \u00a0\u1680\u180e\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200a\u202f\u205f\u3000\u2028\u2029\ufeff";if(!String.prototype.trim||_.trim()){_="["+_+"]";var D=new RegExp("^"+_+_+"*"),P=new RegExp(_+_+"*$");String.prototype.trim=function(){return String(this).replace(D,"").replace(P,"")}}var F=function(e){if(e==null)throw new TypeError("can't convert "+e+" to object");return Object(e)}})
kirbyfan64/cdnjs
ajax/libs/ace/1.1.6/worker-lua.js
JavaScript
mit
45,110
/* * /MathJax/jax/output/HTML-CSS/fonts/STIX-Web/Normal/BoldItalic/Main.js * * Copyright (c) 2009-2015 The MathJax Consortium * * 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. */ MathJax.OutputJax["HTML-CSS"].FONTDATA.FONTS["STIXMathJax_Normal-bold-italic"]={directory:"Normal/BoldItalic",family:"STIXMathJax_Normal",weight:"bold",style:"italic",testString:"\u00A0\uD835\uDC68\uD835\uDC69\uD835\uDC6A\uD835\uDC6B\uD835\uDC6C\uD835\uDC6D\uD835\uDC6E\uD835\uDC6F\uD835\uDC70\uD835\uDC71\uD835\uDC72\uD835\uDC73\uD835\uDC74\uD835\uDC75",32:[0,0,250,0,0],160:[0,0,250,0,0],119912:[685,0,759,39,724],119913:[669,0,726,42,715],119914:[685,12,701,55,745],119915:[669,0,818,42,790],119916:[669,0,732,42,754],119917:[669,0,635,44,750],119918:[685,12,768,55,768],119919:[669,0,891,42,946],119920:[669,0,502,42,557],119921:[669,12,558,66,646],119922:[669,0,795,42,839],119923:[669,0,744,42,700],119924:[669,0,1016,42,1071],119925:[669,0,869,42,924],119926:[685,16,777,55,755],119927:[669,0,612,42,733],119928:[685,154,810,55,755],119929:[669,0,801,42,784],119930:[685,10,671,55,704],119931:[669,0,568,28,700],119932:[669,10,733,72,810],119933:[669,15,593,66,797],119934:[669,17,925,66,1129],119935:[669,0,808,28,830],119936:[669,0,549,39,725],119937:[669,0,797,66,830],119938:[462,10,581,44,548],119939:[685,8,509,50,487],119940:[462,10,477,44,460],119941:[685,14,595,44,589],119942:[462,10,498,44,459],119943:[685,207,572,44,632],119944:[462,203,527,22,527],119945:[685,10,576,50,543],119946:[620,9,357,55,300],119947:[620,207,431,-18,414],119948:[685,11,580,55,563],119949:[685,9,346,50,310],119950:[467,9,760,33,727],119951:[467,10,559,33,526],119952:[462,10,561,44,539],119953:[469,205,571,-33,554],119954:[462,205,526,44,532],119955:[467,0,441,33,424],119956:[462,11,474,55,419],119957:[592,10,351,44,318],119958:[463,10,535,33,502],119959:[473,14,554,52,539],119960:[473,14,814,52,799],119961:[462,8,587,33,543],119962:[462,205,519,35,522],119963:[462,19,531,35,499],120604:[685,0,759,39,724],120605:[669,0,726,42,715],120606:[669,0,634,42,749],120607:[685,0,632,32,589],120608:[669,0,732,42,754],120609:[669,0,797,66,830],120610:[669,0,891,42,946],120611:[685,16,783,55,755],120612:[669,0,502,42,557],120613:[669,0,795,42,839],120614:[685,0,759,39,724],120615:[669,0,1016,42,1071],120616:[669,0,869,42,924],120617:[669,0,718,57,757],120618:[685,16,777,55,755],120619:[669,0,887,39,942],120620:[669,0,612,42,733],120621:[685,16,783,55,755],120622:[669,0,759,64,787],120623:[669,0,568,28,700],120624:[685,0,641,31,784],120625:[669,0,827,28,799],120626:[669,0,808,28,830],120627:[685,0,694,30,781],120628:[685,0,826,57,815],120629:[669,16,632,43,600],120630:[461,12,624,44,630],120631:[685,205,555,28,583],120632:[462,203,490,44,503],120633:[685,8,538,44,538],120634:[462,10,495,28,451],120635:[685,203,472,44,522],120636:[462,205,517,33,511],120637:[685,11,566,44,555],120638:[462,9,318,55,274],120639:[462,0,560,55,577],120640:[685,16,570,55,537],120641:[449,205,636,33,603],120642:[459,10,523,55,534],120643:[685,203,476,28,487],120644:[462,10,561,44,539],120645:[449,13,579,39,590],120646:[462,205,595,33,562],120647:[462,203,480,39,508],120648:[449,10,592,44,603],120649:[449,7,469,33,502],120650:[462,10,552,33,535],120651:[462,205,706,55,667],120652:[462,204,621,33,676],120653:[462,205,701,33,756],120654:[462,10,687,22,665],120655:[686,10,559,44,559],120656:[461,10,481,44,481],120657:[698,13,607,33,584],120658:[462,15,607,-12,630],120659:[685,205,683,44,655],120660:[462,205,585,44,563],120661:[449,10,868,33,879]};MathJax.Callback.Queue(["initFont",MathJax.OutputJax["HTML-CSS"],"STIXMathJax_Normal-bold-italic"],["loadComplete",MathJax.Ajax,MathJax.OutputJax["HTML-CSS"].fontDir+"/Normal/BoldItalic/Main.js"]);
dannyxx001/cdnjs
ajax/libs/mathjax/2.5.2/jax/output/HTML-CSS/fonts/STIX-Web/Normal/BoldItalic/Main.js
JavaScript
mit
4,241
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Translation\Loader; use Symfony\Component\Translation\MessageCatalogue; use Symfony\Component\Translation\Exception\InvalidResourceException; use Symfony\Component\Translation\Exception\NotFoundResourceException; /** * LoaderInterface is the interface implemented by all translation loaders. * * @author Fabien Potencier <fabien@symfony.com> * * @api */ interface LoaderInterface { /** * Loads a locale. * * @param mixed $resource A resource * @param string $locale A locale * @param string $domain The domain * * @return MessageCatalogue A MessageCatalogue instance * * @api * * @throws NotFoundResourceException when the resource cannot be found * @throws InvalidResourceException when the resource cannot be loaded */ public function load($resource, $locale, $domain = 'messages'); }
saberkan/traditional_application
vendor/symfony/symfony/src/Symfony/Component/Translation/Loader/LoaderInterface.php
PHP
mit
1,140
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_precision) { var v = opt_precision; if (undefined === v) { v = Math.min(getDecimals(n), 3); } var base = Math.pow(10, v); var f = ((n * base) | 0) % base; return {v: v, f: f}; } $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "AM", "PM" ], "DAY": [ "S\u0101pate", "M\u014dnite", "T\u016bsite", "Pulelulu", "Tu\u02bbapulelulu", "Falaite", "Tokonaki" ], "ERANAMES": [ "ki mu\u02bba", "ta\u02bbu \u02bbo S\u012bs\u016b" ], "ERAS": [ "KM", "TS" ], "FIRSTDAYOFWEEK": 0, "MONTH": [ "S\u0101nuali", "F\u0113pueli", "Ma\u02bbasi", "\u02bbEpeleli", "M\u0113", "Sune", "Siulai", "\u02bbAokosi", "Sepitema", "\u02bbOkatopa", "N\u014dvema", "T\u012bsema" ], "SHORTDAY": [ "S\u0101p", "M\u014dn", "T\u016bs", "Pul", "Tu\u02bba", "Fal", "Tok" ], "SHORTMONTH": [ "S\u0101n", "F\u0113p", "Ma\u02bba", "\u02bbEpe", "M\u0113", "Sun", "Siu", "\u02bbAok", "Sep", "\u02bbOka", "N\u014dv", "T\u012bs" ], "STANDALONEMONTH": [ "S\u0101nuali", "F\u0113pueli", "Ma\u02bbasi", "\u02bbEpeleli", "M\u0113", "Sune", "Siulai", "\u02bbAokosi", "Sepitema", "\u02bbOkatopa", "N\u014dvema", "T\u012bsema" ], "WEEKENDRANGE": [ 5, 6 ], "fullDate": "EEEE d MMMM y", "longDate": "d MMMM y", "medium": "d MMM y h:mm:ss a", "mediumDate": "d MMM y", "mediumTime": "h:mm:ss a", "short": "d/M/yy h:mm a", "shortDate": "d/M/yy", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "T$", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, "negPre": "-", "negSuf": "", "posPre": "", "posSuf": "" }, { "gSize": 3, "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, "negPre": "-\u00a4\u00a0", "negSuf": "", "posPre": "\u00a4\u00a0", "posSuf": "" } ] }, "id": "to", "localeID": "to", "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]);
jonobr1/cdnjs
ajax/libs/angular.js/1.6.0-rc.1/i18n/angular-locale_to.js
JavaScript
mit
2,918
/*! * negotiator * Copyright(c) 2012 Federico Romero * Copyright(c) 2012-2014 Isaac Z. Schlueter * Copyright(c) 2015 Douglas Christopher Wilson * MIT Licensed */ 'use strict'; /** * Cached loaded submodules. * @private */ var modules = Object.create(null); /** * Module exports. * @public */ module.exports = Negotiator; module.exports.Negotiator = Negotiator; /** * Create a Negotiator instance from a request. * @param {object} request * @public */ function Negotiator(request) { if (!(this instanceof Negotiator)) { return new Negotiator(request); } this.request = request; } Negotiator.prototype.charset = function charset(available) { var set = this.charsets(available); return set && set[0]; }; Negotiator.prototype.charsets = function charsets(available) { var preferredCharsets = loadModule('charset').preferredCharsets; return preferredCharsets(this.request.headers['accept-charset'], available); }; Negotiator.prototype.encoding = function encoding(available) { var set = this.encodings(available); return set && set[0]; }; Negotiator.prototype.encodings = function encodings(available) { var preferredEncodings = loadModule('encoding').preferredEncodings; return preferredEncodings(this.request.headers['accept-encoding'], available); }; Negotiator.prototype.language = function language(available) { var set = this.languages(available); return set && set[0]; }; Negotiator.prototype.languages = function languages(available) { var preferredLanguages = loadModule('language').preferredLanguages; return preferredLanguages(this.request.headers['accept-language'], available); }; Negotiator.prototype.mediaType = function mediaType(available) { var set = this.mediaTypes(available); return set && set[0]; }; Negotiator.prototype.mediaTypes = function mediaTypes(available) { var preferredMediaTypes = loadModule('mediaType').preferredMediaTypes; return preferredMediaTypes(this.request.headers.accept, available); }; // Backwards compatibility Negotiator.prototype.preferredCharset = Negotiator.prototype.charset; Negotiator.prototype.preferredCharsets = Negotiator.prototype.charsets; Negotiator.prototype.preferredEncoding = Negotiator.prototype.encoding; Negotiator.prototype.preferredEncodings = Negotiator.prototype.encodings; Negotiator.prototype.preferredLanguage = Negotiator.prototype.language; Negotiator.prototype.preferredLanguages = Negotiator.prototype.languages; Negotiator.prototype.preferredMediaType = Negotiator.prototype.mediaType; Negotiator.prototype.preferredMediaTypes = Negotiator.prototype.mediaTypes; /** * Load the given module. * @private */ function loadModule(moduleName) { var module = modules[moduleName]; if (module !== undefined) { return module; } // This uses a switch for static require analysis switch (moduleName) { case 'charset': module = require('./lib/charset'); break; case 'encoding': module = require('./lib/encoding'); break; case 'language': module = require('./lib/language'); break; case 'mediaType': module = require('./lib/mediaType'); break; default: throw new Error('Cannot find module \'' + moduleName + '\''); } // Store to prevent invoking require() modules[moduleName] = module; return module; }
igMartin/Redux-Tinder
node_modules/webpack-dev-server/node_modules/compression/node_modules/accepts/node_modules/negotiator/index.js
JavaScript
mit
3,344
var bindCallback = require('../internal/bindCallback'); /* Native method references for those with the same name as other `lodash` methods. */ var nativeFloor = Math.floor, nativeIsFinite = global.isFinite, nativeMin = Math.min; /** Used as references for the maximum length and index of an array. */ var MAX_ARRAY_LENGTH = 4294967295; /** * Invokes the iteratee function `n` times, returning an array of the results * of each invocation. The `iteratee` is bound to `thisArg` and invoked with * one argument; (index). * * @static * @memberOf _ * @category Utility * @param {number} n The number of times to invoke `iteratee`. * @param {Function} [iteratee=_.identity] The function invoked per iteration. * @param {*} [thisArg] The `this` binding of `iteratee`. * @returns {Array} Returns the array of results. * @example * * var diceRolls = _.times(3, _.partial(_.random, 1, 6, false)); * // => [3, 6, 4] * * _.times(3, function(n) { * mage.castSpell(n); * }); * // => invokes `mage.castSpell(n)` three times with `n` of `0`, `1`, and `2` * * _.times(3, function(n) { * this.cast(n); * }, mage); * // => also invokes `mage.castSpell(n)` three times */ function times(n, iteratee, thisArg) { n = nativeFloor(n); // Exit early to avoid a JSC JIT bug in Safari 8 // where `Array(0)` is treated as `Array(1)`. if (n < 1 || !nativeIsFinite(n)) { return []; } var index = -1, result = Array(nativeMin(n, MAX_ARRAY_LENGTH)); iteratee = bindCallback(iteratee, thisArg, 1); while (++index < n) { if (index < MAX_ARRAY_LENGTH) { result[index] = iteratee(index); } else { iteratee(index); } } return result; } module.exports = times;
pompeiiconsulting/blog
node_modules/lodash/utility/times.js
JavaScript
mit
1,721
videojs.addLanguage("ja",{ "Play": "再生", "Pause": "一時停止", "Current Time": "現在の時間", "Duration Time": "長さ", "Remaining Time": "残りの時間", "Stream Type": "ストリームの種類", "LIVE": "ライブ", "Loaded": "ロード済み", "Progress": "進行状況", "Fullscreen": "フルスクリーン", "Non-Fullscreen": "フルスクリーン以外", "Mute": "ミュート", "Unmuted": "ミュート解除", "Playback Rate": "再生レート", "Subtitles": "サブタイトル", "subtitles off": "サブタイトル オフ", "Captions": "キャプション", "captions off": "キャプション オフ", "Chapters": "チャプター", "You aborted the video playback": "動画再生を中止しました", "A network error caused the video download to fail part-way.": "ネットワーク エラーにより動画のダウンロードが途中で失敗しました", "The video could not be loaded, either because the server or network failed or because the format is not supported.": "サーバーまたはネットワークのエラー、またはフォーマットがサポートされていないため、動画をロードできませんでした", "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "破損の問題、またはお使いのブラウザがサポートしていない機能が動画に使用されていたため、動画の再生が中止されました", "No compatible source was found for this video.": "この動画に対して互換性のあるソースが見つかりませんでした" });
maxklenk/cdnjs
ajax/libs/video.js/4.10.0/lang/ja.js
JavaScript
mit
1,644
videojs.addLanguage("ko",{ "Play": "재생", "Pause": "일시중지", "Current Time": "현재 시간", "Duration Time": "지정 기간", "Remaining Time": "남은 시간", "Stream Type": "스트리밍 유형", "LIVE": "라이브", "Loaded": "로드됨", "Progress": "진행", "Fullscreen": "전체 화면", "Non-Fullscreen": "전체 화면 해제", "Mute": "음소거", "Unmuted": "음소거 해제", "Playback Rate": "재생 비율", "Subtitles": "서브타이틀", "subtitles off": "서브타이틀 끄기", "Captions": "자막", "captions off": "자막 끄기", "Chapters": "챕터", "You aborted the video playback": "비디오 재생을 취소했습니다.", "A network error caused the video download to fail part-way.": "네트워크 오류로 인하여 비디오 일부를 다운로드하지 못 했습니다.", "The video could not be loaded, either because the server or network failed or because the format is not supported.": "비디오를 로드할 수 없습니다. 서버 혹은 네트워크 오류 때문이거나 지원되지 않는 형식 때문일 수 있습니다.", "The video playback was aborted due to a corruption problem or because the video used features your browser did not support.": "비디오 재생이 취소됐습니다. 비디오가 손상되었거나 비디오가 사용하는 기능을 브라우저에서 지원하지 않는 것 같습니다.", "No compatible source was found for this video.": "비디오에 호환되지 않는 소스가 있습니다." });
arasmussen/cdnjs
ajax/libs/video.js/4.11.0/lang/ko.js
JavaScript
mit
1,518
<html dir="LTR"> <head> <meta http-equiv="Content-Type" content="text/html; charset=Windows-1252" /> <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5" /> <title>StopEventCause Enumeration</title> <xml> </xml> <link rel="stylesheet" type="text/css" href="MSDN.css" /> </head> <body id="bodyID" class="dtBODY"> <div id="nsbanner"> <div id="bannerrow1"> <table class="bannerparthead" cellspacing="0"> <tr id="hdr"> <td class="runninghead">IrrKlang.NET</td> <td class="product"> </td> </tr> </table> </div> <div id="TitleRow"> <h1 class="dtH1">StopEventCause Enumeration</h1> </div> </div> <div id="nstext"> <p> An enumeration listing all reasons for a fired sound stop event </p> <div class="syntax"> <span class="lang">[Visual Basic]</span> <br />Public Enum StopEventCause</div> <div class="syntax"> <span class="lang">[C#]</span> <div>public enum StopEventCause</div> </div> <h4 class="dtH4">Members</h4> <div class="tablediv"> <table class="dtTABLE" cellspacing="0"> <tr valign="top"> <th width="50%">Member Name</th> <th width="50%">Description</th> </tr> <tr valign="top"><td><b>SoundStoppedBySourceRemoval</b></td><td> The sound was stopped because its sound source was removed or the engine was shut down </td></tr> <tr valign="top"><td><b>SoundStoppedByUser</b></td><td> The sound was stopped because the user called ISound::stop(). </td></tr> <tr valign="top"><td><b>SoundFinishedPlaying</b></td><td> The sound finished playing. </td></tr></table> </div> <h4 class="dtH4">Requirements</h4> <p> <b>Namespace: </b> <a href="IrrKlang.html">IrrKlang</a> </p> <p> <b>Assembly: </b>irrKlang.NET (in irrKlang.NET.dll) </p> <h4 class="dtH4">See Also</h4> <p> <a href="IrrKlang.html">IrrKlang Namespace</a> </p> <object type="application/x-oleobject" classid="clsid:1e2a7bd0-dab9-11d0-b93a-00c04fc99f9e" viewastext="true" style="display: none;"> <param name="Keyword" value="StopEventCause enumeration"> </param> <param name="Keyword" value="IrrKlang.StopEventCause enumeration"> </param> <param name="Keyword" value="SoundStoppedBySourceRemoval enumeration member"> </param> <param name="Keyword" value="StopEventCause.SoundStoppedBySourceRemoval enumeration member"> </param> <param name="Keyword" value="SoundStoppedByUser enumeration member"> </param> <param name="Keyword" value="StopEventCause.SoundStoppedByUser enumeration member"> </param> <param name="Keyword" value="SoundFinishedPlaying enumeration member"> </param> <param name="Keyword" value="StopEventCause.SoundFinishedPlaying enumeration member"> </param> </object> <hr /> <div id="footer"> <p> <a>The irrKlang Sound Engine Documentation © 2003-2010 by Nikolaus Gebhardt.</a> </p> <p> </p> </div> </div> </body> </html>
Behemyth/GameJamFall2015
GameJamFall2015/Libraries/irrKlang/doc/dotnet/IrrKlang.StopEventCause.html
HTML
mit
3,277
<?php return array ( 'AF' => 'Afganistan', 'CF' => 'Afrika Erdiko Errepublika', 'AX' => 'Aland uharteak', 'AL' => 'Albania', 'DE' => 'Alemania', 'DZ' => 'Aljeria', 'AS' => 'Amerikar Samoa', 'US' => 'Ameriketako Estatu Batuak', 'UM' => 'Ameriketako Estatu Batuetako Kanpoaldeko Uharte Txikiak', 'AD' => 'Andorra', 'AI' => 'Angila', 'AO' => 'Angola', 'AQ' => 'Antartika', 'AG' => 'Antigua eta Barbuda', 'AE' => 'Arabiar Emirrerri Batuak', 'AR' => 'Argentina', 'AM' => 'Armenia', 'AW' => 'Aruba', 'AC' => 'Ascension uhartea', 'AU' => 'Australia', 'AT' => 'Austria', 'AZ' => 'Azerbaijan', 'BS' => 'Bahamak', 'BH' => 'Bahrain', 'BD' => 'Bangladesh', 'BB' => 'Barbados', 'BE' => 'Belgika', 'BZ' => 'Belize', 'BJ' => 'Benin', 'BM' => 'Bermuda', 'BT' => 'Bhutan', 'BY' => 'Bielorrusia', 'VI' => 'Birjina uharte amerikarrak', 'VG' => 'Birjina uharte britainiarrak', 'CI' => 'Boli Kosta', 'BO' => 'Bolivia', 'BA' => 'Bosnia-Herzegovina', 'BW' => 'Botswana', 'BR' => 'Brasil', 'BN' => 'Brunei', 'BG' => 'Bulgaria', 'BF' => 'Burkina Faso', 'BI' => 'Burundi', 'CV' => 'Cabo Verde', 'EA' => 'Ceuta eta Melilla', 'CX' => 'Christmas uhartea', 'CC' => 'Cocos (Keeling) uharteak', 'CK' => 'Cook uharteak', 'CR' => 'Costa Rica', 'CW' => 'Curaçao', 'DK' => 'Danimarka', 'DG' => 'Diego Garcia', 'DJ' => 'Djibuti', 'DM' => 'Dominika', 'DO' => 'Dominikar Errepublika', 'EG' => 'Egipto', 'TL' => 'Ekialdeko Timor', 'EC' => 'Ekuador', 'GQ' => 'Ekuatore Ginea', 'SV' => 'El Salvador', 'ER' => 'Eritrea', 'GB' => 'Erresuma Batua', 'RO' => 'Errumania', 'RU' => 'Errusia', 'SK' => 'Eslovakia', 'SI' => 'Eslovenia', 'ES' => 'Espainia', 'EE' => 'Estonia', 'ET' => 'Etiopia', 'FO' => 'Faroe uharteak', 'FJ' => 'Fiji', 'PH' => 'Filipinak', 'FI' => 'Finlandia', 'FR' => 'Frantzia', 'GA' => 'Gabon', 'GM' => 'Gambia', 'GE' => 'Georgia', 'GH' => 'Ghana', 'GI' => 'Gibraltar', 'GN' => 'Ginea', 'GW' => 'Ginea-Bissau', 'GD' => 'Grenada', 'GR' => 'Grezia', 'GL' => 'Groenlandia', 'GP' => 'Guadalupe', 'GU' => 'Guam', 'GT' => 'Guatemala', 'GG' => 'Guernsey', 'GY' => 'Guyana', 'GF' => 'Guyana Frantsesa', 'HT' => 'Haiti', 'KR' => 'Hego Korea', 'SS' => 'Hego Sudan', 'ZA' => 'Hegoafrika', 'GS' => 'Hegoaldeko Georgia eta Hegoaldeko Sandwich uharteak', 'TF' => 'Hegoaldeko lurralde frantsesak', 'NL' => 'Herbehereak', 'HN' => 'Honduras', 'HK' => 'Hong Kong AEB Txina', 'HU' => 'Hungaria', 'IN' => 'India', 'IO' => 'Indiako Ozeanoko lurralde britainiarra', 'ID' => 'Indonesia', 'KP' => 'Ipar Korea', 'MP' => 'Iparraldeko Mariana uharteak', 'IQ' => 'Irak', 'IR' => 'Iran', 'IE' => 'Irlanda', 'IS' => 'Islandia', 'IL' => 'Israel', 'IT' => 'Italia', 'JM' => 'Jamaika', 'JP' => 'Japonia', 'JE' => 'Jersey', 'JO' => 'Jordania', 'KY' => 'Kaiman uharteak', 'NC' => 'Kaledonia Berria', 'CM' => 'Kamerun', 'CA' => 'Kanada', 'IC' => 'Kanariak', 'KH' => 'Kanbodia', 'BQ' => 'Karibeko Herbehereak', 'KZ' => 'Kazakhstan', 'KE' => 'Kenya', 'KG' => 'Kirgizistan', 'KI' => 'Kiribati', 'CO' => 'Kolonbia', 'KM' => 'Komoreak', 'CG' => 'Kongo (Brazzaville)', 'CD' => 'Kongoko Errepublika Demokratikoa', 'XK' => 'Kosovo', 'HR' => 'Kroazia', 'CU' => 'Kuba', 'KW' => 'Kuwait', 'LA' => 'Laos', 'LS' => 'Lesotho', 'LV' => 'Letonia', 'LB' => 'Libano', 'LR' => 'Liberia', 'LY' => 'Libia', 'LI' => 'Liechtenstein', 'LT' => 'Lituania', 'LU' => 'Luxenburgo', 'MO' => 'Macau AEB Txina', 'MG' => 'Madagaskar', 'MW' => 'Malawi', 'MY' => 'Malaysia', 'MV' => 'Maldivak', 'ML' => 'Mali', 'MT' => 'Malta', 'FK' => 'Malvinak', 'IM' => 'Man uhartea', 'MA' => 'Maroko', 'MH' => 'Marshall uharteak', 'MQ' => 'Martinika', 'MR' => 'Mauritania', 'MU' => 'Maurizio', 'YT' => 'Mayotte', 'MK' => 'Mazedonia', 'EH' => 'Mendebaldeko Sahara', 'MX' => 'Mexiko', 'FM' => 'Mikronesia', 'MD' => 'Moldavia', 'MC' => 'Monako', 'MN' => 'Mongolia', 'ME' => 'Montenegro', 'MS' => 'Montserrat', 'MZ' => 'Mozambike', 'MM' => 'Myanmar', 'NA' => 'Namibia', 'NR' => 'Nauru', 'NP' => 'Nepal', 'NE' => 'Niger', 'NG' => 'Nigeria', 'NI' => 'Nikaragua', 'NU' => 'Niue', 'NF' => 'Norfolk uhartea', 'NO' => 'Norvegia', 'OM' => 'Oman', 'PK' => 'Pakistan', 'PW' => 'Palau', 'PS' => 'Palestinako Lurraldeak', 'PA' => 'Panama', 'PG' => 'Papua Ginea Berria', 'PY' => 'Paraguai', 'PE' => 'Peru', 'PN' => 'Pitcairn uharteak', 'PF' => 'Polinesia Frantsesa', 'PL' => 'Polonia', 'PT' => 'Portugal', 'PR' => 'Puerto Rico', 'QA' => 'Qatar', 'RE' => 'Reunion', 'RW' => 'Ruanda', 'SH' => 'Saint Helena', 'KN' => 'Saint Kitts eta Nevis', 'MF' => 'Saint Martin', 'VC' => 'Saint Vincent eta Grenadinak', 'PM' => 'Saint-Pierre eta Mikelune', 'SB' => 'Salomon uharteak', 'WS' => 'Samoa', 'BL' => 'San Bartolome', 'SM' => 'San Marino', 'LC' => 'Santa Luzia', 'ST' => 'Sao Tome eta Principe', 'SA' => 'Saudi Arabia', 'SN' => 'Senegal', 'RS' => 'Serbia', 'SC' => 'Seychelleak', 'SL' => 'Sierra Leona', 'SG' => 'Singapur', 'SX' => 'Sint Maarten', 'SY' => 'Siria', 'SO' => 'Somalia', 'LK' => 'Sri Lanka', 'SD' => 'Sudan', 'SE' => 'Suedia', 'CH' => 'Suitza', 'SR' => 'Surinam', 'SJ' => 'Svalbard eta Jan Mayen uharteak', 'SZ' => 'Swazilandia', 'TJ' => 'Tadjikistan', 'TW' => 'Taiwan', 'TZ' => 'Tanzania', 'TH' => 'Thailandia', 'TG' => 'Togo', 'TK' => 'Tokelau', 'TO' => 'Tonga', 'TT' => 'Trinidad eta Tobago', 'TA' => 'Tristan da Cunha', 'TN' => 'Tunisia', 'TC' => 'Turk eta Caicos uharteak', 'TR' => 'Turkia', 'TM' => 'Turkmenistan', 'TV' => 'Tuvalu', 'TD' => 'Txad', 'CZ' => 'Txekiar Errepublika', 'CL' => 'Txile', 'CN' => 'Txina', 'UG' => 'Uganda', 'UA' => 'Ukraina', 'UY' => 'Uruguai', 'UZ' => 'Uzbekistan', 'VU' => 'Vanuatu', 'VA' => 'Vatikano Hiria', 'VE' => 'Venezuela', 'VN' => 'Vietnam', 'WF' => 'Wallis eta Futuna', 'YE' => 'Yemen', 'ZM' => 'Zambia', 'NZ' => 'Zeelanda Berria', 'ZW' => 'Zimbabwe', 'CY' => 'Zipre', );
ddpruitt/country-list
country/icu/eu_ES/country.php
PHP
mit
6,197
/* * Test our ability to read and write unsigned 64-bit integers. */ var mod_ctype = require('../../../ctio.js'); var ASSERT = require('assert'); function testRead() { var res, data; data = new Buffer(10); data[0] = 0x32; data[1] = 0x65; data[2] = 0x42; data[3] = 0x56; data[4] = 0x23; data[5] = 0xff; data[6] = 0xff; data[7] = 0xff; data[8] = 0x89; data[9] = 0x11; res = mod_ctype.ruint64(data, 'big', 0); ASSERT.equal(0x32654256, res[0]); ASSERT.equal(0x23ffffff, res[1]); res = mod_ctype.ruint64(data, 'big', 1); ASSERT.equal(0x65425623, res[0]); ASSERT.equal(0xffffff89, res[1]); res = mod_ctype.ruint64(data, 'big', 2); ASSERT.equal(0x425623ff, res[0]); ASSERT.equal(0xffff8911, res[1]); res = mod_ctype.ruint64(data, 'little', 0); ASSERT.equal(0xffffff23, res[0]); ASSERT.equal(0x56426532, res[1]); res = mod_ctype.ruint64(data, 'little', 1); ASSERT.equal(0x89ffffff, res[0]); ASSERT.equal(0x23564265, res[1]); res = mod_ctype.ruint64(data, 'little', 2); ASSERT.equal(0x1189ffff, res[0]); ASSERT.equal(0xff235642, res[1]); } function testReadOver() { var res, data; data = new Buffer(10); data[0] = 0x80; data[1] = 0xff; data[2] = 0x80; data[3] = 0xff; data[4] = 0x80; data[5] = 0xff; data[6] = 0x80; data[7] = 0xff; data[8] = 0x80; data[9] = 0xff; res = mod_ctype.ruint64(data, 'big', 0); ASSERT.equal(0x80ff80ff, res[0]); ASSERT.equal(0x80ff80ff, res[1]); res = mod_ctype.ruint64(data, 'big', 1); ASSERT.equal(0xff80ff80, res[0]); ASSERT.equal(0xff80ff80, res[1]); res = mod_ctype.ruint64(data, 'big', 2); ASSERT.equal(0x80ff80ff, res[0]); ASSERT.equal(0x80ff80ff, res[1]); res = mod_ctype.ruint64(data, 'little', 0); ASSERT.equal(0xff80ff80, res[0]); ASSERT.equal(0xff80ff80, res[1]); res = mod_ctype.ruint64(data, 'little', 1); ASSERT.equal(0x80ff80ff, res[0]); ASSERT.equal(0x80ff80ff, res[1]); res = mod_ctype.ruint64(data, 'little', 2); ASSERT.equal(0xff80ff80, res[0]); ASSERT.equal(0xff80ff80, res[1]); } function testWriteZero() { var data, buf; buf = new Buffer(10); buf.fill(0x66); data = [0, 0]; mod_ctype.wuint64(data, 'big', buf, 0); ASSERT.equal(0, buf[0]); ASSERT.equal(0, buf[1]); ASSERT.equal(0, buf[2]); ASSERT.equal(0, buf[3]); ASSERT.equal(0, buf[4]); ASSERT.equal(0, buf[5]); ASSERT.equal(0, buf[6]); ASSERT.equal(0, buf[7]); ASSERT.equal(0x66, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); data = [0, 0]; mod_ctype.wuint64(data, 'big', buf, 1); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0, buf[1]); ASSERT.equal(0, buf[2]); ASSERT.equal(0, buf[3]); ASSERT.equal(0, buf[4]); ASSERT.equal(0, buf[5]); ASSERT.equal(0, buf[6]); ASSERT.equal(0, buf[7]); ASSERT.equal(0, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); data = [0, 0]; mod_ctype.wuint64(data, 'big', buf, 2); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0x66, buf[1]); ASSERT.equal(0, buf[2]); ASSERT.equal(0, buf[3]); ASSERT.equal(0, buf[4]); ASSERT.equal(0, buf[5]); ASSERT.equal(0, buf[6]); ASSERT.equal(0, buf[7]); ASSERT.equal(0, buf[8]); ASSERT.equal(0, buf[9]); buf.fill(0x66); data = [0, 0]; mod_ctype.wuint64(data, 'little', buf, 0); ASSERT.equal(0, buf[0]); ASSERT.equal(0, buf[1]); ASSERT.equal(0, buf[2]); ASSERT.equal(0, buf[3]); ASSERT.equal(0, buf[4]); ASSERT.equal(0, buf[5]); ASSERT.equal(0, buf[6]); ASSERT.equal(0, buf[7]); ASSERT.equal(0x66, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); data = [0, 0]; mod_ctype.wuint64(data, 'little', buf, 1); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0, buf[1]); ASSERT.equal(0, buf[2]); ASSERT.equal(0, buf[3]); ASSERT.equal(0, buf[4]); ASSERT.equal(0, buf[5]); ASSERT.equal(0, buf[6]); ASSERT.equal(0, buf[7]); ASSERT.equal(0, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); data = [0, 0]; mod_ctype.wuint64(data, 'little', buf, 2); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0x66, buf[1]); ASSERT.equal(0, buf[2]); ASSERT.equal(0, buf[3]); ASSERT.equal(0, buf[4]); ASSERT.equal(0, buf[5]); ASSERT.equal(0, buf[6]); ASSERT.equal(0, buf[7]); ASSERT.equal(0, buf[8]); ASSERT.equal(0, buf[9]); } /* * Also include tests that are going to force us to go into a negative value and * insure that it's written correctly. */ function testWrite() { var data, buf; buf = new Buffer(10); data = [ 0x234456, 0x87 ]; buf.fill(0x66); mod_ctype.wuint64(data, 'big', buf, 0); ASSERT.equal(0x00, buf[0]); ASSERT.equal(0x23, buf[1]); ASSERT.equal(0x44, buf[2]); ASSERT.equal(0x56, buf[3]); ASSERT.equal(0x00, buf[4]); ASSERT.equal(0x00, buf[5]); ASSERT.equal(0x00, buf[6]); ASSERT.equal(0x87, buf[7]); ASSERT.equal(0x66, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); mod_ctype.wuint64(data, 'big', buf, 1); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0x00, buf[1]); ASSERT.equal(0x23, buf[2]); ASSERT.equal(0x44, buf[3]); ASSERT.equal(0x56, buf[4]); ASSERT.equal(0x00, buf[5]); ASSERT.equal(0x00, buf[6]); ASSERT.equal(0x00, buf[7]); ASSERT.equal(0x87, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); mod_ctype.wuint64(data, 'big', buf, 2); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0x66, buf[1]); ASSERT.equal(0x00, buf[2]); ASSERT.equal(0x23, buf[3]); ASSERT.equal(0x44, buf[4]); ASSERT.equal(0x56, buf[5]); ASSERT.equal(0x00, buf[6]); ASSERT.equal(0x00, buf[7]); ASSERT.equal(0x00, buf[8]); ASSERT.equal(0x87, buf[9]); buf.fill(0x66); mod_ctype.wuint64(data, 'little', buf, 0); ASSERT.equal(0x87, buf[0]); ASSERT.equal(0x00, buf[1]); ASSERT.equal(0x00, buf[2]); ASSERT.equal(0x00, buf[3]); ASSERT.equal(0x56, buf[4]); ASSERT.equal(0x44, buf[5]); ASSERT.equal(0x23, buf[6]); ASSERT.equal(0x00, buf[7]); ASSERT.equal(0x66, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); mod_ctype.wuint64(data, 'little', buf, 1); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0x87, buf[1]); ASSERT.equal(0x00, buf[2]); ASSERT.equal(0x00, buf[3]); ASSERT.equal(0x00, buf[4]); ASSERT.equal(0x56, buf[5]); ASSERT.equal(0x44, buf[6]); ASSERT.equal(0x23, buf[7]); ASSERT.equal(0x00, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); mod_ctype.wuint64(data, 'little', buf, 2); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0x66, buf[1]); ASSERT.equal(0x87, buf[2]); ASSERT.equal(0x00, buf[3]); ASSERT.equal(0x00, buf[4]); ASSERT.equal(0x00, buf[5]); ASSERT.equal(0x56, buf[6]); ASSERT.equal(0x44, buf[7]); ASSERT.equal(0x23, buf[8]); ASSERT.equal(0x00, buf[9]); data = [0xffff3421, 0x34abcdba]; buf.fill(0x66); mod_ctype.wuint64(data, 'big', buf, 0); ASSERT.equal(0xff, buf[0]); ASSERT.equal(0xff, buf[1]); ASSERT.equal(0x34, buf[2]); ASSERT.equal(0x21, buf[3]); ASSERT.equal(0x34, buf[4]); ASSERT.equal(0xab, buf[5]); ASSERT.equal(0xcd, buf[6]); ASSERT.equal(0xba, buf[7]); ASSERT.equal(0x66, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); mod_ctype.wuint64(data, 'big', buf, 1); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0xff, buf[1]); ASSERT.equal(0xff, buf[2]); ASSERT.equal(0x34, buf[3]); ASSERT.equal(0x21, buf[4]); ASSERT.equal(0x34, buf[5]); ASSERT.equal(0xab, buf[6]); ASSERT.equal(0xcd, buf[7]); ASSERT.equal(0xba, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); mod_ctype.wuint64(data, 'big', buf, 2); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0x66, buf[1]); ASSERT.equal(0xff, buf[2]); ASSERT.equal(0xff, buf[3]); ASSERT.equal(0x34, buf[4]); ASSERT.equal(0x21, buf[5]); ASSERT.equal(0x34, buf[6]); ASSERT.equal(0xab, buf[7]); ASSERT.equal(0xcd, buf[8]); ASSERT.equal(0xba, buf[9]); buf.fill(0x66); mod_ctype.wuint64(data, 'little', buf, 0); ASSERT.equal(0xba, buf[0]); ASSERT.equal(0xcd, buf[1]); ASSERT.equal(0xab, buf[2]); ASSERT.equal(0x34, buf[3]); ASSERT.equal(0x21, buf[4]); ASSERT.equal(0x34, buf[5]); ASSERT.equal(0xff, buf[6]); ASSERT.equal(0xff, buf[7]); ASSERT.equal(0x66, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); mod_ctype.wuint64(data, 'little', buf, 1); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0xba, buf[1]); ASSERT.equal(0xcd, buf[2]); ASSERT.equal(0xab, buf[3]); ASSERT.equal(0x34, buf[4]); ASSERT.equal(0x21, buf[5]); ASSERT.equal(0x34, buf[6]); ASSERT.equal(0xff, buf[7]); ASSERT.equal(0xff, buf[8]); ASSERT.equal(0x66, buf[9]); buf.fill(0x66); mod_ctype.wuint64(data, 'little', buf, 2); ASSERT.equal(0x66, buf[0]); ASSERT.equal(0x66, buf[1]); ASSERT.equal(0xba, buf[2]); ASSERT.equal(0xcd, buf[3]); ASSERT.equal(0xab, buf[4]); ASSERT.equal(0x34, buf[5]); ASSERT.equal(0x21, buf[6]); ASSERT.equal(0x34, buf[7]); ASSERT.equal(0xff, buf[8]); ASSERT.equal(0xff, buf[9]); } /* * Make sure we catch invalid writes. */ function testWriteInvalid() { var data, buf; /* Buffer too small */ buf = new Buffer(4); data = [ 0, 0]; ASSERT.throws(function () { mod_ctype.wuint64(data, 'big', buf, 0); }, Error, 'buffer too small'); ASSERT.throws(function () { mod_ctype.wuint64(data, 'little', buf, 0); }, Error, 'buffer too small'); /* Beyond the end of the buffer */ buf = new Buffer(12); data = [ 0, 0]; ASSERT.throws(function () { mod_ctype.wuint64(data, 'little', buf, 11); }, Error, 'write beyond end of buffer'); ASSERT.throws(function () { mod_ctype.wuint64(data, 'big', buf, 11); }, Error, 'write beyond end of buffer'); /* Write negative values */ buf = new Buffer(12); data = [ -3, 0 ]; ASSERT.throws(function () { mod_ctype.wuint64(data, 'big', buf, 1); }, Error, 'write negative number'); ASSERT.throws(function () { mod_ctype.wuint64(data, 'little', buf, 1); }, Error, 'write negative number'); data = [ 0, -3 ]; ASSERT.throws(function () { mod_ctype.wuint64(data, 'big', buf, 1); }, Error, 'write negative number'); ASSERT.throws(function () { mod_ctype.wuint64(data, 'little', buf, 1); }, Error, 'write negative number'); data = [ -3, -3 ]; ASSERT.throws(function () { mod_ctype.wuint64(data, 'big', buf, 1); }, Error, 'write negative number'); ASSERT.throws(function () { mod_ctype.wuint64(data, 'little', buf, 1); }, Error, 'write negative number'); /* Write fractional values */ buf = new Buffer(12); data = [ 3.33, 0 ]; ASSERT.throws(function () { mod_ctype.wuint64(data, 'big', buf, 1); }, Error, 'write fractions'); ASSERT.throws(function () { mod_ctype.wuint64(data, 'little', buf, 1); }, Error, 'write fractions'); data = [ 0, 3.3 ]; ASSERT.throws(function () { mod_ctype.wuint64(data, 'big', buf, 1); }, Error, 'write fractions'); ASSERT.throws(function () { mod_ctype.wuint64(data, 'little', buf, 1); }, Error, 'write fractions'); data = [ 3.33, 2.42 ]; ASSERT.throws(function () { mod_ctype.wuint64(data, 'big', buf, 1); }, Error, 'write fractions'); ASSERT.throws(function () { mod_ctype.wuint64(data, 'little', buf, 1); }, Error, 'write fractions'); /* Write values that are too large */ buf = new Buffer(12); data = [ 0xffffffffff, 23 ]; ASSERT.throws(function () { mod_ctype.wuint64(data, 'big', buf, 1); }, Error, 'write too large'); ASSERT.throws(function () { mod_ctype.wuint64(data, 'little', buf, 1); }, Error, 'write too large'); data = [ 0xffffffffff, 0xffffff238 ]; ASSERT.throws(function () { mod_ctype.wuint64(data, 'big', buf, 1); }, Error, 'write too large'); ASSERT.throws(function () { mod_ctype.wuint64(data, 'little', buf, 1); }, Error, 'write too large'); data = [ 0x23, 0xffffff238 ]; ASSERT.throws(function () { mod_ctype.wuint64(data, 'big', buf, 1); }, Error, 'write too large'); ASSERT.throws(function () { mod_ctype.wuint64(data, 'little', buf, 1); }, Error, 'write too large'); } testRead(); testReadOver(); testWriteZero(); testWrite(); testWriteInvalid();
quantumlicht/collarbone
node_modules/grunt-contrib-less/node_modules/less/node_modules/request/node_modules/http-signature/node_modules/ctype/tst/ctio/uint/tst.64.js
JavaScript
mit
12,146
.ag-theme-balham-dark{-webkit-font-smoothing:antialiased;color:#f5f5f5;color:var(--ag-foreground-color,#f5f5f5);font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen-Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:12px;line-height:normal}@font-face{font-family:agGridBalham;src:url("data:application/font-woff;charset=utf-8;base64,d09GRgABAAAAABX4AAsAAAAAJ8wAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABHU1VCAAABCAAAAlEAAAReXgFf/09TLzIAAANcAAAAPgAAAFZWTFJaY21hcAAAA5wAAAHtAAAFgFIH7gFnbHlmAAAFjAAADLgAABYYNphscGhlYWQAABJEAAAALwAAADZ2zsSBaGhlYQAAEnQAAAAbAAAAJAfTBC1obXR4AAASkAAAABIAAAEUp/gAAGxvY2EAABKkAAAAZAAAAIwBFQakbWF4cAAAEwgAAAAfAAAAIAFbAHNuYW1lAAATKAAAATUAAAJG0OP3eXBvc3QAABRgAAABlwAAAlqez14KeJx9k09yElEQxr9hCBKISYwxloga/0bjOAwM/yQQCFKWZWXhwoULN3GhpZVylRO49gCWB/AUnsBy6coDeADLA/jrZpCYRXjFzJvur7/+ul8/BZJKSrSr3OTx/nMtHx4cvVdFeU1/5j++Dw7fvjlQcfaFL+/vooLwj5Z1Qy90pG+BgtfB51whzIW74X74IfwU/lAIalMx6LIesGLVeEZkr6uhVDkVsMXsm2qBDnm23bqmC1pwz1AjrZMzJmbkjNt6qptahWfgPH31QCUs4+zzHLNuaeUURKrb8NdR08VqrFUyrGpRe2jso6NDdAvvCr4dMkfEDPANdA68ofLexyd6iaI1r80i6xku4R/TZfuO/KvMmqHa8DfgN74tss7sDTLViLgHex3Uw6yH27pGdAOePmwdj256dBlkDYWJrrKzympUtkT9PT3TK8+6m8X0vYvTmrdQP7cPnC+l2uPWDlxjsHfRMLfaidwhV6QJ/pI2eL/TR33RV33XT/3Sb53B2sVrFfTg3jm1M0X6dxI9xNv+Z7VKC5zPSdT/iEXqbnhvYnyjrIOWrYxO603CPsKaOL6ETsMPUZNyGnlyRJ63hnWB1eU7Bn02m8YWa8n7PGIGbAIqdKfB05im85bS4Usw2W6qa8O71YLnop+W9dRu0rJ/2czbKVfAXOYdUVnd+/MI7xUsxjS3VD0qRbVx3MefonaezVRVUdX02bXJmvgtGJJpkzqmSmrcXLsBE5+q6yioZzdyndMw9Z3spM47LvaoAM1RdpMT75lN8gBtNhXjv2nbY10AAAB4nGNgZMpnnMDAysDAVMW0h4GBoQdCMz5gMGRkAooysDIzYAUBaa4pDA4Muh8NmF8AuVFgEqgRRAAAy9AKRgAAeJy102dSWzEUhuHXhW56TaN3Y2wwvRkb/rAM0hlSGNKZrDI70QZCvnPPyQLITDTz+Ls6o6srjSygDSjImhQhXySHtd+q5rJ6ge6sXuSX+iU6yeu5whU33KXa/b2qFS655jblst7fltPoEk9ZZEe9I811oKdjqrT0xh4b7LPLCXU2OWWdbWo0OGeLQ5qc6f28vl7UGtvp0He7tJIezdhLH/0MMMgQw4wwyhjjTPCYJ/raM42ZZIppZpjVuDnmWdAalvTcwzIr+l1Vr6wFtvOwdvTA8dbWDnaOq63Knna7e1Lf1Ea3a43zrcPm2T9M9h9ayX4KP6N3gZ2ms91eBvt/PA8H8iLYyb4Mx/IqVOV1aMmbYPO+DXtyFTbkOuzLu7Ar78OJfAh1+Rg25Sacym1Yl09hWz6HmnwJDfkazuVb2JLv4VB+hKbcBR1gyjm7KynvsCw4u1up6Ox+pTZn9y61Oyw7HJadDssuh2W3s/uYehyWJWcnmXodln0Oy36H5YDDctBhOeSwHHZYjjgsRx2WYw7LcYflhMPykdPdJAXdUlLQfSUF3VxSyPY16bCcclhOOyxnHJazDss5l+133mG1BYfVFh1WW3JYbdlhtRWXzbPqsrWVHTZ2zWFjKy4bs+6w96oum7PmKP8BU32drwAAAHic7RhpcBvVeb+3lmRZsm5pJdk6V4ety9YdS/Zu7MTGdu7DCRlC0jQHDTFH0tAwIYJCaCAhDDSZcEwzFDoDGZgpw7TTDNMmpUMZMFNi0hQ6JTD9AbQNaRtCyXQGFy393molxybl+l1pd9/33vve9773ve96j2EZ/LHPss8yHJNm1jMMeAlnYQ1E0xROkSixCqQYUgXVRlDbbZwXuKawAEULm4JohA+qVXyetzs45a/WyH97Np+1B6K5YqGIuIViIRKl/3yANXcMxqCpCWKDHdJ70nvTNfBIfwvPAWCbSI4HL3j5HNHpEF65de5/4CFxCqw6v9fg0JlanEZ/xMBNidJ+aNLYDf0Gu1rt9XVbPAC72KevRBo8cm2gEF77+JIfXF8nrUzDslMia7ToHQ691dI+4Gh1egycSazouuwhm75bbzWa250hm5+fR0UFsrweYR9hfAxj5TTRIqcJmOUiag7IRTFglgvOPDGcOHw4MQytM0vpY6X+5pXbG/2tynzkZdbGNGNFmYeHN/clz5xJ7hPI0X2JM2cS+6Q5lC2Zt23sNsbGdDJ5xA/S7bDRrcnQfcjRfdBkaN1Ge+R9KdAeK9JFykg/WoRLW1aPZbLZzNjq1+rAlrGRoVg8HhsaeYYCEENo7MnkU08ln5S/7LYZ6DIgzESXIenj+gj8Mg2enawTIQ2jQ5lmzTx9i1k7f7pSOb9z5we33EK2SteR4erzU1PTYz5gzzFWJsogmU4IpiBvzgmQDWS8YDfbDMAGggYKeWmbQHtToAGUH7C56vfTK7q7V6RJreyqVjwZDz5kr1x2SOteyz4KN01jpOUR7E88aU91D37wIXfj5yPEzDwKN8/mKf7VeWIDaBdfxlF/9SXS++XsSKlhWV1m8MJAfXo+0GBJdSVOcpcRp5PdNYsL9tzlvbQcms2BIodb2U2MCjXWyTBa0HBaYIs+qPkGmyNTyFNFJH+X1pc2SlUQJiZeeU6ncxkd6cG0w+iCF+GJMnZIv4W+iQmhtdXbFnEF0+mgK9zupeSb5DmSrEHRGSPDhHlz1qq8QN/jovgrQTghitVTgvA2yVQnp9+GHZPDrAr5RB6p3pND0sXE++8n4FKtVNayCO3JyvBMN52lLsByQ6gsekEEHNhSwK4Izi7vuT2A7eSnl+Ij8dhIghbxkcinkUJB/khNc2MjcTgiXRfOV7APsjJCXDqFH5IpRKSXKCr0RgqSnljiw3ExH57m+2XyMrUVmGG1l5kj8V9uZjN9iOKbssSq+BBYWPMhMDFbLrh1Gi2QQygM6SKYyJ+odExgQhSVLJtjbAkl08MsZMaYdYhfKGYxfNSiAOXMANGa7y/KXgbZ5AxgBDlY0KpaFmiuCAKIkCI4ppClgrVpwqgpqJwZEVBbUsAHNcCv32pZ+/SdoVazpc3tj/QlRhY8s2zl/GVpk1Wr05lMCbE3IXQv5CCybMmGzWsdtvbSSO+mcgLu6V7AgXfnkR8v4Esj5c2luDTpjl8V74om3LHhWFeUfJRm2cX3Xt0e9MbaAy4kHLbY7N3lVW0pm9PutffF+xIP+67OkzVCn83uVbe0x8ubyiMl6ff+NXkyfGMfGwxiS+9I6WxHF1J0J6JdcSymdfUYyzNtTIopo6TkCKuISH25eDBWcgZSl05NIhqUBioZSgmViqOSQLv1AIqGWi1UG/JYcMP1N+1YszSjyEL8zTgsvP9GnyKLZXfyVADDpQ2l0oadG3p6NvwxNrxyOCZ/WL6x+MUh3mCcW1qtLHxsU5NI+sYHawv3uG9ZQlfr60ESNTp/gBglEiO1ouF7kmwS8wn0gqCs0wOaYkFZbKQPAiqbkjPYi/maahTybBI6nQNFZ/MJAAIaZ2HA1Um2V081yxCqSK2XnIt2e8rdbq3+uwfHdpR0za50n7c7NCiate50n6c7tLdrRUe3p5R2a80KP2RK1mdtXaNVZt5MPlG0WvqW0FBsh6SHS4y+tgZyoeFfrLiaNoz4vOzbuximyOez3GVv+EvqU7IvmvZIV65MVWo/USkFpUR2mmfkaXm0uT6mnxlkRr5uxmZFblQYc8Kzym+Ymx2tVGCX9Ar0SPsbkB6hS9IoHP9m6Vj1n4IgiMrbiGfTe1jz1tTLk7jisf8sCHWvXf037mBdD3ewbSg5M913dMh061muGMXVFqMkKsJ+aZd4QDoLkcnJdAXelbyVNHlQOCEcgAhEpLOTGdyBTJ3WdowDMWa1rNMoVg0KGN0blWpBhHwkmkY9NwCqtBdzXhHVFVXdGpSxsJF6u5TSQUfbsAOb07Ldy1R44sRYGWhraWkf96zoCOU0aofLomctYVO70WDi43t6Yr7xpNPDxTbFFnm2dXHtXNzbDJqwy66z0CHxInA2C+hYC29ot7Xo5qUinWRQq1e1Le+MeLZ5rK2tfRF+yG1h+bAlZI9u7E6H4m2c0b8tdU855QOtH6neXe72e7U6lW9TkkOqVoNxScqTt8ljAtbQtcn0Eqvp/zK5kkxqNnofe9/n/AZDrYzGaRW+ssXhW1TqGoTRaoWbJxIT8GJiIgGuqanq5NTUAoTJOmxF77FuyocAPokMWsU6LPGZeHpq2j6qpMqoGTwyWH3UQDThLsDsoPgP9q2hHct2wO+UcuIsS8vHaoWS4yTJ6/X8G9A66n82WX0APbDygktEexDrex/EmCbPp0ykTAuvN8kT/bA237/easJiO7zwFju0ffkOZewzmLvV7LKejaA51w43UDqYevts6mA//KIfobe7DsLSvfFTp+J74WR1Ek7WYJyZ0rmL3cU4mAQzh5kr5yAMUFXjHLLaoa5R7SoKhKNVjVrRQwxEsm4hGm2NRrpACw45BnWBwwcgjyoUOTlyccUITF27atkNLfpYZNHI81dfO69vLiFh/4339S8dnn+NVhuOLF98cvFYjG9uXjM0uvqCX61e0jcwmktHYbf0YXa8M2Y0W08O9HRI+0I6p7tQWq4Vchm7w/KZj/0eyaWPrdt8zdI5+bDdIfQ8tnL1aP/GgkgSsfuXji1akoqrYslVI2PLHownX+0bGaoEQxqV2wG3SQ+b2sKRXKn8GvE6pH3iof55nUmVwHZ29Arlz1qUfR1nb0Pt62B6UTLy4U8+ENr5zyf/vCbjsKmDkVwBAsEINhXKYA/ksxkHIqrJdr3B5Vvlcxn0lWBPEB+4VCunzC5X0OUCnaR3h0JuEXYJ7nCY9VhsToPFYnDaLIgkjSqDjuPH7PQ78ak+HnbBcXeoUgm5pVFXuOGz9yDPQYxuDNSzxgLuAS1EoNuloXkD9TRoTzS98IEmgquC2v4VOUdWTi1h2SEgTSqtp9RV3Nhs1LssnA289rmD38HsgrXZk9xDGDj+YtXqm01HCx0ZM7ibOQLN5Ehzi85osJjegNsPYS5l1HfotLoNbq+zzWoxSO+2j+k3q1WufLyb0yEF8oDJZDU4jhpYtk36q9oWdeYsD2Gk0zRb3qDLabksbvtxJ/qZIWYBs5K5htnAbPkfsTtgdsgXJyoavn2Y5tUsw46JoIavXTk4ZMGEbVw2H1VrsvliDFAiWUw87Fmq3WE1r7FnixHenv2iwA67q698eAGjrrbaDBiD/fDLlsTYyoQ2NtSxU5sYG0u0zA1l3F6ovgp7bgOoiLkFmAnsFuHkboqP4uiJ3fHCnKvu+MJQ/2n1VbUW0S+cMptwMrgNjDJx7c0dV8WJNrES5wGVxuqIeYfm3P7r0fwdnxTC68U9e4I0IQDYU4HbG/pxDs+19H5Dud0wUXXwU3GYZt1uBGmdXkIV4NK9O7fPmz9/3vadYKpD9+7asrHU21vauOUCAuUyAuw52iFdnIkszMChQG/9vF/nRfha3My6e5FxviqL8NwVblW+Mt/S6NjMkZTY7FyJ5lfo/DEwcZg0oWePstulswdEaRfsFw+kK5IX3q2kJycx4zp7gGZLB2iaNDmp0BnHnKAVvTID5gDm2TYHOhk8Gavqnp51Vp9fkQ6S4WBa+vl46fTp0vhKJPUOhKR36CkfQu3j5dOny+NwuHHfpiKH5XM6KXJFtkm6KKd6ZAtN3xFgZuMBPRNjvpqopfV31coGzov1Mz+HONKhn+HRd4AcQSB5Dww0aCWJje6yFWVwQg6AVqFx93QDO477Hsf8m7EGMdHG0wxGHXpYRS+LscWK+Y2XoMOKaqbzoSjQzIeTTZteltZgGqT4Y4SECPkRzDlPVDIkTZwnphTncSz/9saQkBT4rTFnQNNsdwtJeKJzsQebzElX1yqL2exD2OdXO9o2zmG34WAVOSpNfIAEQU2OQvE8kW7FVAbxfTIhfZsp1R4abUNCo36ZjoNVZRIda5CO6Fu1tiNdxhX+FyXYf3Z4nGNgZGBgAOJNb47Mjue3+crAzfwCKBDF+XhfA4JmYGB+CRJn4GBgAvEAeqIMgAB4nGNgZGBgfsHAACH//2d+ycDIgApcAXBnBQgAeJxjYGBgYH4xdDA9AADYnCd6AAB4nGNgAIIZDBcYnjE6MEYxLmF8xaTBFMVUw9THdIPpEzMHswzzBhYNlgKWLpYrrEGsOayT2GTYlrE9Ymdgl2K3YI9hf8PhxrGBM4xzDhcTlxpXAFcKVxlXF9cMbh7SIQDoHxaseJxjYGRgYHBlSGfgYQABJiDmAkIGhv9gPgMAGrQBzwB4nHWPP07DMBjFX2haRIsQEhJiwxMLUvpnYOjYodk7dGBzGydtlcSR41bqxjE4Acdg5AicgkPwEr6hQqotOT///N4nBcAtvhCgWQGu27NZF7jk7Y87pDvhkPwo3MUAz8I9+hfhPu1MeMBmwQlBeEXzgDfhC9zgXbhD/yEckj+Fu7jHt3CP/ke4j2UQCg/wFLzqLHbbZKbzjS4WJtvn2p2qU14aV29tqcbR6FTHpjROe5Oo1VHVh2zifapSZws1t6U3eW5V5ezOrH208b6aDoep+GhtC2hkiOGwRcI/18ix4VlgAcOXPe+ar+dS5/ySbYea3qKEwhgRRmfTMdNl29Dw/CZsrHDkWePAzoTWI+U9ZcayoTBvJzfpnNvSVO3bjmZNH3F206owxZA7/ZePmOKkX1qXaMkAAAB4nG2R6W7bMBCE/cWSrThp47ptet/3obbpfadX+h40RclEJFIgKR95+hJ1ESBA9w9nBsvZWbK30VvXqPf/OmCDPgkpA4ZkbDJii21OcZodxpxhwlnOcZ5dLnCRS1zmCle5xnVucJNb3OYOd7nHfR7wkEc85glPyXnGc16wx0te8Zo3vOUd7/nARz7xmS98ZZ9vfOcHP/nFAb97W6KqnKpE0NYMhHN24fvCy4EURqo6lTPhwljOlDyc2mX+F6hi91jQplBBuUYbEdTkWO7Mv85taWvr8lZH4oaRdI3xI2lNcEIGVSTStqtUOut9UigvM7VsRfQsNtVK5b4WftaPaFDqOo5JS+18SCqn27RytmuT2BCSWpVhUGsT52XrI98b1lYU2lRZI5a60UcqaZTpshh0zYw1asvYkIu6tgtVpG10Uv1Wm7TVcxvGLl63+bQLwZrcluXOScGkTlezkHgxVyPfRJe8sAuTrWFMFuLKk+CUOvlGWWfWERFUOBQBjcWwwCOpmXHIlGX8zYKGjpYVJUfMe70/6zKeWwA=") format("woff");font-weight:400;font-style:normal}.ag-theme-balham-dark .ag-icon{font-family:agGridBalham;font-size:16px;line-height:16px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ag-theme-balham-dark .ag-icon-aggregation:before{content:"\f101"}.ag-theme-balham-dark .ag-icon-arrows:before{content:"\f102"}.ag-theme-balham-dark .ag-icon-asc:before{content:"\f103"}.ag-theme-balham-dark .ag-icon-cancel:before{content:"\f104"}.ag-theme-balham-dark .ag-icon-chart:before{content:"\f105"}.ag-theme-balham-dark .ag-icon-color-picker:before{content:"\f109"}.ag-theme-balham-dark .ag-icon-columns:before{content:"\f10a"}.ag-theme-balham-dark .ag-icon-contracted:before{content:"\f10b"}.ag-theme-balham-dark .ag-icon-copy:before{content:"\f10c"}.ag-theme-balham-dark .ag-icon-cross:before{content:"\f10d"}.ag-theme-balham-dark .ag-icon-desc:before{content:"\f10e"}.ag-theme-balham-dark .ag-icon-expanded:before{content:"\f10f"}.ag-theme-balham-dark .ag-icon-eye-slash:before{content:"\f110"}.ag-theme-balham-dark .ag-icon-eye:before{content:"\f111"}.ag-theme-balham-dark .ag-icon-filter:before{content:"\f112"}.ag-theme-balham-dark .ag-icon-first:before{content:"\f113"}.ag-theme-balham-dark .ag-icon-grip:before{content:"\f114"}.ag-theme-balham-dark .ag-icon-group:before{content:"\f115"}.ag-theme-balham-dark .ag-icon-last:before{content:"\f116"}.ag-theme-balham-dark .ag-icon-left:before{content:"\f117"}.ag-theme-balham-dark .ag-icon-linked:before{content:"\f118"}.ag-theme-balham-dark .ag-icon-loading:before{content:"\f119"}.ag-theme-balham-dark .ag-icon-maximize:before{content:"\f11a"}.ag-theme-balham-dark .ag-icon-menu:before{content:"\f11b"}.ag-theme-balham-dark .ag-icon-minimize:before{content:"\f11c"}.ag-theme-balham-dark .ag-icon-next:before{content:"\f11d"}.ag-theme-balham-dark .ag-icon-none:before{content:"\f11e"}.ag-theme-balham-dark .ag-icon-not-allowed:before{content:"\f11f"}.ag-theme-balham-dark .ag-icon-paste:before{content:"\f120"}.ag-theme-balham-dark .ag-icon-pin:before{content:"\f121"}.ag-theme-balham-dark .ag-icon-pivot:before{content:"\f122"}.ag-theme-balham-dark .ag-icon-previous:before{content:"\f123"}.ag-theme-balham-dark .ag-icon-right:before{content:"\f126"}.ag-theme-balham-dark .ag-icon-save:before{content:"\f127"}.ag-theme-balham-dark .ag-icon-small-down:before{content:"\f128"}.ag-theme-balham-dark .ag-icon-small-left:before{content:"\f129"}.ag-theme-balham-dark .ag-icon-small-right:before{content:"\f12a"}.ag-theme-balham-dark .ag-icon-small-up:before{content:"\f12b"}.ag-theme-balham-dark .ag-icon-tick:before{content:"\f12c"}.ag-theme-balham-dark .ag-icon-tree-closed:before{content:"\f12d"}.ag-theme-balham-dark .ag-icon-tree-indeterminate:before{content:"\f12e"}.ag-theme-balham-dark .ag-icon-tree-open:before{content:"\f12f"}.ag-theme-balham-dark .ag-icon-unlinked:before{content:"\f130"}.ag-theme-balham-dark .ag-icon-row-drag:before{content:"\f114"}.ag-theme-balham-dark .ag-left-arrow:before{content:"\f117"}.ag-theme-balham-dark .ag-right-arrow:before{content:"\f126"}.ag-theme-balham-dark .ag-root-wrapper{background-color:#2d3436;background-color:var(--ag-background-color,#2d3436)}.ag-theme-balham-dark [class^=ag-],.ag-theme-balham-dark [class^=ag-]:after,.ag-theme-balham-dark [class^=ag-]:before,.ag-theme-balham-dark [class^=ag-]:focus{box-sizing:border-box;outline:none}.ag-theme-balham-dark [class^=ag-]::-ms-clear{display:none}.ag-theme-balham-dark .ag-checkbox .ag-input-wrapper,.ag-theme-balham-dark .ag-radio-button .ag-input-wrapper{overflow:visible}.ag-theme-balham-dark .ag-range-field .ag-input-wrapper{height:100%}.ag-theme-balham-dark .ag-toggle-button{flex:none;width:unset;min-width:unset}.ag-theme-balham-dark .ag-ltr .ag-label-align-right .ag-label{margin-left:4px}.ag-theme-balham-dark .ag-rtl .ag-label-align-right .ag-label{margin-right:4px}.ag-theme-balham-dark input[class^=ag-]{margin:0}.ag-theme-balham-dark input[class^=ag-],.ag-theme-balham-dark select[class^=ag-],.ag-theme-balham-dark textarea[class^=ag-]{background-color:#2d3436;background-color:var(--ag-background-color,#2d3436)}.ag-theme-balham-dark input[class^=ag-]:not([type]),.ag-theme-balham-dark input[class^=ag-][type=date],.ag-theme-balham-dark input[class^=ag-][type=datetime-local],.ag-theme-balham-dark input[class^=ag-][type=number],.ag-theme-balham-dark input[class^=ag-][type=tel],.ag-theme-balham-dark input[class^=ag-][type=text],.ag-theme-balham-dark textarea[class^=ag-]{font-size:inherit;line-height:inherit;color:inherit;border-color:#f0f0f0;border:1px solid var(--ag-input-border-color,#f0f0f0)}.ag-theme-balham-dark input[class^=ag-]:not([type]):disabled,.ag-theme-balham-dark input[class^=ag-][type=date]:disabled,.ag-theme-balham-dark input[class^=ag-][type=datetime-local]:disabled,.ag-theme-balham-dark input[class^=ag-][type=number]:disabled,.ag-theme-balham-dark input[class^=ag-][type=tel]:disabled,.ag-theme-balham-dark input[class^=ag-][type=text]:disabled,.ag-theme-balham-dark textarea[class^=ag-]:disabled{color:hsla(0,0%,96%,.38);color:var(--ag-disabled-foreground-color,hsla(0,0%,96%,.38));background-color:rgba(48,46,46,.3);background-color:var(--ag-input-disabled-background-color,rgba(48,46,46,.3));border-color:hsla(0,0%,94%,.3);border-color:var(--ag-input-disabled-border-color,hsla(0,0%,94%,.3))}.ag-theme-balham-dark input[class^=ag-]:not([type]):focus,.ag-theme-balham-dark input[class^=ag-][type=date]:focus,.ag-theme-balham-dark input[class^=ag-][type=datetime-local]:focus,.ag-theme-balham-dark input[class^=ag-][type=number]:focus,.ag-theme-balham-dark input[class^=ag-][type=tel]:focus,.ag-theme-balham-dark input[class^=ag-][type=text]:focus,.ag-theme-balham-dark textarea[class^=ag-]:focus{outline:none;box-shadow:0 0 4px 1.5px #719ece;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark input[class^=ag-][type=number]{-moz-appearance:textfield}.ag-theme-balham-dark input[class^=ag-][type=number]::-webkit-inner-spin-button,.ag-theme-balham-dark input[class^=ag-][type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ag-theme-balham-dark input[class^=ag-][type=range]{padding:0}.ag-theme-balham-dark button[class^=ag-]:focus,.ag-theme-balham-dark input[class^=ag-][type=button]:focus{box-shadow:0 0 4px 1.5px #719ece}.ag-theme-balham-dark .ag-drag-handle{color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-list-item,.ag-theme-balham-dark .ag-virtual-list-item{height:24px}.ag-theme-balham-dark .ag-keyboard-focus .ag-virtual-list-item:focus{outline:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark .ag-select-list{background-color:#2d3436;background-color:var(--ag-background-color,#2d3436);overflow-y:auto;overflow-x:hidden}.ag-theme-balham-dark .ag-list-item{display:flex;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-theme-balham-dark .ag-list-item.ag-active-item{background-color:#3d4749;background-color:var(--ag-row-hover-color,#3d4749)}.ag-theme-balham-dark .ag-select-list-item{padding-left:4px;padding-right:4px;cursor:default;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ag-theme-balham-dark .ag-select-list-item span{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.ag-theme-balham-dark .ag-select .ag-picker-field-wrapper{background-color:#2d3436;background-color:var(--ag-background-color,#2d3436);min-height:24px;cursor:default}.ag-theme-balham-dark .ag-select.ag-disabled .ag-picker-field-wrapper:focus{box-shadow:none}.ag-theme-balham-dark .ag-select:not(.ag-cell-editor){height:24px}.ag-theme-balham-dark .ag-select .ag-picker-field-display{margin:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ag-theme-balham-dark .ag-select .ag-picker-field-icon{display:flex;align-items:center}.ag-theme-balham-dark .ag-select.ag-disabled{opacity:.5}.ag-theme-balham-dark .ag-rich-select{background-color:#202020;background-color:var(--ag-control-panel-background-color,#202020)}.ag-theme-balham-dark .ag-rich-select-list{width:100%;min-width:200px;height:182px}.ag-theme-balham-dark .ag-rich-select-value{padding:0 4px 0 12px;height:28px;border-bottom:1px solid;border-bottom-color:#424242;border-bottom-color:var(--ag-secondary-border-color,var(--ag-border-color,#424242))}.ag-theme-balham-dark .ag-rich-select-virtual-list-item{cursor:default;height:24px}.ag-theme-balham-dark .ag-rich-select-virtual-list-item:hover{background-color:#3d4749;background-color:var(--ag-row-hover-color,#3d4749)}.ag-theme-balham-dark .ag-rich-select-row{padding-left:12px}.ag-theme-balham-dark .ag-rich-select-row-selected{background-color:#005880;background-color:var(--ag-selected-row-background-color,#005880)}.ag-theme-balham-dark .ag-group-contracted,.ag-theme-balham-dark .ag-group-expanded,.ag-theme-balham-dark .ag-row-drag,.ag-theme-balham-dark .ag-selection-checkbox{color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-ltr .ag-group-contracted,.ag-theme-balham-dark .ag-ltr .ag-group-expanded,.ag-theme-balham-dark .ag-ltr .ag-row-drag,.ag-theme-balham-dark .ag-ltr .ag-selection-checkbox{margin-right:12px}.ag-theme-balham-dark .ag-rtl .ag-group-contracted,.ag-theme-balham-dark .ag-rtl .ag-group-expanded,.ag-theme-balham-dark .ag-rtl .ag-row-drag,.ag-theme-balham-dark .ag-rtl .ag-selection-checkbox{margin-left:12px}.ag-theme-balham-dark .ag-cell-wrapper>:not(.ag-cell-value):not(.ag-group-value){height:26px;display:flex;align-items:center;flex:none}.ag-theme-balham-dark .ag-group-contracted,.ag-theme-balham-dark .ag-group-expanded{cursor:pointer}.ag-theme-balham-dark .ag-group-title-bar-icon{cursor:pointer;flex:none;color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-ltr .ag-group-child-count{margin-left:2px}.ag-theme-balham-dark .ag-rtl .ag-group-child-count{margin-right:2px}.ag-theme-balham-dark .ag-group-title-bar{background-color:#111;background-color:var(--ag-subheader-background-color,#111);padding:4px}.ag-theme-balham-dark .ag-group-toolbar{padding:4px}.ag-theme-balham-dark .ag-disabled-group-container,.ag-theme-balham-dark .ag-disabled-group-title-bar{opacity:.5}.ag-theme-balham-dark .group-item{margin:2px 0}.ag-theme-balham-dark .ag-label{white-space:nowrap}.ag-theme-balham-dark .ag-ltr .ag-label{margin-right:4px}.ag-theme-balham-dark .ag-rtl .ag-label{margin-left:4px}.ag-theme-balham-dark .ag-label-align-top .ag-label{margin-bottom:2px}.ag-theme-balham-dark .ag-ltr .ag-angle-select-field,.ag-theme-balham-dark .ag-ltr .ag-slider-field{margin-right:8px}.ag-theme-balham-dark .ag-rtl .ag-angle-select-field,.ag-theme-balham-dark .ag-rtl .ag-slider-field{margin-left:8px}.ag-theme-balham-dark .ag-angle-select-parent-circle{width:24px;height:24px;border-radius:12px;border:1px solid;border-color:#424242;border-color:var(--ag-border-color,#424242);background-color:#2d3436;background-color:var(--ag-background-color,#2d3436)}.ag-theme-balham-dark .ag-angle-select-child-circle{top:4px;left:12px;width:6px;height:6px;margin-left:-3px;margin-top:-4px;border-radius:3px;background-color:#f5f5f5;background-color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-picker-field-wrapper{border:1px solid;border-color:#424242;border-color:var(--ag-border-color,#424242);border-radius:5px}.ag-theme-balham-dark .ag-picker-field-wrapper:focus{box-shadow:0 0 4px 1.5px #719ece}.ag-theme-balham-dark .ag-picker-field-button{background-color:#2d3436;background-color:var(--ag-background-color,#2d3436);color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-dialog.ag-color-dialog{border-radius:5px}.ag-theme-balham-dark .ag-color-picker .ag-picker-field-display{height:16px}.ag-theme-balham-dark .ag-color-panel{padding:4px}.ag-theme-balham-dark .ag-spectrum-color{background-color:red;border-radius:2px}.ag-theme-balham-dark .ag-spectrum-tools{padding:10px}.ag-theme-balham-dark .ag-spectrum-sat{background-image:linear-gradient(90deg,#fff,hsla(20,42%,65%,0))}.ag-theme-balham-dark .ag-spectrum-val{background-image:linear-gradient(0deg,#000,hsla(20,42%,65%,0))}.ag-theme-balham-dark .ag-spectrum-dragger{border-radius:12px;height:12px;width:12px;border:1px solid #fff;background:#000;box-shadow:0 0 2px 0 rgba(0,0,0,.24)}.ag-theme-balham-dark .ag-spectrum-alpha-background,.ag-theme-balham-dark .ag-spectrum-hue-background{border-radius:2px}.ag-theme-balham-dark .ag-spectrum-tool{margin-bottom:10px;height:11px;border-radius:2px}.ag-theme-balham-dark .ag-spectrum-slider{margin-top:-12px;width:13px;height:13px;border-radius:13px;background-color:#f8f8f8;box-shadow:0 1px 4px 0 rgba(0,0,0,.37)}.ag-theme-balham-dark .ag-recent-color{margin:0 3px}.ag-theme-balham-dark .ag-recent-color:first-child{margin-left:0}.ag-theme-balham-dark .ag-recent-color:last-child{margin-right:0}.ag-theme-balham-dark.ag-dnd-ghost{border-color:var(--ag-border-color,#424242);background:#2d3436;background:var(--ag-background-color,#2d3436);border-radius:2px;box-shadow:none;padding:4px;overflow:hidden;text-overflow:ellipsis;z-index:2;border:1px solid;border-color:#424242;border-color:var(--ag-secondary-border-color,var(--ag-border-color,#424242));color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5));height:32px!important;line-height:32px;margin:0;padding:0 8px;transform:translateY(8px)}.ag-theme-balham-dark .ag-dnd-ghost-icon{margin-right:4px;color:#f5f5f5;color:var(--ag-foreground-color,#f5f5f5)}.ag-theme-balham-dark .ag-popup-child:not(.ag-tooltip-custom){box-shadow:5px 5px 10px rgba(0,0,0,.3)}.ag-dragging-fill-handle .ag-theme-balham-dark .ag-dialog,.ag-dragging-range-handle .ag-theme-balham-dark .ag-dialog{opacity:.7;pointer-events:none}.ag-theme-balham-dark .ag-dialog{border-radius:2px;border:1px solid;border-color:#424242;border-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-panel{background-color:#2d3436;background-color:var(--ag-background-color,#2d3436)}.ag-theme-balham-dark .ag-panel-title-bar{background-color:#1c1c1c;background-color:var(--ag-header-background-color,#1c1c1c);color:hsla(0,0%,96%,.64);color:var(--ag-header-foreground-color,hsla(0,0%,96%,.64));height:32px;padding:4px 12px;border-bottom:1px solid;border-bottom-color:#424242;border-bottom-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-ltr .ag-panel-title-bar-button{margin-left:4px}.ag-theme-balham-dark .ag-rtl .ag-panel-title-bar-button{margin-right:4px}.ag-theme-balham-dark .ag-tooltip{background-color:#1c1c1c;background-color:var(--ag-header-background-color,#1c1c1c);color:#f5f5f5;color:var(--ag-foreground-color,#f5f5f5);padding:4px;border:1px solid;border-color:#424242;border-color:var(--ag-border-color,#424242);border-radius:2px;transition:opacity 1s}.ag-theme-balham-dark .ag-tooltip.ag-tooltip-hiding{opacity:0}.ag-theme-balham-dark .ag-ltr .ag-column-select-indent-1{padding-left:20px}.ag-theme-balham-dark .ag-rtl .ag-column-select-indent-1{padding-right:20px}.ag-theme-balham-dark .ag-ltr .ag-column-select-indent-2{padding-left:40px}.ag-theme-balham-dark .ag-rtl .ag-column-select-indent-2{padding-right:40px}.ag-theme-balham-dark .ag-ltr .ag-column-select-indent-3{padding-left:60px}.ag-theme-balham-dark .ag-rtl .ag-column-select-indent-3{padding-right:60px}.ag-theme-balham-dark .ag-ltr .ag-column-select-indent-4{padding-left:80px}.ag-theme-balham-dark .ag-rtl .ag-column-select-indent-4{padding-right:80px}.ag-theme-balham-dark .ag-ltr .ag-column-select-indent-5{padding-left:100px}.ag-theme-balham-dark .ag-rtl .ag-column-select-indent-5{padding-right:100px}.ag-theme-balham-dark .ag-ltr .ag-column-select-indent-6{padding-left:120px}.ag-theme-balham-dark .ag-rtl .ag-column-select-indent-6{padding-right:120px}.ag-theme-balham-dark .ag-ltr .ag-column-select-indent-7{padding-left:140px}.ag-theme-balham-dark .ag-rtl .ag-column-select-indent-7{padding-right:140px}.ag-theme-balham-dark .ag-ltr .ag-column-select-indent-8{padding-left:160px}.ag-theme-balham-dark .ag-rtl .ag-column-select-indent-8{padding-right:160px}.ag-theme-balham-dark .ag-ltr .ag-column-select-indent-9{padding-left:180px}.ag-theme-balham-dark .ag-rtl .ag-column-select-indent-9{padding-right:180px}.ag-theme-balham-dark .ag-column-select-header-icon{cursor:pointer}.ag-theme-balham-dark .ag-keyboard-focus .ag-column-select-header-icon:focus{outline:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-column-select-header-icon:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0;left:0;display:block;width:calc(100% - 0px);height:calc(100% - 0px);border:1px solid;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark .ag-ltr .ag-column-group-icons:not(:last-child),.ag-theme-balham-dark .ag-ltr .ag-column-select-checkbox:not(:last-child),.ag-theme-balham-dark .ag-ltr .ag-column-select-column-drag-handle:not(:last-child),.ag-theme-balham-dark .ag-ltr .ag-column-select-column-group-drag-handle:not(:last-child),.ag-theme-balham-dark .ag-ltr .ag-column-select-column-label:not(:last-child),.ag-theme-balham-dark .ag-ltr .ag-column-select-header-checkbox:not(:last-child),.ag-theme-balham-dark .ag-ltr .ag-column-select-header-filter-wrapper:not(:last-child),.ag-theme-balham-dark .ag-ltr .ag-column-select-header-icon:not(:last-child){margin-right:6px}.ag-theme-balham-dark .ag-rtl .ag-column-group-icons:not(:last-child),.ag-theme-balham-dark .ag-rtl .ag-column-select-checkbox:not(:last-child),.ag-theme-balham-dark .ag-rtl .ag-column-select-column-drag-handle:not(:last-child),.ag-theme-balham-dark .ag-rtl .ag-column-select-column-group-drag-handle:not(:last-child),.ag-theme-balham-dark .ag-rtl .ag-column-select-column-label:not(:last-child),.ag-theme-balham-dark .ag-rtl .ag-column-select-header-checkbox:not(:last-child),.ag-theme-balham-dark .ag-rtl .ag-column-select-header-filter-wrapper:not(:last-child),.ag-theme-balham-dark .ag-rtl .ag-column-select-header-icon:not(:last-child){margin-left:6px}.ag-theme-balham-dark .ag-keyboard-focus .ag-column-select-virtual-list-item:focus{outline:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-column-select-virtual-list-item:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:1px;left:1px;display:block;width:calc(100% - 2px);height:calc(100% - 2px);border:1px solid;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark .ag-column-select-column-group:not(:last-child),.ag-theme-balham-dark .ag-column-select-column:not(:last-child){margin-bottom:4px}.ag-theme-balham-dark .ag-column-select-column-group-readonly,.ag-theme-balham-dark .ag-column-select-column-readonly{color:hsla(0,0%,96%,.38);color:var(--ag-disabled-foreground-color,hsla(0,0%,96%,.38));pointer-events:none}.ag-theme-balham-dark .ag-ltr .ag-column-select-add-group-indent{margin-left:24px}.ag-theme-balham-dark .ag-rtl .ag-column-select-add-group-indent{margin-right:24px}.ag-theme-balham-dark .ag-column-select-virtual-list-viewport{padding:3px 6px}.ag-theme-balham-dark .ag-rtl{text-align:right}.ag-theme-balham-dark .ag-root-wrapper{border:1px solid;border-color:#424242;border-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-left:40px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-1{padding-right:40px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-1{padding-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-1{padding-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row-level-1 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-1 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-left:68px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-2{padding-right:68px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-2{padding-left:56px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-2{padding-right:56px}.ag-theme-balham-dark .ag-ltr .ag-row-level-2 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-2 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-left:96px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-3{padding-right:96px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-3{padding-left:84px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-3{padding-right:84px}.ag-theme-balham-dark .ag-ltr .ag-row-level-3 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-3 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-left:124px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-4{padding-right:124px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-4{padding-left:112px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-4{padding-right:112px}.ag-theme-balham-dark .ag-ltr .ag-row-level-4 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-4 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-left:152px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-5{padding-right:152px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-5{padding-left:140px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-5{padding-right:140px}.ag-theme-balham-dark .ag-ltr .ag-row-level-5 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-5 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-left:180px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-6{padding-right:180px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-6{padding-left:168px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-6{padding-right:168px}.ag-theme-balham-dark .ag-ltr .ag-row-level-6 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-6 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-left:208px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-7{padding-right:208px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-7{padding-left:196px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-7{padding-right:196px}.ag-theme-balham-dark .ag-ltr .ag-row-level-7 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-7 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-left:236px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-8{padding-right:236px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-8{padding-left:224px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-8{padding-right:224px}.ag-theme-balham-dark .ag-ltr .ag-row-level-8 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-8 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-left:264px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-9{padding-right:264px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-9{padding-left:252px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-9{padding-right:252px}.ag-theme-balham-dark .ag-ltr .ag-row-level-9 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-9 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-left:292px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-10{padding-right:292px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-10{padding-left:280px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-10{padding-right:280px}.ag-theme-balham-dark .ag-ltr .ag-row-level-10 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-10 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-left:320px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-11{padding-right:320px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-11{padding-left:308px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-11{padding-right:308px}.ag-theme-balham-dark .ag-ltr .ag-row-level-11 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-11 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-left:348px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-12{padding-right:348px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-12{padding-left:336px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-12{padding-right:336px}.ag-theme-balham-dark .ag-ltr .ag-row-level-12 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-12 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-left:376px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-13{padding-right:376px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-13{padding-left:364px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-13{padding-right:364px}.ag-theme-balham-dark .ag-ltr .ag-row-level-13 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-13 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-left:404px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-14{padding-right:404px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-14{padding-left:392px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-14{padding-right:392px}.ag-theme-balham-dark .ag-ltr .ag-row-level-14 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-14 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-left:432px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-15{padding-right:432px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-15{padding-left:420px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-15{padding-right:420px}.ag-theme-balham-dark .ag-ltr .ag-row-level-15 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-15 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-left:460px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-16{padding-right:460px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-16{padding-left:448px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-16{padding-right:448px}.ag-theme-balham-dark .ag-ltr .ag-row-level-16 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-16 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-left:488px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-17{padding-right:488px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-17{padding-left:476px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-17{padding-right:476px}.ag-theme-balham-dark .ag-ltr .ag-row-level-17 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-17 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-left:516px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-18{padding-right:516px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-18{padding-left:504px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-18{padding-right:504px}.ag-theme-balham-dark .ag-ltr .ag-row-level-18 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-18 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-ltr .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-left:544px}.ag-theme-balham-dark .ag-rtl .ag-row>.ag-cell-wrapper.ag-row-group-indent-19{padding-right:544px}.ag-theme-balham-dark .ag-ltr .ag-row-group-indent-19{padding-left:532px}.ag-theme-balham-dark .ag-rtl .ag-row-group-indent-19{padding-right:532px}.ag-theme-balham-dark .ag-ltr .ag-row-level-19 .ag-row-group-leaf-indent{margin-left:28px}.ag-theme-balham-dark .ag-rtl .ag-row-level-19 .ag-row-group-leaf-indent{margin-right:28px}.ag-theme-balham-dark .ag-value-change-delta{padding-right:2px}.ag-theme-balham-dark .ag-value-change-delta-up{color:#43a047;color:var(--ag-value-change-delta-up-color,#43a047)}.ag-theme-balham-dark .ag-value-change-delta-down{color:#e53935;color:var(--ag-value-change-delta-down-color,#e53935)}.ag-theme-balham-dark .ag-value-change-value{background-color:transparent;border-radius:1px;padding-left:1px;padding-right:1px;transition:background-color 1s}.ag-theme-balham-dark .ag-value-change-value-highlight{background-color:rgba(22,160,133,.5);background-color:var(--ag-value-change-value-highlight-background-color,rgba(22,160,133,.5));transition:background-color .1s}.ag-theme-balham-dark .ag-cell-data-changed{background-color:rgba(22,160,133,.5)!important;background-color:var(--ag-value-change-value-highlight-background-color,rgba(22,160,133,.5))!important}.ag-theme-balham-dark .ag-cell-data-changed-animation{background-color:transparent}.ag-theme-balham-dark .ag-cell-highlight{background-color:#00b0ff!important;background-color:var(--ag-range-selection-highlight-color,var(--ag-balham-active-color,#00b0ff))!important}.ag-theme-balham-dark .ag-row{height:28px;background-color:#2d3436;background-color:var(--ag-background-color,#2d3436);color:#f5f5f5;color:var(--ag-data-color,var(--ag-foreground-color,#f5f5f5));border-width:1px;border-color:#5c5c5c;border-color:var(--ag-row-border-color,#5c5c5c);border-bottom-style:solid}.ag-theme-balham-dark .ag-row-highlight-above:after,.ag-theme-balham-dark .ag-row-highlight-below:after{content:"";position:absolute;width:calc(100% - 1px);height:1px;background-color:#00b0ff;background-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff));left:1px}.ag-theme-balham-dark .ag-row-highlight-above:after{top:-1px}.ag-theme-balham-dark .ag-row-highlight-above.ag-row-first:after{top:0}.ag-theme-balham-dark .ag-row-highlight-below:after{bottom:0}.ag-theme-balham-dark .ag-row-odd{background-color:#262c2e;background-color:var(--ag-odd-row-background-color,#262c2e)}.ag-theme-balham-dark .ag-horizontal-left-spacer:not(.ag-scroller-corner){border-right:1px solid;border-right-color:#424242;border-right-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-horizontal-right-spacer:not(.ag-scroller-corner){border-left:1px solid;border-left-color:#424242;border-left-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-row-hover{background-color:#3d4749;background-color:var(--ag-row-hover-color,#3d4749)}.ag-theme-balham-dark .ag-ltr .ag-right-aligned-cell{text-align:right}.ag-theme-balham-dark .ag-rtl .ag-right-aligned-cell{text-align:left}.ag-theme-balham-dark .ag-ltr .ag-right-aligned-cell .ag-cell-value{margin-left:auto}.ag-theme-balham-dark .ag-rtl .ag-right-aligned-cell .ag-cell-value{margin-right:auto}.ag-theme-balham-dark .ag-cell{border:1px solid transparent;line-height:26px;-webkit-font-smoothing:subpixel-antialiased}.ag-theme-balham-dark .ag-cell,.ag-theme-balham-dark .ag-row>.ag-cell-wrapper{padding-left:11px;padding-right:11px}.ag-theme-balham-dark .ag-row-dragging{cursor:move;opacity:.5}.ag-theme-balham-dark .ag-cell-inline-editing{height:28px}.ag-theme-balham-dark .ag-cell-inline-editing,.ag-theme-balham-dark .ag-popup-editor{border:1px solid;border-color:#424242;border-color:var(--ag-border-color,#424242);background:#2d3436;background:var(--ag-background-color,#2d3436);border-radius:2px;box-shadow:none;padding:4px;padding:0;background-color:#202020;background-color:var(--ag-control-panel-background-color,#202020)}.ag-theme-balham-dark .ag-large-text-input{height:auto;padding:12px}.ag-theme-balham-dark .ag-details-row{padding:20px;background-color:#2d3436;background-color:var(--ag-background-color,#2d3436)}.ag-theme-balham-dark .ag-layout-auto-height .ag-center-cols-clipper,.ag-theme-balham-dark .ag-layout-auto-height .ag-center-cols-container,.ag-theme-balham-dark .ag-layout-print .ag-center-cols-clipper,.ag-theme-balham-dark .ag-layout-print .ag-center-cols-container{min-height:50px}.ag-theme-balham-dark .ag-overlay-loading-wrapper{background-color:rgba(45,52,54,.66);background-color:var(--ag-modal-overlay-background-color,rgba(45,52,54,.66))}.ag-theme-balham-dark .ag-overlay-loading-center{background:#2d3436;background:var(--ag-background-color,#2d3436);border-radius:2px;box-shadow:none;padding:4px}.ag-theme-balham-dark .ag-overlay-no-rows-wrapper.ag-layout-auto-height{padding-top:30px}.ag-theme-balham-dark .ag-loading{padding-left:12px;display:flex;height:100%;align-items:center}.ag-theme-balham-dark .ag-loading-icon{padding-right:12px}.ag-theme-balham-dark .ag-icon-loading{animation-name:a;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}@keyframes a{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}.ag-theme-balham-dark .ag-floating-top{border-bottom:1px solid;border-bottom-color:#424242;border-bottom-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-floating-bottom{border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-ltr .ag-cell{border-right:solid transparent}.ag-theme-balham-dark .ag-rtl .ag-cell{border-left:solid transparent}.ag-theme-balham-dark .ag-ltr .ag-cell{border-right-width:1px}.ag-theme-balham-dark .ag-rtl .ag-cell{border-left-width:1px}.ag-theme-balham-dark .ag-cell.ag-cell-first-right-pinned:not(.ag-cell-range-left):not(.ag-cell-range-single-cell){border-left:1px solid;border-left-color:#424242;border-left-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-cell.ag-cell-last-left-pinned:not(.ag-cell-range-right):not(.ag-cell-range-single-cell){border-right:1px solid;border-right-color:#424242;border-right-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-row-selected{background-color:#005880;background-color:var(--ag-selected-row-background-color,#005880)}.ag-theme-balham-dark .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing),.ag-theme-balham-dark .ag-cell-range-selected:not(.ag-cell-focus){background-color:rgba(0,176,255,.2);background-color:var(--ag-range-selection-background-color,rgba(0,176,255,.2))}.ag-theme-balham-dark .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart,.ag-theme-balham-dark .ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart{background-color:rgba(45,166,255,.5)!important;background-color:var(--ag-range-selection-chart-background-color,rgba(45,166,255,.5))!important}.ag-theme-balham-dark .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-single-cell:not(.ag-cell-inline-editing).ag-cell-range-chart.ag-cell-range-chart-category,.ag-theme-balham-dark .ag-cell-range-selected:not(.ag-cell-focus).ag-cell-range-chart.ag-cell-range-chart-category{background-color:rgba(26,177,74,.5)!important;background-color:var(--ag-range-selection-chart-category-background-color,rgba(26,177,74,.5))!important}.ag-theme-balham-dark .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-1:not(.ag-cell-inline-editing),.ag-theme-balham-dark .ag-cell-range-selected-1:not(.ag-cell-focus){background-color:rgba(0,176,255,.2);background-color:var(--ag-range-selection-background-color-1,var(--ag-range-selection-background-color,rgba(0,176,255,.2)))}.ag-theme-balham-dark .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-2,.ag-theme-balham-dark .ag-cell-range-selected-2:not(.ag-cell-focus){background-color:rgba(0,176,255,.36);background-color:var(--ag-range-selection-background-color-2,rgba(0,176,255,.36))}.ag-theme-balham-dark .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-3,.ag-theme-balham-dark .ag-cell-range-selected-3:not(.ag-cell-focus){background-color:rgba(0,176,255,.488);background-color:var(--ag-range-selection-background-color-3,rgba(0,176,255,.488))}.ag-theme-balham-dark .ag-body-viewport:not(.ag-has-focus) .ag-cell-range-selected-4,.ag-theme-balham-dark .ag-cell-range-selected-4:not(.ag-cell-focus){background-color:rgba(0,176,255,.5904);background-color:var(--ag-range-selection-background-color-4,rgba(0,176,255,.5904))}.ag-theme-balham-dark .ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-top{border-top-color:#00b0ff;border-top-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark .ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-right{border-right-color:#00b0ff;border-right-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark .ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-bottom{border-bottom-color:#00b0ff;border-bottom-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark .ag-cell.ag-cell-range-selected:not(.ag-cell-range-single-cell).ag-cell-range-left{border-left-color:#00b0ff;border-left-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark .ag-ltr .ag-cell-range-single-cell,.ag-theme-balham-dark .ag-ltr .ag-cell-range-single-cell.ag-cell-range-handle,.ag-theme-balham-dark .ag-ltr .ag-cell.ag-context-menu-open,.ag-theme-balham-dark .ag-ltr .ag-has-focus .ag-cell-focus:not(.ag-cell-range-selected),.ag-theme-balham-dark .ag-rtl .ag-cell-range-single-cell,.ag-theme-balham-dark .ag-rtl .ag-cell-range-single-cell.ag-cell-range-handle,.ag-theme-balham-dark .ag-rtl .ag-cell.ag-context-menu-open,.ag-theme-balham-dark .ag-rtl .ag-has-focus .ag-cell-focus:not(.ag-cell-range-selected){border:1px solid;border-color:#00b0ff;border-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff));outline:initial}.ag-theme-balham-dark .ag-cell.ag-selection-fill-top,.ag-theme-balham-dark .ag-cell.ag-selection-fill-top.ag-cell-range-selected{border-top:1px dashed;border-top-color:#00b0ff;border-top-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark .ag-ltr .ag-cell.ag-selection-fill-right,.ag-theme-balham-dark .ag-ltr .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-right:1px dashed;border-right-color:#00b0ff;border-right-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark .ag-rtl .ag-cell.ag-selection-fill-right,.ag-theme-balham-dark .ag-rtl .ag-cell.ag-selection-fill-right.ag-cell-range-selected{border-left:1px dashed;border-left-color:#00b0ff;border-left-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark .ag-cell.ag-selection-fill-bottom,.ag-theme-balham-dark .ag-cell.ag-selection-fill-bottom.ag-cell-range-selected{border-bottom:1px dashed;border-bottom-color:#00b0ff;border-bottom-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark .ag-ltr .ag-cell.ag-selection-fill-left,.ag-theme-balham-dark .ag-ltr .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-left:1px dashed;border-left-color:#00b0ff;border-left-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark .ag-rtl .ag-cell.ag-selection-fill-left,.ag-theme-balham-dark .ag-rtl .ag-cell.ag-selection-fill-left.ag-cell-range-selected{border-right:1px dashed;border-right-color:#00b0ff;border-right-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark .ag-fill-handle,.ag-theme-balham-dark .ag-range-handle{position:absolute;width:6px;height:6px;bottom:-1px;background-color:#00b0ff;background-color:var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark .ag-ltr .ag-fill-handle,.ag-theme-balham-dark .ag-ltr .ag-range-handle{right:-1px}.ag-theme-balham-dark .ag-rtl .ag-fill-handle,.ag-theme-balham-dark .ag-rtl .ag-range-handle{left:-1px}.ag-theme-balham-dark .ag-fill-handle{cursor:cell}.ag-theme-balham-dark .ag-range-handle{cursor:nwse-resize}.ag-theme-balham-dark .ag-cell-inline-editing{border-color:#719ece!important;border-color:var(--ag-input-focus-border-color,#719ece)!important}.ag-theme-balham-dark .ag-menu{border:1px solid;border-color:#424242;border-color:var(--ag-border-color,#424242);background:#2d3436;background:var(--ag-background-color,#2d3436);border-radius:2px;box-shadow:none;padding:4px;padding:0}.ag-theme-balham-dark .ag-menu-list{cursor:default;padding:4px 0}.ag-theme-balham-dark .ag-menu-separator{height:9px}.ag-theme-balham-dark .ag-menu-separator-part:after{content:"";display:block;border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-compact-menu-option-active,.ag-theme-balham-dark .ag-menu-option-active{background-color:#3d4749;background-color:var(--ag-row-hover-color,#3d4749)}.ag-theme-balham-dark .ag-compact-menu-option-part,.ag-theme-balham-dark .ag-menu-option-part{line-height:16px;padding:6px 0}.ag-theme-balham-dark .ag-compact-menu-option-disabled,.ag-theme-balham-dark .ag-menu-option-disabled{opacity:.5}.ag-theme-balham-dark .ag-compact-menu-option-icon,.ag-theme-balham-dark .ag-menu-option-icon{width:16px}.ag-theme-balham-dark .ag-ltr .ag-compact-menu-option-icon,.ag-theme-balham-dark .ag-ltr .ag-menu-option-icon{padding-left:8px}.ag-theme-balham-dark .ag-rtl .ag-compact-menu-option-icon,.ag-theme-balham-dark .ag-rtl .ag-menu-option-icon{padding-right:8px}.ag-theme-balham-dark .ag-compact-menu-option-text,.ag-theme-balham-dark .ag-menu-option-text{padding-left:8px;padding-right:8px}.ag-theme-balham-dark .ag-ltr .ag-compact-menu-option-shortcut,.ag-theme-balham-dark .ag-ltr .ag-menu-option-shortcut{padding-right:4px}.ag-theme-balham-dark .ag-rtl .ag-compact-menu-option-shortcut,.ag-theme-balham-dark .ag-rtl .ag-menu-option-shortcut{padding-left:4px}.ag-theme-balham-dark .ag-compact-menu-option-popup-pointer,.ag-theme-balham-dark .ag-menu-option-popup-pointer{padding-right:4px}.ag-theme-balham-dark .ag-tabs-header{min-width:220px;width:100%;display:flex}.ag-theme-balham-dark .ag-tab{border-bottom:0 solid transparent;display:flex;flex:none;align-items:center;justify-content:center;cursor:pointer}.ag-theme-balham-dark .ag-keyboard-focus .ag-tab:focus{outline:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-tab:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark .ag-tab-selected{border-bottom-color:#00b0ff;border-bottom-color:var(--ag-selected-tab-underline-color,var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff)))}.ag-theme-balham-dark .ag-menu-header{color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-filter-separator{border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-filter-condition-operator{height:17px}.ag-theme-balham-dark .ag-ltr .ag-filter-condition-operator-or{margin-left:8px}.ag-theme-balham-dark .ag-rtl .ag-filter-condition-operator-or{margin-right:8px}.ag-theme-balham-dark .ag-set-filter-select-all{padding-top:6px}.ag-theme-balham-dark .ag-filter-no-matches,.ag-theme-balham-dark .ag-set-filter-list{height:144px}.ag-theme-balham-dark .ag-set-filter-filter{margin-top:6px;margin-left:6px;margin-right:6px}.ag-theme-balham-dark .ag-filter-to{margin-top:4px}.ag-theme-balham-dark .ag-mini-filter{margin:6px}.ag-theme-balham-dark .ag-set-filter-item{margin:0 6px}.ag-theme-balham-dark .ag-ltr .ag-set-filter-item-value{margin-left:6px}.ag-theme-balham-dark .ag-rtl .ag-set-filter-item-value{margin-right:6px}.ag-theme-balham-dark .ag-filter-apply-panel{padding:6px;border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-secondary-border-color,var(--ag-border-color,#424242))}.ag-theme-balham-dark .ag-filter-apply-panel-button{line-height:1.5}.ag-theme-balham-dark .ag-ltr .ag-filter-apply-panel-button{margin-left:8px}.ag-theme-balham-dark .ag-rtl .ag-filter-apply-panel-button{margin-right:8px}.ag-theme-balham-dark .ag-simple-filter-body-wrapper{padding:6px;padding-bottom:2px}.ag-theme-balham-dark .ag-simple-filter-body-wrapper>*{margin-bottom:4px}.ag-theme-balham-dark .ag-filter-no-matches{padding:6px}.ag-theme-balham-dark .ag-multi-filter-menu-item{margin:4px 0}.ag-theme-balham-dark .ag-multi-filter-group-title-bar{padding:8px 4px;background-color:transparent}.ag-theme-balham-dark .ag-keyboard-focus .ag-multi-filter-group-title-bar:focus{outline:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-multi-filter-group-title-bar:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark .ag-side-bar{position:relative}.ag-theme-balham-dark .ag-tool-panel-wrapper{background-color:#202020;background-color:var(--ag-control-panel-background-color,#202020)}.ag-theme-balham-dark .ag-side-buttons{padding-top:16px;width:20px;position:relative;color:#f5f5f5;color:var(--ag-foreground-color,#f5f5f5);overflow:hidden}.ag-theme-balham-dark button.ag-side-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;background:transparent;padding:8px 0;width:calc(100% + 1px);margin:0;min-height:72px;background-position-y:center;background-position-x:center;background-repeat:no-repeat;border:none;border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-border-color,#424242);border-bottom:1px solid;border-bottom-color:#424242;border-bottom-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark button.ag-side-button-button:focus{box-shadow:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-side-button-button:focus{outline:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-side-button-button:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark .ag-selected .ag-side-button-button{background-color:#202020;background-color:var(--ag-control-panel-background-color,#202020);border-top-color:#424242;border-top-color:var(--ag-border-color,#424242);border-bottom-color:#424242;border-bottom-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-side-button-icon-wrapper{margin-bottom:3px}.ag-theme-balham-dark .ag-ltr .ag-side-bar-left,.ag-theme-balham-dark .ag-rtl .ag-side-bar-right{border-right:1px solid;border-right-color:#424242;border-right-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-ltr .ag-side-bar-left .ag-tool-panel-wrapper,.ag-theme-balham-dark .ag-rtl .ag-side-bar-right .ag-tool-panel-wrapper{border-left:1px solid;border-left-color:#424242;border-left-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-ltr .ag-side-bar-left .ag-side-button-button,.ag-theme-balham-dark .ag-rtl .ag-side-bar-right .ag-side-button-button{border-right:0 solid transparent;margin-right:-1px;padding-right:1px}.ag-theme-balham-dark .ag-ltr .ag-side-bar-left .ag-selected .ag-side-button-button,.ag-theme-balham-dark .ag-rtl .ag-side-bar-right .ag-selected .ag-side-button-button{border-right-color:#00b0ff;border-right-color:var(--ag-selected-tab-underline-color,var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff)))}.ag-theme-balham-dark .ag-ltr .ag-side-bar-right,.ag-theme-balham-dark .ag-rtl .ag-side-bar-left{border-left:1px solid;border-left-color:#424242;border-left-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-ltr .ag-side-bar-right .ag-tool-panel-wrapper,.ag-theme-balham-dark .ag-rtl .ag-side-bar-left .ag-tool-panel-wrapper{border-right:1px solid;border-right-color:#424242;border-right-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-ltr .ag-side-bar-right .ag-side-button-button,.ag-theme-balham-dark .ag-rtl .ag-side-bar-left .ag-side-button-button{border-left:0 solid transparent;margin-left:-1px;padding-left:1px}.ag-theme-balham-dark .ag-ltr .ag-side-bar-right .ag-selected .ag-side-button-button,.ag-theme-balham-dark .ag-rtl .ag-side-bar-left .ag-selected .ag-side-button-button{border-left-color:#00b0ff;border-left-color:var(--ag-selected-tab-underline-color,var(--ag-range-selection-border-color,var(--ag-balham-active-color,#00b0ff)))}.ag-theme-balham-dark .ag-filter-toolpanel-header{height:24px}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-header,.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-search{padding-left:4px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-header,.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-search{padding-right:4px}.ag-theme-balham-dark .ag-keyboard-focus .ag-filter-toolpanel-header:focus{outline:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-filter-toolpanel-header:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{font-family:agGridBalham;font-size:16px;line-height:16px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f112";position:absolute}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-left:4px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group.ag-has-filter>.ag-group-title-bar .ag-group-title:after{padding-right:4px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-0-header{height:32px}.ag-theme-balham-dark .ag-filter-toolpanel-group-item{margin-top:2px;margin-bottom:2px}.ag-theme-balham-dark .ag-filter-toolpanel-search{height:32px}.ag-theme-balham-dark .ag-filter-toolpanel-search-input{flex-grow:1;height:16px}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-search-input{margin-right:4px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-search-input{margin-left:4px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-0{border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-secondary-border-color,var(--ag-border-color,#424242))}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-expand,.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group-title-bar-icon{margin-right:4px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-expand,.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group-title-bar-icon{margin-left:4px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-1-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-left:20px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group-level-1 .ag-filter-toolpanel-group-level-2-header{padding-right:20px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-2-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-left:36px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group-level-2 .ag-filter-toolpanel-group-level-3-header{padding-right:36px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-3-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-left:52px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group-level-3 .ag-filter-toolpanel-group-level-4-header{padding-right:52px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-4-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-left:68px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group-level-4 .ag-filter-toolpanel-group-level-5-header{padding-right:68px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-5-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-left:84px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group-level-5 .ag-filter-toolpanel-group-level-6-header{padding-right:84px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-6-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-left:100px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group-level-6 .ag-filter-toolpanel-group-level-7-header{padding-right:100px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-7-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-left:116px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group-level-7 .ag-filter-toolpanel-group-level-8-header{padding-right:116px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-8-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-left:132px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group-level-8 .ag-filter-toolpanel-group-level-9-header{padding-right:132px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-9-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-left:148px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group-level-9 .ag-filter-toolpanel-group-level-10-header{padding-right:148px}.ag-theme-balham-dark .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-10-header.ag-filter-toolpanel-group-title-bar{background-color:transparent}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-left:164px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-group-level-10 .ag-filter-toolpanel-group-level-11-header{padding-right:164px}.ag-theme-balham-dark .ag-filter-toolpanel-instance-header.ag-filter-toolpanel-group-level-1-header{padding-left:4px}.ag-theme-balham-dark .ag-filter-toolpanel-instance-filter{border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-border-color,#424242);border-bottom:1px solid;border-bottom-color:#424242;border-bottom-color:var(--ag-border-color,#424242);margin-top:4px}.ag-theme-balham-dark .ag-ltr .ag-filter-toolpanel-instance-header-icon{margin-left:4px}.ag-theme-balham-dark .ag-rtl .ag-filter-toolpanel-instance-header-icon{margin-right:4px}.ag-theme-balham-dark .ag-pivot-mode-panel{height:32px;display:flex}.ag-theme-balham-dark .ag-pivot-mode-select{display:flex;align-items:center}.ag-theme-balham-dark .ag-ltr .ag-pivot-mode-select{margin-left:6px}.ag-theme-balham-dark .ag-rtl .ag-pivot-mode-select{margin-right:6px}.ag-theme-balham-dark .ag-keyboard-focus .ag-column-select-header:focus{outline:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-column-select-header:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark .ag-column-select-header{height:32px;align-items:center;padding:0 6px}.ag-theme-balham-dark .ag-column-panel-column-select,.ag-theme-balham-dark .ag-column-select-header{border-bottom:1px solid;border-bottom-color:#424242;border-bottom-color:var(--ag-secondary-border-color,var(--ag-border-color,#424242))}.ag-theme-balham-dark .ag-column-panel-column-select{border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-secondary-border-color,var(--ag-border-color,#424242))}.ag-theme-balham-dark .ag-column-group-icons,.ag-theme-balham-dark .ag-column-select-header-icon{color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-header{background-color:#1c1c1c;background-color:var(--ag-header-background-color,#1c1c1c);border-bottom:1px solid;border-bottom-color:#424242;border-bottom-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-header-row{color:hsla(0,0%,96%,.64);color:var(--ag-header-foreground-color,hsla(0,0%,96%,.64));height:32px}.ag-theme-balham-dark .ag-pinned-right-header{border-left:1px solid;border-left-color:#424242;border-left-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-pinned-left-header{border-right:1px solid;border-right-color:#424242;border-right-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-ltr .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon{margin-left:4px}.ag-theme-balham-dark .ag-ltr .ag-header-cell.ag-right-aligned-header .ag-header-label-icon,.ag-theme-balham-dark .ag-rtl .ag-header-cell:not(.ag-right-aligned-header) .ag-header-label-icon{margin-right:4px}.ag-theme-balham-dark .ag-rtl .ag-header-cell.ag-right-aligned-header .ag-header-label-icon{margin-left:4px}.ag-theme-balham-dark .ag-header-cell,.ag-theme-balham-dark .ag-header-group-cell{padding-left:12px;padding-right:12px}.ag-theme-balham-dark .ag-header-cell.ag-header-cell-moving,.ag-theme-balham-dark .ag-header-group-cell.ag-header-cell-moving{background-color:#2d3436;background-color:var(--ag-header-cell-moving-background-color,var(--ag-background-color,#2d3436))}.ag-theme-balham-dark .ag-keyboard-focus .ag-header-cell:focus{outline:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-header-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark .ag-keyboard-focus .ag-header-group-cell:focus{outline:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-header-group-cell:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:4px;left:4px;display:block;width:calc(100% - 8px);height:calc(100% - 8px);border:1px solid;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark .ag-header-icon{color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-header-expand-icon{cursor:pointer}.ag-theme-balham-dark .ag-ltr .ag-header-expand-icon{padding-left:4px}.ag-theme-balham-dark .ag-rtl .ag-header-expand-icon{padding-right:4px}.ag-theme-balham-dark .ag-header-row:not(:first-child) .ag-header-cell,.ag-theme-balham-dark .ag-header-row:not(:first-child) .ag-header-group-cell.ag-header-group-cell-with-group{border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-header-cell:after,.ag-theme-balham-dark .ag-header-group-cell:after{content:"";position:absolute;z-index:1;display:block;width:1px;height:50%;top:25%;background-color:rgba(66,66,66,.5);background-color:var(--ag-header-column-separator-color,rgba(66,66,66,.5))}.ag-theme-balham-dark .ag-ltr .ag-header-cell:after,.ag-theme-balham-dark .ag-ltr .ag-header-group-cell:after{right:0}.ag-theme-balham-dark .ag-rtl .ag-header-cell:after,.ag-theme-balham-dark .ag-rtl .ag-header-group-cell:after{left:0}.ag-theme-balham-dark .ag-ltr .ag-header-select-all{margin-right:12px}.ag-theme-balham-dark .ag-ltr .ag-floating-filter-button,.ag-theme-balham-dark .ag-rtl .ag-header-select-all{margin-left:12px}.ag-theme-balham-dark .ag-rtl .ag-floating-filter-button{margin-right:12px}.ag-theme-balham-dark .ag-floating-filter-button-button{color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;-webkit-appearance:none;appearance:none;background:transparent;border:none;height:16px;padding:0;width:16px}.ag-theme-balham-dark .ag-filter-loading{background-color:#202020;background-color:var(--ag-control-panel-background-color,#202020);height:100%;padding:6px;position:absolute;width:100%;z-index:1}.ag-theme-balham-dark .ag-paging-panel{border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-border-color,#424242);color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5));height:32px}.ag-theme-balham-dark .ag-paging-panel>*{margin:0 12px}.ag-theme-balham-dark .ag-paging-button{cursor:pointer}.ag-theme-balham-dark .ag-paging-button.ag-disabled{cursor:default;color:hsla(0,0%,96%,.38);color:var(--ag-disabled-foreground-color,hsla(0,0%,96%,.38))}.ag-theme-balham-dark .ag-keyboard-focus .ag-paging-button:focus{outline:none}.ag-theme-balham-dark .ag-keyboard-focus .ag-paging-button:focus:after{content:"";position:absolute;background-color:transparent;pointer-events:none;top:0;left:0;display:block;width:calc(100% - 0px);height:calc(100% - 0px);border:1px solid;border-color:#719ece;border-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark .ag-paging-button,.ag-theme-balham-dark .ag-paging-description{margin:0 4px}.ag-theme-balham-dark .ag-status-bar{border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-border-color,#424242);color:hsla(0,0%,96%,.38);color:var(--ag-disabled-foreground-color,hsla(0,0%,96%,.38));padding-right:16px;padding-left:16px;line-height:1.5}.ag-theme-balham-dark .ag-status-name-value-value{color:#f5f5f5;color:var(--ag-foreground-color,#f5f5f5)}.ag-theme-balham-dark .ag-status-bar-center{text-align:center}.ag-theme-balham-dark .ag-status-name-value{margin-left:4px;margin-right:4px;padding-top:8px;padding-bottom:8px}.ag-theme-balham-dark .ag-column-drop-cell{background:#353535;background:var(--ag-chip-background-color,#353535);border-radius:16px;height:16px;padding:0 2px}.ag-theme-balham-dark .ag-column-drop-cell-text{margin:0 4px}.ag-theme-balham-dark .ag-column-drop-cell-button{min-width:16px;margin:0 2px;color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-column-drop-cell-drag-handle{margin-left:8px}.ag-theme-balham-dark .ag-column-drop-cell-ghost{opacity:.5}.ag-theme-balham-dark .ag-column-drop-horizontal{background-color:#202020;background-color:var(--ag-control-panel-background-color,#202020);color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5));height:28px;border-bottom:1px solid;border-bottom-color:#424242;border-bottom-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-ltr .ag-column-drop-horizontal{padding-left:12px}.ag-theme-balham-dark .ag-rtl .ag-column-drop-horizontal{padding-right:12px}.ag-theme-balham-dark .ag-ltr .ag-column-drop-horizontal-half-width:not(:last-child){border-right:1px solid;border-right-color:#424242;border-right-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-rtl .ag-column-drop-horizontal-half-width:not(:last-child){border-left:1px solid;border-left-color:#424242;border-left-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-column-drop-horizontal-cell-separator{margin:0 4px;color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-column-drop-horizontal-empty-message{color:hsla(0,0%,96%,.38);color:var(--ag-disabled-foreground-color,hsla(0,0%,96%,.38))}.ag-theme-balham-dark .ag-ltr .ag-column-drop-horizontal-icon{margin-right:12px}.ag-theme-balham-dark .ag-rtl .ag-column-drop-horizontal-icon{margin-left:12px}.ag-theme-balham-dark .ag-column-drop-vertical-list{padding-bottom:4px;padding-right:4px;padding-left:4px}.ag-theme-balham-dark .ag-column-drop-vertical-cell{margin-top:4px}.ag-theme-balham-dark .ag-column-drop-vertical{min-height:50px;max-height:150px;border-bottom:1px solid;border-bottom-color:#424242;border-bottom-color:var(--ag-secondary-border-color,var(--ag-border-color,#424242))}.ag-theme-balham-dark .ag-column-drop-vertical.ag-last-column-drop{border-bottom:none}.ag-theme-balham-dark .ag-column-drop-vertical-icon{margin-left:4px;margin-right:4px}.ag-theme-balham-dark .ag-column-drop-vertical-empty-message{position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden;color:hsla(0,0%,96%,.38);color:var(--ag-disabled-foreground-color,hsla(0,0%,96%,.38));margin-top:4px}.ag-theme-balham-dark .ag-select-agg-func-popup{border:1px solid;border-color:#424242;border-color:var(--ag-border-color,#424242);border-radius:2px;box-shadow:none;padding:4px;background:#2d3436;background:var(--ag-background-color,#2d3436);height:70px;padding:0}.ag-theme-balham-dark .ag-select-agg-func-virtual-list-item{cursor:default;line-height:20px;padding-left:8px}.ag-theme-balham-dark .ag-select-agg-func-virtual-list-item:hover{background-color:#005880;background-color:var(--ag-selected-row-background-color,#005880)}.ag-theme-balham-dark .ag-chart-menu{border-radius:2px;background:#2d3436;background:var(--ag-background-color,#2d3436)}.ag-theme-balham-dark .ag-chart-menu-icon{opacity:.5;line-height:24px;font-size:24px;width:24px;height:24px;margin:2px 0;cursor:pointer;border-radius:2px;color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-chart-menu-icon:hover{opacity:1}.ag-theme-balham-dark .ag-chart-mini-thumbnail{border:1px solid;border-color:#424242;border-color:var(--ag-secondary-border-color,var(--ag-border-color,#424242));border-radius:5px;margin:5px}.ag-theme-balham-dark .ag-chart-mini-thumbnail:nth-last-child(3),.ag-theme-balham-dark .ag-chart-mini-thumbnail:nth-last-child(3)~.ag-chart-mini-thumbnail{margin-left:auto;margin-right:auto}.ag-theme-balham-dark .ag-ltr .ag-chart-mini-thumbnail:first-child{margin-left:0}.ag-theme-balham-dark .ag-ltr .ag-chart-mini-thumbnail:last-child,.ag-theme-balham-dark .ag-rtl .ag-chart-mini-thumbnail:first-child{margin-right:0}.ag-theme-balham-dark .ag-rtl .ag-chart-mini-thumbnail:last-child{margin-left:0}.ag-theme-balham-dark .ag-chart-mini-thumbnail.ag-selected{border-color:#00b0ff;border-color:var(--ag-minichart-selected-chart-color,var(--ag-checkbox-checked-color,var(--ag-balham-active-color,#00b0ff)))}.ag-theme-balham-dark .ag-chart-settings-card-item{background:#f5f5f5;background:var(--ag-foreground-color,#f5f5f5);width:8px;height:8px;border-radius:4px}.ag-theme-balham-dark .ag-chart-settings-card-item.ag-selected{background-color:#00b0ff;background-color:var(--ag-minichart-selected-page-color,var(--ag-checkbox-checked-color,var(--ag-balham-active-color,#00b0ff)))}.ag-theme-balham-dark .ag-chart-data-column-drag-handle{margin-left:4px}.ag-theme-balham-dark .ag-charts-data-group-title-bar,.ag-theme-balham-dark .ag-charts-format-top-level-group-title-bar,.ag-theme-balham-dark .ag-charts-settings-group-title-bar{border-top:1px solid;border-top-color:#424242;border-top-color:var(--ag-secondary-border-color,var(--ag-border-color,#424242))}.ag-theme-balham-dark .ag-charts-settings-group-container{padding:4px}.ag-theme-balham-dark .ag-charts-data-group-container{padding:6px;padding-bottom:2px}.ag-theme-balham-dark .ag-charts-data-group-container>*{margin-bottom:4px}.ag-theme-balham-dark .ag-charts-format-top-level-group-container{margin-left:8px;padding:4px}.ag-theme-balham-dark .ag-charts-format-top-level-group-item{margin:4px 0}.ag-theme-balham-dark .ag-charts-format-sub-level-group-container{padding:6px;padding-bottom:2px}.ag-theme-balham-dark .ag-charts-format-sub-level-group-container>*{margin-bottom:4px}.ag-theme-balham-dark .ag-charts-group-container.ag-group-container-horizontal{padding:4px}.ag-theme-balham-dark .ag-chart-data-section,.ag-theme-balham-dark .ag-chart-format-section{display:flex;margin:0}.ag-theme-balham-dark .ag-chart-menu-panel{background-color:#202020;background-color:var(--ag-control-panel-background-color,#202020)}.ag-theme-balham-dark .ag-ltr .ag-chart-menu-panel{border-left:1px solid;border-left-color:#424242;border-left-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-rtl .ag-chart-menu-panel{border-right:1px solid;border-right-color:#424242;border-right-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-date-time-list-page-title{flex-grow:1;text-align:center}.ag-theme-balham-dark .ag-date-time-list-page-column-label,.ag-theme-balham-dark .ag-date-time-list-page-entry{text-align:center}.ag-theme-balham-dark .ag-checkbox-input-wrapper{font-family:agGridBalham;font-size:16px;line-height:16px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:16px;height:16px;background-color:#2d3436;background-color:var(--ag-checkbox-background-color,var(--ag-background-color,#2d3436));border-radius:3px;display:inline-block;vertical-align:middle;flex:none}.ag-theme-balham-dark .ag-checkbox-input-wrapper input{-webkit-appearance:none;opacity:0;width:100%;height:100%}.ag-theme-balham-dark .ag-checkbox-input-wrapper:active,.ag-theme-balham-dark .ag-checkbox-input-wrapper:focus-within{outline:none;box-shadow:0 0 4px 1.5px #719ece}.ag-theme-balham-dark .ag-checkbox-input-wrapper.ag-disabled{opacity:.5}.ag-theme-balham-dark .ag-checkbox-input-wrapper:after{content:"\f108";color:#ecf0f1;color:var(--ag-checkbox-unchecked-color,#ecf0f1);position:absolute;top:0;left:0;pointer-events:none}.ag-theme-balham-dark .ag-checkbox-input-wrapper.ag-checked:after{content:"\f106";color:#00b0ff;color:var(--ag-checkbox-checked-color,var(--ag-balham-active-color,#00b0ff));position:absolute;top:0;left:0;pointer-events:none}.ag-theme-balham-dark .ag-checkbox-input-wrapper.ag-indeterminate:after{content:"\f107";color:#ecf0f1;color:var(--ag-checkbox-indeterminate-color,var(--ag-checkbox-unchecked-color,#ecf0f1));position:absolute;top:0;left:0;pointer-events:none}.ag-theme-balham-dark .ag-toggle-button-input-wrapper{box-sizing:border-box;width:32px;height:16px;background-color:transparent;background-color:var(--ag-toggle-button-off-background-color,transparent);border-radius:8px;position:relative;flex:none;border:1px solid;border-color:#f5f5f5;border-color:var(--ag-toggle-button-off-border-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-toggle-button-input-wrapper input{opacity:0;height:100%;width:100%}.ag-theme-balham-dark .ag-toggle-button-input-wrapper:focus-within{outline:none;box-shadow:0 0 4px 1.5px #719ece}.ag-theme-balham-dark .ag-toggle-button-input-wrapper.ag-disabled{opacity:.5}.ag-theme-balham-dark .ag-toggle-button-input-wrapper.ag-checked{background-color:#00b0ff;background-color:var(--ag-toggle-button-on-background-color,var(--ag-checkbox-checked-color,var(--ag-balham-active-color,#00b0ff)));border-color:#00b0ff;border-color:var(--ag-toggle-button-on-border-color,var(--ag-checkbox-checked-color,var(--ag-balham-active-color,#00b0ff)))}.ag-theme-balham-dark .ag-toggle-button-input-wrapper:before{content:" ";position:absolute;top:-1px;left:-1px;display:block;box-sizing:border-box;height:16px;width:16px;background-color:#2d3436;background-color:var(--ag-toggle-button-switch-background-color,var(--ag-background-color,#2d3436));border-radius:8px;transition:left .1s;border:1px solid;border-color:#f5f5f5;border-color:var(--ag-toggle-button-switch-border-color,var(--ag-toggle-button-off-border-color,var(--ag-foreground-color,#f5f5f5)))}.ag-theme-balham-dark .ag-toggle-button-input-wrapper.ag-checked:before{left:calc(100% - 16px);border-color:#00b0ff;border-color:var(--ag-toggle-button-on-border-color,var(--ag-checkbox-checked-color,var(--ag-balham-active-color,#00b0ff)))}.ag-theme-balham-dark .ag-radio-button-input-wrapper{font-family:agGridBalham;font-size:16px;line-height:16px;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:16px;height:16px;background-color:#2d3436;background-color:var(--ag-checkbox-background-color,var(--ag-background-color,#2d3436));border-radius:3px;display:inline-block;vertical-align:middle;flex:none;border-radius:16px}.ag-theme-balham-dark .ag-radio-button-input-wrapper input{-webkit-appearance:none;opacity:0;width:100%;height:100%}.ag-theme-balham-dark .ag-radio-button-input-wrapper:active,.ag-theme-balham-dark .ag-radio-button-input-wrapper:focus-within{outline:none;box-shadow:0 0 4px 1.5px #719ece}.ag-theme-balham-dark .ag-radio-button-input-wrapper.ag-disabled{opacity:.5}.ag-theme-balham-dark .ag-radio-button-input-wrapper:after{content:"\f124";color:#ecf0f1;color:var(--ag-checkbox-unchecked-color,#ecf0f1);position:absolute;top:0;left:0;pointer-events:none}.ag-theme-balham-dark .ag-radio-button-input-wrapper.ag-checked:after{content:"\f125";color:#00b0ff;color:var(--ag-checkbox-checked-color,var(--ag-balham-active-color,#00b0ff));position:absolute;top:0;left:0;pointer-events:none}.ag-theme-balham-dark input[class^=ag-][type=range]{-webkit-appearance:none;width:100%;height:100%;background:none;overflow:visible}.ag-theme-balham-dark input[class^=ag-][type=range]::-webkit-slider-runnable-track{margin:0;padding:0;width:100%;height:3px;background-color:#424242;background-color:var(--ag-border-color,#424242);border-radius:2px;border-radius:3px}.ag-theme-balham-dark input[class^=ag-][type=range]::-moz-range-track{margin:0;padding:0;width:100%;height:3px;background-color:#424242;background-color:var(--ag-border-color,#424242);border-radius:2px;border-radius:3px}.ag-theme-balham-dark input[class^=ag-][type=range]::-ms-track{margin:0;padding:0;width:100%;height:3px;background-color:#424242;background-color:var(--ag-border-color,#424242);border-radius:2px;border-radius:3px;color:transparent;width:calc(100% - 2px)}.ag-theme-balham-dark input[class^=ag-][type=range]::-webkit-slider-thumb{margin:0;padding:0;-webkit-appearance:none;width:16px;height:16px;background-color:#2d3436;background-color:var(--ag-background-color,#2d3436);border:1px solid;border-color:#ecf0f1;border-color:var(--ag-checkbox-unchecked-color,#ecf0f1);border-radius:16px;transform:translateY(-6.5px)}.ag-theme-balham-dark input[class^=ag-][type=range]::-ms-thumb{margin:0;padding:0;-webkit-appearance:none;width:16px;height:16px;background-color:#2d3436;background-color:var(--ag-background-color,#2d3436);border:1px solid;border-color:#ecf0f1;border-color:var(--ag-checkbox-unchecked-color,#ecf0f1);border-radius:16px}.ag-theme-balham-dark input[class^=ag-][type=range]::-moz-ag-range-thumb{margin:0;padding:0;-webkit-appearance:none;width:16px;height:16px;background-color:#2d3436;background-color:var(--ag-background-color,#2d3436);border:1px solid;border-color:#ecf0f1;border-color:var(--ag-checkbox-unchecked-color,#ecf0f1);border-radius:16px}.ag-theme-balham-dark input[class^=ag-][type=range]:focus{outline:none}.ag-theme-balham-dark input[class^=ag-][type=range]:focus::-webkit-slider-thumb{box-shadow:0 0 4px 1.5px #719ece;border-color:#00b0ff;border-color:var(--ag-checkbox-checked-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark input[class^=ag-][type=range]:focus::-ms-thumb{box-shadow:0 0 4px 1.5px #719ece;border-color:#00b0ff;border-color:var(--ag-checkbox-checked-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark input[class^=ag-][type=range]:focus::-moz-ag-range-thumb{box-shadow:0 0 4px 1.5px #719ece;border-color:#00b0ff;border-color:var(--ag-checkbox-checked-color,var(--ag-balham-active-color,#00b0ff))}.ag-theme-balham-dark input[class^=ag-][type=range]:active::-webkit-slider-runnable-track{background-color:#719ece;background-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark input[class^=ag-][type=range]:active::-moz-ag-range-track{background-color:#719ece;background-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark input[class^=ag-][type=range]:active::-ms-track{background-color:#719ece;background-color:var(--ag-input-focus-border-color,#719ece)}.ag-theme-balham-dark input[class^=ag-][type=range]:disabled{opacity:.5}.ag-theme-balham-dark .ag-filter-toolpanel-header,.ag-theme-balham-dark .ag-filter-toolpanel-search,.ag-theme-balham-dark .ag-header-row,.ag-theme-balham-dark .ag-multi-filter-group-title-bar,.ag-theme-balham-dark .ag-status-bar{font-weight:600;color:hsla(0,0%,96%,.64);color:var(--ag-header-foreground-color,hsla(0,0%,96%,.64))}.ag-theme-balham-dark .ag-ltr input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=date],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=number],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-ltr input[class^=ag-][type=text],.ag-theme-balham-dark .ag-ltr textarea[class^=ag-]{padding-left:4px}.ag-theme-balham-dark .ag-rtl input[class^=ag-]:not([type]),.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=date],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=datetime-local],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=number],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=tel],.ag-theme-balham-dark .ag-rtl input[class^=ag-][type=text],.ag-theme-balham-dark .ag-rtl textarea[class^=ag-]{padding-right:4px}.ag-theme-balham-dark .ag-column-drop-vertical-empty-message,.ag-theme-balham-dark .ag-status-bar{font-weight:600;color:hsla(0,0%,96%,.38);color:var(--ag-disabled-foreground-color,hsla(0,0%,96%,.38))}.ag-theme-balham-dark .ag-dnd-ghost{font-weight:600}.ag-theme-balham-dark .ag-tab{border:1px solid transparent;padding:4px 8px;margin:4px;margin-bottom:-1px}.ag-theme-balham-dark .ag-tab-selected{background-color:#2d3436;background-color:var(--ag-background-color,#2d3436);border-color:#424242;border-color:var(--ag-border-color,#424242);border-bottom-color:transparent}.ag-theme-balham-dark .ag-tabs-header{border-bottom:1px solid;border-bottom-color:#424242;border-bottom-color:var(--ag-border-color,#424242)}.ag-theme-balham-dark .ag-column-drop-cell{height:24px}.ag-theme-balham-dark .ag-column-drop-vertical-title{color:#f5f5f5;color:var(--ag-foreground-color,#f5f5f5)}.ag-theme-balham-dark .ag-column-drop-vertical-cell{margin-left:8px;margin-right:8px}.ag-theme-balham-dark .ag-column-drop-vertical-cell-text{margin-left:8px}.ag-theme-balham-dark .ag-column-drop-vertical-icon{color:#f5f5f5;color:var(--ag-secondary-foreground-color,var(--ag-foreground-color,#f5f5f5))}.ag-theme-balham-dark .ag-ltr .ag-column-drop-vertical-empty-message{padding-left:24px;padding-right:4px}.ag-theme-balham-dark .ag-rtl .ag-column-drop-vertical-empty-message{padding-right:24px;padding-left:4px}.ag-theme-balham-dark .ag-column-drop-horizontal{height:32px}.ag-theme-balham-dark .ag-column-drop-empty{color:hsla(0,0%,96%,.38);color:var(--ag-disabled-foreground-color,hsla(0,0%,96%,.38))}.ag-theme-balham-dark .ag-column-drop-horizontal-cell-text{margin-left:8px}.ag-theme-balham-dark .ag-column-drop-vertical{padding-top:8px}.ag-theme-balham-dark .ag-menu-header{background-color:#1c1c1c;background-color:var(--ag-header-background-color,#1c1c1c)}.ag-theme-balham-dark .ag-overlay-loading-center{background-color:#2d3436;background-color:var(--ag-background-color,#2d3436);border:1px solid;border-color:#424242;border-color:var(--ag-border-color,#424242);color:#f5f5f5;color:var(--ag-foreground-color,#f5f5f5);padding:16px}.ag-theme-balham-dark .ag-tooltip{border:none;background-color:#cbd0d3}.ag-theme-balham-dark .ag-panel-title-bar-button-icon{font-size:20px}.ag-theme-balham-dark .ag-chart-data-section,.ag-theme-balham-dark .ag-chart-format-section{padding-bottom:2px}.ag-theme-balham-dark .ag-group-toolbar{background-color:hsla(0,0%,7%,.5);background-color:var(--ag-subheader-toolbar-background-color,hsla(0,0%,7%,.5))}.ag-theme-balham-dark .ag-chart-tab{padding-top:2px}.ag-theme-balham-dark .ag-charts-format-sub-level-group-item{margin-bottom:6px}.ag-theme-balham-dark .ag-tooltip{background-color:#1c1f20}
cdnjs/cdnjs
ajax/libs/ag-grid/25.0.0/styles/ag-theme-balham-dark.min.css
CSS
mit
90,463
import numpy from chainer import distributions from chainer import testing from chainer import utils @testing.parameterize(*testing.product({ 'shape': [(2, 3), ()], 'is_variable': [True, False], 'sample_shape': [(3, 2), ()], 'log_scale_option': [True, False], })) @testing.fix_random() @testing.with_requires('scipy') class TestNormal(testing.distribution_unittest): scipy_onebyone = True def setUp_configure(self): from scipy import stats self.dist = distributions.Normal self.scipy_dist = stats.norm self.test_targets = set([ 'batch_shape', 'cdf', 'entropy', 'event_shape', 'icdf', 'log_cdf', 'log_prob', 'log_survival', 'mean', 'prob', 'sample', 'stddev', 'support', 'survival', 'variance']) loc = utils.force_array( numpy.random.uniform(-1, 1, self.shape).astype(numpy.float32)) if self.log_scale_option: log_scale = utils.force_array( numpy.random.uniform(-1, 1, self.shape).astype(numpy.float32)) scale = numpy.exp(log_scale) self.params = {'loc': loc, 'log_scale': log_scale} self.scipy_params = {'loc': loc, 'scale': scale} else: scale = utils.force_array(numpy.exp( numpy.random.uniform(-1, 1, self.shape)).astype(numpy.float32)) self.params = {'loc': loc, 'scale': scale} self.scipy_params = {'loc': loc, 'scale': scale} def sample_for_test(self): smp = numpy.random.normal( size=self.sample_shape + self.shape).astype(numpy.float32) return smp testing.run_module(__name__, __file__)
chainer/chainer
tests/chainer_tests/distributions_tests/test_normal.py
Python
mit
1,680
<?php namespace MageTest\Task; use Mage\Task\Factory; use PHPUnit_Framework_TestCase; /** * @group MageTest_Task_Factory * @group MageTest_Task * @group issue-176 * * @uses Mage\Task\AbstractTask * @coversDefaultClass Mage\Task\Factory */ class FactoryTest extends PHPUnit_Framework_TestCase { private $config; protected function setUp() { $this->config = $this->getMock('Mage\\Config'); } /** * @covers Mage\Task\Factory::get */ public function testGet() { $task = Factory::get('composer/install', $this->config); $this->assertInstanceOf('\\Mage\\Task\\BuiltIn\\Composer\\InstallTask', $task); } /** * @covers Mage\Task\Factory::get */ public function testGetTaskDataIsArray() { $taskData = array( 'name' => 'composer/install', 'parameters' => array(), ); $task = Factory::get($taskData, $this->config); $this->assertInstanceOf('\\Mage\\Task\\BuiltIn\\Composer\\InstallTask', $task); } /** * @covers Mage\Task\Factory::get */ public function testGetCustomTask() { $this->getMockBuilder('Mage\\Task\\AbstractTask') ->setConstructorArgs(array($this->config)) ->setMockClassName('MyTask') ->getMock(); /* * current workaround * @link https://github.com/sebastianbergmann/phpunit-mock-objects/issues/134 */ class_alias('MyTask', 'Task\\MyTask'); $task = Factory::get('my-task', $this->config); $this->assertInstanceOf('Task\\MyTask', $task); } /** * @covers Mage\Task\Factory::get */ public function testGetWithOptionalParams() { $task = Factory::get('composer/install', $this->config, true, 'production'); $this->assertInstanceOf('\\Mage\\Task\\BuiltIn\\Composer\\InstallTask', $task); } /** * @expectedException \Exception * @expectedExceptionMessage The Task MyInconsistentTask must be an instance of Mage\Task\AbstractTask. * @covers Mage\Task\Factory::get */ public function testGetInconsistentException() { $this->getMock('Task\\MyInconsistentTask'); Factory::get('my-inconsistent-task', $this->config); } /** * @expectedException \Exception * @expectedExceptionMessage Task "Unknowntask" not found. * @covers Mage\Task\Factory::get */ public function testGetClassDoesNotExist() { Factory::get('unknowntask', $this->config); } }
magephp/magallanes
tests/MageTest/Task/FactoryTest.php
PHP
mit
2,567
/** * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ // THIS CODE IS GENERATED - DO NOT MODIFY // See angular/tools/gulp-tasks/cldr/extract.js (function(global) { global.ng = global.ng || {}; global.ng.common = global.ng.common || {}; global.ng.common.locales = global.ng.common.locales || {}; const u = undefined; function plural(n) { let i = Math.floor(Math.abs(n)), v = n.toString().replace(/^[^.]*\.?/, '').length; if (i === 1 && v === 0) return 1; return 5; } global.ng.common.locales['en-fi'] = [ 'en-FI', [['a', 'p'], ['am', 'pm'], u], [['am', 'pm'], u, u], [ ['S', 'M', 'T', 'W', 'T', 'F', 'S'], ['Sun', 'Mon', 'Tue', 'Wed', 'Thu', 'Fri', 'Sat'], ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'], ['Su', 'Mo', 'Tu', 'We', 'Th', 'Fr', 'Sa'] ], u, [ ['J', 'F', 'M', 'A', 'M', 'J', 'J', 'A', 'S', 'O', 'N', 'D'], ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], [ 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December' ] ], u, [['B', 'A'], ['BC', 'AD'], ['Before Christ', 'Anno Domini']], 1, [6, 0], ['dd/MM/y', 'd MMM y', 'd MMMM y', 'EEEE, d MMMM y'], ['H.mm', 'H.mm.ss', 'H.mm.ss z', 'H.mm.ss zzzz'], ['{1}, {0}', u, '{1} \'at\' {0}', u], [',', ' ', ';', '%', '+', '-', 'E', '×', '‰', '∞', 'NaN', '.'], ['#,##0.###', '#,##0 %', '#,##0.00 ¤', '#E0'], 'EUR', '€', 'Euro', {'JPY': ['JP¥', '¥'], 'USD': ['US$', '$']}, 'ltr', plural, [ [ ['mi', 'n', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], ['midnight', 'noon', 'in the morning', 'in the afternoon', 'in the evening', 'at night'], u ], [['midnight', 'noon', 'morning', 'afternoon', 'evening', 'night'], u, u], [ '00:00', '12:00', ['06:00', '12:00'], ['12:00', '18:00'], ['18:00', '21:00'], ['21:00', '06:00'] ] ] ]; })(typeof globalThis !== 'undefined' && globalThis || typeof global !== 'undefined' && global || typeof window !== 'undefined' && window);
IdeaBlade/angular
packages/common/locales/global/en-FI.js
JavaScript
mit
2,276
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!--NewPage--> <HTML> <HEAD> <!-- Generated by javadoc (build 1.6.0_22) on Mon Jan 03 13:11:21 GMT 2011 --> <TITLE> M-Index </TITLE> <META NAME="date" CONTENT="2011-01-03"> <LINK REL ="stylesheet" TYPE="text/css" HREF="../stylesheet.css" TITLE="Style"> <SCRIPT type="text/javascript"> function windowTitle() { if (location.href.indexOf('is-external=true') == -1) { parent.document.title="M-Index"; } } </SCRIPT> <NOSCRIPT> </NOSCRIPT> </HEAD> <BODY BGCOLOR="white" onload="windowTitle();"> <HR> <!-- ========= START OF TOP NAVBAR ======= --> <A NAME="navbar_top"><!-- --></A> <A HREF="#skip-navbar_top" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_top_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="index-8.html"><B>PREV LETTER</B></A>&nbsp; &nbsp;<A HREF="index-10.html"><B>NEXT LETTER</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?index-filesindex-9.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="index-9.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_top"></A> <!-- ========= END OF TOP NAVBAR ========= --> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">O</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">R</A> <A HREF="index-13.html">S</A> <A HREF="index-14.html">T</A> <A HREF="index-15.html">U</A> <A HREF="index-16.html">V</A> <HR> <A NAME="_M_"><!-- --></A><H2> <B>M</B></H2> <DL> <DT><A HREF="../toxi/sim/automata/MatrixEvolver.html" title="interface in toxi.sim.automata"><B>MatrixEvolver</B></A> - Interface in <A HREF="../toxi/sim/automata/package-summary.html">toxi.sim.automata</A><DD>&nbsp;</DL> <HR> <!-- ======= START OF BOTTOM NAVBAR ====== --> <A NAME="navbar_bottom"><!-- --></A> <A HREF="#skip-navbar_bottom" title="Skip navigation links"></A> <TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""> <TR> <TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A NAME="navbar_bottom_firstrow"><!-- --></A> <TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Package</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Class</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <FONT CLASS="NavBarFont1">Use</FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../overview-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Index</B></FONT>&nbsp;</TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD> </TR> </TABLE> </TD> <TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM> </EM> </TD> </TR> <TR> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> &nbsp;<A HREF="index-8.html"><B>PREV LETTER</B></A>&nbsp; &nbsp;<A HREF="index-10.html"><B>NEXT LETTER</B></A></FONT></TD> <TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../index.html?index-filesindex-9.html" target="_top"><B>FRAMES</B></A> &nbsp; &nbsp;<A HREF="index-9.html" target="_top"><B>NO FRAMES</B></A> &nbsp; &nbsp;<SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../allclasses-noframe.html"><B>All Classes</B></A>'); } //--> </SCRIPT> <NOSCRIPT> <A HREF="../allclasses-noframe.html"><B>All Classes</B></A> </NOSCRIPT> </FONT></TD> </TR> </TABLE> <A NAME="skip-navbar_bottom"></A> <!-- ======== END OF BOTTOM NAVBAR ======= --> <A HREF="index-1.html">A</A> <A HREF="index-2.html">B</A> <A HREF="index-3.html">C</A> <A HREF="index-4.html">D</A> <A HREF="index-5.html">E</A> <A HREF="index-6.html">F</A> <A HREF="index-7.html">G</A> <A HREF="index-8.html">I</A> <A HREF="index-9.html">M</A> <A HREF="index-10.html">O</A> <A HREF="index-11.html">P</A> <A HREF="index-12.html">R</A> <A HREF="index-13.html">S</A> <A HREF="index-14.html">T</A> <A HREF="index-15.html">U</A> <A HREF="index-16.html">V</A> <HR> </BODY> </HTML>
dearmash/Processing
libraries/simutils/docs/index-files/index-9.html
HTML
mit
6,385
'use strict'; var addToUnscopables = require('./_add-to-unscopables') , step = require('./_iter-step') , Iterators = require('./_iterators') , toIObject = require('./_to-iobject'); // 22.1.3.4 Array.prototype.entries() // 22.1.3.13 Array.prototype.keys() // 22.1.3.29 Array.prototype.values() // 22.1.3.30 Array.prototype[@@iterator]() module.exports = require('./_iter-define')(Array, 'Array', function(iterated, kind){ this._t = toIObject(iterated); // target this._i = 0; // next index this._k = kind; // kind // 22.1.5.2.1 %ArrayIteratorPrototype%.next() }, function(){ var O = this._t , kind = this._k , index = this._i++; if(!O || index >= O.length){ this._t = undefined; return step(1); } if(kind == 'keys' )return step(0, index); if(kind == 'values')return step(0, O[index]); return step(0, [index, O[index]]); }, 'values'); // argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7) Iterators.Arguments = Iterators.Array; addToUnscopables('keys'); addToUnscopables('values'); addToUnscopables('entries');
Moccine/global-service-plus.com
web/libariries/bootstrap/node_modules/core-js/library/modules/es6.array.iterator.js
JavaScript
mit
1,166
<?php $lang['upload_userfile_not_set'] = '无法在post中找到名为userfile的变量.'; $lang['upload_file_exceeds_limit'] = '上传文件超出PHP配置文件中允许的最大长度.'; $lang['upload_file_exceeds_form_limit'] = '上传文件超出表单允许的最大长度.'; $lang['upload_file_partial'] = '此文件仅有一部分被上传了.'; $lang['upload_no_temp_directory'] = '找不到临时目录.'; $lang['upload_unable_to_write_file'] = '文件无法写入磁盘.'; $lang['upload_stopped_by_extension'] = '此文件的扩展名在禁止上传之列.'; $lang['upload_no_file_selected'] = '您没有选择要上传的文件.'; $lang['upload_invalid_filetype'] = '此文件的类型在禁止上传之列.'; $lang['upload_invalid_filesize'] = '此文件超出允许上传的最大长度.'; $lang['upload_invalid_dimensions'] = '您要上传的图片高度或宽度超出了限制.'; $lang['upload_destination_error'] = '在移动上传文件到目标位置时发生了错误.'; $lang['upload_no_filepath'] = '上传路径无效.'; $lang['upload_no_file_types'] = '您还没有指定允许的文件类型.'; $lang['upload_bad_filename'] = '服务器上已存在与您上传的文件同名的文件.'; $lang['upload_not_writable'] = '上传目录不可写入.'; ?>
chguoxi/ionize
system/language/cn/upload_lang.php
PHP
mit
1,277
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("vue")):"function"==typeof define&&define.amd?define("ELEMENT",["vue"],t):"object"==typeof exports?exports.ELEMENT=t(require("vue")):e.ELEMENT=t(e.Vue)}(this,function(e){return function(e){function t(n){if(i[n])return i[n].exports;var s=i[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,t),s.l=!0,s.exports}var i={};return t.m=e,t.c=i,t.d=function(e,i,n){t.o(e,i)||Object.defineProperty(e,i,{configurable:!1,enumerable:!0,get:n})},t.n=function(e){var i=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(i,"a",i),i},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="/dist/",t(t.s=94)}([function(e,t){e.exports=function(e,t,i,n,s,r){var a,o=e=e||{},l=typeof e.default;"object"!==l&&"function"!==l||(a=e,o=e.default);var u="function"==typeof o?o.options:o;t&&(u.render=t.render,u.staticRenderFns=t.staticRenderFns,u._compiled=!0),i&&(u.functional=!0),s&&(u._scopeId=s);var c;if(r?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(r)},u._ssrRegister=c):n&&(c=n),c){var d=u.functional,h=d?u.render:u.beforeCreate;d?(u._injectStyles=c,u.render=function(e,t){return c.call(t),h(e,t)}):u.beforeCreate=h?[].concat(h,c):[c]}return{esModule:a,exports:o,options:u}}},function(e,t,i){"use strict";function n(e,t,i){this.$children.forEach(function(s){s.$options.componentName===e?s.$emit.apply(s,[t].concat(i)):n.apply(s,[e,t].concat([i]))})}t.__esModule=!0,t.default={methods:{dispatch:function(e,t,i){for(var n=this.$parent||this.$root,s=n.$options.componentName;n&&(!s||s!==e);)(n=n.$parent)&&(s=n.$options.componentName);n&&n.$emit.apply(n,[t].concat(i))},broadcast:function(e,t,i){n.call(this,e,t,i)}}}},function(t,i){t.exports=e},function(e,t,i){"use strict";function n(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}function s(e,t){if(e){for(var i=e.className,s=(t||"").split(" "),r=0,a=s.length;r<a;r++){var o=s[r];o&&(e.classList?e.classList.add(o):n(e,o)||(i+=" "+o))}e.classList||(e.className=i)}}function r(e,t){if(e&&t){for(var i=t.split(" "),s=" "+e.className+" ",r=0,a=i.length;r<a;r++){var o=i[r];o&&(e.classList?e.classList.remove(o):n(e,o)&&(s=s.replace(" "+o+" "," ")))}e.classList||(e.className=p(s))}}function a(e,t,i){if(e&&t)if("object"===(void 0===t?"undefined":o(t)))for(var n in t)t.hasOwnProperty(n)&&a(e,n,t[n]);else t=m(t),"opacity"===t&&f<9?e.style.filter=isNaN(i)?"":"alpha(opacity="+100*i+")":e.style[t]=i}t.__esModule=!0,t.getStyle=t.once=t.off=t.on=void 0;var o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.hasClass=n,t.addClass=s,t.removeClass=r,t.setStyle=a;var l=i(2),u=function(e){return e&&e.__esModule?e:{default:e}}(l),c=u.default.prototype.$isServer,d=/([\:\-\_]+(.))/g,h=/^moz([A-Z])/,f=c?0:Number(document.documentMode),p=function(e){return(e||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,"")},m=function(e){return e.replace(d,function(e,t,i,n){return n?i.toUpperCase():i}).replace(h,"Moz$1")},v=t.on=function(){return!c&&document.addEventListener?function(e,t,i){e&&t&&i&&e.addEventListener(t,i,!1)}:function(e,t,i){e&&t&&i&&e.attachEvent("on"+t,i)}}(),g=t.off=function(){return!c&&document.removeEventListener?function(e,t,i){e&&t&&e.removeEventListener(t,i,!1)}:function(e,t,i){e&&t&&e.detachEvent("on"+t,i)}}();t.once=function(e,t,i){v(e,t,function n(){i&&i.apply(this,arguments),g(e,t,n)})},t.getStyle=f<9?function(e,t){if(!c){if(!e||!t)return null;t=m(t),"float"===t&&(t="styleFloat");try{switch(t){case"opacity":try{return e.filters.item("alpha").opacity/100}catch(e){return 1}default:return e.style[t]||e.currentStyle?e.currentStyle[t]:null}}catch(i){return e.style[t]}}}:function(e,t){if(!c){if(!e||!t)return null;t=m(t),"float"===t&&(t="cssFloat");try{var i=document.defaultView.getComputedStyle(e,"");return e.style[t]||i?i[t]:null}catch(i){return e.style[t]}}}},function(e,t,i){"use strict";function n(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];var n=1,s=t[0],r=t.length;if("function"==typeof s)return s.apply(null,t.slice(1));if("string"==typeof s){for(var a=String(s).replace(v,function(e){if("%%"===e)return"%";if(n>=r)return e;switch(e){case"%s":return String(t[n++]);case"%d":return Number(t[n++]);case"%j":try{return JSON.stringify(t[n++])}catch(e){return"[Circular]"}break;default:return e}}),o=t[n];n<r;o=t[++n])a+=" "+o;return a}return s}function s(e){return"string"===e||"url"===e||"hex"===e||"email"===e||"pattern"===e}function r(e,t){return void 0===e||null===e||(!("array"!==t||!Array.isArray(e)||e.length)||!(!s(t)||"string"!=typeof e||e))}function a(e,t,i){function n(e){s.push.apply(s,e),++r===a&&i(s)}var s=[],r=0,a=e.length;e.forEach(function(e){t(e,n)})}function o(e,t,i){function n(a){if(a&&a.length)return void i(a);var o=s;s+=1,o<r?t(e[o],n):i([])}var s=0,r=e.length;n([])}function l(e){var t=[];return Object.keys(e).forEach(function(i){t.push.apply(t,e[i])}),t}function u(e,t,i,n){if(t.first){return o(l(e),i,n)}var s=t.firstFields||[];!0===s&&(s=Object.keys(e));var r=Object.keys(e),u=r.length,c=0,d=[],h=function(e){d.push.apply(d,e),++c===u&&n(d)};r.forEach(function(t){var n=e[t];-1!==s.indexOf(t)?o(n,i,h):a(n,i,h)})}function c(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:t,field:t.field||e.fullField}}}function d(e,t){if(t)for(var i in t)if(t.hasOwnProperty(i)){var n=t[i];"object"===(void 0===n?"undefined":m()(n))&&"object"===m()(e[i])?e[i]=f()({},e[i],n):e[i]=n}return e}i.d(t,"f",function(){return g}),t.d=n,t.e=r,t.a=u,t.b=c,t.c=d;var h=i(77),f=i.n(h),p=i(41),m=i.n(p),v=/%[sdj%]/g,g=function(){}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(17);t.default={methods:{t:function(){for(var e=arguments.length,t=Array(e),i=0;i<e;i++)t[i]=arguments[i];return n.t.apply(this,t)}}}},function(e,t,i){"use strict";function n(){}function s(e,t){return l.call(e,t)}function r(e,t){for(var i in t)e[i]=t[i];return e}function a(e){for(var t={},i=0;i<e.length;i++)e[i]&&r(t,e[i]);return t}function o(e,t,i){var n=e;t=t.replace(/\[(\w+)\]/g,".$1"),t=t.replace(/^\./,"");for(var s=t.split("."),r=0,a=s.length;r<a-1&&(n||i);++r){var o=s[r];if(!(o in n)){if(i)throw new Error("please transfer a valid prop path to form item!");break}n=n[o]}return{o:n,k:s[r],v:n?n[s[r]]:null}}t.__esModule=!0,t.noop=n,t.hasOwn=s,t.toObject=a,t.getPropByPath=o;var l=Object.prototype.hasOwnProperty;t.getValueByPath=function(e,t){t=t||"";for(var i=t.split("."),n=e,s=null,r=0,a=i.length;r<a;r++){var o=i[r];if(!n)break;if(r===a-1){s=n[o];break}n=n[o]}return s},t.generateId=function(){return Math.floor(1e4*Math.random())},t.valueEquals=function(e,t){if(e===t)return!0;if(!(e instanceof Array))return!1;if(!(t instanceof Array))return!1;if(e.length!==t.length)return!1;for(var i=0;i!==e.length;++i)if(e[i]!==t[i])return!1;return!0}},function(e,t,i){"use strict";var n=i(88),s=i(322),r=i(323),a=i(324),o=i(325),l=i(326);t.a={required:n.a,whitespace:s.a,type:r.a,range:a.a,enum:o.a,pattern:l.a}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(106),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";t.__esModule=!0,t.default={mounted:function(){return},methods:{getMigratingConfig:function(){return{props:{},events:{}}}}}},function(e,t,i){"use strict";t.__esModule=!0,t.default=function(e){for(var t=1,i=arguments.length;t<i;t++){var n=arguments[t]||{};for(var s in n)if(n.hasOwnProperty(s)){var r=n[s];void 0!==r&&(e[s]=r)}}return e}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(2),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=i(14),a=s.default.prototype.$isServer?function(){}:i(113),o=function(e){return e.stopPropagation()};t.default={props:{transformOrigin:{type:[Boolean,String],default:!0},placement:{type:String,default:"bottom"},boundariesPadding:{type:Number,default:5},reference:{},popper:{},offset:{default:0},value:Boolean,visibleArrow:Boolean,arrowOffset:{type:Number,default:35},appendToBody:{type:Boolean,default:!0},popperOptions:{type:Object,default:function(){return{gpuAcceleration:!1}}}},data:function(){return{showPopper:!1,currentPlacement:""}},watch:{value:{immediate:!0,handler:function(e){this.showPopper=e,this.$emit("input",e)}},showPopper:function(e){e?this.updatePopper():this.destroyPopper(),this.$emit("input",e)}},methods:{createPopper:function(){var e=this;if(!this.$isServer&&(this.currentPlacement=this.currentPlacement||this.placement,/^(top|bottom|left|right)(-start|-end)?$/g.test(this.currentPlacement))){var t=this.popperOptions,i=this.popperElm=this.popperElm||this.popper||this.$refs.popper,n=this.referenceElm=this.referenceElm||this.reference||this.$refs.reference;!n&&this.$slots.reference&&this.$slots.reference[0]&&(n=this.referenceElm=this.$slots.reference[0].elm),i&&n&&(this.visibleArrow&&this.appendArrow(i),this.appendToBody&&document.body.appendChild(this.popperElm),this.popperJS&&this.popperJS.destroy&&this.popperJS.destroy(),t.placement=this.currentPlacement,t.offset=this.offset,t.arrowOffset=this.arrowOffset,this.popperJS=new a(n,i,t),this.popperJS.onCreate(function(t){e.$emit("created",e),e.resetTransformOrigin(),e.$nextTick(e.updatePopper)}),"function"==typeof t.onUpdate&&this.popperJS.onUpdate(t.onUpdate),this.popperJS._popper.style.zIndex=r.PopupManager.nextZIndex(),this.popperElm.addEventListener("click",o))}},updatePopper:function(){var e=this.popperJS;e?(e.update(),e._popper&&(e._popper.style.zIndex=r.PopupManager.nextZIndex())):this.createPopper()},doDestroy:function(e){!this.popperJS||this.showPopper&&!e||(this.popperJS.destroy(),this.popperJS=null)},destroyPopper:function(){this.popperJS&&this.resetTransformOrigin()},resetTransformOrigin:function(){if(this.transformOrigin){var e={top:"bottom",bottom:"top",left:"right",right:"left"},t=this.popperJS._popper.getAttribute("x-placement").split("-")[0],i=e[t];this.popperJS._popper.style.transformOrigin="string"==typeof this.transformOrigin?this.transformOrigin:["top","bottom"].indexOf(t)>-1?"center "+i:i+" center"}},appendArrow:function(e){var t=void 0;if(!this.appended){this.appended=!0;for(var i in e.attributes)if(/^_v-/.test(e.attributes[i].name)){t=e.attributes[i].name;break}var n=document.createElement("div");t&&n.setAttribute(t,""),n.setAttribute("x-arrow",""),n.className="popper__arrow",e.appendChild(n)}}},beforeDestroy:function(){this.doDestroy(!0),this.popperElm&&this.popperElm.parentNode===document.body&&(this.popperElm.removeEventListener("click",o),document.body.removeChild(this.popperElm))},deactivated:function(){this.$options.beforeDestroy[0].call(this)}}},function(e,t,i){"use strict";function n(e,t,i){return function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(i&&i.context&&n.target&&s.target)||e.contains(n.target)||e.contains(s.target)||e===n.target||i.context.popperElm&&(i.context.popperElm.contains(n.target)||i.context.popperElm.contains(s.target))||(t.expression&&e[l].methodName&&i.context[e[l].methodName]?i.context[e[l].methodName]():e[l].bindingFn&&e[l].bindingFn())}}t.__esModule=!0;var s=i(2),r=function(e){return e&&e.__esModule?e:{default:e}}(s),a=i(3),o=[],l="@@clickoutsideContext",u=void 0,c=0;!r.default.prototype.$isServer&&(0,a.on)(document,"mousedown",function(e){return u=e}),!r.default.prototype.$isServer&&(0,a.on)(document,"mouseup",function(e){o.forEach(function(t){return t[l].documentHandler(e,u)})}),t.default={bind:function(e,t,i){o.push(e);var s=c++;e[l]={id:s,documentHandler:n(e,t,i),methodName:t.expression,bindingFn:t.value}},update:function(e,t,i){e[l].documentHandler=n(e,t,i),e[l].methodName=t.expression,e[l].bindingFn=t.value},unbind:function(e){for(var t=o.length,i=0;i<t;i++)if(o[i][l].id===e[l].id){o.splice(i,1);break}delete e[l]}}},function(e,t,i){"use strict";t.__esModule=!0,t.extractTimeFormat=t.extractDateFormat=t.nextYear=t.prevYear=t.nextMonth=t.prevMonth=t.changeYearMonthAndClampDate=t.timeWithinRange=t.limitTimeRange=t.clearMilliseconds=t.clearTime=t.modifyWithDefaultTime=t.modifyTime=t.modifyDate=t.range=t.getRangeHours=t.getWeekNumber=t.getStartDateOfMonth=t.nextDate=t.prevDate=t.getFirstDayOfMonth=t.getDayCountOfYear=t.getDayCountOfMonth=t.parseDate=t.formatDate=t.isDateObject=t.isDate=t.toDate=void 0;var n=i(230),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=i(17),a=["sun","mon","tue","wed","thu","fri","sat"],o=["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"],l=function(){return{dayNamesShort:a.map(function(e){return(0,r.t)("el.datepicker.weeks."+e)}),dayNames:a.map(function(e){return(0,r.t)("el.datepicker.weeks."+e)}),monthNamesShort:o.map(function(e){return(0,r.t)("el.datepicker.months."+e)}),monthNames:o.map(function(e,t){return(0,r.t)("el.datepicker.month"+(t+1))}),amPm:["am","pm"]}},u=function(e,t){for(var i=[],n=e;n<=t;n++)i.push(n);return i},c=t.toDate=function(e){return d(e)?new Date(e):null},d=t.isDate=function(e){return null!==e&&void 0!==e&&(!isNaN(new Date(e).getTime())&&!Array.isArray(e))},h=(t.isDateObject=function(e){return e instanceof Date},t.formatDate=function(e,t){return e=c(e),e?s.default.format(e,t||"yyyy-MM-dd",l()):""},t.parseDate=function(e,t){return s.default.parse(e,t||"yyyy-MM-dd",l())}),f=t.getDayCountOfMonth=function(e,t){return 3===t||5===t||8===t||10===t?30:1===t?e%4==0&&e%100!=0||e%400==0?29:28:31},p=(t.getDayCountOfYear=function(e){return e%400==0||e%100!=0&&e%4==0?366:365},t.getFirstDayOfMonth=function(e){var t=new Date(e.getTime());return t.setDate(1),t.getDay()},t.prevDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()-t)}),m=(t.nextDate=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return new Date(e.getFullYear(),e.getMonth(),e.getDate()+t)},t.getStartDateOfMonth=function(e,t){var i=new Date(e,t,1),n=i.getDay();return 0===n?p(i,7):p(i,n)},t.getWeekNumber=function(e){if(!d(e))return null;var t=new Date(e.getTime());t.setHours(0,0,0,0),t.setDate(t.getDate()+3-(t.getDay()+6)%7);var i=new Date(t.getFullYear(),0,4);return 1+Math.round(((t.getTime()-i.getTime())/864e5-3+(i.getDay()+6)%7)/7)},t.getRangeHours=function(e){var t=[],i=[];if((e||[]).forEach(function(e){var t=e.map(function(e){return e.getHours()});i=i.concat(u(t[0],t[1]))}),i.length)for(var n=0;n<24;n++)t[n]=-1===i.indexOf(n);else for(var s=0;s<24;s++)t[s]=!1;return t},t.range=function(e){return Array.apply(null,{length:e}).map(function(e,t){return t})},t.modifyDate=function(e,t,i,n){return new Date(t,i,n,e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds())}),v=t.modifyTime=function(e,t,i,n){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),t,i,n,e.getMilliseconds())},g=(t.modifyWithDefaultTime=function(e,t){return null!=e&&t?(t=h(t,"HH:mm:ss"),v(e,t.getHours(),t.getMinutes(),t.getSeconds())):e},t.clearTime=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate())},t.clearMilliseconds=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),0)},t.limitTimeRange=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"HH:mm:ss";if(0===t.length)return e;var n=function(e){return s.default.parse(s.default.format(e,i),i)},r=n(e),a=t.map(function(e){return e.map(n)});if(a.some(function(e){return r>=e[0]&&r<=e[1]}))return e;var o=a[0][0],l=a[0][0];return a.forEach(function(e){o=new Date(Math.min(e[0],o)),l=new Date(Math.max(e[1],o))}),m(r<o?o:l,e.getFullYear(),e.getMonth(),e.getDate())}),b=(t.timeWithinRange=function(e,t,i){return g(e,t,i).getTime()===e.getTime()},t.changeYearMonthAndClampDate=function(e,t,i){var n=Math.min(e.getDate(),f(t,i));return m(e,t,i,n)});t.prevMonth=function(e){var t=e.getFullYear(),i=e.getMonth();return 0===i?b(e,t-1,11):b(e,t,i-1)},t.nextMonth=function(e){var t=e.getFullYear(),i=e.getMonth();return 11===i?b(e,t+1,0):b(e,t,i+1)},t.prevYear=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=e.getFullYear(),n=e.getMonth();return b(e,i-t,n)},t.nextYear=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=e.getFullYear(),n=e.getMonth();return b(e,i+t,n)},t.extractDateFormat=function(e){return e.replace(/\W?m{1,2}|\W?ZZ/g,"").replace(/\W?h{1,2}|\W?s{1,3}|\W?a/gi,"").trim()},t.extractTimeFormat=function(e){return e.replace(/\W?D{1,2}|\W?Do|\W?d{1,4}|\W?M{1,4}|\W?y{2,4}/g,"").trim()}},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.PopupManager=void 0;var s=i(2),r=n(s),a=i(10),o=n(a),l=i(112),u=n(l),c=i(44),d=n(c),h=i(3),f=1,p=void 0,m=function e(t){return 3===t.nodeType&&(t=t.nextElementSibling||t.nextSibling,e(t)),t};t.default={props:{visible:{type:Boolean,default:!1},openDelay:{},closeDelay:{},zIndex:{},modal:{type:Boolean,default:!1},modalFade:{type:Boolean,default:!0},modalClass:{},modalAppendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!1},closeOnClickModal:{type:Boolean,default:!1}},beforeMount:function(){this._popupId="popup-"+f++,u.default.register(this._popupId,this)},beforeDestroy:function(){u.default.deregister(this._popupId),u.default.closeModal(this._popupId),this.restoreBodyStyle()},data:function(){return{opened:!1,bodyPaddingRight:null,computedBodyPaddingRight:0,withoutHiddenClass:!1,rendered:!1}},watch:{visible:function(e){var t=this;if(e){if(this._opening)return;this.rendered?this.open():(this.rendered=!0,r.default.nextTick(function(){t.open()}))}else this.close()}},methods:{open:function(e){var t=this;this.rendered||(this.rendered=!0);var i=(0,o.default)({},this.$props||this,e);this._closeTimer&&(clearTimeout(this._closeTimer),this._closeTimer=null),clearTimeout(this._openTimer);var n=Number(i.openDelay);n>0?this._openTimer=setTimeout(function(){t._openTimer=null,t.doOpen(i)},n):this.doOpen(i)},doOpen:function(e){if(!this.$isServer&&(!this.willOpen||this.willOpen())&&!this.opened){this._opening=!0;var t=m(this.$el),i=e.modal,n=e.zIndex;if(n&&(u.default.zIndex=n),i&&(this._closing&&(u.default.closeModal(this._popupId),this._closing=!1),u.default.openModal(this._popupId,u.default.nextZIndex(),this.modalAppendToBody?void 0:t,e.modalClass,e.modalFade),e.lockScroll)){this.withoutHiddenClass=!(0,h.hasClass)(document.body,"el-popup-parent--hidden"),this.withoutHiddenClass&&(this.bodyPaddingRight=document.body.style.paddingRight,this.computedBodyPaddingRight=parseInt((0,h.getStyle)(document.body,"paddingRight"),10)),p=(0,d.default)();var s=document.documentElement.clientHeight<document.body.scrollHeight,r=(0,h.getStyle)(document.body,"overflowY");p>0&&(s||"scroll"===r)&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.computedBodyPaddingRight+p+"px"),(0,h.addClass)(document.body,"el-popup-parent--hidden")}"static"===getComputedStyle(t).position&&(t.style.position="absolute"),t.style.zIndex=u.default.nextZIndex(),this.opened=!0,this.onOpen&&this.onOpen(),this.doAfterOpen()}},doAfterOpen:function(){this._opening=!1},close:function(){var e=this;if(!this.willClose||this.willClose()){null!==this._openTimer&&(clearTimeout(this._openTimer),this._openTimer=null),clearTimeout(this._closeTimer);var t=Number(this.closeDelay);t>0?this._closeTimer=setTimeout(function(){e._closeTimer=null,e.doClose()},t):this.doClose()}},doClose:function(){this._closing=!0,this.onClose&&this.onClose(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose()},doAfterClose:function(){u.default.closeModal(this._popupId),this._closing=!1},restoreBodyStyle:function(){this.modal&&this.withoutHiddenClass&&(document.body.style.paddingRight=this.bodyPaddingRight,(0,h.removeClass)(document.body,"el-popup-parent--hidden"))}}},t.PopupManager=u.default},function(e,t,i){"use strict";t.__esModule=!0;var n=i(188),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t){var i=e.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=i)},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.i18n=t.use=t.t=void 0;var s=i(103),r=n(s),a=i(2),o=n(a),l=i(104),u=n(l),c=i(105),d=n(c),h=(0,d.default)(o.default),f=r.default,p=!1,m=function(){var e=Object.getPrototypeOf(this||o.default).$t;if("function"==typeof e&&o.default.locale)return p||(p=!0,o.default.locale(o.default.config.lang,(0,u.default)(f,o.default.locale(o.default.config.lang)||{},{clone:!0}))),e.apply(this,arguments)},v=t.t=function(e,t){var i=m.apply(this,arguments);if(null!==i&&void 0!==i)return i;for(var n=e.split("."),s=f,r=0,a=n.length;r<a;r++){if(i=s[n[r]],r===a-1)return h(i,t);if(!i)return"";s=i}return""},g=t.use=function(e){f=e||f},b=t.i18n=function(e){m=e||m};t.default={use:g,t:v,i18n:b}},function(e,t,i){var n=i(68);e.exports=function(e,t,i){return void 0===i?n(e,t,!1):n(e,i,!1!==t)}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(141),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t){var i={}.hasOwnProperty;e.exports=function(e,t){return i.call(e,t)}},function(e,t,i){var n=i(81),s=i(53);e.exports=function(e){return n(s(e))}},function(e,t,i){var n=i(23),s=i(38);e.exports=i(24)?function(e,t,i){return n.f(e,t,s(1,i))}:function(e,t,i){return e[t]=i,e}},function(e,t,i){var n=i(36),s=i(78),r=i(52),a=Object.defineProperty;t.f=i(24)?Object.defineProperty:function(e,t,i){if(n(e),t=r(t,!0),n(i),s)try{return a(e,t,i)}catch(e){}if("get"in i||"set"in i)throw TypeError("Accessors not supported!");return"value"in i&&(e[t]=i.value),e}},function(e,t,i){e.exports=!i(28)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(e,t,i){var n=i(56)("wks"),s=i(39),r=i(16).Symbol,a="function"==typeof r;(e.exports=function(e){return n[e]||(n[e]=a&&r[e]||(a?r:s)("Symbol."+e))}).store=n},function(e,t,i){"use strict";t.__esModule=!0;var n=i(120),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var n=i(121),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r="undefined"==typeof window,a=function(e){for(var t=e,i=Array.isArray(t),n=0,t=i?t:t[Symbol.iterator]();;){var s;if(i){if(n>=t.length)break;s=t[n++]}else{if(n=t.next(),n.done)break;s=n.value}var r=s,a=r.target.__resizeListeners__||[];a.length&&a.forEach(function(e){e()})}};t.addResizeListener=function(e,t){r||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new s.default(a),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,i){var n=i(80),s=i(57);e.exports=Object.keys||function(e){return n(e,s)}},function(e,t,i){"use strict";t.__esModule=!0,t.default=function(e){return{methods:{focus:function(){this.$refs[e].focus()}}}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(117),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var s=i(3),r=function(){function e(){n(this,e)}return e.prototype.beforeEnter=function(e){(0,s.addClass)(e,"collapse-transition"),e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.style.height="0",e.style.paddingTop=0,e.style.paddingBottom=0},e.prototype.enter=function(e){e.dataset.oldOverflow=e.style.overflow,0!==e.scrollHeight?(e.style.height=e.scrollHeight+"px",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom):(e.style.height="",e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom),e.style.overflow="hidden"},e.prototype.afterEnter=function(e){(0,s.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow},e.prototype.beforeLeave=function(e){e.dataset||(e.dataset={}),e.dataset.oldPaddingTop=e.style.paddingTop,e.dataset.oldPaddingBottom=e.style.paddingBottom,e.dataset.oldOverflow=e.style.overflow,e.style.height=e.scrollHeight+"px",e.style.overflow="hidden"},e.prototype.leave=function(e){0!==e.scrollHeight&&((0,s.addClass)(e,"collapse-transition"),e.style.height=0,e.style.paddingTop=0,e.style.paddingBottom=0)},e.prototype.afterLeave=function(e){(0,s.removeClass)(e,"collapse-transition"),e.style.height="",e.style.overflow=e.dataset.oldOverflow,e.style.paddingTop=e.dataset.oldPaddingTop,e.style.paddingBottom=e.dataset.oldPaddingBottom},e}();t.default={name:"ElCollapseTransition",functional:!0,render:function(e,t){var i=t.children;return e("transition",{on:new r},i)}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(167),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";function n(e){return null!==e&&"object"===(void 0===e?"undefined":r(e))&&(0,a.hasOwn)(e,"componentOptions")}function s(e){return e&&e.filter(function(e){return e&&e.tag})[0]}t.__esModule=!0;var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isVNode=n,t.getFirstComponentChild=s;var a=i(6)},function(e,t){var i=e.exports={version:"2.4.0"};"number"==typeof __e&&(__e=i)},function(e,t,i){var n=i(37);e.exports=function(e){if(!n(e))throw TypeError(e+" is not an object!");return e}},function(e,t){e.exports=function(e){return"object"==typeof e?null!==e:"function"==typeof e}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t){var i=0,n=Math.random();e.exports=function(e){return"Symbol(".concat(void 0===e?"":e,")_",(++i+n).toString(36))}},function(e,t){t.f={}.propertyIsEnumerable},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(296),r=n(s),a=i(308),o=n(a),l="function"==typeof o.default&&"symbol"==typeof r.default?function(e){return typeof e}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":typeof e};t.default="function"==typeof o.default&&"symbol"===l(r.default)?function(e){return void 0===e?"undefined":l(e)}:function(e){return e&&"function"==typeof o.default&&e.constructor===o.default&&e!==o.default.prototype?"symbol":void 0===e?"undefined":l(e)}},function(e,t,i){"use strict";t.__esModule=!0;var n=t.NODE_KEY="$treeNodeId";t.markNodeData=function(e,t){t[n]||Object.defineProperty(t,n,{value:e.id,enumerable:!1,configurable:!1,writable:!1})},t.getNodeKey=function(e,t){return e?t[e]:t[n]},t.findNearestComponent=function(e,t){for(var i=e;i&&"BODY"!==i.tagName;){if(i.__vue__&&i.__vue__.$options.name===t)return i.__vue__;i=i.parentNode}return null}},function(e,t,i){"use strict";function n(e){return void 0!==e&&null!==e}function s(e){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e)}t.__esModule=!0,t.isDef=n,t.isKorean=s},function(e,t,i){"use strict";t.__esModule=!0,t.default=function(){if(s.default.prototype.$isServer)return 0;if(void 0!==r)return r;var e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);var t=e.offsetWidth;e.style.overflow="scroll";var i=document.createElement("div");i.style.width="100%",e.appendChild(i);var n=i.offsetWidth;return e.parentNode.removeChild(e),r=t-n};var n=i(2),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=void 0},function(e,t,i){"use strict";function n(e,t){if(!r.default.prototype.$isServer){if(!t)return void(e.scrollTop=0);for(var i=[],n=t.offsetParent;n&&e!==n&&e.contains(n);)i.push(n),n=n.offsetParent;var s=t.offsetTop+i.reduce(function(e,t){return e+t.offsetTop},0),a=s+t.offsetHeight,o=e.scrollTop,l=o+e.clientHeight;s<o?e.scrollTop=s:a>l&&(e.scrollTop=a-e.clientHeight)}}t.__esModule=!0,t.default=n;var s=i(2),r=function(e){return e&&e.__esModule?e:{default:e}}(s)},function(e,t,i){"use strict";t.__esModule=!0;var n=n||{};n.Utils=n.Utils||{},n.Utils.focusFirstDescendant=function(e){for(var t=0;t<e.childNodes.length;t++){var i=e.childNodes[t];if(n.Utils.attemptFocus(i)||n.Utils.focusFirstDescendant(i))return!0}return!1},n.Utils.focusLastDescendant=function(e){for(var t=e.childNodes.length-1;t>=0;t--){var i=e.childNodes[t];if(n.Utils.attemptFocus(i)||n.Utils.focusLastDescendant(i))return!0}return!1},n.Utils.attemptFocus=function(e){if(!n.Utils.isFocusable(e))return!1;n.Utils.IgnoreUtilFocusChanges=!0;try{e.focus()}catch(e){}return n.Utils.IgnoreUtilFocusChanges=!1,document.activeElement===e},n.Utils.isFocusable=function(e){if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return"hidden"!==e.type&&"file"!==e.type;case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},n.Utils.triggerEvent=function(e,t){var i=void 0;i=/^mouse|click/.test(t)?"MouseEvents":/^key/.test(t)?"KeyboardEvent":"HTMLEvents";for(var n=document.createEvent(i),s=arguments.length,r=Array(s>2?s-2:0),a=2;a<s;a++)r[a-2]=arguments[a];return n.initEvent.apply(n,[t].concat(r)),e.dispatchEvent?e.dispatchEvent(n):e.fireEvent("on"+t,n),e},n.Utils.keys={tab:9,enter:13,space:32,left:37,up:38,right:39,down:40},t.default=n.Utils},function(e,t,i){"use strict";t.__esModule=!0;var n=i(195),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";t.__esModule=!0,t.default={created:function(){this.tableLayout.addObserver(this)},destroyed:function(){this.tableLayout.removeObserver(this)},computed:{tableLayout:function(){var e=this.layout;if(!e&&this.table&&(e=this.table.layout),!e)throw new Error("Can not find table layout.");return e}},mounted:function(){this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout)},updated:function(){this.__updated__||(this.onColumnsChange(this.tableLayout),this.onScrollableChange(this.tableLayout),this.__updated__=!0)},methods:{onColumnsChange:function(){var e=this.$el.querySelectorAll("colgroup > col");if(e.length){var t=this.tableLayout.getFlattenColumns(),i={};t.forEach(function(e){i[e.id]=e});for(var n=0,s=e.length;n<s;n++){var r=e[n],a=r.getAttribute("name"),o=i[a];o&&r.setAttribute("width",o.realWidth||o.width)}}},onScrollableChange:function(e){for(var t=this.$el.querySelectorAll("colgroup > col[name=gutter]"),i=0,n=t.length;i<n;i++){t[i].setAttribute("width",e.scrollY?e.gutterWidth:"0")}for(var s=this.$el.querySelectorAll("th.gutter"),r=0,a=s.length;r<a;r++){var o=s[r];o.style.width=e.scrollY?e.gutterWidth+"px":"0",o.style.display=e.scrollY?"":"none"}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(229),s=i.n(n),r=i(231),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(234),s=i.n(n),r=i(237),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){var n=i(16),s=i(35),r=i(290),a=i(22),o=function(e,t,i){var l,u,c,d=e&o.F,h=e&o.G,f=e&o.S,p=e&o.P,m=e&o.B,v=e&o.W,g=h?s:s[t]||(s[t]={}),b=g.prototype,y=h?n:f?n[t]:(n[t]||{}).prototype;h&&(i=t);for(l in i)(u=!d&&y&&void 0!==y[l])&&l in g||(c=u?y[l]:i[l],g[l]=h&&"function"!=typeof y[l]?i[l]:m&&u?r(c,n):v&&y[l]==c?function(e){var t=function(t,i,n){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,i)}return new e(t,i,n)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):p&&"function"==typeof c?r(Function.call,c):c,p&&((g.virtual||(g.virtual={}))[l]=c,e&o.R&&b&&!b[l]&&a(b,l,c)))};o.F=1,o.G=2,o.S=4,o.P=8,o.B=16,o.W=32,o.U=64,o.R=128,e.exports=o},function(e,t,i){var n=i(37);e.exports=function(e,t){if(!n(e))return e;var i,s;if(t&&"function"==typeof(i=e.toString)&&!n(s=i.call(e)))return s;if("function"==typeof(i=e.valueOf)&&!n(s=i.call(e)))return s;if(!t&&"function"==typeof(i=e.toString)&&!n(s=i.call(e)))return s;throw TypeError("Can't convert object to primitive value")}},function(e,t){e.exports=function(e){if(void 0==e)throw TypeError("Can't call method on "+e);return e}},function(e,t){var i=Math.ceil,n=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?n:i)(e)}},function(e,t,i){var n=i(56)("keys"),s=i(39);e.exports=function(e){return n[e]||(n[e]=s(e))}},function(e,t,i){var n=i(16),s=n["__core-js_shared__"]||(n["__core-js_shared__"]={});e.exports=function(e){return s[e]||(s[e]={})}},function(e,t){e.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(e,t){t.f=Object.getOwnPropertySymbols},function(e,t){e.exports=!0},function(e,t){e.exports={}},function(e,t,i){var n=i(23).f,s=i(20),r=i(25)("toStringTag");e.exports=function(e,t,i){e&&!s(e=i?e:e.prototype,r)&&n(e,r,{configurable:!0,value:t})}},function(e,t,i){t.f=i(25)},function(e,t,i){var n=i(16),s=i(35),r=i(59),a=i(62),o=i(23).f;e.exports=function(e){var t=s.Symbol||(s.Symbol=r?{}:n.Symbol||{});"_"==e.charAt(0)||e in t||o(t,e,{value:a.f(e)})}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(397),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";t.__esModule=!0,t.default=function(e,t){if(!s.default.prototype.$isServer){var i=function(e){t.drag&&t.drag(e)},n=function e(n){document.removeEventListener("mousemove",i),document.removeEventListener("mouseup",e),document.onselectstart=null,document.ondragstart=null,r=!1,t.end&&t.end(n)};e.addEventListener("mousedown",function(e){r||(document.onselectstart=function(){return!1},document.ondragstart=function(){return!1},document.addEventListener("mousemove",i),document.addEventListener("mouseup",n),r=!0,t.start&&t.start(e))})}};var n=i(2),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=!1},function(e,t,i){"use strict";t.__esModule=!0;var n=i(101),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(115),s=i.n(n),r=i(116),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t){e.exports=function(e,t,i,n){function s(){function s(){a=Number(new Date),i.apply(l,c)}function o(){r=void 0}var l=this,u=Number(new Date)-a,c=arguments;n&&!r&&s(),r&&clearTimeout(r),void 0===n&&u>e?s():!0!==t&&(r=setTimeout(n?o:s,void 0===n?e-u:e))}var r,a=0;return"boolean"!=typeof t&&(n=i,i=t,t=void 0),s}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(67),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";t.__esModule=!0;var n=i(144),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";t.__esModule=!0,t.default={inject:["rootMenu"],computed:{indexPath:function(){for(var e=[this.index],t=this.$parent;"ElMenu"!==t.$options.componentName;)t.index&&e.unshift(t.index),t=t.$parent;return e},parentMenu:function(){for(var e=this.$parent;e&&-1===["ElMenu","ElSubmenu"].indexOf(e.$options.componentName);)e=e.$parent;return e},paddingStyle:function(){if("vertical"!==this.rootMenu.mode)return{};var e=20,t=this.$parent;if(this.rootMenu.collapse)e=20;else for(;t&&"ElMenu"!==t.$options.componentName;)"ElSubmenu"===t.$options.componentName&&(e+=20),t=t.$parent;return{paddingLeft:e+"px"}}}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(173),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";t.__esModule=!0;var n=i(3);t.default={bind:function(e,t,i){var s=null,r=void 0,a=function(){return i.context[t.expression].apply()},o=function(){new Date-r<100&&a(),clearInterval(s),s=null};(0,n.on)(e,"mousedown",function(e){0===e.button&&(r=new Date,(0,n.once)(document,"mouseup",o),clearInterval(s),s=setInterval(a,100))})}}},function(e,t,i){"use strict";t.__esModule=!0,t.getRowIdentity=t.getColumnByCell=t.getColumnById=t.orderBy=t.getCell=void 0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=i(6),r=(t.getCell=function(e){for(var t=e.target;t&&"HTML"!==t.tagName.toUpperCase();){if("TD"===t.tagName.toUpperCase())return t;t=t.parentNode}return null},function(e){return null!==e&&"object"===(void 0===e?"undefined":n(e))}),a=(t.orderBy=function(e,t,i,n,a){if(!t&&!n&&(!a||Array.isArray(a)&&!a.length))return e;i="string"==typeof i?"descending"===i?-1:1:i&&i<0?-1:1;var o=n?null:function(i,n){return a?(Array.isArray(a)||(a=[a]),a.map(function(t){return"string"==typeof t?(0,s.getValueByPath)(i,t):t(i,n,e)})):("$key"!==t&&r(i)&&"$value"in i&&(i=i.$value),[r(i)?(0,s.getValueByPath)(i,t):i])},l=function(e,t){if(n)return n(e.value,t.value);for(var i=0,s=e.key.length;i<s;i++){if(e.key[i]<t.key[i])return-1;if(e.key[i]>t.key[i])return 1}return 0};return e.map(function(e,t){return{value:e,index:t,key:o?o(e,t):null}}).sort(function(e,t){var n=l(e,t);return n||(n=e.index-t.index),n*i}).map(function(e){return e.value})},t.getColumnById=function(e,t){var i=null;return e.columns.forEach(function(e){e.id===t&&(i=e)}),i});t.getColumnByCell=function(e,t){var i=(t.className||"").match(/el-table_[^\s]+/gm);return i?a(e,i[0]):null},t.getRowIdentity=function(e,t){if(!e)throw new Error("row is required when get row identity");if("string"==typeof t){if(t.indexOf(".")<0)return e[t];for(var i=t.split("."),n=e,s=0;s<i.length;s++)n=n[i[s]];return n}if("function"==typeof t)return t.call(null,e)}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(235),s=i.n(n),r=i(236),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(244),s=i.n(n),r=i(245),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(287),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=s.default||function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)Object.prototype.hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e}},function(e,t,i){e.exports=!i(24)&&!i(28)(function(){return 7!=Object.defineProperty(i(79)("div"),"a",{get:function(){return 7}}).a})},function(e,t,i){var n=i(37),s=i(16).document,r=n(s)&&n(s.createElement);e.exports=function(e){return r?s.createElement(e):{}}},function(e,t,i){var n=i(20),s=i(21),r=i(293)(!1),a=i(55)("IE_PROTO");e.exports=function(e,t){var i,o=s(e),l=0,u=[];for(i in o)i!=a&&n(o,i)&&u.push(i);for(;t.length>l;)n(o,i=t[l++])&&(~r(u,i)||u.push(i));return u}},function(e,t,i){var n=i(82);e.exports=Object("z").propertyIsEnumerable(0)?Object:function(e){return"String"==n(e)?e.split(""):Object(e)}},function(e,t){var i={}.toString;e.exports=function(e){return i.call(e).slice(8,-1)}},function(e,t,i){var n=i(53);e.exports=function(e){return Object(n(e))}},function(e,t,i){"use strict";var n=i(59),s=i(51),r=i(85),a=i(22),o=i(20),l=i(60),u=i(300),c=i(61),d=i(303),h=i(25)("iterator"),f=!([].keys&&"next"in[].keys()),p=function(){return this};e.exports=function(e,t,i,m,v,g,b){u(i,t,m);var y,_,C,x=function(e){if(!f&&e in M)return M[e];switch(e){case"keys":case"values":return function(){return new i(this,e)}}return function(){return new i(this,e)}},w=t+" Iterator",k="values"==v,S=!1,M=e.prototype,$=M[h]||M["@@iterator"]||v&&M[v],D=$||x(v),E=v?k?x("entries"):D:void 0,T="Array"==t?M.entries||$:$;if(T&&(C=d(T.call(new e)))!==Object.prototype&&(c(C,w,!0),n||o(C,h)||a(C,h,p)),k&&$&&"values"!==$.name&&(S=!0,D=function(){return $.call(this)}),n&&!b||!f&&!S&&M[h]||a(M,h,D),l[t]=D,l[w]=p,v)if(y={values:k?D:x("values"),keys:g?D:x("keys"),entries:E},b)for(_ in y)_ in M||r(M,_,y[_]);else s(s.P+s.F*(f||S),t,y);return y}},function(e,t,i){e.exports=i(22)},function(e,t,i){var n=i(36),s=i(301),r=i(57),a=i(55)("IE_PROTO"),o=function(){},l=function(){var e,t=i(79)("iframe"),n=r.length;for(t.style.display="none",i(302).appendChild(t),t.src="javascript:",e=t.contentWindow.document,e.open(),e.write("<script>document.F=Object<\/script>"),e.close(),l=e.F;n--;)delete l.prototype[r[n]];return l()};e.exports=Object.create||function(e,t){var i;return null!==e?(o.prototype=n(e),i=new o,o.prototype=null,i[a]=e):i=l(),void 0===t?i:s(i,t)}},function(e,t,i){var n=i(80),s=i(57).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return n(e,s)}},function(e,t,i){"use strict";function n(e,t,i,n,r,a){!e.required||i.hasOwnProperty(e.field)&&!s.e(t,a||e.type)||n.push(s.d(r.messages.required,e.fullField))}var s=i(4);t.a=n},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(381),s=i.n(n),r=i(382),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default=function(e,t){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:300,n=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!e||!t)throw new Error("instance & callback is required");var s=!1,r=function(){s||(s=!0,t&&t.apply(null,arguments))};n?e.$once("after-leave",r):e.$on("after-leave",r),setTimeout(function(){r()},i+100)}},function(e,t){function i(e,t){return function(){e.apply(this,arguments),t.apply(this,arguments)}}var n=/^(attrs|props|on|nativeOn|class|style|hook)$/;e.exports=function(e){return e.reduce(function(e,t){var s,r,a,o,l;for(a in t)if(s=e[a],r=t[a],s&&n.test(a))if("class"===a&&("string"==typeof s&&(l=s,e[a]=s={},s[l]=!0),"string"==typeof r&&(l=r,t[a]=r={},r[l]=!0)),"on"===a||"nativeOn"===a||"hook"===a)for(o in r)s[o]=i(s[o],r[o]);else if(Array.isArray(s))e[a]=s.concat(r);else if(Array.isArray(r))e[a]=[s].concat(r);else for(o in r)s[o]=r[o];else e[a]=t[a];return e},{})}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(404),s=i.n(n),r=i(405),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(e,t,i){return[e,t*i/((e=(2-t)*i)<1?e:2-e)||0,e/2]},a=function(e){return"string"==typeof e&&-1!==e.indexOf(".")&&1===parseFloat(e)},o=function(e){return"string"==typeof e&&-1!==e.indexOf("%")},l=function(e,t){a(e)&&(e="100%");var i=o(e);return e=Math.min(t,Math.max(0,parseFloat(e))),i&&(e=parseInt(e*t,10)/100),Math.abs(e-t)<1e-6?1:e%t/parseFloat(t)},u={10:"A",11:"B",12:"C",13:"D",14:"E",15:"F"},c=function(e){var t=e.r,i=e.g,n=e.b,s=function(e){e=Math.min(Math.round(e),255);var t=Math.floor(e/16),i=e%16;return""+(u[t]||t)+(u[i]||i)};return isNaN(t)||isNaN(i)||isNaN(n)?"":"#"+s(t)+s(i)+s(n)},d={A:10,B:11,C:12,D:13,E:14,F:15},h=function(e){return 2===e.length?16*(d[e[0].toUpperCase()]||+e[0])+(d[e[1].toUpperCase()]||+e[1]):d[e[1].toUpperCase()]||+e[1]},f=function(e,t,i){t/=100,i/=100;var n=t,s=Math.max(i,.01),r=void 0,a=void 0;return i*=2,t*=i<=1?i:2-i,n*=s<=1?s:2-s,a=(i+t)/2,r=0===i?2*n/(s+n):2*t/(i+t),{h:e,s:100*r,v:100*a}},p=function(e,t,i){e=l(e,255),t=l(t,255),i=l(i,255);var n=Math.max(e,t,i),s=Math.min(e,t,i),r=void 0,a=void 0,o=n,u=n-s;if(a=0===n?0:u/n,n===s)r=0;else{switch(n){case e:r=(t-i)/u+(t<i?6:0);break;case t:r=(i-e)/u+2;break;case i:r=(e-t)/u+4}r/=6}return{h:360*r,s:100*a,v:100*o}},m=function(e,t,i){e=6*l(e,360),t=l(t,100),i=l(i,100);var n=Math.floor(e),s=e-n,r=i*(1-t),a=i*(1-s*t),o=i*(1-(1-s)*t),u=n%6,c=[i,a,r,r,o,i][u],d=[o,i,i,a,r,r][u],h=[r,r,o,i,i,a][u];return{r:Math.round(255*c),g:Math.round(255*d),b:Math.round(255*h)}},v=function(){function e(t){n(this,e),this._hue=0,this._saturation=100,this._value=100,this._alpha=100,this.enableAlpha=!1,this.format="hex",this.value="",t=t||{};for(var i in t)t.hasOwnProperty(i)&&(this[i]=t[i]);this.doOnChange()}return e.prototype.set=function(e,t){if(1!==arguments.length||"object"!==(void 0===e?"undefined":s(e)))this["_"+e]=t,this.doOnChange();else for(var i in e)e.hasOwnProperty(i)&&this.set(i,e[i])},e.prototype.get=function(e){return this["_"+e]},e.prototype.toRgb=function(){return m(this._hue,this._saturation,this._value)},e.prototype.fromString=function(e){var t=this;if(!e)return this._hue=0,this._saturation=100,this._value=100,void this.doOnChange();var i=function(e,i,n){t._hue=Math.max(0,Math.min(360,e)),t._saturation=Math.max(0,Math.min(100,i)),t._value=Math.max(0,Math.min(100,n)),t.doOnChange()};if(-1!==e.indexOf("hsl")){var n=e.replace(/hsla|hsl|\(|\)/gm,"").split(/\s|,/g).filter(function(e){return""!==e}).map(function(e,t){return t>2?parseFloat(e):parseInt(e,10)});if(4===n.length?this._alpha=Math.floor(100*parseFloat(n[3])):3===n.length&&(this._alpha=100),n.length>=3){var s=f(n[0],n[1],n[2]);i(s.h,s.s,s.v)}}else if(-1!==e.indexOf("hsv")){var r=e.replace(/hsva|hsv|\(|\)/gm,"").split(/\s|,/g).filter(function(e){return""!==e}).map(function(e,t){return t>2?parseFloat(e):parseInt(e,10)});4===r.length?this._alpha=Math.floor(100*parseFloat(r[3])):3===r.length&&(this._alpha=100),r.length>=3&&i(r[0],r[1],r[2])}else if(-1!==e.indexOf("rgb")){var a=e.replace(/rgba|rgb|\(|\)/gm,"").split(/\s|,/g).filter(function(e){return""!==e}).map(function(e,t){return t>2?parseFloat(e):parseInt(e,10)});if(4===a.length?this._alpha=Math.floor(100*parseFloat(a[3])):3===a.length&&(this._alpha=100),a.length>=3){var o=p(a[0],a[1],a[2]),l=o.h,u=o.s,c=o.v;i(l,u,c)}}else if(-1!==e.indexOf("#")){var d=e.replace("#","").trim(),m=void 0,v=void 0,g=void 0;3===d.length?(m=h(d[0]+d[0]),v=h(d[1]+d[1]),g=h(d[2]+d[2])):6!==d.length&&8!==d.length||(m=h(d.substring(0,2)),v=h(d.substring(2,4)),g=h(d.substring(4,6))),8===d.length?this._alpha=Math.floor(h(d.substring(6))/255*100):3!==d.length&&6!==d.length||(this._alpha=100);var b=p(m,v,g),y=b.h,_=b.s,C=b.v;i(y,_,C)}},e.prototype.compare=function(e){return Math.abs(e._hue-this._hue)<2&&Math.abs(e._saturation-this._saturation)<1&&Math.abs(e._value-this._value)<1&&Math.abs(e._alpha-this._alpha)<1},e.prototype.doOnChange=function(){var e=this._hue,t=this._saturation,i=this._value,n=this._alpha,s=this.format;if(this.enableAlpha)switch(s){case"hsl":var a=r(e,t/100,i/100);this.value="hsla("+e+", "+Math.round(100*a[1])+"%, "+Math.round(100*a[2])+"%, "+n/100+")";break;case"hsv":this.value="hsva("+e+", "+Math.round(t)+"%, "+Math.round(i)+"%, "+n/100+")";break;default:var o=m(e,t,i),l=o.r,u=o.g,d=o.b;this.value="rgba("+l+", "+u+", "+d+", "+n/100+")"}else switch(s){case"hsl":var h=r(e,t/100,i/100);this.value="hsl("+e+", "+Math.round(100*h[1])+"%, "+Math.round(100*h[2])+"%)";break;case"hsv":this.value="hsv("+e+", "+Math.round(t)+"%, "+Math.round(i)+"%)";break;case"rgb":var f=m(e,t,i),p=f.r,v=f.g,g=f.b;this.value="rgb("+p+", "+v+", "+g+")";break;default:this.value=c(m(e,t,i))}},e}();t.default=v},function(e,t,i){e.exports=i(95)},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}var s=i(96),r=n(s),a=i(127),o=n(a),l=i(131),u=n(l),c=i(138),d=n(c),h=i(147),f=n(h),p=i(151),m=n(p),v=i(155),g=n(v),b=i(161),y=n(b),_=i(164),C=n(_),x=i(169),w=n(x),k=i(8),S=n(k),M=i(72),$=n(M),D=i(176),E=n(D),T=i(180),O=n(T),P=i(184),N=n(P),F=i(15),I=n(F),A=i(191),V=n(A),L=i(47),B=n(L),R=i(198),z=n(R),j=i(66),H=n(j),W=i(69),q=n(W),K=i(202),Y=n(K),G=i(19),U=n(G),X=i(70),J=n(X),Z=i(206),Q=n(Z),ee=i(225),te=n(ee),ie=i(227),ne=n(ie),se=i(250),re=n(se),ae=i(255),oe=n(ae),le=i(260),ue=n(le),ce=i(33),de=n(ce),he=i(265),fe=n(he),pe=i(271),me=n(pe),ve=i(275),ge=n(ve),be=i(279),ye=n(be),_e=i(283),Ce=n(_e),xe=i(342),we=n(xe),ke=i(350),Se=n(ke),Me=i(31),$e=n(Me),De=i(354),Ee=n(De),Te=i(363),Oe=n(Te),Pe=i(367),Ne=n(Pe),Fe=i(372),Ie=n(Fe),Ae=i(379),Ve=n(Ae),Le=i(384),Be=n(Le),Re=i(388),ze=n(Re),je=i(390),He=n(je),We=i(392),qe=n(We),Ke=i(64),Ye=n(Ke),Ge=i(408),Ue=n(Ge),Xe=i(412),Je=n(Xe),Ze=i(417),Qe=n(Ze),et=i(421),tt=n(et),it=i(425),nt=n(it),st=i(429),rt=n(st),at=i(433),ot=n(at),lt=i(437),ut=n(lt),ct=i(26),dt=n(ct),ht=i(441),ft=n(ht),pt=i(445),mt=n(pt),vt=i(449),gt=n(vt),bt=i(453),yt=n(bt),_t=i(459),Ct=n(_t),xt=i(478),wt=n(xt),kt=i(485),St=n(kt),Mt=i(489),$t=n(Mt),Dt=i(493),Et=n(Dt),Tt=i(497),Ot=n(Tt),Pt=i(501),Nt=n(Pt),Ft=i(17),It=n(Ft),At=i(32),Vt=n(At),Lt=[r.default,o.default,u.default,d.default,f.default,m.default,g.default,y.default,C.default,w.default,S.default,$.default,E.default,O.default,N.default,I.default,V.default,B.default,z.default,H.default,q.default,Y.default,U.default,J.default,Q.default,te.default,ne.default,re.default,oe.default,ue.default,de.default,me.default,ge.default,ye.default,Ce.default,we.default,Se.default,$e.default,Ee.default,Oe.default,Ie.default,Be.default,ze.default,He.default,qe.default,Ye.default,Ue.default,Qe.default,tt.default,nt.default,rt.default,ot.default,ut.default,dt.default,ft.default,mt.default,gt.default,yt.default,Ct.default,wt.default,St.default,$t.default,Et.default,Ot.default,Nt.default,Vt.default],Bt=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};It.default.use(t.locale),It.default.i18n(t.i18n),Lt.map(function(t){e.component(t.name,t)}),e.use(Ve.default.directive);var i={};i.size=t.size||"",e.prototype.$loading=Ve.default.service,e.prototype.$msgbox=fe.default,e.prototype.$alert=fe.default.alert,e.prototype.$confirm=fe.default.confirm,e.prototype.$prompt=fe.default.prompt,e.prototype.$notify=Ne.default,e.prototype.$message=Je.default,e.prototype.$ELEMENT=i};"undefined"!=typeof window&&window.Vue&&Bt(window.Vue),e.exports={version:"2.3.9",locale:It.default.use,i18n:It.default.i18n,install:Bt,CollapseTransition:Vt.default,Loading:Ve.default,Pagination:r.default,Dialog:o.default,Autocomplete:u.default,Dropdown:d.default,DropdownMenu:f.default,DropdownItem:m.default,Menu:g.default,Submenu:y.default,MenuItem:C.default,MenuItemGroup:w.default,Input:S.default,InputNumber:$.default,Radio:E.default,RadioGroup:O.default,RadioButton:N.default,Checkbox:I.default,CheckboxButton:V.default,CheckboxGroup:B.default,Switch:z.default,Select:H.default,Option:q.default,OptionGroup:Y.default,Button:U.default,ButtonGroup:J.default,Table:Q.default,TableColumn:te.default,DatePicker:ne.default,TimeSelect:re.default,TimePicker:oe.default,Popover:ue.default,Tooltip:de.default,MessageBox:fe.default,Breadcrumb:me.default,BreadcrumbItem:ge.default,Form:ye.default,FormItem:Ce.default,Tabs:we.default,TabPane:Se.default,Tag:$e.default,Tree:Ee.default,Alert:Oe.default,Notification:Ne.default,Slider:Ie.default,Icon:Be.default,Row:ze.default,Col:He.default,Upload:qe.default,Progress:Ye.default,Spinner:Ue.default,Message:Je.default,Badge:Qe.default,Card:tt.default,Rate:nt.default,Steps:rt.default,Step:ot.default,Carousel:ut.default,Scrollbar:dt.default,CarouselItem:ft.default,Collapse:mt.default,CollapseItem:gt.default,Cascader:yt.default,ColorPicker:Ct.default,Transfer:wt.default,Container:St.default,Header:$t.default,Aside:Et.default,Main:Ot.default,Footer:Nt.default},e.exports.default=e.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(97),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(98),r=n(s),a=i(66),o=n(a),l=i(69),u=n(l),c=i(8),d=n(c),h=i(5),f=n(h),p=i(6);t.default={name:"ElPagination",props:{pageSize:{type:Number,default:10},small:Boolean,total:Number,pageCount:Number,pagerCount:{type:Number,validator:function(e){return(0|e)===e&&e>4&&e<22&&e%2==1},default:7},currentPage:{type:Number,default:1},layout:{default:"prev, pager, next, jumper, ->, total"},pageSizes:{type:Array,default:function(){return[10,20,30,40,50,100]}},popperClass:String,prevText:String,nextText:String,background:Boolean,disabled:Boolean},data:function(){return{internalCurrentPage:1,internalPageSize:0,lastEmittedPage:-1,userChangePageSize:!1}},render:function(e){var t=e("div",{class:["el-pagination",{"is-background":this.background,"el-pagination--small":this.small}]},[]),i=this.layout||"";if(i){var n={prev:e("prev",null,[]),jumper:e("jumper",null,[]),pager:e("pager",{attrs:{currentPage:this.internalCurrentPage,pageCount:this.internalPageCount,pagerCount:this.pagerCount,disabled:this.disabled},on:{change:this.handleCurrentChange}},[]),next:e("next",null,[]),sizes:e("sizes",{attrs:{pageSizes:this.pageSizes}},[]),slot:e("my-slot",null,[]),total:e("total",null,[])},s=i.split(",").map(function(e){return e.trim()}),r=e("div",{class:"el-pagination__rightwrapper"},[]),a=!1;return t.children=t.children||[],r.children=r.children||[],s.forEach(function(e){if("->"===e)return void(a=!0);a?r.children.push(n[e]):t.children.push(n[e])}),a&&t.children.unshift(r),t}},components:{MySlot:{render:function(e){return this.$parent.$slots.default?this.$parent.$slots.default[0]:""}},Prev:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage<=1},class:"btn-prev",on:{click:this.$parent.prev}},[this.$parent.prevText?e("span",null,[this.$parent.prevText]):e("i",{class:"el-icon el-icon-arrow-left"},[])])}},Next:{render:function(e){return e("button",{attrs:{type:"button",disabled:this.$parent.disabled||this.$parent.internalCurrentPage===this.$parent.internalPageCount||0===this.$parent.internalPageCount},class:"btn-next",on:{click:this.$parent.next}},[this.$parent.nextText?e("span",null,[this.$parent.nextText]):e("i",{class:"el-icon el-icon-arrow-right"},[])])}},Sizes:{mixins:[f.default],props:{pageSizes:Array},watch:{pageSizes:{immediate:!0,handler:function(e,t){(0,p.valueEquals)(e,t)||Array.isArray(e)&&(this.$parent.internalPageSize=e.indexOf(this.$parent.pageSize)>-1?this.$parent.pageSize:this.pageSizes[0])}}},render:function(e){var t=this;return e("span",{class:"el-pagination__sizes"},[e("el-select",{attrs:{value:this.$parent.internalPageSize,popperClass:this.$parent.popperClass||"",disabled:this.$parent.disabled},on:{input:this.handleChange}},[this.pageSizes.map(function(i){return e("el-option",{attrs:{value:i,label:i+t.t("el.pagination.pagesize")}},[])})])])},components:{ElSelect:o.default,ElOption:u.default},methods:{handleChange:function(e){e!==this.$parent.internalPageSize&&(this.$parent.internalPageSize=e=parseInt(e,10),this.$parent.userChangePageSize=!0,this.$parent.$emit("size-change",e))}}},Jumper:{mixins:[f.default],data:function(){return{oldValue:null}},components:{ElInput:d.default},watch:{"$parent.internalPageSize":function(){var e=this;this.$nextTick(function(){e.$refs.input.$el.querySelector("input").value=e.$parent.internalCurrentPage})}},methods:{handleFocus:function(e){this.oldValue=e.target.value},handleBlur:function(e){var t=e.target;this.resetValueIfNeed(t.value),this.reassignMaxValue(t.value)},handleKeyup:function(e){var t=e.keyCode,i=e.target;13===t&&this.oldValue&&i.value!==this.oldValue&&this.handleChange(i.value)},handleChange:function(e){this.$parent.internalCurrentPage=this.$parent.getValidCurrentPage(e),this.$parent.emitChange(),this.oldValue=null,this.resetValueIfNeed(e)},resetValueIfNeed:function(e){var t=parseInt(e,10);isNaN(t)||(t<1?this.$refs.input.$el.querySelector("input").value=1:this.reassignMaxValue(e))},reassignMaxValue:function(e){+e>this.$parent.internalPageCount&&(this.$refs.input.$el.querySelector("input").value=this.$parent.internalPageCount)}},render:function(e){return e("span",{class:"el-pagination__jump"},[this.t("el.pagination.goto"),e("el-input",{class:"el-pagination__editor is-in-pagination",attrs:{min:1,max:this.$parent.internalPageCount,value:this.$parent.internalCurrentPage,type:"number",disabled:this.$parent.disabled},domProps:{value:this.$parent.internalCurrentPage},ref:"input",nativeOn:{keyup:this.handleKeyup},on:{change:this.handleChange,focus:this.handleFocus,blur:this.handleBlur}},[]),this.t("el.pagination.pageClassifier")])}},Total:{mixins:[f.default],render:function(e){return"number"==typeof this.$parent.total?e("span",{class:"el-pagination__total"},[this.t("el.pagination.total",{total:this.$parent.total})]):""}},Pager:r.default},methods:{handleCurrentChange:function(e){this.internalCurrentPage=this.getValidCurrentPage(e),this.userChangePageSize=!0,this.emitChange()},prev:function(){if(!this.disabled){var e=this.internalCurrentPage-1;this.internalCurrentPage=this.getValidCurrentPage(e),this.$emit("prev-click",this.internalCurrentPage),this.emitChange()}},next:function(){if(!this.disabled){var e=this.internalCurrentPage+1;this.internalCurrentPage=this.getValidCurrentPage(e),this.$emit("next-click",this.internalCurrentPage),this.emitChange()}},getValidCurrentPage:function(e){e=parseInt(e,10);var t="number"==typeof this.internalPageCount,i=void 0;return t?e<1?i=1:e>this.internalPageCount&&(i=this.internalPageCount):(isNaN(e)||e<1)&&(i=1),void 0===i&&isNaN(e)?i=1:0===i&&(i=1),void 0===i?e:i},emitChange:function(){var e=this;this.$nextTick(function(){(e.internalCurrentPage!==e.lastEmittedPage||e.userChangePageSize)&&(e.$emit("current-change",e.internalCurrentPage),e.lastEmittedPage=e.internalCurrentPage,e.userChangePageSize=!1)})}},computed:{internalPageCount:function(){return"number"==typeof this.total?Math.ceil(this.total/this.internalPageSize):"number"==typeof this.pageCount?this.pageCount:null}},watch:{currentPage:{immediate:!0,handler:function(e){this.internalCurrentPage=e}},pageSize:{immediate:!0,handler:function(e){this.internalPageSize=isNaN(e)?10:e}},internalCurrentPage:{immediate:!0,handler:function(e,t){e=parseInt(e,10),e=isNaN(e)?t||1:this.getValidCurrentPage(e),void 0!==e?(this.internalCurrentPage=e,t!==e&&this.$emit("update:currentPage",e)):this.$emit("update:currentPage",e),this.lastEmittedPage=-1}},internalPageCount:function(e){var t=this.internalCurrentPage;e>0&&0===t?this.internalCurrentPage=1:t>e&&(this.internalCurrentPage=0===e?1:e,this.userChangePageSize&&this.emitChange()),this.userChangePageSize=!1}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(99),s=i.n(n),r=i(100),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElPager",props:{currentPage:Number,pageCount:Number,pagerCount:Number,disabled:Boolean},watch:{showPrevMore:function(e){e||(this.quickprevIconClass="el-icon-more")},showNextMore:function(e){e||(this.quicknextIconClass="el-icon-more")}},methods:{onPagerClick:function(e){var t=e.target;if("UL"!==t.tagName&&!this.disabled){var i=Number(e.target.textContent),n=this.pageCount,s=this.currentPage,r=this.pagerCount-2;-1!==t.className.indexOf("more")&&(-1!==t.className.indexOf("quickprev")?i=s-r:-1!==t.className.indexOf("quicknext")&&(i=s+r)),isNaN(i)||(i<1&&(i=1),i>n&&(i=n)),i!==s&&this.$emit("change",i)}},onMouseenter:function(e){this.disabled||("left"===e?this.quickprevIconClass="el-icon-d-arrow-left":this.quicknextIconClass="el-icon-d-arrow-right")}},computed:{pagers:function(){var e=this.pagerCount,t=(e-1)/2,i=Number(this.currentPage),n=Number(this.pageCount),s=!1,r=!1;n>e&&(i>e-t&&(s=!0),i<n-t&&(r=!0));var a=[];if(s&&!r)for(var o=n-(e-2),l=o;l<n;l++)a.push(l);else if(!s&&r)for(var u=2;u<e;u++)a.push(u);else if(s&&r)for(var c=Math.floor(e/2)-1,d=i-c;d<=i+c;d++)a.push(d);else for(var h=2;h<n;h++)a.push(h);return this.showPrevMore=s,this.showNextMore=r,a}},data:function(){return{current:null,showPrevMore:!1,showNextMore:!1,quicknextIconClass:"el-icon-more",quickprevIconClass:"el-icon-more"}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("ul",{staticClass:"el-pager",on:{click:e.onPagerClick}},[e.pageCount>0?i("li",{staticClass:"number",class:{active:1===e.currentPage,disabled:e.disabled}},[e._v("1")]):e._e(),e.showPrevMore?i("li",{staticClass:"el-icon more btn-quickprev",class:[e.quickprevIconClass,{disabled:e.disabled}],on:{mouseenter:function(t){e.onMouseenter("left")},mouseleave:function(t){e.quickprevIconClass="el-icon-more"}}}):e._e(),e._l(e.pagers,function(t){return i("li",{key:t,staticClass:"number",class:{active:e.currentPage===t,disabled:e.disabled}},[e._v(e._s(t))])}),e.showNextMore?i("li",{staticClass:"el-icon more btn-quicknext",class:[e.quicknextIconClass,{disabled:e.disabled}],on:{mouseenter:function(t){e.onMouseenter("right")},mouseleave:function(t){e.quicknextIconClass="el-icon-more"}}}):e._e(),e.pageCount>1?i("li",{staticClass:"number",class:{active:e.currentPage===e.pageCount,disabled:e.disabled}},[e._v(e._s(e.pageCount))]):e._e()],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(102),s=i.n(n),r=i(126),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(1),a=n(r),o=i(30),l=n(o),u=i(5),c=n(u),d=i(8),h=n(d),f=i(110),p=n(f),m=i(67),v=n(m),g=i(31),b=n(g),y=i(26),_=n(y),C=i(18),x=n(C),w=i(12),k=n(w),S=i(3),M=i(27),$=i(17),D=i(45),E=n(D),T=i(6),O=i(125),P=n(O),N=i(43),F={medium:36,small:32,mini:28};t.default={mixins:[a.default,c.default,(0,l.default)("reference"),P.default],name:"ElSelect",componentName:"ElSelect",inject:{elForm:{default:""},elFormItem:{default:""}},provide:function(){return{select:this}},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},readonly:function(){var e=!this.$isServer&&!isNaN(Number(document.documentMode));return!this.filterable||this.multiple||!e&&!this.visible},iconClass:function(){return this.clearable&&!this.selectDisabled&&this.inputHovering&&!this.multiple&&void 0!==this.value&&""!==this.value?"circle-close is-show-close":this.remote&&this.filterable?"":"arrow-up"},debounce:function(){return this.remote?300:0},emptyText:function(){return this.loading?this.loadingText||this.t("el.select.loading"):(!this.remote||""!==this.query||0!==this.options.length)&&(this.filterable&&this.query&&this.options.length>0&&0===this.filteredOptionsCount?this.noMatchText||this.t("el.select.noMatch"):0===this.options.length?this.noDataText||this.t("el.select.noData"):null)},showNewOption:function(){var e=this,t=this.options.filter(function(e){return!e.created}).some(function(t){return t.currentLabel===e.query});return this.filterable&&this.allowCreate&&""!==this.query&&!t},selectSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},selectDisabled:function(){return this.disabled||(this.elForm||{}).disabled},collapseTagSize:function(){return["small","mini"].indexOf(this.selectSize)>-1?"mini":"small"}},components:{ElInput:h.default,ElSelectMenu:p.default,ElOption:v.default,ElTag:b.default,ElScrollbar:_.default},directives:{Clickoutside:k.default},props:{name:String,id:String,value:{required:!0},autoComplete:{type:String,default:"off"},automaticDropdown:Boolean,size:String,disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:String,remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String,default:function(){return(0,$.t)("el.select.placeholder")}},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0}},data:function(){return{options:[],cachedOptions:[],createdLabel:null,createdSelected:!1,selected:this.multiple?[]:{},inputLength:20,inputWidth:0,cachedPlaceHolder:"",optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,currentPlaceholder:"",menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1}},watch:{selectDisabled:function(){var e=this;this.$nextTick(function(){e.resetInputHeight()})},placeholder:function(e){this.cachedPlaceHolder=this.currentPlaceholder=e},value:function(e){this.multiple&&(this.resetInputHeight(),e.length>0||this.$refs.input&&""!==this.query?this.currentPlaceholder="":this.currentPlaceholder=this.cachedPlaceHolder,this.filterable&&!this.reserveKeyword&&(this.query="",this.handleQueryChange(this.query))),this.setSelected(),this.filterable&&!this.multiple&&(this.inputLength=20)},visible:function(e){var t=this;e?(this.handleIconShow(),this.broadcast("ElSelectDropdown","updatePopper"),this.filterable&&(this.query=this.remote?"":this.selectedLabel,this.handleQueryChange(this.query),this.multiple?this.$refs.input.focus():(this.remote||(this.broadcast("ElOption","queryChange",""),this.broadcast("ElOptionGroup","queryChange")),this.broadcast("ElInput","inputSelect")))):(this.handleIconHide(),this.broadcast("ElSelectDropdown","destroyPopper"),this.$refs.input&&this.$refs.input.blur(),this.query="",this.previousQuery=null,this.selectedLabel="",this.inputLength=20,this.resetHoverIndex(),this.$nextTick(function(){t.$refs.input&&""===t.$refs.input.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)}),this.multiple||this.selected&&(this.filterable&&this.allowCreate&&this.createdSelected&&this.createdLabel?this.selectedLabel=this.createdLabel:this.selectedLabel=this.selected.currentLabel,this.filterable&&(this.query=this.selectedLabel))),this.$emit("visible-change",e)},options:function(){var e=this;if(!this.$isServer){this.$nextTick(function(){e.broadcast("ElSelectDropdown","updatePopper")}),this.multiple&&this.resetInputHeight();var t=this.$el.querySelectorAll("input");-1===[].indexOf.call(t,document.activeElement)&&this.setSelected(),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}}},methods:{handleComposition:function(e){var t=e.target.value;if("compositionend"===e.type)this.isOnComposition=!1,this.handleQueryChange(t);else{var i=t[t.length-1]||"";this.isOnComposition=!(0,N.isKorean)(i)}},handleQueryChange:function(e){var t=this;if(this.previousQuery!==e&&!this.isOnComposition){if(null===this.previousQuery&&("function"==typeof this.filterMethod||"function"==typeof this.remoteMethod))return void(this.previousQuery=e);if(this.previousQuery=e,this.$nextTick(function(){t.visible&&t.broadcast("ElSelectDropdown","updatePopper")}),this.hoverIndex=-1,this.multiple&&this.filterable){var i=15*this.$refs.input.value.length+20;this.inputLength=this.collapseTags?Math.min(50,i):i,this.managePlaceholder(),this.resetInputHeight()}this.remote&&"function"==typeof this.remoteMethod?(this.hoverIndex=-1,this.remoteMethod(e)):"function"==typeof this.filterMethod?(this.filterMethod(e),this.broadcast("ElOptionGroup","queryChange")):(this.filteredOptionsCount=this.optionsCount,this.broadcast("ElOption","queryChange",e),this.broadcast("ElOptionGroup","queryChange")),this.defaultFirstOption&&(this.filterable||this.remote)&&this.filteredOptionsCount&&this.checkDefaultFirstOption()}},handleIconHide:function(){var e=this.$el.querySelector(".el-input__icon");e&&(0,S.removeClass)(e,"is-reverse")},handleIconShow:function(){var e=this.$el.querySelector(".el-input__icon");e&&!(0,S.hasClass)(e,"el-icon-circle-close")&&(0,S.addClass)(e,"is-reverse")},scrollToOption:function(e){var t=Array.isArray(e)&&e[0]?e[0].$el:e.$el;if(this.$refs.popper&&t){var i=this.$refs.popper.$el.querySelector(".el-select-dropdown__wrap");(0,E.default)(i,t)}this.$refs.scrollbar&&this.$refs.scrollbar.handleScroll()},handleMenuEnter:function(){var e=this;this.$nextTick(function(){return e.scrollToOption(e.selected)})},emitChange:function(e){(0,T.valueEquals)(this.value,e)||(this.$emit("change",e),this.dispatch("ElFormItem","el.form.change",e))},getOption:function(e){for(var t=void 0,i="[object object]"===Object.prototype.toString.call(e).toLowerCase(),n=this.cachedOptions.length-1;n>=0;n--){var s=this.cachedOptions[n];if(i?(0,T.getValueByPath)(s.value,this.valueKey)===(0,T.getValueByPath)(e,this.valueKey):s.value===e){t=s;break}}if(t)return t;var r=i?"":e,a={value:e,currentLabel:r};return this.multiple&&(a.hitState=!1),a},setSelected:function(){var e=this;if(!this.multiple){var t=this.getOption(this.value);return t.created?(this.createdLabel=t.currentLabel,this.createdSelected=!0):this.createdSelected=!1,this.selectedLabel=t.currentLabel,this.selected=t,void(this.filterable&&(this.query=this.selectedLabel))}var i=[];Array.isArray(this.value)&&this.value.forEach(function(t){i.push(e.getOption(t))}),this.selected=i,this.$nextTick(function(){e.resetInputHeight()})},handleFocus:function(e){this.softFocus?this.softFocus=!1:((this.automaticDropdown||this.filterable)&&(this.visible=!0,this.menuVisibleOnFocus=!0),this.$emit("focus",e))},blur:function(){this.visible=!1,this.$refs.reference.blur()},handleBlur:function(e){var t=this;setTimeout(function(){t.isSilentBlur?t.isSilentBlur=!1:t.$emit("blur",e)},50),this.softFocus=!1},handleIconClick:function(e){this.iconClass.indexOf("circle-close")>-1&&this.deleteSelected(e)},doDestroy:function(){this.$refs.popper&&this.$refs.popper.doDestroy()},handleClose:function(){this.visible=!1},toggleLastOptionHitState:function(e){if(Array.isArray(this.selected)){var t=this.selected[this.selected.length-1];if(t)return!0===e||!1===e?(t.hitState=e,e):(t.hitState=!t.hitState,t.hitState)}},deletePrevTag:function(e){if(e.target.value.length<=0&&!this.toggleLastOptionHitState()){var t=this.value.slice();t.pop(),this.$emit("input",t),this.emitChange(t)}},managePlaceholder:function(){""!==this.currentPlaceholder&&(this.currentPlaceholder=this.$refs.input.value?"":this.cachedPlaceHolder)},resetInputState:function(e){8!==e.keyCode&&this.toggleLastOptionHitState(!1),this.inputLength=15*this.$refs.input.value.length+20,this.resetInputHeight()},resetInputHeight:function(){var e=this;this.collapseTags&&!this.filterable||this.$nextTick(function(){if(e.$refs.reference){var t=e.$refs.reference.$el.childNodes,i=[].filter.call(t,function(e){return"INPUT"===e.tagName})[0],n=e.$refs.tags,s=F[e.selectSize]||40;i.style.height=0===e.selected.length?s+"px":Math.max(n?n.clientHeight+(n.clientHeight>s?6:0):0,s)+"px",e.visible&&!1!==e.emptyText&&e.broadcast("ElSelectDropdown","updatePopper")}})},resetHoverIndex:function(){var e=this;setTimeout(function(){e.multiple?e.selected.length>0?e.hoverIndex=Math.min.apply(null,e.selected.map(function(t){return e.options.indexOf(t)})):e.hoverIndex=-1:e.hoverIndex=e.options.indexOf(e.selected)},300)},handleOptionSelect:function(e,t){var i=this;if(this.multiple){var n=this.value.slice(),s=this.getValueIndex(n,e.value);s>-1?n.splice(s,1):(this.multipleLimit<=0||n.length<this.multipleLimit)&&n.push(e.value),this.$emit("input",n),this.emitChange(n),e.created&&(this.query="",this.handleQueryChange(""),this.inputLength=20),this.filterable&&this.$refs.input.focus()}else this.$emit("input",e.value),this.emitChange(e.value),this.visible=!1;this.isSilentBlur=t,this.setSoftFocus(),this.visible||this.$nextTick(function(){i.scrollToOption(e)})},setSoftFocus:function(){this.softFocus=!0;var e=this.$refs.input||this.$refs.reference;e&&e.focus()},getValueIndex:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments[1];if("[object object]"!==Object.prototype.toString.call(i).toLowerCase())return t.indexOf(i);var n=function(){var n=e.valueKey,s=-1;return t.some(function(e,t){return(0,T.getValueByPath)(e,n)===(0,T.getValueByPath)(i,n)&&(s=t,!0)}),{v:s}}();return"object"===(void 0===n?"undefined":s(n))?n.v:void 0},toggleMenu:function(){this.selectDisabled||(this.menuVisibleOnFocus?this.menuVisibleOnFocus=!1:this.visible=!this.visible,this.visible&&(this.$refs.input||this.$refs.reference).focus())},selectOption:function(){this.visible?this.options[this.hoverIndex]&&this.handleOptionSelect(this.options[this.hoverIndex]):this.toggleMenu()},deleteSelected:function(e){e.stopPropagation(),this.$emit("input",""),this.emitChange(""),this.visible=!1,this.$emit("clear")},deleteTag:function(e,t){var i=this.selected.indexOf(t);if(i>-1&&!this.selectDisabled){var n=this.value.slice();n.splice(i,1),this.$emit("input",n),this.emitChange(n),this.$emit("remove-tag",t.value)}e.stopPropagation()},onInputChange:function(){this.filterable&&this.query!==this.selectedLabel&&(this.query=this.selectedLabel,this.handleQueryChange(this.query))},onOptionDestroy:function(e){e>-1&&(this.optionsCount--,this.filteredOptionsCount--,this.options.splice(e,1))},resetInputWidth:function(){this.inputWidth=this.$refs.reference.$el.getBoundingClientRect().width},handleResize:function(){this.resetInputWidth(),this.multiple&&this.resetInputHeight()},checkDefaultFirstOption:function(){this.hoverIndex=-1;for(var e=!1,t=this.options.length-1;t>=0;t--)if(this.options[t].created){e=!0,this.hoverIndex=t;break}if(!e)for(var i=0;i!==this.options.length;++i){var n=this.options[i];if(this.query){if(!n.disabled&&!n.groupDisabled&&n.visible){this.hoverIndex=i;break}}else if(n.itemSelected){this.hoverIndex=i;break}}},getValueKey:function(e){return"[object object]"!==Object.prototype.toString.call(e.value).toLowerCase()?e.value:(0,T.getValueByPath)(e.value,this.valueKey)}},created:function(){var e=this;this.cachedPlaceHolder=this.currentPlaceholder=this.placeholder,this.multiple&&!Array.isArray(this.value)&&this.$emit("input",[]),!this.multiple&&Array.isArray(this.value)&&this.$emit("input",""),this.debouncedOnInputChange=(0,x.default)(this.debounce,function(){e.onInputChange()}),this.$on("handleOptionClick",this.handleOptionSelect),this.$on("setSelected",this.setSelected),this.$on("fieldReset",function(){e.dispatch("ElFormItem","el.form.change")})},mounted:function(){var e=this;this.multiple&&Array.isArray(this.value)&&this.value.length>0&&(this.currentPlaceholder=""),(0,M.addResizeListener)(this.$el,this.handleResize),this.remote&&this.multiple&&this.resetInputHeight(),this.$nextTick(function(){e.$refs.reference&&e.$refs.reference.$el&&(e.inputWidth=e.$refs.reference.$el.getBoundingClientRect().width)}),this.setSelected()},beforeDestroy:function(){this.$el&&this.handleResize&&(0,M.removeResizeListener)(this.$el,this.handleResize)}}},function(e,t,i){"use strict";t.__esModule=!0,t.default={el:{colorpicker:{confirm:"确定",clear:"清空"},datepicker:{now:"此刻",today:"今天",cancel:"取消",clear:"清空",confirm:"确定",selectDate:"选择日期",selectTime:"选择时间",startDate:"开始日期",startTime:"开始时间",endDate:"结束日期",endTime:"结束时间",prevYear:"前一年",nextYear:"后一年",prevMonth:"上个月",nextMonth:"下个月",year:"年",month1:"1 月",month2:"2 月",month3:"3 月",month4:"4 月",month5:"5 月",month6:"6 月",month7:"7 月",month8:"8 月",month9:"9 月",month10:"10 月",month11:"11 月",month12:"12 月",weeks:{sun:"日",mon:"一",tue:"二",wed:"三",thu:"四",fri:"五",sat:"六"},months:{jan:"一月",feb:"二月",mar:"三月",apr:"四月",may:"五月",jun:"六月",jul:"七月",aug:"八月",sep:"九月",oct:"十月",nov:"十一月",dec:"十二月"}},select:{loading:"加载中",noMatch:"无匹配数据",noData:"无数据",placeholder:"请选择"},cascader:{noMatch:"无匹配数据",loading:"加载中",placeholder:"请选择"},pagination:{goto:"前往",pagesize:"条/页",total:"共 {total} 条",pageClassifier:"页"},messagebox:{title:"提示",confirm:"确定",cancel:"取消",error:"输入的数据不合法!"},upload:{deleteTip:"按 delete 键可删除",delete:"删除",preview:"查看图片",continue:"继续上传"},table:{emptyText:"暂无数据",confirmFilter:"筛选",resetFilter:"重置",clearFilter:"全部",sumText:"合计"},tree:{emptyText:"暂无数据"},transfer:{noMatch:"无匹配数据",noData:"无数据",titles:["列表 1","列表 2"],filterPlaceholder:"请输入搜索内容",noCheckedFormat:"共 {total} 项",hasCheckedFormat:"已选 {checked}/{total} 项"}}}},function(e,t,i){var n,s;!function(r,a){n=a,void 0!==(s="function"==typeof n?n.call(t,i,t,e):n)&&(e.exports=s)}(0,function(){function e(e){return e&&"object"==typeof e&&"[object RegExp]"!==Object.prototype.toString.call(e)&&"[object Date]"!==Object.prototype.toString.call(e)}function t(e){return Array.isArray(e)?[]:{}}function i(i,n){return n&&!0===n.clone&&e(i)?r(t(i),i,n):i}function n(t,n,s){var a=t.slice();return n.forEach(function(n,o){void 0===a[o]?a[o]=i(n,s):e(n)?a[o]=r(t[o],n,s):-1===t.indexOf(n)&&a.push(i(n,s))}),a}function s(t,n,s){var a={};return e(t)&&Object.keys(t).forEach(function(e){a[e]=i(t[e],s)}),Object.keys(n).forEach(function(o){e(n[o])&&t[o]?a[o]=r(t[o],n[o],s):a[o]=i(n[o],s)}),a}function r(e,t,r){var a=Array.isArray(t),o=r||{arrayMerge:n},l=o.arrayMerge||n;return a?Array.isArray(e)?l(e,t,r):i(t,r):s(e,t,r)}return r.all=function(e,t){if(!Array.isArray(e)||e.length<2)throw new Error("first argument should be an array with at least two elements");return e.reduce(function(e,i){return r(e,i,t)})},r})},function(e,t,i){"use strict";t.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){function t(e){for(var t=arguments.length,i=Array(t>1?t-1:0),a=1;a<t;a++)i[a-1]=arguments[a];return 1===i.length&&"object"===n(i[0])&&(i=i[0]),i&&i.hasOwnProperty||(i={}),e.replace(r,function(t,n,r,a){var o=void 0;return"{"===e[a-1]&&"}"===e[a+t.length]?r:(o=(0,s.hasOwn)(i,r)?i[r]:null,null===o||void 0===o?"":o)})}return t};var s=i(6),r=/(%|)\{([0-9a-zA-Z_]+)\}/g},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(107),s=i.n(n),r=i(109),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(1),r=n(s),a=i(9),o=n(a),l=i(108),u=n(l),c=i(10),d=n(c),h=i(43);t.default={name:"ElInput",componentName:"ElInput",mixins:[r.default,o.default],inheritAttrs:!1,inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{currentValue:void 0===this.value||null===this.value?"":this.value,textareaCalcStyle:{},prefixOffset:null,suffixOffset:null,hovering:!1,focused:!1,isOnComposition:!1}},props:{value:[String,Number],size:String,resize:String,form:String,disabled:Boolean,type:{type:String,default:"text"},autosize:{type:[Boolean,Object],default:!1},autoComplete:{type:String,default:"off"},validateEvent:{type:Boolean,default:!0},suffixIcon:String,prefixIcon:String,label:String,clearable:{type:Boolean,default:!1},tabindex:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},validateState:function(){return this.elFormItem?this.elFormItem.validateState:""},needStatusIcon:function(){return!!this.elForm&&this.elForm.statusIcon},validateIcon:function(){return{validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}[this.validateState]},textareaStyle:function(){return(0,d.default)({},this.textareaCalcStyle,{resize:this.resize})},inputSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputDisabled:function(){return this.disabled||(this.elForm||{}).disabled},isGroup:function(){return this.$slots.prepend||this.$slots.append},showClear:function(){return this.clearable&&!this.disabled&&!this.readonly&&""!==this.currentValue&&(this.focused||this.hovering)}},watch:{value:function(e,t){this.setCurrentValue(e)}},methods:{focus:function(){(this.$refs.input||this.$refs.textarea).focus()},blur:function(){(this.$refs.input||this.$refs.textarea).blur()},getMigratingConfig:function(){return{props:{icon:"icon is removed, use suffix-icon / prefix-icon instead.","on-icon-click":"on-icon-click is removed."},events:{click:"click is removed."}}},handleBlur:function(e){this.focused=!1,this.$emit("blur",e),this.validateEvent&&this.dispatch("ElFormItem","el.form.blur",[this.currentValue])},select:function(){(this.$refs.input||this.$refs.textarea).select()},resizeTextarea:function(){if(!this.$isServer){var e=this.autosize;if("textarea"===this.type){if(!e)return void(this.textareaCalcStyle={minHeight:(0,u.default)(this.$refs.textarea).minHeight});var t=e.minRows,i=e.maxRows;this.textareaCalcStyle=(0,u.default)(this.$refs.textarea,t,i)}}},handleFocus:function(e){this.focused=!0,this.$emit("focus",e)},handleComposition:function(e){if("compositionend"===e.type)this.isOnComposition=!1,this.handleInput(e);else{var t=e.target.value,i=t[t.length-1]||"";this.isOnComposition=!(0,h.isKorean)(i)}},handleInput:function(e){if(!this.isOnComposition){var t=e.target.value;this.$emit("input",t),this.setCurrentValue(t)}},handleChange:function(e){this.$emit("change",e.target.value)},setCurrentValue:function(e){var t=this;e!==this.currentValue&&(this.$nextTick(function(e){t.resizeTextarea()}),this.currentValue=e,this.validateEvent&&this.dispatch("ElFormItem","el.form.change",[e]))},calcIconOffset:function(e){var t={suf:"append",pre:"prepend"},i=t[e];if(this.$slots[i])return{transform:"translateX("+("suf"===e?"-":"")+this.$el.querySelector(".el-input-group__"+i).offsetWidth+"px)"}},clear:function(){this.$emit("input",""),this.$emit("change",""),this.$emit("clear"),this.setCurrentValue(""),this.focus()}},created:function(){this.$on("inputSelect",this.select)},mounted:function(){this.resizeTextarea(),this.isGroup&&(this.prefixOffset=this.calcIconOffset("pre"),this.suffixOffset=this.calcIconOffset("suf"))}}},function(e,t,i){"use strict";function n(e){var t=window.getComputedStyle(e),i=t.getPropertyValue("box-sizing"),n=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),s=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:o.map(function(e){return e+":"+t.getPropertyValue(e)}).join(";"),paddingSize:n,borderSize:s,boxSizing:i}}function s(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1,i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null;r||(r=document.createElement("textarea"),document.body.appendChild(r));var s=n(e),o=s.paddingSize,l=s.borderSize,u=s.boxSizing,c=s.contextStyle;r.setAttribute("style",c+";"+a),r.value=e.value||e.placeholder||"";var d=r.scrollHeight,h={};"border-box"===u?d+=l:"content-box"===u&&(d-=o),r.value="";var f=r.scrollHeight-o;if(null!==t){var p=f*t;"border-box"===u&&(p=p+o+l),d=Math.max(p,d),h.minHeight=p+"px"}if(null!==i){var m=f*i;"border-box"===u&&(m=m+o+l),d=Math.min(m,d)}return h.height=d+"px",r.parentNode&&r.parentNode.removeChild(r),r=null,h}t.__esModule=!0,t.default=s;var r=void 0,a="\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important\n",o=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"]},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable}],on:{mouseenter:function(t){e.hovering=!0},mouseleave:function(t){e.hovering=!1}}},["textarea"!==e.type?[e.$slots.prepend?i("div",{staticClass:"el-input-group__prepend"},[e._t("prepend")],2):e._e(),"textarea"!==e.type?i("input",e._b({ref:"input",staticClass:"el-input__inner",attrs:{tabindex:e.tabindex,type:e.type,disabled:e.inputDisabled,autocomplete:e.autoComplete,"aria-label":e.label},domProps:{value:e.currentValue},on:{compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"input",e.$attrs,!1)):e._e(),e.$slots.prefix||e.prefixIcon?i("span",{staticClass:"el-input__prefix",style:e.prefixOffset},[e._t("prefix"),e.prefixIcon?i("i",{staticClass:"el-input__icon",class:e.prefixIcon}):e._e()],2):e._e(),e.$slots.suffix||e.suffixIcon||e.showClear||e.validateState&&e.needStatusIcon?i("span",{staticClass:"el-input__suffix",style:e.suffixOffset},[i("span",{staticClass:"el-input__suffix-inner"},[e.showClear?i("i",{staticClass:"el-input__icon el-icon-circle-close el-input__clear",on:{click:e.clear}}):[e._t("suffix"),e.suffixIcon?i("i",{staticClass:"el-input__icon",class:e.suffixIcon}):e._e()]],2),e.validateState?i("i",{staticClass:"el-input__icon",class:["el-input__validateIcon",e.validateIcon]}):e._e()]):e._e(),e.$slots.append?i("div",{staticClass:"el-input-group__append"},[e._t("append")],2):e._e()]:i("textarea",e._b({ref:"textarea",staticClass:"el-textarea__inner",style:e.textareaStyle,attrs:{tabindex:e.tabindex,disabled:e.inputDisabled,"aria-label":e.label},domProps:{value:e.currentValue},on:{compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:e.handleInput,focus:e.handleFocus,blur:e.handleBlur,change:e.handleChange}},"textarea",e.$attrs,!1))],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(111),s=i.n(n),r=i(114),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(11),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElSelectDropdown",componentName:"ElSelectDropdown",mixins:[s.default],props:{placement:{default:"bottom-start"},boundariesPadding:{default:0},popperOptions:{default:function(){return{gpuAcceleration:!1}}},visibleArrow:{default:!0},appendToBody:{type:Boolean,default:!0}},data:function(){return{minWidth:""}},computed:{popperClass:function(){return this.$parent.popperClass}},watch:{"$parent.inputWidth":function(){this.minWidth=this.$parent.$el.getBoundingClientRect().width+"px"}},mounted:function(){var e=this;this.referenceElm=this.$parent.$refs.reference.$el,this.$parent.popperElm=this.popperElm=this.$el,this.$on("updatePopper",function(){e.$parent.visible&&e.updatePopper()}),this.$on("destroyPopper",this.destroyPopper)}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(2),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=i(3),a=!1,o=function(){if(!s.default.prototype.$isServer){var e=u.modalDom;return e?a=!0:(a=!1,e=document.createElement("div"),u.modalDom=e,e.addEventListener("touchmove",function(e){e.preventDefault(),e.stopPropagation()}),e.addEventListener("click",function(){u.doOnModalClick&&u.doOnModalClick()})),e}},l={},u={zIndex:2e3,modalFade:!0,getInstance:function(e){return l[e]},register:function(e,t){e&&t&&(l[e]=t)},deregister:function(e){e&&(l[e]=null,delete l[e])},nextZIndex:function(){return u.zIndex++},modalStack:[],doOnModalClick:function(){var e=u.modalStack[u.modalStack.length-1];if(e){var t=u.getInstance(e.id);t&&t.closeOnClickModal&&t.close()}},openModal:function(e,t,i,n,l){if(!s.default.prototype.$isServer&&e&&void 0!==t){this.modalFade=l;for(var u=this.modalStack,c=0,d=u.length;c<d;c++){if(u[c].id===e)return}var h=o();if((0,r.addClass)(h,"v-modal"),this.modalFade&&!a&&(0,r.addClass)(h,"v-modal-enter"),n){n.trim().split(/\s+/).forEach(function(e){return(0,r.addClass)(h,e)})}setTimeout(function(){(0,r.removeClass)(h,"v-modal-enter")},200),i&&i.parentNode&&11!==i.parentNode.nodeType?i.parentNode.appendChild(h):document.body.appendChild(h),t&&(h.style.zIndex=t),h.tabIndex=0,h.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:n})}},closeModal:function(e){var t=this.modalStack,i=o();if(t.length>0){var n=t[t.length-1];if(n.id===e){if(n.modalClass){n.modalClass.trim().split(/\s+/).forEach(function(e){return(0,r.removeClass)(i,e)})}t.pop(),t.length>0&&(i.style.zIndex=t[t.length-1].zIndex)}else for(var s=t.length-1;s>=0;s--)if(t[s].id===e){t.splice(s,1);break}}0===t.length&&(this.modalFade&&(0,r.addClass)(i,"v-modal-leave"),setTimeout(function(){0===t.length&&(i.parentNode&&i.parentNode.removeChild(i),i.style.display="none",u.modalDom=void 0),(0,r.removeClass)(i,"v-modal-leave")},200))}},c=function(){if(!s.default.prototype.$isServer&&u.modalStack.length>0){var e=u.modalStack[u.modalStack.length-1];if(!e)return;return u.getInstance(e.id)}};s.default.prototype.$isServer||window.addEventListener("keydown",function(e){if(27===e.keyCode){var t=c();t&&t.closeOnPressEscape&&(t.handleClose?t.handleClose():t.handleAction?t.handleAction("cancel"):t.close())}}),t.default=u},function(e,t,i){var n,s;!function(r,a){n=a,void 0!==(s="function"==typeof n?n.call(t,i,t,e):n)&&(e.exports=s)}(0,function(){"use strict";function e(e,t,i){this._reference=e.jquery?e[0]:e,this.state={};var n=void 0===t||null===t,s=t&&"[object Object]"===Object.prototype.toString.call(t);return this._popper=n||s?this.parse(s?t:{}):t.jquery?t[0]:t,this._options=Object.assign({},v,i),this._options.modifiers=this._options.modifiers.map(function(e){if(-1===this._options.modifiersIgnored.indexOf(e))return"applyStyle"===e&&this._popper.setAttribute("x-placement",this._options.placement),this.modifiers[e]||e}.bind(this)),this.state.position=this._getPosition(this._popper,this._reference),u(this._popper,{position:this.state.position,top:0}),this.update(),this._setupEventListeners(),this}function t(e){var t=e.style.display,i=e.style.visibility;e.style.display="block",e.style.visibility="hidden";var n=(e.offsetWidth,m.getComputedStyle(e)),s=parseFloat(n.marginTop)+parseFloat(n.marginBottom),r=parseFloat(n.marginLeft)+parseFloat(n.marginRight),a={width:e.offsetWidth+r,height:e.offsetHeight+s};return e.style.display=t,e.style.visibility=i,a}function i(e){var t={left:"right",right:"left",bottom:"top",top:"bottom"};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function n(e){var t=Object.assign({},e);return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function s(e,t){var i,n=0;for(i in e){if(e[i]===t)return n;n++}return null}function r(e,t){return m.getComputedStyle(e,null)[t]}function a(e){var t=e.offsetParent;return t!==m.document.body&&t?t:m.document.documentElement}function o(e){var t=e.parentNode;return t?t===m.document?m.document.body.scrollTop||m.document.body.scrollLeft?m.document.body:m.document.documentElement:-1!==["scroll","auto"].indexOf(r(t,"overflow"))||-1!==["scroll","auto"].indexOf(r(t,"overflow-x"))||-1!==["scroll","auto"].indexOf(r(t,"overflow-y"))?t:o(e.parentNode):e}function l(e){return e!==m.document.body&&("fixed"===r(e,"position")||(e.parentNode?l(e.parentNode):e))}function u(e,t){function i(e){return""!==e&&!isNaN(parseFloat(e))&&isFinite(e)}Object.keys(t).forEach(function(n){var s="";-1!==["width","height","top","right","bottom","left"].indexOf(n)&&i(t[n])&&(s="px"),e.style[n]=t[n]+s})}function c(e){var t={};return e&&"[object Function]"===t.toString.call(e)}function d(e){var t={width:e.offsetWidth,height:e.offsetHeight,left:e.offsetLeft,top:e.offsetTop};return t.right=t.left+t.width,t.bottom=t.top+t.height,t}function h(e){var t=e.getBoundingClientRect(),i=-1!=navigator.userAgent.indexOf("MSIE"),n=i&&"HTML"===e.tagName?-e.scrollTop:t.top;return{left:t.left,top:n,right:t.right,bottom:t.bottom,width:t.right-t.left,height:t.bottom-n}}function f(e,t,i){var n=h(e),s=h(t);if(i){var r=o(t);s.top+=r.scrollTop,s.bottom+=r.scrollTop,s.left+=r.scrollLeft,s.right+=r.scrollLeft}return{top:n.top-s.top,left:n.left-s.left,bottom:n.top-s.top+n.height,right:n.left-s.left+n.width,width:n.width,height:n.height}}function p(e){for(var t=["","ms","webkit","moz","o"],i=0;i<t.length;i++){var n=t[i]?t[i]+e.charAt(0).toUpperCase()+e.slice(1):e;if(void 0!==m.document.body.style[n])return n}return null}var m=window,v={placement:"bottom",gpuAcceleration:!0,offset:0,boundariesElement:"viewport",boundariesPadding:5,preventOverflowOrder:["left","right","top","bottom"],flipBehavior:"flip",arrowElement:"[x-arrow]",arrowOffset:0,modifiers:["shift","offset","preventOverflow","keepTogether","arrow","flip","applyStyle"],modifiersIgnored:[],forceAbsolute:!1};return e.prototype.destroy=function(){return this._popper.removeAttribute("x-placement"),this._popper.style.left="",this._popper.style.position="",this._popper.style.top="",this._popper.style[p("transform")]="",this._removeEventListeners(),this._options.removeOnDestroy&&this._popper.remove(),this},e.prototype.update=function(){var e={instance:this,styles:{}};e.placement=this._options.placement,e._originalPlacement=this._options.placement,e.offsets=this._getOffsets(this._popper,this._reference,e.placement),e.boundaries=this._getBoundaries(e,this._options.boundariesPadding,this._options.boundariesElement),e=this.runModifiers(e,this._options.modifiers),"function"==typeof this.state.updateCallback&&this.state.updateCallback(e)},e.prototype.onCreate=function(e){return e(this),this},e.prototype.onUpdate=function(e){return this.state.updateCallback=e,this},e.prototype.parse=function(e){function t(e,t){t.forEach(function(t){e.classList.add(t)})}function i(e,t){t.forEach(function(t){e.setAttribute(t.split(":")[0],t.split(":")[1]||"")})}var n={tagName:"div",classNames:["popper"],attributes:[],parent:m.document.body,content:"",contentType:"text",arrowTagName:"div",arrowClassNames:["popper__arrow"],arrowAttributes:["x-arrow"]};e=Object.assign({},n,e);var s=m.document,r=s.createElement(e.tagName);if(t(r,e.classNames),i(r,e.attributes),"node"===e.contentType?r.appendChild(e.content.jquery?e.content[0]:e.content):"html"===e.contentType?r.innerHTML=e.content:r.textContent=e.content,e.arrowTagName){var a=s.createElement(e.arrowTagName);t(a,e.arrowClassNames),i(a,e.arrowAttributes),r.appendChild(a)}var o=e.parent.jquery?e.parent[0]:e.parent;if("string"==typeof o){if(o=s.querySelectorAll(e.parent),o.length>1&&console.warn("WARNING: the given `parent` query("+e.parent+") matched more than one element, the first one will be used"),0===o.length)throw"ERROR: the given `parent` doesn't exists!";o=o[0]}return o.length>1&&o instanceof Element==!1&&(console.warn("WARNING: you have passed as parent a list of elements, the first one will be used"),o=o[0]),o.appendChild(r),r},e.prototype._getPosition=function(e,t){var i=a(t);return this._options.forceAbsolute?"absolute":l(t,i)?"fixed":"absolute"},e.prototype._getOffsets=function(e,i,n){n=n.split("-")[0];var s={};s.position=this.state.position;var r="fixed"===s.position,o=f(i,a(e),r),l=t(e);return-1!==["right","left"].indexOf(n)?(s.top=o.top+o.height/2-l.height/2,s.left="left"===n?o.left-l.width:o.right):(s.left=o.left+o.width/2-l.width/2,s.top="top"===n?o.top-l.height:o.bottom),s.width=l.width,s.height=l.height,{popper:s,reference:o}},e.prototype._setupEventListeners=function(){if(this.state.updateBound=this.update.bind(this),m.addEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement){var e=o(this._reference);e!==m.document.body&&e!==m.document.documentElement||(e=m),e.addEventListener("scroll",this.state.updateBound),this.state.scrollTarget=e}},e.prototype._removeEventListeners=function(){m.removeEventListener("resize",this.state.updateBound),"window"!==this._options.boundariesElement&&this.state.scrollTarget&&(this.state.scrollTarget.removeEventListener("scroll",this.state.updateBound),this.state.scrollTarget=null),this.state.updateBound=null},e.prototype._getBoundaries=function(e,t,i){var n,s,r={};if("window"===i){var l=m.document.body,u=m.document.documentElement;s=Math.max(l.scrollHeight,l.offsetHeight,u.clientHeight,u.scrollHeight,u.offsetHeight),n=Math.max(l.scrollWidth,l.offsetWidth,u.clientWidth,u.scrollWidth,u.offsetWidth),r={top:0,right:n,bottom:s,left:0}}else if("viewport"===i){var c=a(this._popper),h=o(this._popper),f=d(c),p="fixed"===e.offsets.popper.position?0:function(e){return e==document.body?Math.max(document.documentElement.scrollTop,document.body.scrollTop):e.scrollTop}(h),v="fixed"===e.offsets.popper.position?0:function(e){return e==document.body?Math.max(document.documentElement.scrollLeft,document.body.scrollLeft):e.scrollLeft}(h);r={top:0-(f.top-p),right:m.document.documentElement.clientWidth-(f.left-v),bottom:m.document.documentElement.clientHeight-(f.top-p),left:0-(f.left-v)}}else r=a(this._popper)===i?{top:0,left:0,right:i.clientWidth,bottom:i.clientHeight}:d(i);return r.left+=t,r.right-=t,r.top=r.top+t,r.bottom=r.bottom-t,r},e.prototype.runModifiers=function(e,t,i){var n=t.slice();return void 0!==i&&(n=this._options.modifiers.slice(0,s(this._options.modifiers,i))),n.forEach(function(t){c(t)&&(e=t.call(this,e))}.bind(this)),e},e.prototype.isModifierRequired=function(e,t){var i=s(this._options.modifiers,e);return!!this._options.modifiers.slice(0,i).filter(function(e){return e===t}).length},e.prototype.modifiers={},e.prototype.modifiers.applyStyle=function(e){var t,i={position:e.offsets.popper.position},n=Math.round(e.offsets.popper.left),s=Math.round(e.offsets.popper.top);return this._options.gpuAcceleration&&(t=p("transform"))?(i[t]="translate3d("+n+"px, "+s+"px, 0)",i.top=0,i.left=0):(i.left=n,i.top=s),Object.assign(i,e.styles),u(this._popper,i),this._popper.setAttribute("x-placement",e.placement),this.isModifierRequired(this.modifiers.applyStyle,this.modifiers.arrow)&&e.offsets.arrow&&u(e.arrowElement,e.offsets.arrow),e},e.prototype.modifiers.shift=function(e){var t=e.placement,i=t.split("-")[0],s=t.split("-")[1];if(s){var r=e.offsets.reference,a=n(e.offsets.popper),o={y:{start:{top:r.top},end:{top:r.top+r.height-a.height}},x:{start:{left:r.left},end:{left:r.left+r.width-a.width}}},l=-1!==["bottom","top"].indexOf(i)?"x":"y";e.offsets.popper=Object.assign(a,o[l][s])}return e},e.prototype.modifiers.preventOverflow=function(e){var t=this._options.preventOverflowOrder,i=n(e.offsets.popper),s={left:function(){var t=i.left;return i.left<e.boundaries.left&&(t=Math.max(i.left,e.boundaries.left)),{left:t}},right:function(){var t=i.left;return i.right>e.boundaries.right&&(t=Math.min(i.left,e.boundaries.right-i.width)),{left:t}},top:function(){var t=i.top;return i.top<e.boundaries.top&&(t=Math.max(i.top,e.boundaries.top)),{top:t}},bottom:function(){var t=i.top;return i.bottom>e.boundaries.bottom&&(t=Math.min(i.top,e.boundaries.bottom-i.height)),{top:t}}};return t.forEach(function(t){e.offsets.popper=Object.assign(i,s[t]())}),e},e.prototype.modifiers.keepTogether=function(e){var t=n(e.offsets.popper),i=e.offsets.reference,s=Math.floor;return t.right<s(i.left)&&(e.offsets.popper.left=s(i.left)-t.width),t.left>s(i.right)&&(e.offsets.popper.left=s(i.right)),t.bottom<s(i.top)&&(e.offsets.popper.top=s(i.top)-t.height),t.top>s(i.bottom)&&(e.offsets.popper.top=s(i.bottom)),e},e.prototype.modifiers.flip=function(e){if(!this.isModifierRequired(this.modifiers.flip,this.modifiers.preventOverflow))return console.warn("WARNING: preventOverflow modifier is required by flip modifier in order to work, be sure to include it before flip!"),e;if(e.flipped&&e.placement===e._originalPlacement)return e;var t=e.placement.split("-")[0],s=i(t),r=e.placement.split("-")[1]||"",a=[];return a="flip"===this._options.flipBehavior?[t,s]:this._options.flipBehavior,a.forEach(function(o,l){if(t===o&&a.length!==l+1){t=e.placement.split("-")[0],s=i(t);var u=n(e.offsets.popper),c=-1!==["right","bottom"].indexOf(t);(c&&Math.floor(e.offsets.reference[t])>Math.floor(u[s])||!c&&Math.floor(e.offsets.reference[t])<Math.floor(u[s]))&&(e.flipped=!0,e.placement=a[l+1],r&&(e.placement+="-"+r),e.offsets.popper=this._getOffsets(this._popper,this._reference,e.placement).popper,e=this.runModifiers(e,this._options.modifiers,this._flip))}}.bind(this)),e},e.prototype.modifiers.offset=function(e){var t=this._options.offset,i=e.offsets.popper;return-1!==e.placement.indexOf("left")?i.top-=t:-1!==e.placement.indexOf("right")?i.top+=t:-1!==e.placement.indexOf("top")?i.left-=t:-1!==e.placement.indexOf("bottom")&&(i.left+=t),e},e.prototype.modifiers.arrow=function(e){var i=this._options.arrowElement,s=this._options.arrowOffset;if("string"==typeof i&&(i=this._popper.querySelector(i)),!i)return e;if(!this._popper.contains(i))return console.warn("WARNING: `arrowElement` must be child of its popper element!"),e;if(!this.isModifierRequired(this.modifiers.arrow,this.modifiers.keepTogether))return console.warn("WARNING: keepTogether modifier is required by arrow modifier in order to work, be sure to include it before arrow!"),e;var r={},a=e.placement.split("-")[0],o=n(e.offsets.popper),l=e.offsets.reference,u=-1!==["left","right"].indexOf(a),c=u?"height":"width",d=u?"top":"left",h=u?"left":"top",f=u?"bottom":"right",p=t(i)[c];l[f]-p<o[d]&&(e.offsets.popper[d]-=o[d]-(l[f]-p)),l[d]+p>o[f]&&(e.offsets.popper[d]+=l[d]+p-o[f]);var m=l[d]+(s||l[c]/2-p/2),v=m-o[d];return v=Math.max(Math.min(o[c]-p-8,v),8),r[d]=v,r[h]="",e.offsets.arrow=r,e.arrowElement=i,e},Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:function(e){if(void 0===e||null===e)throw new TypeError("Cannot convert first argument to object");for(var t=Object(e),i=1;i<arguments.length;i++){var n=arguments[i];if(void 0!==n&&null!==n){n=Object(n);for(var s=Object.keys(n),r=0,a=s.length;r<a;r++){var o=s[r],l=Object.getOwnPropertyDescriptor(n,o);void 0!==l&&l.enumerable&&(t[o]=n[o])}}}return t}}),e})},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"el-select-dropdown el-popper",class:[{"is-multiple":e.$parent.multiple},e.popperClass],style:{minWidth:e.minWidth}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s=i(1),r=function(e){return e&&e.__esModule?e:{default:e}}(s),a=i(6);t.default={mixins:[r.default],name:"ElOption",componentName:"ElOption",inject:["select"],props:{value:{required:!0},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},data:function(){return{index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}},computed:{isObject:function(){return"[object object]"===Object.prototype.toString.call(this.value).toLowerCase()},currentLabel:function(){return this.label||(this.isObject?"":this.value)},currentValue:function(){return this.value||this.label||""},itemSelected:function(){return this.select.multiple?this.contains(this.select.value,this.value):this.isEqual(this.value,this.select.value)},limitReached:function(){return!!this.select.multiple&&(!this.itemSelected&&(this.select.value||[]).length>=this.select.multipleLimit&&this.select.multipleLimit>0)}},watch:{currentLabel:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")},value:function(){this.created||this.select.remote||this.dispatch("ElSelect","setSelected")}},methods:{isEqual:function(e,t){if(this.isObject){var i=this.select.valueKey;return(0,a.getValueByPath)(e,i)===(0,a.getValueByPath)(t,i)}return e===t},contains:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=arguments[1];if(!this.isObject)return t.indexOf(i)>-1;var s=function(){var n=e.select.valueKey;return{v:t.some(function(e){return(0,a.getValueByPath)(e,n)===(0,a.getValueByPath)(i,n)})}}();return"object"===(void 0===s?"undefined":n(s))?s.v:void 0},handleGroupDisabled:function(e){this.groupDisabled=e},hoverItem:function(){this.disabled||this.groupDisabled||(this.select.hoverIndex=this.select.options.indexOf(this))},selectOptionClick:function(){!0!==this.disabled&&!0!==this.groupDisabled&&this.dispatch("ElSelect","handleOptionClick",[this,!0])},queryChange:function(e){var t=String(e).replace(/(\^|\(|\)|\[|\]|\$|\*|\+|\.|\?|\\|\{|\}|\|)/g,"\\$1");this.visible=new RegExp(t,"i").test(this.currentLabel)||this.created,this.visible||this.select.filteredOptionsCount--}},created:function(){this.select.options.push(this),this.select.cachedOptions.push(this),this.select.optionsCount++,this.select.filteredOptionsCount++,this.$on("queryChange",this.queryChange),this.$on("handleGroupDisabled",this.handleGroupDisabled)},beforeDestroy:function(){this.select.onOptionDestroy(this.select.options.indexOf(this))}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("li",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-dropdown__item",class:{selected:e.itemSelected,"is-disabled":e.disabled||e.groupDisabled||e.limitReached,hover:e.hover},on:{mouseenter:e.hoverItem,click:function(t){t.stopPropagation(),e.selectOptionClick(t)}}},[e._t("default",[i("span",[e._v(e._s(e.currentLabel))])])],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(118),s=i.n(n),r=i(119),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElTag",props:{text:String,closable:Boolean,type:String,hit:Boolean,disableTransitions:Boolean,color:String,size:String},methods:{handleClose:function(e){this.$emit("close",e)}},computed:{tagSize:function(){return this.size||(this.$ELEMENT||{}).size}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:e.disableTransitions?"":"el-zoom-in-center"}},[i("span",{staticClass:"el-tag",class:[e.type?"el-tag--"+e.type:"",e.tagSize&&"el-tag--"+e.tagSize,{"is-hit":e.hit}],style:{backgroundColor:e.color}},[e._t("default"),e.closable?i("i",{staticClass:"el-tag__close el-icon-close",on:{click:function(t){t.stopPropagation(),e.handleClose(t)}}}):e._e()],2)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(27),r=i(44),a=n(r),o=i(6),l=i(123),u=n(l);t.default={name:"ElScrollbar",components:{Bar:u.default},props:{native:Boolean,wrapStyle:{},wrapClass:{},viewClass:{},viewStyle:{},noresize:Boolean,tag:{type:String,default:"div"}},data:function(){return{sizeWidth:"0",sizeHeight:"0",moveX:0,moveY:0}},computed:{wrap:function(){return this.$refs.wrap}},render:function(e){var t=(0,a.default)(),i=this.wrapStyle;if(t){var n="-"+t+"px",s="margin-bottom: "+n+"; margin-right: "+n+";";Array.isArray(this.wrapStyle)?(i=(0,o.toObject)(this.wrapStyle),i.marginRight=i.marginBottom=n):"string"==typeof this.wrapStyle?i+=s:i=s}var r=e(this.tag,{class:["el-scrollbar__view",this.viewClass],style:this.viewStyle,ref:"resize"},this.$slots.default),l=e("div",{ref:"wrap",style:i,on:{scroll:this.handleScroll},class:[this.wrapClass,"el-scrollbar__wrap",t?"":"el-scrollbar__wrap--hidden-default"]},[[r]]),c=void 0;return c=this.native?[e("div",{ref:"wrap",class:[this.wrapClass,"el-scrollbar__wrap"],style:i},[[r]])]:[l,e(u.default,{attrs:{move:this.moveX,size:this.sizeWidth}},[]),e(u.default,{attrs:{vertical:!0,move:this.moveY,size:this.sizeHeight}},[])],e("div",{class:"el-scrollbar"},c)},methods:{handleScroll:function(){var e=this.wrap;this.moveY=100*e.scrollTop/e.clientHeight,this.moveX=100*e.scrollLeft/e.clientWidth},update:function(){var e=void 0,t=void 0,i=this.wrap;i&&(e=100*i.clientHeight/i.scrollHeight,t=100*i.clientWidth/i.scrollWidth,this.sizeHeight=e<100?e+"%":"",this.sizeWidth=t<100?t+"%":"")}},mounted:function(){this.native||(this.$nextTick(this.update),!this.noresize&&(0,s.addResizeListener)(this.$refs.resize,this.update))},beforeDestroy:function(){this.native||!this.noresize&&(0,s.removeResizeListener)(this.$refs.resize,this.update)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e){function i(e){return parseFloat(e)||0}function n(e){for(var t=[],n=arguments.length-1;n-- >0;)t[n]=arguments[n+1];return t.reduce(function(t,n){return t+i(e["border-"+n+"-width"])},0)}function s(e){for(var t=["top","right","bottom","left"],n={},s=0,r=t;s<r.length;s+=1){var a=r[s],o=e["padding-"+a];n[a]=i(o)}return n}function r(e){var t=e.getBBox();return c(0,0,t.width,t.height)}function a(e){var t=e.clientWidth,r=e.clientHeight;if(!t&&!r)return x;var a=C(e).getComputedStyle(e),l=s(a),u=l.left+l.right,d=l.top+l.bottom,h=i(a.width),f=i(a.height);if("border-box"===a.boxSizing&&(Math.round(h+u)!==t&&(h-=n(a,"left","right")+u),Math.round(f+d)!==r&&(f-=n(a,"top","bottom")+d)),!o(e)){var p=Math.round(h+u)-t,m=Math.round(f+d)-r;1!==Math.abs(p)&&(h-=p),1!==Math.abs(m)&&(f-=m)}return c(l.left,l.top,h,f)}function o(e){return e===C(e).document.documentElement}function l(e){return h?w(e)?r(e):a(e):x}function u(e){var t=e.x,i=e.y,n=e.width,s=e.height,r="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,a=Object.create(r.prototype);return _(a,{x:t,y:i,width:n,height:s,top:i,right:t+n,bottom:s+i,left:t}),a}function c(e,t,i,n){return{x:e,y:t,width:i,height:n}}var d=function(){function e(e,t){var i=-1;return e.some(function(e,n){return e[0]===t&&(i=n,!0)}),i}return"undefined"!=typeof Map?Map:function(){function t(){this.__entries__=[]}var i={size:{configurable:!0}};return i.size.get=function(){return this.__entries__.length},t.prototype.get=function(t){var i=e(this.__entries__,t),n=this.__entries__[i];return n&&n[1]},t.prototype.set=function(t,i){var n=e(this.__entries__,t);~n?this.__entries__[n][1]=i:this.__entries__.push([t,i])},t.prototype.delete=function(t){var i=this.__entries__,n=e(i,t);~n&&i.splice(n,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){var i=this;void 0===t&&(t=null);for(var n=0,s=i.__entries__;n<s.length;n+=1){var r=s[n];e.call(t,r[1],r[0])}},Object.defineProperties(t.prototype,i),t}()}(),h="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,f=function(){return void 0!==e&&e.Math===Math?e:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")()}(),p=function(){return"function"==typeof requestAnimationFrame?requestAnimationFrame.bind(f):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)}}(),m=2,v=function(e,t){function i(){r&&(r=!1,e()),a&&s()}function n(){p(i)}function s(){var e=Date.now();if(r){if(e-o<m)return;a=!0}else r=!0,a=!1,setTimeout(n,t);o=e}var r=!1,a=!1,o=0;return s},g=["top","right","bottom","left","width","height","size","weight"],b="undefined"!=typeof MutationObserver,y=function(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=v(this.refresh.bind(this),20)};y.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},y.prototype.removeObserver=function(e){var t=this.observers_,i=t.indexOf(e);~i&&t.splice(i,1),!t.length&&this.connected_&&this.disconnect_()},y.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},y.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},y.prototype.connect_=function(){h&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),b?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},y.prototype.disconnect_=function(){h&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},y.prototype.onTransitionEnd_=function(e){var t=e.propertyName;void 0===t&&(t=""),g.some(function(e){return!!~t.indexOf(e)})&&this.refresh()},y.getInstance=function(){return this.instance_||(this.instance_=new y),this.instance_},y.instance_=null;var _=function(e,t){for(var i=0,n=Object.keys(t);i<n.length;i+=1){var s=n[i];Object.defineProperty(e,s,{value:t[s],enumerable:!1,writable:!1,configurable:!0})}return e},C=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||f},x=c(0,0,0,0),w=function(){return"undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof C(e).SVGGraphicsElement}:function(e){return e instanceof C(e).SVGElement&&"function"==typeof e.getBBox}}(),k=function(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=c(0,0,0,0),this.target=e};k.prototype.isActive=function(){var e=l(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},k.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e};var S=function(e,t){var i=u(t);_(this,{target:e,contentRect:i})},M=function(e,t,i){if(this.activeObservations_=[],this.observations_=new d,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=i};M.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof C(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new k(e)),this.controller_.addObserver(this),this.controller_.refresh())}},M.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof C(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},M.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},M.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},M.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new S(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},M.prototype.clearActive=function(){this.activeObservations_.splice(0)},M.prototype.hasActive=function(){return this.activeObservations_.length>0};var $="undefined"!=typeof WeakMap?new WeakMap:new d,D=function(e){if(!(this instanceof D))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var t=y.getInstance(),i=new M(e,t,this);$.set(this,i)};["observe","unobserve","disconnect"].forEach(function(e){D.prototype[e]=function(){return(t=$.get(this))[e].apply(t,arguments);var t}});var E=function(){return void 0!==f.ResizeObserver?f.ResizeObserver:D}();t.default=E}.call(t,i(122))},function(e,t){var i;i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){"use strict";t.__esModule=!0;var n=i(3),s=i(124);t.default={name:"Bar",props:{vertical:Boolean,size:String,move:Number},computed:{bar:function(){return s.BAR_MAP[this.vertical?"vertical":"horizontal"]},wrap:function(){return this.$parent.wrap}},render:function(e){var t=this.size,i=this.move,n=this.bar;return e("div",{class:["el-scrollbar__bar","is-"+n.key],on:{mousedown:this.clickTrackHandler}},[e("div",{ref:"thumb",class:"el-scrollbar__thumb",on:{mousedown:this.clickThumbHandler},style:(0,s.renderThumbStyle)({size:t,move:i,bar:n})},[])])},methods:{clickThumbHandler:function(e){this.startDrag(e),this[this.bar.axis]=e.currentTarget[this.bar.offset]-(e[this.bar.client]-e.currentTarget.getBoundingClientRect()[this.bar.direction])},clickTrackHandler:function(e){var t=Math.abs(e.target.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),i=this.$refs.thumb[this.bar.offset]/2,n=100*(t-i)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=n*this.wrap[this.bar.scrollSize]/100},startDrag:function(e){e.stopImmediatePropagation(),this.cursorDown=!0,(0,n.on)(document,"mousemove",this.mouseMoveDocumentHandler),(0,n.on)(document,"mouseup",this.mouseUpDocumentHandler),document.onselectstart=function(){return!1}},mouseMoveDocumentHandler:function(e){if(!1!==this.cursorDown){var t=this[this.bar.axis];if(t){var i=-1*(this.$el.getBoundingClientRect()[this.bar.direction]-e[this.bar.client]),n=this.$refs.thumb[this.bar.offset]-t,s=100*(i-n)/this.$el[this.bar.offset];this.wrap[this.bar.scroll]=s*this.wrap[this.bar.scrollSize]/100}}},mouseUpDocumentHandler:function(e){this.cursorDown=!1,this[this.bar.axis]=0,(0,n.off)(document,"mousemove",this.mouseMoveDocumentHandler),document.onselectstart=null}},destroyed:function(){(0,n.off)(document,"mouseup",this.mouseUpDocumentHandler)}}},function(e,t,i){"use strict";function n(e){var t=e.move,i=e.size,n=e.bar,s={},r="translate"+n.axis+"("+t+"%)";return s[n.size]=i,s.transform=r,s.msTransform=r,s.webkitTransform=r,s}t.__esModule=!0,t.renderThumbStyle=n;t.BAR_MAP={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}}},function(e,t,i){"use strict";t.__esModule=!0,t.default={data:function(){return{hoverOption:-1}},computed:{optionsAllDisabled:function(){return this.options.filter(function(e){return e.visible}).every(function(e){return e.disabled})}},watch:{hoverIndex:function(e){var t=this;"number"==typeof e&&e>-1&&(this.hoverOption=this.options[e]||{}),this.options.forEach(function(e){e.hover=t.hoverOption===e})}},methods:{navigateOptions:function(e){var t=this;if(!this.visible)return void(this.visible=!0);if(0!==this.options.length&&0!==this.filteredOptionsCount&&!this.optionsAllDisabled){"next"===e?++this.hoverIndex===this.options.length&&(this.hoverIndex=0):"prev"===e&&--this.hoverIndex<0&&(this.hoverIndex=this.options.length-1);var i=this.options[this.hoverIndex];!0!==i.disabled&&!0!==i.groupDisabled&&i.visible||this.navigateOptions(e),this.$nextTick(function(){return t.scrollToOption(t.hoverOption)})}}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],staticClass:"el-select",class:[e.selectSize?"el-select--"+e.selectSize:""],on:{click:function(t){t.stopPropagation(),e.toggleMenu(t)}}},[e.multiple?i("div",{ref:"tags",staticClass:"el-select__tags",style:{"max-width":e.inputWidth-32+"px"}},[e.collapseTags&&e.selected.length?i("span",[i("el-tag",{attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":""},on:{close:function(t){e.deleteTag(t,e.selected[0])}}},[i("span",{staticClass:"el-select__tags-text"},[e._v(e._s(e.selected[0].currentLabel))])]),e.selected.length>1?i("el-tag",{attrs:{closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""}},[i("span",{staticClass:"el-select__tags-text"},[e._v("+ "+e._s(e.selected.length-1))])]):e._e()],1):e._e(),e.collapseTags?e._e():i("transition-group",{on:{"after-leave":e.resetInputHeight}},e._l(e.selected,function(t){return i("el-tag",{key:e.getValueKey(t),attrs:{closable:!e.selectDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":""},on:{close:function(i){e.deleteTag(i,t)}}},[i("span",{staticClass:"el-select__tags-text"},[e._v(e._s(t.currentLabel))])])})),e.filterable?i("input",{directives:[{name:"model",rawName:"v-model",value:e.query,expression:"query"}],ref:"input",staticClass:"el-select__input",class:[e.selectSize?"is-"+e.selectSize:""],style:{width:e.inputLength+"px","max-width":e.inputWidth-42+"px"},attrs:{type:"text",disabled:e.selectDisabled,autocomplete:e.autoComplete,debounce:e.remote?300:0},domProps:{value:e.query},on:{focus:e.handleFocus,blur:function(t){e.softFocus=!1},click:function(e){e.stopPropagation()},keyup:e.managePlaceholder,keydown:[e.resetInputState,function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key))return null;t.preventDefault(),e.navigateOptions("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key))return null;t.preventDefault(),e.navigateOptions("prev")},function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;t.preventDefault(),e.selectOption(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"delete",[8,46],t.key))return null;e.deletePrevTag(t)}],compositionstart:e.handleComposition,compositionupdate:e.handleComposition,compositionend:e.handleComposition,input:[function(t){t.target.composing||(e.query=t.target.value)},function(t){return e.handleQueryChange(t.target.value)}]}}):e._e()],1):e._e(),i("el-input",{ref:"reference",class:{"is-focus":e.visible},attrs:{type:"text",placeholder:e.currentPlaceholder,name:e.name,id:e.id,"auto-complete":e.autoComplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1},on:{focus:e.handleFocus,blur:e.handleBlur},nativeOn:{keyup:function(t){e.debouncedOnInputChange(t)},keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key))return null;t.stopPropagation(),t.preventDefault(),e.navigateOptions("next")},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key))return null;t.stopPropagation(),t.preventDefault(),e.navigateOptions("prev")},function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;t.preventDefault(),e.selectOption(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"esc",27,t.key))return null;t.stopPropagation(),t.preventDefault(),e.visible=!1},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key))return null;e.visible=!1}],paste:function(t){e.debouncedOnInputChange(t)},mouseenter:function(t){e.inputHovering=!0},mouseleave:function(t){e.inputHovering=!1}},model:{value:e.selectedLabel,callback:function(t){e.selectedLabel=t},expression:"selectedLabel"}},[e.$slots.prefix?i("template",{attrs:{slot:"prefix"},slot:"prefix"},[e._t("prefix")],2):e._e(),i("i",{class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass],attrs:{slot:"suffix"},on:{click:e.handleIconClick},slot:"suffix"})],2),i("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":e.doDestroy}},[i("el-select-menu",{directives:[{name:"show",rawName:"v-show",value:e.visible&&!1!==e.emptyText,expression:"visible && emptyText !== false"}],ref:"popper",attrs:{"append-to-body":e.popperAppendToBody}},[i("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.options.length>0&&!e.loading,expression:"options.length > 0 && !loading"}],ref:"scrollbar",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount},attrs:{tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list"}},[e.showNewOption?i("el-option",{attrs:{value:e.query,created:""}}):e._e(),e._t("default")],2),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.length)?i("p",{staticClass:"el-select-dropdown__empty"},[e._v("\n "+e._s(e.emptyText)+"\n ")]):e._e()],1)],1)],1)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(128),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(129),s=i.n(n),r=i(130),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(14),r=n(s),a=i(9),o=n(a),l=i(1),u=n(l);t.default={name:"ElDialog",mixins:[r.default,u.default,o.default],props:{title:{type:String,default:""},modal:{type:Boolean,default:!0},modalAppendToBody:{type:Boolean,default:!0},appendToBody:{type:Boolean,default:!1},lockScroll:{type:Boolean,default:!0},closeOnClickModal:{type:Boolean,default:!0},closeOnPressEscape:{type:Boolean,default:!0},showClose:{type:Boolean,default:!0},width:String,fullscreen:Boolean,customClass:{type:String,default:""},top:{type:String,default:"15vh"},beforeClose:Function,center:{type:Boolean,default:!1}},data:function(){return{closed:!1}},watch:{visible:function(e){var t=this;e?(this.closed=!1,this.$emit("open"),this.$el.addEventListener("scroll",this.updatePopper),this.$nextTick(function(){t.$refs.dialog.scrollTop=0}),this.appendToBody&&document.body.appendChild(this.$el)):(this.$el.removeEventListener("scroll",this.updatePopper),this.closed||this.$emit("close"))}},computed:{style:function(){var e={};return this.width&&(e.width=this.width),this.fullscreen||(e.marginTop=this.top),e}},methods:{getMigratingConfig:function(){return{props:{size:"size is removed."}}},handleWrapperClick:function(){this.closeOnClickModal&&this.handleClose()},handleClose:function(){"function"==typeof this.beforeClose?this.beforeClose(this.hide):this.hide()},hide:function(e){!1!==e&&(this.$emit("update:visible",!1),this.$emit("close"),this.closed=!0)},updatePopper:function(){this.broadcast("ElSelectDropdown","updatePopper"),this.broadcast("ElDropdownMenu","updatePopper")}},mounted:function(){this.visible&&(this.rendered=!0,this.open(),this.appendToBody&&document.body.appendChild(this.$el))},destroyed:function(){this.appendToBody&&this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el)}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"dialog-fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-dialog__wrapper",on:{click:function(t){if(t.target!==t.currentTarget)return null;e.handleWrapperClick(t)}}},[i("div",{ref:"dialog",staticClass:"el-dialog",class:[{"is-fullscreen":e.fullscreen,"el-dialog--center":e.center},e.customClass],style:e.style},[i("div",{staticClass:"el-dialog__header"},[e._t("title",[i("span",{staticClass:"el-dialog__title"},[e._v(e._s(e.title))])]),e.showClose?i("button",{staticClass:"el-dialog__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:e.handleClose}},[i("i",{staticClass:"el-dialog__close el-icon el-icon-close"})]):e._e()],2),e.rendered?i("div",{staticClass:"el-dialog__body"},[e._t("default")],2):e._e(),e.$slots.footer?i("div",{staticClass:"el-dialog__footer"},[e._t("footer")],2):e._e()])])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(132),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(133),s=i.n(n),r=i(137),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(18),r=n(s),a=i(8),o=n(a),l=i(12),u=n(l),c=i(134),d=n(c),h=i(1),f=n(h),p=i(9),m=n(p),v=i(6),g=i(30),b=n(g);t.default={name:"ElAutocomplete",mixins:[f.default,(0,b.default)("input"),m.default],componentName:"ElAutocomplete",components:{ElInput:o.default,ElAutocompleteSuggestions:d.default},directives:{Clickoutside:u.default},props:{valueKey:{type:String,default:"value"},popperClass:String,popperOptions:Object,placeholder:String,disabled:Boolean,name:String,size:String,value:String,maxlength:Number,minlength:Number,autofocus:Boolean,fetchSuggestions:Function,triggerOnFocus:{type:Boolean,default:!0},customItem:String,selectWhenUnmatched:{type:Boolean,default:!1},prefixIcon:String,suffixIcon:String,label:String,debounce:{type:Number,default:300},placement:{type:String,default:"bottom-start"}},data:function(){return{activated:!1,isOnComposition:!1,suggestions:[],loading:!1,highlightedIndex:-1}},computed:{suggestionVisible:function(){var e=this.suggestions;return(Array.isArray(e)&&e.length>0||this.loading)&&this.activated},id:function(){return"el-autocomplete-"+(0,v.generateId)()}},watch:{suggestionVisible:function(e){this.broadcast("ElAutocompleteSuggestions","visible",[e,this.$refs.input.$refs.input.offsetWidth])}},methods:{getMigratingConfig:function(){return{props:{"custom-item":"custom-item is removed, use scoped slot instead.",props:"props is removed, use value-key instead."}}},getData:function(e){var t=this;this.loading=!0,this.fetchSuggestions(e,function(e){t.loading=!1,Array.isArray(e)?t.suggestions=e:console.error("autocomplete suggestions must be an array")})},handleComposition:function(e){"compositionend"===e.type?(this.isOnComposition=!1,this.handleChange(e.target.value)):this.isOnComposition=!0},handleChange:function(e){if(this.$emit("input",e),this.isOnComposition||!this.triggerOnFocus&&!e)return void(this.suggestions=[]);this.debouncedGetData(e)},handleFocus:function(e){this.activated=!0,this.$emit("focus",e),this.triggerOnFocus&&this.debouncedGetData(this.value)},handleBlur:function(e){this.$emit("blur",e)},close:function(e){this.activated=!1},handleKeyEnter:function(e){var t=this;this.suggestionVisible&&this.highlightedIndex>=0&&this.highlightedIndex<this.suggestions.length?(e.preventDefault(),this.select(this.suggestions[this.highlightedIndex])):this.selectWhenUnmatched&&(this.$emit("select",{value:this.value}),this.$nextTick(function(e){t.suggestions=[],t.highlightedIndex=-1}))},select:function(e){var t=this;this.$emit("input",e[this.valueKey]),this.$emit("select",e),this.$nextTick(function(e){t.suggestions=[],t.highlightedIndex=-1})},highlight:function(e){if(this.suggestionVisible&&!this.loading){if(e<0)return void(this.highlightedIndex=-1);e>=this.suggestions.length&&(e=this.suggestions.length-1);var t=this.$refs.suggestions.$el.querySelector(".el-autocomplete-suggestion__wrap"),i=t.querySelectorAll(".el-autocomplete-suggestion__list li"),n=i[e],s=t.scrollTop,r=n.offsetTop;r+n.scrollHeight>s+t.clientHeight&&(t.scrollTop+=n.scrollHeight),r<s&&(t.scrollTop-=n.scrollHeight),this.highlightedIndex=e,this.$el.querySelector(".el-input__inner").setAttribute("aria-activedescendant",this.id+"-item-"+this.highlightedIndex)}}},mounted:function(){var e=this;this.debouncedGetData=(0,r.default)(this.debounce,function(t){e.getData(t)}),this.$on("item-click",function(t){e.select(t)});var t=this.$el.querySelector(".el-input__inner");t.setAttribute("role","textbox"),t.setAttribute("aria-autocomplete","list"),t.setAttribute("aria-controls","id"),t.setAttribute("aria-activedescendant",this.id+"-item-"+this.highlightedIndex)},beforeDestroy:function(){this.$refs.suggestions.$destroy()}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(135),s=i.n(n),r=i(136),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(11),r=n(s),a=i(1),o=n(a),l=i(26),u=n(l);t.default={components:{ElScrollbar:u.default},mixins:[r.default,o.default],componentName:"ElAutocompleteSuggestions",data:function(){return{parent:this.$parent,dropdownWidth:""}},props:{options:{default:function(){return{gpuAcceleration:!1}}},id:String},methods:{select:function(e){this.dispatch("ElAutocomplete","item-click",e)}},updated:function(){var e=this;this.$nextTick(function(t){e.popperJS&&e.updatePopper()})},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$refs.input.$refs.input,this.referenceList=this.$el.querySelector(".el-autocomplete-suggestion__list"),this.referenceList.setAttribute("role","listbox"),this.referenceList.setAttribute("id",this.id)},created:function(){var e=this;this.$on("visible",function(t,i){e.dropdownWidth=i+"px",e.showPopper=t})}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-autocomplete-suggestion el-popper",class:{"is-loading":e.parent.loading},style:{width:e.dropdownWidth},attrs:{role:"region"}},[i("el-scrollbar",{attrs:{tag:"ul","wrap-class":"el-autocomplete-suggestion__wrap","view-class":"el-autocomplete-suggestion__list"}},[e.parent.loading?i("li",[i("i",{staticClass:"el-icon-loading"})]):e._t("default")],2)],1)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.close,expression:"close"}],staticClass:"el-autocomplete",attrs:{"aria-haspopup":"listbox",role:"combobox","aria-expanded":e.suggestionVisible,"aria-owns":e.id}},[i("el-input",e._b({ref:"input",attrs:{label:e.label},on:{input:e.handleChange,focus:e.handleFocus,blur:e.handleBlur},nativeOn:{compositionstart:function(t){e.handleComposition(t)},compositionupdate:function(t){e.handleComposition(t)},compositionend:function(t){e.handleComposition(t)},keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key))return null;t.preventDefault(),e.highlight(e.highlightedIndex-1)},function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key))return null;t.preventDefault(),e.highlight(e.highlightedIndex+1)},function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;e.handleKeyEnter(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"tab",9,t.key))return null;e.close(t)}]}},"el-input",e.$props,!1),[e.$slots.prepend?i("template",{attrs:{slot:"prepend"},slot:"prepend"},[e._t("prepend")],2):e._e(),e.$slots.append?i("template",{attrs:{slot:"append"},slot:"append"},[e._t("append")],2):e._e(),e.$slots.prefix?i("template",{attrs:{slot:"prefix"},slot:"prefix"},[e._t("prefix")],2):e._e(),e.$slots.suffix?i("template",{attrs:{slot:"suffix"},slot:"suffix"},[e._t("suffix")],2):e._e()],2),i("el-autocomplete-suggestions",{ref:"suggestions",class:[e.popperClass?e.popperClass:""],attrs:{"visible-arrow":"","popper-options":e.popperOptions,placement:e.placement,id:e.id}},e._l(e.suggestions,function(t,n){return i("li",{key:n,class:{highlighted:e.highlightedIndex===n},attrs:{id:e.id+"-item-"+n,role:"option","aria-selected":e.highlightedIndex===n},on:{click:function(i){e.select(t)}}},[e._t("default",[e._v("\n "+e._s(t[e.valueKey])+"\n ")],{item:t})],2)}))],1)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(139),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(140),s=i.n(n),r=i(0),a=r(s.a,null,!1,null,null,null);t.default=a.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(12),r=n(s),a=i(1),o=n(a),l=i(9),u=n(l),c=i(19),d=n(c),h=i(70),f=n(h),p=i(6);t.default={name:"ElDropdown",componentName:"ElDropdown",mixins:[o.default,u.default],directives:{Clickoutside:r.default},components:{ElButton:d.default,ElButtonGroup:f.default},provide:function(){return{dropdown:this}},props:{trigger:{type:String,default:"hover"},type:String,size:{type:String,default:""},splitButton:Boolean,hideOnClick:{type:Boolean,default:!0},placement:{type:String,default:"bottom-end"},visibleArrow:{default:!0},showTimeout:{type:Number,default:250},hideTimeout:{type:Number,default:150}},data:function(){return{timeout:null,visible:!1,triggerElm:null,menuItems:null,menuItemsArray:null,dropdownElm:null,focusing:!1}},computed:{dropdownSize:function(){return this.size||(this.$ELEMENT||{}).size},listId:function(){return"dropdown-menu-"+(0,p.generateId)()}},mounted:function(){this.$on("menu-item-click",this.handleMenuItemClick),this.initEvent(),this.initAria()},watch:{visible:function(e){this.broadcast("ElDropdownMenu","visible",e),this.$emit("visible-change",e)},focusing:function(e){var t=this.$el.querySelector(".el-dropdown-selfdefine");t&&(e?t.className+=" focusing":t.className=t.className.replace("focusing",""))}},methods:{getMigratingConfig:function(){return{props:{"menu-align":"menu-align is renamed to placement."}}},show:function(){var e=this;this.triggerElm.disabled||(clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.visible=!0},"click"===this.trigger?0:this.showTimeout))},hide:function(){var e=this;this.triggerElm.disabled||(this.removeTabindex(),this.resetTabindex(this.triggerElm),clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.visible=!1},"click"===this.trigger?0:this.hideTimeout))},handleClick:function(){this.triggerElm.disabled||(this.visible?this.hide():this.show())},handleTriggerKeyDown:function(e){var t=e.keyCode;[38,40].indexOf(t)>-1?(this.removeTabindex(),this.resetTabindex(this.menuItems[0]),this.menuItems[0].focus(),e.preventDefault(),e.stopPropagation()):13===t?this.handleClick():[9,27].indexOf(t)>-1&&this.hide()},handleItemKeyDown:function(e){var t=e.keyCode,i=e.target,n=this.menuItemsArray.indexOf(i),s=this.menuItemsArray.length-1,r=void 0;[38,40].indexOf(t)>-1?(r=38===t?0!==n?n-1:0:n<s?n+1:s,this.removeTabindex(),this.resetTabindex(this.menuItems[r]),this.menuItems[r].focus(),e.preventDefault(),e.stopPropagation()):13===t?(this.triggerElm.focus(),i.click(),this.hideOnClick||(this.visible=!1)):[9,27].indexOf(t)>-1&&(this.hide(),this.triggerElm.focus())},resetTabindex:function(e){this.removeTabindex(),e.setAttribute("tabindex","0")},removeTabindex:function(){this.triggerElm.setAttribute("tabindex","-1"),this.menuItemsArray.forEach(function(e){e.setAttribute("tabindex","-1")})},initAria:function(){this.dropdownElm.setAttribute("id",this.listId),this.triggerElm.setAttribute("aria-haspopup","list"),this.triggerElm.setAttribute("aria-controls",this.listId),this.menuItems=this.dropdownElm.querySelectorAll("[tabindex='-1']"),this.menuItemsArray=Array.prototype.slice.call(this.menuItems),this.splitButton||(this.triggerElm.setAttribute("role","button"),this.triggerElm.setAttribute("tabindex","0"),this.triggerElm.setAttribute("class",(this.triggerElm.getAttribute("class")||"")+" el-dropdown-selfdefine"))},initEvent:function(){var e=this,t=this.trigger,i=this.show,n=this.hide,s=this.handleClick,r=this.splitButton,a=this.handleTriggerKeyDown,o=this.handleItemKeyDown;this.triggerElm=r?this.$refs.trigger.$el:this.$slots.default[0].elm;var l=this.dropdownElm=this.$slots.dropdown[0].elm;this.triggerElm.addEventListener("keydown",a),l.addEventListener("keydown",o,!0),r||(this.triggerElm.addEventListener("focus",function(){e.focusing=!0}),this.triggerElm.addEventListener("blur",function(){e.focusing=!1}),this.triggerElm.addEventListener("click",function(){e.focusing=!1})),"hover"===t?(this.triggerElm.addEventListener("mouseenter",i),this.triggerElm.addEventListener("mouseleave",n),l.addEventListener("mouseenter",i),l.addEventListener("mouseleave",n)):"click"===t&&this.triggerElm.addEventListener("click",s)},handleMenuItemClick:function(e,t){this.hideOnClick&&(this.visible=!1),this.$emit("command",e,t)},focus:function(){this.triggerElm.focus&&this.triggerElm.focus()}},render:function(e){var t=this,i=this.hide,n=this.splitButton,s=this.type,r=this.dropdownSize,a=function(e){t.$emit("click",e),i()},o=n?e("el-button-group",null,[e("el-button",{attrs:{type:s,size:r},nativeOn:{click:a}},[this.$slots.default]),e("el-button",{ref:"trigger",attrs:{type:s,size:r},class:"el-dropdown__caret-button"},[e("i",{class:"el-dropdown__icon el-icon-arrow-down"},[])])]):this.$slots.default;return e("div",{class:"el-dropdown",directives:[{name:"clickoutside",value:i}]},[o,this.$slots.dropdown])}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(142),s=i.n(n),r=i(143),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElButton",inject:{elForm:{default:""},elFormItem:{default:""}},props:{type:{type:String,default:"default"},size:String,icon:{type:String,default:""},nativeType:{type:String,default:"button"},loading:Boolean,disabled:Boolean,plain:Boolean,autofocus:Boolean,round:Boolean,circle:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},buttonSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},buttonDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},methods:{handleClick:function(e){this.$emit("click",e)}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("button",{staticClass:"el-button",class:[e.type?"el-button--"+e.type:"",e.buttonSize?"el-button--"+e.buttonSize:"",{"is-disabled":e.buttonDisabled,"is-loading":e.loading,"is-plain":e.plain,"is-round":e.round,"is-circle":e.circle}],attrs:{disabled:e.buttonDisabled||e.loading,autofocus:e.autofocus,type:e.nativeType},on:{click:e.handleClick}},[e.loading?i("i",{staticClass:"el-icon-loading"}):e._e(),e.icon&&!e.loading?i("i",{class:e.icon}):e._e(),e.$slots.default?i("span",[e._t("default")],2):e._e()])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(145),s=i.n(n),r=i(146),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElButtonGroup"}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"el-button-group"},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(148),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(149),s=i.n(n),r=i(150),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(11),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElDropdownMenu",componentName:"ElDropdownMenu",mixins:[s.default],props:{visibleArrow:{type:Boolean,default:!0},arrowOffset:{type:Number,default:0}},data:function(){return{size:this.dropdown.dropdownSize}},inject:["dropdown"],created:function(){var e=this;this.$on("updatePopper",function(){e.showPopper&&e.updatePopper()}),this.$on("visible",function(t){e.showPopper=t})},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$el},watch:{"dropdown.placement":{immediate:!0,handler:function(e){this.currentPlacement=e}}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[i("ul",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-dropdown-menu el-popper",class:[e.size&&"el-dropdown-menu--"+e.size]},[e._t("default")],2)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(152),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(153),s=i.n(n),r=i(154),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(1),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElDropdownItem",mixins:[s.default],props:{command:{},disabled:Boolean,divided:Boolean},methods:{handleClick:function(e){this.dispatch("ElDropdown","menu-item-click",[this.command,this])}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("li",{staticClass:"el-dropdown-menu__item",class:{"is-disabled":e.disabled,"el-dropdown-menu__item--divided":e.divided},attrs:{"aria-disabled":e.disabled,tabindex:e.disabled?null:-1},on:{click:e.handleClick}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(156),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(157),s=i.n(n),r=i(0),a=r(s.a,null,!1,null,null,null);t.default=a.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(1),r=n(s),a=i(9),o=n(a),l=i(158),u=n(l),c=i(3);t.default={name:"ElMenu",render:function(e){var t=e("ul",{attrs:{role:"menubar"},key:+this.collapse,style:{backgroundColor:this.backgroundColor||""},class:{"el-menu--horizontal":"horizontal"===this.mode,"el-menu--collapse":this.collapse,"el-menu":!0}},[this.$slots.default]);return this.collapseTransition?e("el-menu-collapse-transition",null,[t]):t},componentName:"ElMenu",mixins:[r.default,o.default],provide:function(){return{rootMenu:this}},components:{"el-menu-collapse-transition":{functional:!0,render:function(e,t){return e("transition",{props:{mode:"out-in"},on:{beforeEnter:function(e){e.style.opacity=.2},enter:function(e){(0,c.addClass)(e,"el-opacity-transition"),e.style.opacity=1},afterEnter:function(e){(0,c.removeClass)(e,"el-opacity-transition"),e.style.opacity=""},beforeLeave:function(e){e.dataset||(e.dataset={}),(0,c.hasClass)(e,"el-menu--collapse")?((0,c.removeClass)(e,"el-menu--collapse"),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth,(0,c.addClass)(e,"el-menu--collapse")):((0,c.addClass)(e,"el-menu--collapse"),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth,(0,c.removeClass)(e,"el-menu--collapse")),e.style.width=e.scrollWidth+"px",e.style.overflow="hidden"},leave:function(e){(0,c.addClass)(e,"horizontal-collapse-transition"),e.style.width=e.dataset.scrollWidth+"px"}}},t.children)}}},props:{mode:{type:String,default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:Array,uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,collapseTransition:{type:Boolean,default:!0}},data:function(){return{activeIndex:this.defaultActive,openedMenus:this.defaultOpeneds&&!this.collapse?this.defaultOpeneds.slice(0):[],items:{},submenus:{}}},computed:{hoverBackground:function(){return this.backgroundColor?this.mixColor(this.backgroundColor,.2):""},isMenuPopup:function(){return"horizontal"===this.mode||"vertical"===this.mode&&this.collapse}},watch:{defaultActive:"updateActiveIndex",defaultOpeneds:function(e){this.collapse||(this.openedMenus=e)},collapse:function(e){e&&(this.openedMenus=[]),this.broadcast("ElSubmenu","toggle-collapse",e)}},methods:{updateActiveIndex:function(){var e=this.items[this.defaultActive];e?(this.activeIndex=e.index,this.initOpenedMenu()):this.activeIndex=null},getMigratingConfig:function(){return{props:{theme:"theme is removed."}}},getColorChannels:function(e){if(e=e.replace("#",""),/^[0-9a-fA-F]{3}$/.test(e)){e=e.split("");for(var t=2;t>=0;t--)e.splice(t,0,e[t]);e=e.join("")}return/^[0-9a-fA-F]{6}$/.test(e)?{red:parseInt(e.slice(0,2),16),green:parseInt(e.slice(2,4),16),blue:parseInt(e.slice(4,6),16)}:{red:255,green:255,blue:255}},mixColor:function(e,t){var i=this.getColorChannels(e),n=i.red,s=i.green,r=i.blue;return t>0?(n*=1-t,s*=1-t,r*=1-t):(n+=(255-n)*t,s+=(255-s)*t,r+=(255-r)*t),"rgb("+Math.round(n)+", "+Math.round(s)+", "+Math.round(r)+")"},addItem:function(e){this.$set(this.items,e.index,e)},removeItem:function(e){delete this.items[e.index]},addSubmenu:function(e){this.$set(this.submenus,e.index,e)},removeSubmenu:function(e){delete this.submenus[e.index]},openMenu:function(e,t){var i=this.openedMenus;-1===i.indexOf(e)&&(this.uniqueOpened&&(this.openedMenus=i.filter(function(e){return-1!==t.indexOf(e)})),this.openedMenus.push(e))},closeMenu:function(e){var t=this.openedMenus.indexOf(e);-1!==t&&this.openedMenus.splice(t,1)},handleSubmenuClick:function(e){var t=e.index,i=e.indexPath;-1!==this.openedMenus.indexOf(t)?(this.closeMenu(t),this.$emit("close",t,i)):(this.openMenu(t,i),this.$emit("open",t,i))},handleItemClick:function(e){var t=this,i=e.index,n=e.indexPath,s=this.activeIndex;this.activeIndex=e.index,this.$emit("select",i,n,e),("horizontal"===this.mode||this.collapse)&&(this.openedMenus=[]),this.router&&this.routeToItem(e,function(e){t.activeIndex=s,e&&console.error(e)})},initOpenedMenu:function(){var e=this,t=this.activeIndex,i=this.items[t];if(i&&"horizontal"!==this.mode&&!this.collapse){i.indexPath.forEach(function(t){var i=e.submenus[t];i&&e.openMenu(t,i.indexPath)})}},routeToItem:function(e,t){var i=e.route||e.index;try{this.$router.push(i,function(){},t)}catch(e){console.error(e)}},open:function(e){var t=this,i=this.submenus[e.toString()].indexPath;i.forEach(function(e){return t.openMenu(e,i)})},close:function(e){this.closeMenu(e)}},mounted:function(){this.initOpenedMenu(),this.$on("item-click",this.handleItemClick),this.$on("submenu-click",this.handleSubmenuClick),"horizontal"===this.mode&&new u.default(this.$el),this.$watch("items",this.updateActiveIndex)}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(159),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=function(e){this.domNode=e,this.init()};r.prototype.init=function(){var e=this.domNode.childNodes;[].filter.call(e,function(e){return 1===e.nodeType}).forEach(function(e){new s.default(e)})},t.default=r},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(46),r=n(s),a=i(160),o=n(a),l=function(e){this.domNode=e,this.submenu=null,this.init()};l.prototype.init=function(){this.domNode.setAttribute("tabindex","0");var e=this.domNode.querySelector(".el-menu");e&&(this.submenu=new o.default(this,e)),this.addListeners()},l.prototype.addListeners=function(){var e=this,t=r.default.keys;this.domNode.addEventListener("keydown",function(i){var n=!1;switch(i.keyCode){case t.down:r.default.triggerEvent(i.currentTarget,"mouseenter"),e.submenu&&e.submenu.gotoSubIndex(0),n=!0;break;case t.up:r.default.triggerEvent(i.currentTarget,"mouseenter"),e.submenu&&e.submenu.gotoSubIndex(e.submenu.subMenuItems.length-1),n=!0;break;case t.tab:r.default.triggerEvent(i.currentTarget,"mouseleave");break;case t.enter:case t.space:n=!0,i.currentTarget.click()}n&&i.preventDefault()})},t.default=l},function(e,t,i){"use strict";t.__esModule=!0;var n=i(46),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=function(e,t){this.domNode=t,this.parent=e,this.subMenuItems=[],this.subIndex=0,this.init()};r.prototype.init=function(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()},r.prototype.gotoSubIndex=function(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e},r.prototype.addListeners=function(){var e=this,t=s.default.keys,i=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,function(n){n.addEventListener("keydown",function(n){var r=!1;switch(n.keyCode){case t.down:e.gotoSubIndex(e.subIndex+1),r=!0;break;case t.up:e.gotoSubIndex(e.subIndex-1),r=!0;break;case t.tab:s.default.triggerEvent(i,"mouseleave");break;case t.enter:case t.space:r=!0,n.currentTarget.click()}return r&&(n.preventDefault(),n.stopPropagation()),!1})})},t.default=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(162),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(163),s=i.n(n),r=i(0),a=r(s.a,null,!1,null,null,null);t.default=a.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(32),r=n(s),a=i(71),o=n(a),l=i(1),u=n(l),c=i(11),d=n(c),h={props:{transformOrigin:{type:[Boolean,String],default:!1},offset:d.default.props.offset,boundariesPadding:d.default.props.boundariesPadding,popperOptions:d.default.props.popperOptions},data:d.default.data,methods:d.default.methods,beforeDestroy:d.default.beforeDestroy,deactivated:d.default.deactivated};t.default={name:"ElSubmenu",componentName:"ElSubmenu",mixins:[o.default,u.default,h],components:{ElCollapseTransition:r.default},props:{index:{type:String,required:!0},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0}},data:function(){return{popperJS:null,timeout:null,items:{},submenus:{},mouseInChild:!1}},watch:{opened:function(e){var t=this;this.isMenuPopup&&this.$nextTick(function(e){t.updatePopper()})}},computed:{appendToBody:function(){return void 0===this.popperAppendToBody?this.isFirstLevel:this.popperAppendToBody},menuTransitionName:function(){return this.rootMenu.collapse?"el-zoom-in-left":"el-zoom-in-top"},opened:function(){return this.rootMenu.openedMenus.indexOf(this.index)>-1},active:function(){var e=!1,t=this.submenus,i=this.items;return Object.keys(i).forEach(function(t){i[t].active&&(e=!0)}),Object.keys(t).forEach(function(i){t[i].active&&(e=!0)}),e},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},isMenuPopup:function(){return this.rootMenu.isMenuPopup},titleStyle:function(){return"horizontal"!==this.mode?{color:this.textColor}:{borderBottomColor:this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent",color:this.active?this.activeTextColor:this.textColor}},isFirstLevel:function(){for(var e=!0,t=this.$parent;t&&t!==this.rootMenu;){if(["ElSubmenu","ElMenuItemGroup"].indexOf(t.$options.componentName)>-1){e=!1;break}t=t.$parent}return e}},methods:{handleCollapseToggle:function(e){e?this.initPopper():this.doDestroy()},addItem:function(e){this.$set(this.items,e.index,e)},removeItem:function(e){delete this.items[e.index]},addSubmenu:function(e){this.$set(this.submenus,e.index,e)},removeSubmenu:function(e){delete this.submenus[e.index]},handleClick:function(){var e=this.rootMenu,t=this.disabled;"hover"===e.menuTrigger&&"horizontal"===e.mode||e.collapse&&"vertical"===e.mode||t||this.dispatch("ElMenu","submenu-click",this)},handleMouseenter:function(){var e=this,t=this.rootMenu,i=this.disabled;"click"===t.menuTrigger&&"horizontal"===t.mode||!t.collapse&&"vertical"===t.mode||i||(this.dispatch("ElSubmenu","mouse-enter-child"),clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.rootMenu.openMenu(e.index,e.indexPath)},this.showTimeout))},handleMouseleave:function(){var e=this,t=this.rootMenu;"click"===t.menuTrigger&&"horizontal"===t.mode||!t.collapse&&"vertical"===t.mode||(this.dispatch("ElSubmenu","mouse-leave-child"),clearTimeout(this.timeout),this.timeout=setTimeout(function(){!e.mouseInChild&&e.rootMenu.closeMenu(e.index)},this.hideTimeout))},handleTitleMouseenter:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var e=this.$refs["submenu-title"];e&&(e.style.backgroundColor=this.rootMenu.hoverBackground)}},handleTitleMouseleave:function(){if("horizontal"!==this.mode||this.rootMenu.backgroundColor){var e=this.$refs["submenu-title"];e&&(e.style.backgroundColor=this.rootMenu.backgroundColor||"")}},updatePlacement:function(){this.currentPlacement="horizontal"===this.mode&&this.isFirstLevel?"bottom-start":"right-start"},initPopper:function(){this.referenceElm=this.$el,this.popperElm=this.$refs.menu,this.updatePlacement()}},created:function(){var e=this;this.parentMenu.addSubmenu(this),this.rootMenu.addSubmenu(this),this.$on("toggle-collapse",this.handleCollapseToggle),this.$on("mouse-enter-child",function(){e.mouseInChild=!0,clearTimeout(e.timeout)}),this.$on("mouse-leave-child",function(){e.mouseInChild=!1,clearTimeout(e.timeout)})},mounted:function(){this.initPopper()},beforeDestroy:function(){this.parentMenu.removeSubmenu(this),this.rootMenu.removeSubmenu(this)},render:function(e){var t=this.active,i=this.opened,n=this.paddingStyle,s=this.titleStyle,r=this.backgroundColor,a=this.rootMenu,o=this.currentPlacement,l=this.menuTransitionName,u=this.mode,c=this.disabled,d=this.popperClass,h=this.$slots,f=this.isFirstLevel,p=e("transition",{attrs:{name:l}},[e("div",{ref:"menu",directives:[{name:"show",value:i}],class:["el-menu--"+u,d],on:{mouseenter:this.handleMouseenter,mouseleave:this.handleMouseleave,focus:this.handleMouseenter}},[e("ul",{attrs:{role:"menu"},class:["el-menu el-menu--popup","el-menu--popup-"+o],style:{backgroundColor:a.backgroundColor||""}},[h.default])])]),m=e("el-collapse-transition",null,[e("ul",{attrs:{role:"menu"},class:"el-menu el-menu--inline",directives:[{name:"show",value:i}],style:{backgroundColor:a.backgroundColor||""}},[h.default])]),v="horizontal"===a.mode&&f||"vertical"===a.mode&&!a.collapse?"el-icon-arrow-down":"el-icon-arrow-right";return e("li",{class:{"el-submenu":!0,"is-active":t,"is-opened":i,"is-disabled":c},attrs:{role:"menuitem","aria-haspopup":"true","aria-expanded":i},on:{mouseenter:this.handleMouseenter,mouseleave:this.handleMouseleave,focus:this.handleMouseenter}},[e("div",{class:"el-submenu__title",ref:"submenu-title",on:{click:this.handleClick,mouseenter:this.handleTitleMouseenter,mouseleave:this.handleTitleMouseleave},style:[n,s,{backgroundColor:r}]},[h.title,e("i",{class:["el-submenu__icon-arrow",v]},[])]),this.isMenuPopup?p:m])}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(165),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(166),s=i.n(n),r=i(168),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(71),r=n(s),a=i(33),o=n(a),l=i(1),u=n(l);t.default={name:"ElMenuItem",componentName:"ElMenuItem",mixins:[r.default,u.default],components:{ElTooltip:o.default},props:{index:{type:String,required:!0},route:[String,Object],disabled:Boolean},computed:{active:function(){return this.index===this.rootMenu.activeIndex},hoverBackground:function(){return this.rootMenu.hoverBackground},backgroundColor:function(){return this.rootMenu.backgroundColor||""},activeTextColor:function(){return this.rootMenu.activeTextColor||""},textColor:function(){return this.rootMenu.textColor||""},mode:function(){return this.rootMenu.mode},itemStyle:function(){var e={color:this.active?this.activeTextColor:this.textColor};return"horizontal"!==this.mode||this.isNested||(e.borderBottomColor=this.active?this.rootMenu.activeTextColor?this.activeTextColor:"":"transparent"),e},isNested:function(){return this.parentMenu!==this.rootMenu}},methods:{onMouseEnter:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.hoverBackground)},onMouseLeave:function(){("horizontal"!==this.mode||this.rootMenu.backgroundColor)&&(this.$el.style.backgroundColor=this.backgroundColor)},handleClick:function(){this.disabled||(this.dispatch("ElMenu","item-click",this),this.$emit("click",this))}},mounted:function(){this.parentMenu.addItem(this),this.rootMenu.addItem(this)},beforeDestroy:function(){this.parentMenu.removeItem(this),this.rootMenu.removeItem(this)}}},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(11),r=n(s),a=i(18),o=n(a),l=i(3),u=i(34),c=i(6),d=i(2),h=n(d);t.default={name:"ElTooltip",mixins:[r.default],props:{openDelay:{type:Number,default:0},disabled:Boolean,manual:Boolean,effect:{type:String,default:"dark"},arrowOffset:{type:Number,default:0},popperClass:String,content:String,visibleArrow:{default:!0},transition:{type:String,default:"el-fade-in-linear"},popperOptions:{default:function(){return{boundariesPadding:10,gpuAcceleration:!1}}},enterable:{type:Boolean,default:!0},hideAfter:{type:Number,default:0}},data:function(){return{timeoutPending:null,focusing:!1}},computed:{tooltipId:function(){return"el-tooltip-"+(0,c.generateId)()}},beforeCreate:function(){var e=this;this.$isServer||(this.popperVM=new h.default({data:{node:""},render:function(e){return this.node}}).$mount(),this.debounceClose=(0,o.default)(200,function(){return e.handleClosePopper()}))},render:function(e){var t=this;if(this.popperVM&&(this.popperVM.node=e("transition",{attrs:{name:this.transition},on:{afterLeave:this.doDestroy}},[e("div",{on:{mouseleave:function(){t.setExpectedState(!1),t.debounceClose()},mouseenter:function(){t.setExpectedState(!0)}},ref:"popper",attrs:{role:"tooltip",id:this.tooltipId,"aria-hidden":this.disabled||!this.showPopper?"true":"false"},directives:[{name:"show",value:!this.disabled&&this.showPopper}],class:["el-tooltip__popper","is-"+this.effect,this.popperClass]},[this.$slots.content||this.content])])),!this.$slots.default||!this.$slots.default.length)return this.$slots.default;var i=(0,u.getFirstComponentChild)(this.$slots.default);if(!i)return i;var n=i.data=i.data||{};return n.staticClass=this.concatClass(n.staticClass,"el-tooltip"),i},mounted:function(){var e=this;this.referenceElm=this.$el,1===this.$el.nodeType&&(this.$el.setAttribute("aria-describedby",this.tooltipId),this.$el.setAttribute("tabindex",0),(0,l.on)(this.referenceElm,"mouseenter",this.show),(0,l.on)(this.referenceElm,"mouseleave",this.hide),(0,l.on)(this.referenceElm,"focus",function(){if(!e.$slots.default||!e.$slots.default.length)return void e.handleFocus();var t=e.$slots.default[0].componentInstance;t&&t.focus?t.focus():e.handleFocus()}),(0,l.on)(this.referenceElm,"blur",this.handleBlur),(0,l.on)(this.referenceElm,"click",this.removeFocusing))},watch:{focusing:function(e){e?(0,l.addClass)(this.referenceElm,"focusing"):(0,l.removeClass)(this.referenceElm,"focusing")}},methods:{show:function(){this.setExpectedState(!0),this.handleShowPopper()},hide:function(){this.setExpectedState(!1),this.debounceClose()},handleFocus:function(){this.focusing=!0,this.show()},handleBlur:function(){this.focusing=!1,this.hide()},removeFocusing:function(){this.focusing=!1},concatClass:function(e,t){return e&&e.indexOf(t)>-1?e:e?t?e+" "+t:e:t||""},handleShowPopper:function(){var e=this;this.expectedState&&!this.manual&&(clearTimeout(this.timeout),this.timeout=setTimeout(function(){e.showPopper=!0},this.openDelay),this.hideAfter>0&&(this.timeoutPending=setTimeout(function(){e.showPopper=!1},this.hideAfter)))},handleClosePopper:function(){this.enterable&&this.expectedState||this.manual||(clearTimeout(this.timeout),this.timeoutPending&&clearTimeout(this.timeoutPending),this.showPopper=!1,this.disabled&&this.doDestroy())},setExpectedState:function(e){!1===e&&clearTimeout(this.timeoutPending),this.expectedState=e}},destroyed:function(){var e=this.referenceElm;(0,l.off)(e,"mouseenter",this.show),(0,l.off)(e,"mouseleave",this.hide),(0,l.off)(e,"focus",this.handleFocus),(0,l.off)(e,"blur",this.handleBlur),(0,l.off)(e,"click",this.removeFocusing)}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("li",{staticClass:"el-menu-item",class:{"is-active":e.active,"is-disabled":e.disabled},style:[e.paddingStyle,e.itemStyle,{backgroundColor:e.backgroundColor}],attrs:{role:"menuitem",tabindex:"-1"},on:{click:e.handleClick,mouseenter:e.onMouseEnter,focus:e.onMouseEnter,blur:e.onMouseLeave,mouseleave:e.onMouseLeave}},["ElMenu"===e.parentMenu.$options.componentName&&e.rootMenu.collapse&&e.$slots.title?i("el-tooltip",{attrs:{effect:"dark",placement:"right"}},[i("div",{attrs:{slot:"content"},slot:"content"},[e._t("title")],2),i("div",{staticStyle:{position:"absolute",left:"0",top:"0",height:"100%",width:"100%",display:"inline-block","box-sizing":"border-box",padding:"0 20px"}},[e._t("default")],2)]):[e._t("default"),e._t("title")]],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(170),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(171),s=i.n(n),r=i(172),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElMenuItemGroup",componentName:"ElMenuItemGroup",inject:["rootMenu"],props:{title:{type:String}},data:function(){return{paddingLeft:20}},computed:{levelPadding:function(){var e=20,t=this.$parent;if(this.rootMenu.collapse)return 20;for(;t&&"ElMenu"!==t.$options.componentName;)"ElSubmenu"===t.$options.componentName&&(e+=20),t=t.$parent;return e}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("li",{staticClass:"el-menu-item-group"},[i("div",{staticClass:"el-menu-item-group__title",style:{paddingLeft:e.levelPadding+"px"}},[e.$slots.title?e._t("title"):[e._v(e._s(e.title))]],2),i("ul",[e._t("default")],2)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(174),s=i.n(n),r=i(175),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(8),r=n(s),a=i(30),o=n(a),l=i(73),u=n(l);t.default={name:"ElInputNumber",mixins:[(0,o.default)("input")],inject:{elForm:{default:""},elFormItem:{default:""}},directives:{repeatClick:u.default},components:{ElInput:r.default},props:{step:{type:Number,default:1},max:{type:Number,default:1/0},min:{type:Number,default:-1/0},value:{},disabled:Boolean,size:String,controls:{type:Boolean,default:!0},controlsPosition:{type:String,default:""},name:String,label:String},data:function(){return{currentValue:0}},watch:{value:{immediate:!0,handler:function(e){var t=void 0===e?e:Number(e);void 0!==t&&isNaN(t)||(t>=this.max&&(t=this.max),t<=this.min&&(t=this.min),this.currentValue=t,this.$emit("input",t))}}},computed:{minDisabled:function(){return this._decrease(this.value,this.step)<this.min},maxDisabled:function(){return this._increase(this.value,this.step)>this.max},precision:function(){var e=this.value,t=this.step,i=this.getPrecision;return Math.max(i(e),i(t))},controlsAtRight:function(){return"right"===this.controlsPosition},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},inputNumberSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},inputNumberDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},methods:{toPrecision:function(e,t){return void 0===t&&(t=this.precision),parseFloat(parseFloat(Number(e).toFixed(t)))},getPrecision:function(e){if(void 0===e)return 0;var t=e.toString(),i=t.indexOf("."),n=0;return-1!==i&&(n=t.length-i-1),n},_increase:function(e,t){if("number"!=typeof e&&void 0!==e)return this.currentValue;var i=Math.pow(10,this.precision);return this.toPrecision((i*e+i*t)/i)},_decrease:function(e,t){if("number"!=typeof e&&void 0!==e)return this.currentValue;var i=Math.pow(10,this.precision);return this.toPrecision((i*e-i*t)/i)},increase:function(){if(!this.inputNumberDisabled&&!this.maxDisabled){var e=this.value||0,t=this._increase(e,this.step);this.setCurrentValue(t)}},decrease:function(){if(!this.inputNumberDisabled&&!this.minDisabled){var e=this.value||0,t=this._decrease(e,this.step);this.setCurrentValue(t)}},handleBlur:function(e){this.$emit("blur",e),this.$refs.input.setCurrentValue(this.currentValue)},handleFocus:function(e){this.$emit("focus",e)},setCurrentValue:function(e){var t=this.currentValue;if(e>=this.max&&(e=this.max),e<=this.min&&(e=this.min),t===e)return void this.$refs.input.setCurrentValue(this.currentValue);this.$emit("input",e),this.$emit("change",e,t),this.currentValue=e},handleInputChange:function(e){var t=""===e?void 0:Number(e);isNaN(t)&&""!==e||this.setCurrentValue(t)}},mounted:function(){var e=this.$refs.input.$refs.input;e.setAttribute("role","spinbutton"),e.setAttribute("aria-valuemax",this.max),e.setAttribute("aria-valuemin",this.min),e.setAttribute("aria-valuenow",this.currentValue),e.setAttribute("aria-disabled",this.inputNumberDisabled)},updated:function(){if(this.$refs&&this.$refs.input){this.$refs.input.$refs.input.setAttribute("aria-valuenow",this.currentValue)}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{class:["el-input-number",e.inputNumberSize?"el-input-number--"+e.inputNumberSize:"",{"is-disabled":e.inputNumberDisabled},{"is-without-controls":!e.controls},{"is-controls-right":e.controlsAtRight}],on:{dragstart:function(e){e.preventDefault()}}},[e.controls?i("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-input-number__decrease",class:{"is-disabled":e.minDisabled},attrs:{role:"button"},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;e.decrease(t)}}},[i("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-down":"minus")})]):e._e(),e.controls?i("span",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-input-number__increase",class:{"is-disabled":e.maxDisabled},attrs:{role:"button"},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;e.increase(t)}}},[i("i",{class:"el-icon-"+(e.controlsAtRight?"arrow-up":"plus")})]):e._e(),i("el-input",{ref:"input",attrs:{value:e.currentValue,disabled:e.inputNumberDisabled,size:e.inputNumberSize,max:e.max,min:e.min,name:e.name,label:e.label},on:{blur:e.handleBlur,focus:e.handleFocus,change:e.handleInputChange},nativeOn:{keydown:[function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key))return null;t.preventDefault(),e.increase(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key))return null;t.preventDefault(),e.decrease(t)}]}},[e.$slots.prepend?i("template",{attrs:{slot:"prepend"},slot:"prepend"},[e._t("prepend")],2):e._e(),e.$slots.append?i("template",{attrs:{slot:"append"},slot:"append"},[e._t("append")],2):e._e()],2)],1)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(177),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component("el-radio",s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(178),s=i.n(n),r=i(179),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(1),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElRadio",mixins:[s.default],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElRadio",props:{value:{},label:{},disabled:Boolean,name:String,border:Boolean,size:String},data:function(){return{focus:!1}},computed:{isGroup:function(){for(var e=this.$parent;e;){if("ElRadioGroup"===e.$options.componentName)return this._radioGroup=e,!0;e=e.$parent}return!1},model:{get:function(){return this.isGroup?this._radioGroup.value:this.value},set:function(e){this.isGroup?this.dispatch("ElRadioGroup","input",[e]):this.$emit("input",e)}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup?this._radioGroup.radioGroupSize||e:e},isDisabled:function(){return this.isGroup?this._radioGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled?-1:this.isGroup?this.model===this.label?0:-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick(function(){e.$emit("change",e.model),e.isGroup&&e.dispatch("ElRadioGroup","handleChange",e.model)})}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("label",{staticClass:"el-radio",class:[e.border&&e.radioSize?"el-radio--"+e.radioSize:"",{"is-disabled":e.isDisabled},{"is-focus":e.focus},{"is-bordered":e.border},{"is-checked":e.model===e.label}],attrs:{role:"radio","aria-checked":e.model===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key))return null;t.stopPropagation(),t.preventDefault(),e.model=e.label}}},[i("span",{staticClass:"el-radio__input",class:{"is-disabled":e.isDisabled,"is-checked":e.model===e.label}},[i("span",{staticClass:"el-radio__inner"}),i("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-radio__original",attrs:{type:"radio","aria-hidden":"true",name:e.name,disabled:e.isDisabled,tabindex:"-1"},domProps:{value:e.label,checked:e._q(e.model,e.label)},on:{focus:function(t){e.focus=!0},blur:function(t){e.focus=!1},change:[function(t){e.model=e.label},e.handleChange]}})]),i("span",{staticClass:"el-radio__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(181),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(182),s=i.n(n),r=i(183),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(1),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=Object.freeze({LEFT:37,UP:38,RIGHT:39,DOWN:40});t.default={name:"ElRadioGroup",componentName:"ElRadioGroup",inject:{elFormItem:{default:""}},mixins:[s.default],props:{value:{},size:String,fill:String,textColor:String,disabled:Boolean},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},radioGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},created:function(){var e=this;this.$on("handleChange",function(t){e.$emit("change",t)})},mounted:function(){var e=this.$el.querySelectorAll("[type=radio]"),t=this.$el.querySelectorAll("[role=radio]")[0];![].some.call(e,function(e){return e.checked})&&t&&(t.tabIndex=0)},methods:{handleKeydown:function(e){var t=e.target,i="INPUT"===t.nodeName?"[type=radio]":"[role=radio]",n=this.$el.querySelectorAll(i),s=n.length,a=[].indexOf.call(n,t),o=this.$el.querySelectorAll("[role=radio]");switch(e.keyCode){case r.LEFT:case r.UP:e.stopPropagation(),e.preventDefault(),0===a?o[s-1].click():o[a-1].click();break;case r.RIGHT:case r.DOWN:a===s-1?(e.stopPropagation(),e.preventDefault(),o[0].click()):o[a+1].click()}}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[this.value])}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"el-radio-group",attrs:{role:"radiogroup"},on:{keydown:e.handleKeydown}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(185),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(186),s=i.n(n),r=i(187),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(1),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElRadioButton",mixins:[s.default],inject:{elForm:{default:""},elFormItem:{default:""}},props:{label:{},disabled:Boolean,name:String},data:function(){return{focus:!1}},computed:{value:{get:function(){return this._radioGroup.value},set:function(e){this._radioGroup.$emit("input",e)}},_radioGroup:function(){for(var e=this.$parent;e;){if("ElRadioGroup"===e.$options.componentName)return e;e=e.$parent}return!1},activeStyle:function(){return{backgroundColor:this._radioGroup.fill||"",borderColor:this._radioGroup.fill||"",boxShadow:this._radioGroup.fill?"-1px 0 0 0 "+this._radioGroup.fill:"",color:this._radioGroup.textColor||""}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._radioGroup.radioGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isDisabled:function(){return this.disabled||this._radioGroup.disabled||(this.elForm||{}).disabled},tabIndex:function(){return this.isDisabled?-1:this._radioGroup?this.value===this.label?0:-1:0}},methods:{handleChange:function(){var e=this;this.$nextTick(function(){e.dispatch("ElRadioGroup","handleChange",e.value)})}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("label",{staticClass:"el-radio-button",class:[e.size?"el-radio-button--"+e.size:"",{"is-active":e.value===e.label},{"is-disabled":e.isDisabled},{"is-focus":e.focus}],attrs:{role:"radio","aria-checked":e.value===e.label,"aria-disabled":e.isDisabled,tabindex:e.tabIndex},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key))return null;t.stopPropagation(),t.preventDefault(),e.value=e.label}}},[i("input",{directives:[{name:"model",rawName:"v-model",value:e.value,expression:"value"}],staticClass:"el-radio-button__orig-radio",attrs:{type:"radio",name:e.name,disabled:e.isDisabled,tabindex:"-1"},domProps:{value:e.label,checked:e._q(e.value,e.label)},on:{change:[function(t){e.value=e.label},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}),i("span",{staticClass:"el-radio-button__inner",style:e.value===e.label?e.activeStyle:null},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(189),s=i.n(n),r=i(190),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(1),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElCheckbox",mixins:[s.default],inject:{elForm:{default:""},elFormItem:{default:""}},componentName:"ElCheckbox",data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},computed:{model:{get:function(){return this.isGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this.isGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&e.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):(this.$emit("input",e),this.selfModel=e)}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},isGroup:function(){for(var e=this.$parent;e;){if("ElCheckboxGroup"===e.$options.componentName)return this._checkboxGroup=e,!0;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},isDisabled:function(){return this.isGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxSize:function(){var e=this.size||this._elFormItemSize||(this.$ELEMENT||{}).size;return this.isGroup?this._checkboxGroup.checkboxGroupSize||e:e}},props:{value:{},label:{},indeterminate:Boolean,disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number],id:String,controls:String,border:Boolean,size:String},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var i=void 0;i=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",i,e),this.$nextTick(function(){t.isGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])})}}},created:function(){this.checked&&this.addToStore()},mounted:function(){this.indeterminate&&this.$el.setAttribute("aria-controls",this.controls)}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("label",{staticClass:"el-checkbox",class:[e.border&&e.checkboxSize?"el-checkbox--"+e.checkboxSize:"",{"is-disabled":e.isDisabled},{"is-bordered":e.border},{"is-checked":e.isChecked}],attrs:{role:"checkbox","aria-checked":e.indeterminate?"mixed":e.isChecked,"aria-disabled":e.isDisabled,id:e.id}},[i("span",{staticClass:"el-checkbox__input",class:{"is-disabled":e.isDisabled,"is-checked":e.isChecked,"is-indeterminate":e.indeterminate,"is-focus":e.focus},attrs:{"aria-checked":"mixed"}},[i("span",{staticClass:"el-checkbox__inner"}),e.trueLabel||e.falseLabel?i("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":"true",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var i=e.model,n=t.target,s=n.checked?e.trueLabel:e.falseLabel;if(Array.isArray(i)){var r=e._i(i,null);n.checked?r<0&&(e.model=i.concat([null])):r>-1&&(e.model=i.slice(0,r).concat(i.slice(r+1)))}else e.model=s},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):i("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox__original",attrs:{type:"checkbox","aria-hidden":"true",disabled:e.isDisabled,name:e.name},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var i=e.model,n=t.target,s=!!n.checked;if(Array.isArray(i)){var r=e.label,a=e._i(i,r);n.checked?a<0&&(e.model=i.concat([r])):a>-1&&(e.model=i.slice(0,a).concat(i.slice(a+1)))}else e.model=s},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}})]),e.$slots.default||e.label?i("span",{staticClass:"el-checkbox__label"},[e._t("default"),e.$slots.default?e._e():[e._v(e._s(e.label))]],2):e._e()])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(192),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(193),s=i.n(n),r=i(194),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(1),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElCheckboxButton",mixins:[s.default],inject:{elForm:{default:""},elFormItem:{default:""}},data:function(){return{selfModel:!1,focus:!1,isLimitExceeded:!1}},props:{value:{},label:{},disabled:Boolean,checked:Boolean,name:String,trueLabel:[String,Number],falseLabel:[String,Number]},computed:{model:{get:function(){return this._checkboxGroup?this.store:void 0!==this.value?this.value:this.selfModel},set:function(e){this._checkboxGroup?(this.isLimitExceeded=!1,void 0!==this._checkboxGroup.min&&e.length<this._checkboxGroup.min&&(this.isLimitExceeded=!0),void 0!==this._checkboxGroup.max&&e.length>this._checkboxGroup.max&&(this.isLimitExceeded=!0),!1===this.isLimitExceeded&&this.dispatch("ElCheckboxGroup","input",[e])):void 0!==this.value?this.$emit("input",e):this.selfModel=e}},isChecked:function(){return"[object Boolean]"==={}.toString.call(this.model)?this.model:Array.isArray(this.model)?this.model.indexOf(this.label)>-1:null!==this.model&&void 0!==this.model?this.model===this.trueLabel:void 0},_checkboxGroup:function(){for(var e=this.$parent;e;){if("ElCheckboxGroup"===e.$options.componentName)return e;e=e.$parent}return!1},store:function(){return this._checkboxGroup?this._checkboxGroup.value:this.value},activeStyle:function(){return{backgroundColor:this._checkboxGroup.fill||"",borderColor:this._checkboxGroup.fill||"",color:this._checkboxGroup.textColor||"","box-shadow":"-1px 0 0 0 "+this._checkboxGroup.fill}},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},size:function(){return this._checkboxGroup.checkboxGroupSize||this._elFormItemSize||(this.$ELEMENT||{}).size},isDisabled:function(){return this._checkboxGroup?this._checkboxGroup.disabled||this.disabled||(this.elForm||{}).disabled:this.disabled||(this.elForm||{}).disabled}},methods:{addToStore:function(){Array.isArray(this.model)&&-1===this.model.indexOf(this.label)?this.model.push(this.label):this.model=this.trueLabel||!0},handleChange:function(e){var t=this;if(!this.isLimitExceeded){var i=void 0;i=e.target.checked?void 0===this.trueLabel||this.trueLabel:void 0!==this.falseLabel&&this.falseLabel,this.$emit("change",i,e),this.$nextTick(function(){t._checkboxGroup&&t.dispatch("ElCheckboxGroup","change",[t._checkboxGroup.value])})}}},created:function(){this.checked&&this.addToStore()}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("label",{staticClass:"el-checkbox-button",class:[e.size?"el-checkbox-button--"+e.size:"",{"is-disabled":e.isDisabled},{"is-checked":e.isChecked},{"is-focus":e.focus}],attrs:{role:"checkbox","aria-checked":e.isChecked,"aria-disabled":e.isDisabled}},[e.trueLabel||e.falseLabel?i("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:e.name,disabled:e.isDisabled,"true-value":e.trueLabel,"false-value":e.falseLabel},domProps:{checked:Array.isArray(e.model)?e._i(e.model,null)>-1:e._q(e.model,e.trueLabel)},on:{change:[function(t){var i=e.model,n=t.target,s=n.checked?e.trueLabel:e.falseLabel;if(Array.isArray(i)){var r=e._i(i,null);n.checked?r<0&&(e.model=i.concat([null])):r>-1&&(e.model=i.slice(0,r).concat(i.slice(r+1)))}else e.model=s},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}):i("input",{directives:[{name:"model",rawName:"v-model",value:e.model,expression:"model"}],staticClass:"el-checkbox-button__original",attrs:{type:"checkbox",name:e.name,disabled:e.isDisabled},domProps:{value:e.label,checked:Array.isArray(e.model)?e._i(e.model,e.label)>-1:e.model},on:{change:[function(t){var i=e.model,n=t.target,s=!!n.checked;if(Array.isArray(i)){var r=e.label,a=e._i(i,r);n.checked?a<0&&(e.model=i.concat([r])):a>-1&&(e.model=i.slice(0,a).concat(i.slice(a+1)))}else e.model=s},e.handleChange],focus:function(t){e.focus=!0},blur:function(t){e.focus=!1}}}),e.$slots.default||e.label?i("span",{staticClass:"el-checkbox-button__inner",style:e.isChecked?e.activeStyle:null},[e._t("default",[e._v(e._s(e.label))])],2):e._e()])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(196),s=i.n(n),r=i(197),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(1),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElCheckboxGroup",componentName:"ElCheckboxGroup",mixins:[s.default],inject:{elFormItem:{default:""}},props:{value:{},disabled:Boolean,min:Number,max:Number,size:String,fill:String,textColor:String},computed:{_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},checkboxGroupSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",[e])}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"el-checkbox-group",attrs:{role:"group","aria-label":"checkbox-group"}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(199),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(200),s=i.n(n),r=i(201),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(30),r=n(s),a=i(9),o=n(a);t.default={name:"ElSwitch",mixins:[(0,r.default)("input"),o.default],inject:{elForm:{default:""}},props:{value:{type:[Boolean,String,Number],default:!1},disabled:{type:Boolean,default:!1},width:{type:Number,default:40},activeIconClass:{type:String,default:""},inactiveIconClass:{type:String,default:""},activeText:String,inactiveText:String,activeColor:{type:String,default:""},inactiveColor:{type:String,default:""},activeValue:{type:[Boolean,String,Number],default:!0},inactiveValue:{type:[Boolean,String,Number],default:!1},name:{type:String,default:""},id:String},data:function(){return{coreWidth:this.width}},created:function(){~[this.activeValue,this.inactiveValue].indexOf(this.value)||this.$emit("input",this.inactiveValue)},computed:{checked:function(){return this.value===this.activeValue},switchDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{checked:function(){this.$refs.input.checked=this.checked,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor()}},methods:{handleChange:function(e){var t=this;this.$emit("input",this.checked?this.inactiveValue:this.activeValue),this.$emit("change",this.checked?this.inactiveValue:this.activeValue),this.$nextTick(function(){t.$refs.input.checked=t.checked})},setBackgroundColor:function(){var e=this.checked?this.activeColor:this.inactiveColor;this.$refs.core.style.borderColor=e,this.$refs.core.style.backgroundColor=e},switchValue:function(){!this.switchDisabled&&this.handleChange()},getMigratingConfig:function(){return{props:{"on-color":"on-color is renamed to active-color.","off-color":"off-color is renamed to inactive-color.","on-text":"on-text is renamed to active-text.","off-text":"off-text is renamed to inactive-text.","on-value":"on-value is renamed to active-value.","off-value":"off-value is renamed to inactive-value.","on-icon-class":"on-icon-class is renamed to active-icon-class.","off-icon-class":"off-icon-class is renamed to inactive-icon-class."}}}},mounted:function(){this.coreWidth=this.width||40,(this.activeColor||this.inactiveColor)&&this.setBackgroundColor(),this.$refs.input.checked=this.checked}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-switch",class:{"is-disabled":e.switchDisabled,"is-checked":e.checked},attrs:{role:"switch","aria-checked":e.checked,"aria-disabled":e.switchDisabled},on:{click:e.switchValue}},[i("input",{ref:"input",staticClass:"el-switch__input",attrs:{type:"checkbox",id:e.id,name:e.name,"true-value":e.activeValue,"false-value":e.inactiveValue,disabled:e.switchDisabled},on:{change:e.handleChange,keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;e.switchValue(t)}}}),e.inactiveIconClass||e.inactiveText?i("span",{class:["el-switch__label","el-switch__label--left",e.checked?"":"is-active"]},[e.inactiveIconClass?i("i",{class:[e.inactiveIconClass]}):e._e(),!e.inactiveIconClass&&e.inactiveText?i("span",{attrs:{"aria-hidden":e.checked}},[e._v(e._s(e.inactiveText))]):e._e()]):e._e(),i("span",{ref:"core",staticClass:"el-switch__core",style:{width:e.coreWidth+"px"}}),e.activeIconClass||e.activeText?i("span",{class:["el-switch__label","el-switch__label--right",e.checked?"is-active":""]},[e.activeIconClass?i("i",{class:[e.activeIconClass]}):e._e(),!e.activeIconClass&&e.activeText?i("span",{attrs:{"aria-hidden":!e.checked}},[e._v(e._s(e.activeText))]):e._e()]):e._e()])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(203),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(204),s=i.n(n),r=i(205),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(1),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={mixins:[s.default],name:"ElOptionGroup",componentName:"ElOptionGroup",props:{label:String,disabled:{type:Boolean,default:!1}},data:function(){return{visible:!0}},watch:{disabled:function(e){this.broadcast("ElOption","handleGroupDisabled",e)}},methods:{queryChange:function(){this.visible=this.$children&&Array.isArray(this.$children)&&this.$children.some(function(e){return!0===e.visible})}},created:function(){this.$on("queryChange",this.queryChange)},mounted:function(){this.disabled&&this.broadcast("ElOption","handleGroupDisabled",this.disabled)}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("ul",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-select-group__wrap"},[i("li",{staticClass:"el-select-group__title"},[e._v(e._s(e.label))]),i("li",[i("ul",{staticClass:"el-select-group"},[e._t("default")],2)])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(207),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(208),s=i.n(n),r=i(224),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(15),r=n(s),a=i(18),o=n(a),l=i(27),u=i(209),c=n(u),d=i(5),h=n(d),f=i(9),p=n(f),m=i(215),v=n(m),g=i(216),b=n(g),y=i(217),_=n(y),C=i(218),x=n(C),w=i(223),k=n(w),S=1;t.default={name:"ElTable",mixins:[h.default,p.default],directives:{Mousewheel:c.default},props:{data:{type:Array,default:function(){return[]}},size:String,width:[String,Number],height:[String,Number],maxHeight:[String,Number],fit:{type:Boolean,default:!0},stripe:Boolean,border:Boolean,rowKey:[String,Function],context:{},showHeader:{type:Boolean,default:!0},showSummary:Boolean,sumText:String,summaryMethod:Function,rowClassName:[String,Function],rowStyle:[Object,Function],cellClassName:[String,Function],cellStyle:[Object,Function],headerRowClassName:[String,Function],headerRowStyle:[Object,Function],headerCellClassName:[String,Function],headerCellStyle:[Object,Function],highlightCurrentRow:Boolean,currentRowKey:[String,Number],emptyText:String,expandRowKeys:Array,defaultExpandAll:Boolean,defaultSort:Object,tooltipEffect:String,spanMethod:Function,selectOnIndeterminate:{type:Boolean,default:!0}},components:{TableHeader:x.default,TableFooter:k.default,TableBody:_.default,ElCheckbox:r.default},methods:{getMigratingConfig:function(){return{events:{expand:"expand is renamed to expand-change"}}},setCurrentRow:function(e){this.store.commit("setCurrentRow",e)},toggleRowSelection:function(e,t){this.store.toggleRowSelection(e,t),this.store.updateAllSelected()},toggleRowExpansion:function(e,t){this.store.toggleRowExpansion(e,t)},clearSelection:function(){this.store.clearSelection()},clearFilter:function(){this.store.clearFilter()},clearSort:function(){this.store.clearSort()},handleMouseLeave:function(){this.store.commit("setHoverRow",null),this.hoverState&&(this.hoverState=null)},updateScrollY:function(){this.layout.updateScrollY(),this.layout.updateColumnsWidth()},handleFixedMousewheel:function(e,t){var i=this.bodyWrapper;if(Math.abs(t.spinY)>0){var n=i.scrollTop;t.pixelY<0&&0!==n&&e.preventDefault(),t.pixelY>0&&i.scrollHeight-i.clientHeight>n&&e.preventDefault(),i.scrollTop+=Math.ceil(t.pixelY/5)}else i.scrollLeft+=Math.ceil(t.pixelX/5)},handleHeaderFooterMousewheel:function(e,t){var i=t.pixelX,n=t.pixelY;Math.abs(i)>=Math.abs(n)&&(e.preventDefault(),this.bodyWrapper.scrollLeft+=t.pixelX/5)},bindEvents:function(){var e=this.$refs,t=e.headerWrapper,i=e.footerWrapper,n=this.$refs,s=this;this.bodyWrapper.addEventListener("scroll",function(){t&&(t.scrollLeft=this.scrollLeft),i&&(i.scrollLeft=this.scrollLeft),n.fixedBodyWrapper&&(n.fixedBodyWrapper.scrollTop=this.scrollTop),n.rightFixedBodyWrapper&&(n.rightFixedBodyWrapper.scrollTop=this.scrollTop);var e=this.scrollWidth-this.offsetWidth-1,r=this.scrollLeft;s.scrollPosition=r>=e?"right":0===r?"left":"middle"}),this.fit&&(0,l.addResizeListener)(this.$el,this.resizeListener)},resizeListener:function(){if(this.$ready){var e=!1,t=this.$el,i=this.resizeState,n=i.width,s=i.height,r=t.offsetWidth;n!==r&&(e=!0);var a=t.offsetHeight;(this.height||this.shouldUpdateHeight)&&s!==a&&(e=!0),e&&(this.resizeState.width=r,this.resizeState.height=a,this.doLayout())}},doLayout:function(){this.layout.updateColumnsWidth(),this.shouldUpdateHeight&&this.layout.updateElsHeight()}},created:function(){var e=this;this.tableId="el-table_"+S++,this.debouncedUpdateLayout=(0,o.default)(50,function(){return e.doLayout()})},computed:{tableSize:function(){return this.size||(this.$ELEMENT||{}).size},bodyWrapper:function(){return this.$refs.bodyWrapper},shouldUpdateHeight:function(){return this.height||this.maxHeight||this.fixedColumns.length>0||this.rightFixedColumns.length>0},selection:function(){return this.store.states.selection},columns:function(){return this.store.states.columns},tableData:function(){return this.store.states.data},fixedColumns:function(){return this.store.states.fixedColumns},rightFixedColumns:function(){return this.store.states.rightFixedColumns},bodyWidth:function(){var e=this.layout,t=e.bodyWidth,i=e.scrollY,n=e.gutterWidth;return t?t-(i?n:0)+"px":""},bodyHeight:function(){return this.height?{height:this.layout.bodyHeight?this.layout.bodyHeight+"px":""}:this.maxHeight?{"max-height":(this.showHeader?this.maxHeight-this.layout.headerHeight-this.layout.footerHeight:this.maxHeight-this.layout.footerHeight)+"px"}:{}},fixedBodyHeight:function(){if(this.height)return{height:this.layout.fixedBodyHeight?this.layout.fixedBodyHeight+"px":""};if(this.maxHeight){var e=this.layout.scrollX?this.maxHeight-this.layout.gutterWidth:this.maxHeight;return this.showHeader&&(e-=this.layout.headerHeight),e-=this.layout.footerHeight,{"max-height":e+"px"}}return{}},fixedHeight:function(){return this.maxHeight?this.showSummary?{bottom:0}:{bottom:this.layout.scrollX&&this.data.length?this.layout.gutterWidth+"px":""}:this.showSummary?{height:this.layout.tableHeight?this.layout.tableHeight+"px":""}:{height:this.layout.viewportHeight?this.layout.viewportHeight+"px":""}}},watch:{height:{immediate:!0,handler:function(e){this.layout.setHeight(e)}},maxHeight:{immediate:!0,handler:function(e){this.layout.setMaxHeight(e)}},currentRowKey:function(e){this.store.setCurrentRowKey(e)},data:{immediate:!0,handler:function(e){var t=this;this.store.commit("setData",e),this.$ready&&this.$nextTick(function(){t.doLayout()})}},expandRowKeys:{immediate:!0,handler:function(e){e&&this.store.setExpandRowKeys(e)}}},destroyed:function(){this.resizeListener&&(0,l.removeResizeListener)(this.$el,this.resizeListener)},mounted:function(){var e=this;this.bindEvents(),this.store.updateColumns(),this.doLayout(),this.resizeState={width:this.$el.offsetWidth,height:this.$el.offsetHeight},this.store.states.columns.forEach(function(t){t.filteredValue&&t.filteredValue.length&&e.store.commit("filterChange",{column:t,values:t.filteredValue,silent:!0})}),this.$ready=!0},data:function(){var e=new v.default(this,{rowKey:this.rowKey,defaultExpandAll:this.defaultExpandAll,selectOnIndeterminate:this.selectOnIndeterminate});return{layout:new b.default({store:e,table:this,fit:this.fit,showHeader:this.showHeader}),store:e,isHidden:!1,renderExpanded:null,resizeProxyVisible:!1,resizeState:{width:null,height:null},isGroup:!1,scrollPosition:"left"}}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(210),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,a=function(e,t){e&&e.addEventListener&&e.addEventListener(r?"DOMMouseScroll":"mousewheel",function(e){var i=(0,s.default)(e);t&&t.apply(this,[e,i])})};t.default={bind:function(e,t){a(e,t.value)}}},function(e,t,i){e.exports=i(211)},function(e,t,i){"use strict";function n(e){var t=0,i=0,n=0,s=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),n=t*a,s=i*a,"deltaY"in e&&(s=e.deltaY),"deltaX"in e&&(n=e.deltaX),(n||s)&&e.deltaMode&&(1==e.deltaMode?(n*=o,s*=o):(n*=l,s*=l)),n&&!t&&(t=n<1?-1:1),s&&!i&&(i=s<1?-1:1),{spinX:t,spinY:i,pixelX:n,pixelY:s}}var s=i(212),r=i(213),a=10,o=40,l=800;n.getEventType=function(){return s.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=n},function(e,t){function i(){if(!b){b=!0;var e=navigator.userAgent,t=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),i=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(p=/\b(iPhone|iP[ao]d)/.exec(e),m=/\b(iP[ao]d)/.exec(e),h=/Android/i.exec(e),v=/FBAN\/\w+;/i.exec(e),g=/Mobile/i.exec(e),f=!!/Win64/.exec(e),t){n=t[1]?parseFloat(t[1]):t[5]?parseFloat(t[5]):NaN,n&&document&&document.documentMode&&(n=document.documentMode);var y=/(?:Trident\/(\d+.\d+))/.exec(e);l=y?parseFloat(y[1])+4:n,s=t[2]?parseFloat(t[2]):NaN,r=t[3]?parseFloat(t[3]):NaN,a=t[4]?parseFloat(t[4]):NaN,a?(t=/(?:Chrome\/(\d+\.\d+))/.exec(e),o=t&&t[1]?parseFloat(t[1]):NaN):o=NaN}else n=s=r=o=a=NaN;if(i){if(i[1]){var _=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);u=!_||parseFloat(_[1].replace("_","."))}else u=!1;c=!!i[2],d=!!i[3]}else u=c=d=!1}}var n,s,r,a,o,l,u,c,d,h,f,p,m,v,g,b=!1,y={ie:function(){return i()||n},ieCompatibilityMode:function(){return i()||l>n},ie64:function(){return y.ie()&&f},firefox:function(){return i()||s},opera:function(){return i()||r},webkit:function(){return i()||a},safari:function(){return y.webkit()},chrome:function(){return i()||o},windows:function(){return i()||c},osx:function(){return i()||u},linux:function(){return i()||d},iphone:function(){return i()||p},mobile:function(){return i()||p||m||h||g},nativeApp:function(){return i()||v},android:function(){return i()||h},ipad:function(){return i()||m}};e.exports=y},function(e,t,i){"use strict";function n(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var i="on"+e,n=i in document;if(!n){var a=document.createElement("div");a.setAttribute(i,"return;"),n="function"==typeof a[i]}return!n&&s&&"wheel"===e&&(n=document.implementation.hasFeature("Events.wheel","3.0")),n}var s,r=i(214);r.canUseDOM&&(s=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=n},function(e,t,i){"use strict";var n=!("undefined"==typeof window||!window.document||!window.document.createElement),s={canUseDOM:n,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:n&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:n&&!!window.screen,isInWorker:!n};e.exports=s},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(2),r=n(s),a=i(18),o=n(a),l=i(10),u=n(l),c=i(74),d=function(e,t){var i=t.sortingColumn;return i&&"string"!=typeof i.sortable?(0,c.orderBy)(e,t.sortProp,t.sortOrder,i.sortMethod,i.sortBy):e},h=function(e,t){var i={};return(e||[]).forEach(function(e,n){i[(0,c.getRowIdentity)(e,t)]={row:e,index:n}}),i},f=function(e,t,i){var n=!1,s=e.selection,r=s.indexOf(t);return void 0===i?-1===r?(s.push(t),n=!0):(s.splice(r,1),n=!0):i&&-1===r?(s.push(t),n=!0):!i&&r>-1&&(s.splice(r,1),n=!0),n},p=function(e,t,i){var n=!1,s=e.expandRows;if(void 0!==i){var r=s.indexOf(t);i?-1===r&&(s.push(t),n=!0):-1!==r&&(s.splice(r,1),n=!0)}else{var a=s.indexOf(t);-1===a?(s.push(t),n=!0):(s.splice(a,1),n=!0)}return n},m=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e)throw new Error("Table is required.");this.table=e,this.states={rowKey:null,_columns:[],originColumns:[],columns:[],fixedColumns:[],rightFixedColumns:[],leafColumns:[],fixedLeafColumns:[],rightFixedLeafColumns:[],leafColumnsLength:0,fixedLeafColumnsLength:0,rightFixedLeafColumnsLength:0,isComplex:!1,filteredData:null,data:null,sortingColumn:null,sortProp:null,sortOrder:null,isAllSelected:!1,selection:[],reserveSelection:!1,selectable:null,currentRow:null,hoverRow:null,filters:{},expandRows:[],defaultExpandAll:!1,selectOnIndeterminate:!1};for(var i in t)t.hasOwnProperty(i)&&this.states.hasOwnProperty(i)&&(this.states[i]=t[i])};m.prototype.mutations={setData:function(e,t){var i=this,n=e._data!==t;e._data=t,Object.keys(e.filters).forEach(function(n){var s=e.filters[n];if(s&&0!==s.length){var r=(0,c.getColumnById)(i.states,n);r&&r.filterMethod&&(t=t.filter(function(e){return s.some(function(t){return r.filterMethod.call(null,t,e,r)})}))}}),e.filteredData=t,e.data=d(t||[],e),this.updateCurrentRow();var s=e.rowKey;if(e.reserveSelection?s?function(){var t=e.selection,n=h(t,s);e.data.forEach(function(e){var i=(0,c.getRowIdentity)(e,s),r=n[i];r&&(t[r.index]=e)}),i.updateAllSelected()}():console.warn("WARN: rowKey is required when reserve-selection is enabled."):(n?this.clearSelection():this.cleanSelection(),this.updateAllSelected()),e.defaultExpandAll)this.states.expandRows=(e.data||[]).slice(0);else if(s){for(var a=h(this.states.expandRows,s),o=[],l=e.data,u=Array.isArray(l),f=0,l=u?l:l[Symbol.iterator]();;){var p;if(u){if(f>=l.length)break;p=l[f++]}else{if(f=l.next(),f.done)break;p=f.value}var m=p,v=(0,c.getRowIdentity)(m,s);a[v]&&o.push(m)}this.states.expandRows=o}else this.states.expandRows=[];r.default.nextTick(function(){return i.table.updateScrollY()})},changeSortCondition:function(e,t){var i=this;e.data=d(e.filteredData||e._data||[],e),t&&t.silent||this.table.$emit("sort-change",{column:this.states.sortingColumn,prop:this.states.sortProp,order:this.states.sortOrder}),r.default.nextTick(function(){return i.table.updateScrollY()})},filterChange:function(e,t){var i=this,n=t.column,s=t.values,a=t.silent;s&&!Array.isArray(s)&&(s=[s]);var o=n.property,l={};o&&(e.filters[n.id]=s,l[n.columnKey||n.id]=s);var u=e._data;Object.keys(e.filters).forEach(function(t){var n=e.filters[t];if(n&&0!==n.length){var s=(0,c.getColumnById)(i.states,t);s&&s.filterMethod&&(u=u.filter(function(e){return n.some(function(t){return s.filterMethod.call(null,t,e,s)})}))}}),e.filteredData=u,e.data=d(u,e),a||this.table.$emit("filter-change",l),r.default.nextTick(function(){return i.table.updateScrollY()})},insertColumn:function(e,t,i,n){var s=e._columns;n&&((s=n.children)||(s=n.children=[])),void 0!==i?s.splice(i,0,t):s.push(t),"selection"===t.type&&(e.selectable=t.selectable,e.reserveSelection=t.reserveSelection),this.table.$ready&&(this.updateColumns(),this.scheduleLayout())},removeColumn:function(e,t,i){var n=e._columns;i&&((n=i.children)||(n=i.children=[])),n&&n.splice(n.indexOf(t),1),this.table.$ready&&(this.updateColumns(),this.scheduleLayout())},setHoverRow:function(e,t){e.hoverRow=t},setCurrentRow:function(e,t){var i=e.currentRow;e.currentRow=t,i!==t&&this.table.$emit("current-change",t,i)},rowSelectedChanged:function(e,t){var i=f(e,t),n=e.selection;if(i){var s=this.table;s.$emit("selection-change",n?n.slice():[]),s.$emit("select",n,t)}this.updateAllSelected()},toggleAllSelection:(0,o.default)(10,function(e){var t=e.data||[];if(0!==t.length){var i=this.states.selection,n=e.selectOnIndeterminate?!e.isAllSelected:!(e.isAllSelected||i.length),s=!1;t.forEach(function(t,i){e.selectable?e.selectable.call(null,t,i)&&f(e,t,n)&&(s=!0):f(e,t,n)&&(s=!0)});var r=this.table;s&&r.$emit("selection-change",i?i.slice():[]),r.$emit("select-all",i),e.isAllSelected=n}})};var v=function e(t){var i=[];return t.forEach(function(t){t.children?i.push.apply(i,e(t.children)):i.push(t)}),i};m.prototype.updateColumns=function(){var e=this.states,t=e._columns||[];e.fixedColumns=t.filter(function(e){return!0===e.fixed||"left"===e.fixed}),e.rightFixedColumns=t.filter(function(e){return"right"===e.fixed}),e.fixedColumns.length>0&&t[0]&&"selection"===t[0].type&&!t[0].fixed&&(t[0].fixed=!0,e.fixedColumns.unshift(t[0]));var i=t.filter(function(e){return!e.fixed});e.originColumns=[].concat(e.fixedColumns).concat(i).concat(e.rightFixedColumns);var n=v(i),s=v(e.fixedColumns),r=v(e.rightFixedColumns);e.leafColumnsLength=n.length,e.fixedLeafColumnsLength=s.length,e.rightFixedLeafColumnsLength=r.length,e.columns=[].concat(s).concat(n).concat(r),e.isComplex=e.fixedColumns.length>0||e.rightFixedColumns.length>0},m.prototype.isSelected=function(e){return(this.states.selection||[]).indexOf(e)>-1},m.prototype.clearSelection=function(){var e=this.states;e.isAllSelected=!1;var t=e.selection;e.selection.length&&(e.selection=[]),t.length>0&&this.table.$emit("selection-change",e.selection?e.selection.slice():[])},m.prototype.setExpandRowKeys=function(e){var t=[],i=this.states.data,n=this.states.rowKey;if(!n)throw new Error("[Table] prop row-key should not be empty.");var s=h(i,n);e.forEach(function(e){var i=s[e];i&&t.push(i.row)}),this.states.expandRows=t},m.prototype.toggleRowSelection=function(e,t){f(this.states,e,t)&&this.table.$emit("selection-change",this.states.selection?this.states.selection.slice():[])},m.prototype.toggleRowExpansion=function(e,t){p(this.states,e,t)&&(this.table.$emit("expand-change",e,this.states.expandRows),this.scheduleLayout())},m.prototype.isRowExpanded=function(e){var t=this.states,i=t.expandRows,n=void 0===i?[]:i,s=t.rowKey;if(s){return!!h(n,s)[(0,c.getRowIdentity)(e,s)]}return-1!==n.indexOf(e)},m.prototype.cleanSelection=function(){var e=this.states.selection||[],t=this.states.data,i=this.states.rowKey,n=void 0;if(i){n=[];var s=h(e,i),r=h(t,i);for(var a in s)s.hasOwnProperty(a)&&!r[a]&&n.push(s[a].row)}else n=e.filter(function(e){return-1===t.indexOf(e)});n.forEach(function(t){e.splice(e.indexOf(t),1)}),n.length&&this.table.$emit("selection-change",e?e.slice():[])},m.prototype.clearFilter=function(){var e=this.states,t=this.table.$refs,i=t.tableHeader,n=t.fixedTableHeader,s=t.rightFixedTableHeader,r={};i&&(r=(0,u.default)(r,i.filterPanels)),n&&(r=(0,u.default)(r,n.filterPanels)),s&&(r=(0,u.default)(r,s.filterPanels));var a=Object.keys(r);a.length&&(a.forEach(function(e){r[e].filteredValue=[]}),e.filters={},this.commit("filterChange",{column:{},values:[],silent:!0}))},m.prototype.clearSort=function(){var e=this.states;e.sortingColumn&&(e.sortingColumn.order=null,e.sortProp=null,e.sortOrder=null,this.commit("changeSortCondition",{silent:!0}))},m.prototype.updateAllSelected=function(){var e=this.states,t=e.selection,i=e.rowKey,n=e.selectable,s=e.data;if(!s||0===s.length)return void(e.isAllSelected=!1);var r=void 0;i&&(r=h(e.selection,i));for(var a=!0,o=0,l=0,u=s.length;l<u;l++){var d=s[l],f=n&&n.call(null,d,l);if(function(e){return r?!!r[(0,c.getRowIdentity)(e,i)]:-1!==t.indexOf(e)}(d))o++;else if(!n||f){a=!1;break}}0===o&&(a=!1),e.isAllSelected=a},m.prototype.scheduleLayout=function(e){e&&this.updateColumns(),this.table.debouncedUpdateLayout()},m.prototype.setCurrentRowKey=function(e){var t=this.states,i=t.rowKey;if(!i)throw new Error("[Table] row-key should not be empty.");var n=t.data||[],s=h(n,i),r=s[e];r&&(t.currentRow=r.row)},m.prototype.updateCurrentRow=function(){var e=this.states,t=this.table,i=e.data||[],n=e.currentRow;-1===i.indexOf(n)&&(e.currentRow=null,e.currentRow!==n&&t.$emit("current-change",null,n))},m.prototype.commit=function(e){var t=this.mutations;if(!t[e])throw new Error("Action not found: "+e);for(var i=arguments.length,n=Array(i>1?i-1:0),s=1;s<i;s++)n[s-1]=arguments[s];t[e].apply(this,[this.states].concat(n))},t.default=m},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var r=i(44),a=n(r),o=i(2),l=n(o),u=function(){function e(t){s(this,e),this.observers=[],this.table=null,this.store=null,this.columns=null,this.fit=!0,this.showHeader=!0,this.height=null,this.scrollX=!1,this.scrollY=!1,this.bodyWidth=null,this.fixedWidth=null,this.rightFixedWidth=null,this.tableHeight=null,this.headerHeight=44,this.appendHeight=0,this.footerHeight=44,this.viewportHeight=null,this.bodyHeight=null,this.fixedBodyHeight=null,this.gutterWidth=(0,a.default)();for(var i in t)t.hasOwnProperty(i)&&(this[i]=t[i]);if(!this.table)throw new Error("table is required for Table Layout");if(!this.store)throw new Error("store is required for Table Layout")}return e.prototype.updateScrollY=function(){var e=this.height;if("string"==typeof e||"number"==typeof e){var t=this.table.bodyWrapper;if(this.table.$el&&t){var i=t.querySelector(".el-table__body");this.scrollY=i.offsetHeight>this.bodyHeight}}},e.prototype.setHeight=function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"height";if(!l.default.prototype.$isServer){var n=this.table.$el;if("string"==typeof e&&/^\d+$/.test(e)&&(e=Number(e)),this.height=e,!n&&(e||0===e))return l.default.nextTick(function(){return t.setHeight(e,i)});"number"==typeof e?(n.style[i]=e+"px",this.updateElsHeight()):"string"==typeof e&&(n.style[i]=e,this.updateElsHeight())}},e.prototype.setMaxHeight=function(e){return this.setHeight(e,"max-height")},e.prototype.updateElsHeight=function(){var e=this;if(!this.table.$ready)return l.default.nextTick(function(){return e.updateElsHeight()});var t=this.table.$refs,i=t.headerWrapper,n=t.appendWrapper,s=t.footerWrapper;if(this.appendHeight=n?n.offsetHeight:0,!this.showHeader||i){var r=this.headerHeight=this.showHeader?i.offsetHeight:0;if(this.showHeader&&i.offsetWidth>0&&(this.table.columns||[]).length>0&&r<2)return l.default.nextTick(function(){return e.updateElsHeight()});var a=this.tableHeight=this.table.$el.clientHeight;if(null!==this.height&&(!isNaN(this.height)||"string"==typeof this.height)){var o=this.footerHeight=s?s.offsetHeight:0;this.bodyHeight=a-r-o+(s?1:0)}this.fixedBodyHeight=this.scrollX?this.bodyHeight-this.gutterWidth:this.bodyHeight;var u=!this.table.data||0===this.table.data.length;this.viewportHeight=this.scrollX?a-(u?0:this.gutterWidth):a,this.updateScrollY(),this.notifyObservers("scrollable")}},e.prototype.getFlattenColumns=function(){var e=[];return this.table.columns.forEach(function(t){t.isColumnGroup?e.push.apply(e,t.columns):e.push(t)}),e},e.prototype.updateColumnsWidth=function(){if(!l.default.prototype.$isServer){var e=this.fit,t=this.table.$el.clientWidth,i=0,n=this.getFlattenColumns(),s=n.filter(function(e){return"number"!=typeof e.width});if(n.forEach(function(e){"number"==typeof e.width&&e.realWidth&&(e.realWidth=null)}),s.length>0&&e){n.forEach(function(e){i+=e.width||e.minWidth||80});var r=this.scrollY?this.gutterWidth:0;if(i<=t-r){this.scrollX=!1;var a=t-r-i;1===s.length?s[0].realWidth=(s[0].minWidth||80)+a:function(){var e=s.reduce(function(e,t){return e+(t.minWidth||80)},0),t=a/e,i=0;s.forEach(function(e,n){if(0!==n){var s=Math.floor((e.minWidth||80)*t);i+=s,e.realWidth=(e.minWidth||80)+s}}),s[0].realWidth=(s[0].minWidth||80)+a-i}()}else this.scrollX=!0,s.forEach(function(e){e.realWidth=e.minWidth});this.bodyWidth=Math.max(i,t),this.table.resizeState.width=this.bodyWidth}else n.forEach(function(e){e.width||e.minWidth?e.realWidth=e.width||e.minWidth:e.realWidth=80,i+=e.realWidth}),this.scrollX=i>t,this.bodyWidth=i;var o=this.store.states.fixedColumns;if(o.length>0){var u=0;o.forEach(function(e){u+=e.realWidth||e.width}),this.fixedWidth=u}var c=this.store.states.rightFixedColumns;if(c.length>0){var d=0;c.forEach(function(e){d+=e.realWidth||e.width}),this.rightFixedWidth=d}this.notifyObservers("columns")}},e.prototype.addObserver=function(e){this.observers.push(e)},e.prototype.removeObserver=function(e){var t=this.observers.indexOf(e);-1!==t&&this.observers.splice(t,1)},e.prototype.notifyObservers=function(e){var t=this;this.observers.forEach(function(i){switch(e){case"columns":i.onColumnsChange(t);break;case"scrollable":i.onScrollableChange(t);break;default:throw new Error("Table Layout don't have event "+e+".")}})},e}();t.default=u},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(74),a=i(3),o=i(15),l=n(o),u=i(33),c=n(u),d=i(18),h=n(d),f=i(48),p=n(f);t.default={name:"ElTableBody",mixins:[p.default],components:{ElCheckbox:l.default,ElTooltip:c.default},props:{store:{required:!0},stripe:Boolean,context:{},rowClassName:[String,Function],rowStyle:[Object,Function],fixed:String,highlight:Boolean},render:function(e){var t=this,i=this.columns.map(function(e,i){return t.isColumnHidden(i)});return e("table",{class:"el-table__body",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[e("colgroup",null,[this._l(this.columns,function(t){return e("col",{attrs:{name:t.id}},[])})]),e("tbody",null,[this._l(this.data,function(n,s){return[e("tr",{style:t.rowStyle?t.getRowStyle(n,s):null,key:t.table.rowKey?t.getKeyOfRow(n,s):s,on:{dblclick:function(e){return t.handleDoubleClick(e,n)},click:function(e){return t.handleClick(e,n)},contextmenu:function(e){return t.handleContextMenu(e,n)},mouseenter:function(e){return t.handleMouseEnter(s)},mouseleave:function(e){return t.handleMouseLeave()}},class:[t.getRowClass(n,s)]},[t._l(t.columns,function(r,a){var o=t.getSpan(n,r,s,a),l=o.rowspan,u=o.colspan;return l&&u?1===l&&1===u?e("td",{style:t.getCellStyle(s,a,n,r),class:t.getCellClass(s,a,n,r),on:{mouseenter:function(e){return t.handleCellMouseEnter(e,n)},mouseleave:t.handleCellMouseLeave}},[r.renderCell.call(t._renderProxy,e,{row:n,column:r,$index:s,store:t.store,_self:t.context||t.table.$vnode.context},i[a])]):e("td",{style:t.getCellStyle(s,a,n,r),class:t.getCellClass(s,a,n,r),attrs:{rowspan:l,colspan:u},on:{mouseenter:function(e){return t.handleCellMouseEnter(e,n)},mouseleave:t.handleCellMouseLeave}},[r.renderCell.call(t._renderProxy,e,{row:n,column:r,$index:s,store:t.store,_self:t.context||t.table.$vnode.context},i[a])]):""})]),t.store.isRowExpanded(n)?e("tr",null,[e("td",{attrs:{colspan:t.columns.length},class:"el-table__expanded-cell"},[t.table.renderExpanded?t.table.renderExpanded(e,{row:n,$index:s,store:t.store}):""])]):""]}).concat(e("el-tooltip",{attrs:{effect:this.table.tooltipEffect,placement:"top",content:this.tooltipContent},ref:"tooltip"},[]))])])},watch:{"store.states.hoverRow":function(e,t){if(this.store.states.isComplex){var i=this.$el;if(i){var n=i.querySelector("tbody").children,s=[].filter.call(n,function(e){return(0,a.hasClass)(e,"el-table__row")}),r=s[t],o=s[e];r&&(0,a.removeClass)(r,"hover-row"),o&&(0,a.addClass)(o,"hover-row")}}},"store.states.currentRow":function(e,t){if(this.highlight){var i=this.$el;if(i){var n=this.store.states.data,s=i.querySelector("tbody").children,r=[].filter.call(s,function(e){return(0,a.hasClass)(e,"el-table__row")}),o=r[n.indexOf(t)],l=r[n.indexOf(e)];o?(0,a.removeClass)(o,"current-row"):[].forEach.call(r,function(e){return(0,a.removeClass)(e,"current-row")}),l&&(0,a.addClass)(l,"current-row")}}}},computed:{table:function(){return this.$parent},data:function(){return this.store.states.data},columnsCount:function(){return this.store.states.columns.length},leftFixedLeafCount:function(){return this.store.states.fixedLeafColumnsLength},rightFixedLeafCount:function(){return this.store.states.rightFixedLeafColumnsLength},leftFixedCount:function(){return this.store.states.fixedColumns.length},rightFixedCount:function(){return this.store.states.rightFixedColumns.length},columns:function(){return this.store.states.columns}},data:function(){return{tooltipContent:""}},created:function(){this.activateTooltip=(0,h.default)(50,function(e){return e.handleShowPopper()})},methods:{getKeyOfRow:function(e,t){var i=this.table.rowKey;return i?(0,r.getRowIdentity)(e,i):t},isColumnHidden:function(e){return!0===this.fixed||"left"===this.fixed?e>=this.leftFixedLeafCount:"right"===this.fixed?e<this.columnsCount-this.rightFixedLeafCount:e<this.leftFixedLeafCount||e>=this.columnsCount-this.rightFixedLeafCount},getSpan:function(e,t,i,n){var r=1,a=1,o=this.table.spanMethod;if("function"==typeof o){var l=o({row:e,column:t,rowIndex:i,columnIndex:n});Array.isArray(l)?(r=l[0],a=l[1]):"object"===(void 0===l?"undefined":s(l))&&(r=l.rowspan,a=l.colspan)}return{rowspan:r,colspan:a}},getRowStyle:function(e,t){var i=this.table.rowStyle;return"function"==typeof i?i.call(null,{row:e,rowIndex:t}):i},getRowClass:function(e,t){var i=["el-table__row"];this.stripe&&t%2==1&&i.push("el-table__row--striped");var n=this.table.rowClassName;return"string"==typeof n?i.push(n):"function"==typeof n&&i.push(n.call(null,{row:e,rowIndex:t})),this.store.states.expandRows.indexOf(e)>-1&&i.push("expanded"),i.join(" ")},getCellStyle:function(e,t,i,n){var s=this.table.cellStyle;return"function"==typeof s?s.call(null,{rowIndex:e,columnIndex:t,row:i,column:n}):s},getCellClass:function(e,t,i,n){var s=[n.id,n.align,n.className];this.isColumnHidden(t)&&s.push("is-hidden");var r=this.table.cellClassName;return"string"==typeof r?s.push(r):"function"==typeof r&&s.push(r.call(null,{rowIndex:e,columnIndex:t,row:i,column:n})),s.join(" ")},handleCellMouseEnter:function(e,t){var i=this.table,n=(0,r.getCell)(e);if(n){var s=(0,r.getColumnByCell)(i,n),o=i.hoverState={cell:n,column:s,row:t};i.$emit("cell-mouse-enter",o.row,o.column,o.cell,e)}var l=e.target.querySelector(".cell");if((0,a.hasClass)(l,"el-tooltip")){var u=document.createRange();u.setStart(l,0),u.setEnd(l,l.childNodes.length);if((u.getBoundingClientRect().width+((parseInt((0,a.getStyle)(l,"paddingLeft"),10)||0)+(parseInt((0,a.getStyle)(l,"paddingRight"),10)||0))>l.offsetWidth||l.scrollWidth>l.offsetWidth)&&this.$refs.tooltip){var c=this.$refs.tooltip;this.tooltipContent=n.textContent||n.innerText,c.referenceElm=n,c.$refs.popper&&(c.$refs.popper.style.display="none"),c.doDestroy(),c.setExpectedState(!0),this.activateTooltip(c)}}},handleCellMouseLeave:function(e){var t=this.$refs.tooltip;if(t&&(t.setExpectedState(!1),t.handleClosePopper()),(0,r.getCell)(e)){var i=this.table.hoverState||{};this.table.$emit("cell-mouse-leave",i.row,i.column,i.cell,e)}},handleMouseEnter:function(e){this.store.commit("setHoverRow",e)},handleMouseLeave:function(){this.store.commit("setHoverRow",null)},handleContextMenu:function(e,t){this.handleEvent(e,t,"contextmenu")},handleDoubleClick:function(e,t){this.handleEvent(e,t,"dblclick")},handleClick:function(e,t){this.store.commit("setCurrentRow",t),this.handleEvent(e,t,"click")},handleEvent:function(e,t,i){var n=this.table,s=(0,r.getCell)(e),a=void 0;s&&(a=(0,r.getColumnByCell)(n,s))&&n.$emit("cell-"+i,t,a,s,e),n.$emit("row-"+i,t,e,a)},handleExpandClick:function(e,t){t.stopPropagation(),this.store.toggleRowExpansion(e)}}}},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(3),r=i(15),a=n(r),o=i(31),l=n(o),u=i(2),c=n(u),d=i(219),h=n(d),f=i(48),p=n(f),m=function e(t){var i=[];return t.forEach(function(t){t.children?(i.push(t),i.push.apply(i,e(t.children))):i.push(t)}),i},v=function(e){var t=1,i=function e(i,n){if(n&&(i.level=n.level+1,t<i.level&&(t=i.level)),i.children){var s=0;i.children.forEach(function(t){e(t,i),s+=t.colSpan}),i.colSpan=s}else i.colSpan=1};e.forEach(function(e){e.level=1,i(e)});for(var n=[],s=0;s<t;s++)n.push([]);return m(e).forEach(function(e){e.children?e.rowSpan=1:e.rowSpan=t-e.level+1,n[e.level-1].push(e)}),n};t.default={name:"ElTableHeader",mixins:[p.default],render:function(e){var t=this,i=this.store.states.originColumns,n=v(i,this.columns),s=n.length>1;return s&&(this.$parent.isGroup=!0),e("table",{class:"el-table__header",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[e("colgroup",null,[this._l(this.columns,function(t){return e("col",{attrs:{name:t.id}},[])}),this.hasGutter?e("col",{attrs:{name:"gutter"}},[]):""]),e("thead",{class:[{"is-group":s,"has-gutter":this.hasGutter}]},[this._l(n,function(i,n){return e("tr",{style:t.getHeaderRowStyle(n),class:t.getHeaderRowClass(n)},[t._l(i,function(s,r){return e("th",{attrs:{colspan:s.colSpan,rowspan:s.rowSpan},on:{mousemove:function(e){return t.handleMouseMove(e,s)},mouseout:t.handleMouseOut,mousedown:function(e){return t.handleMouseDown(e,s)},click:function(e){return t.handleHeaderClick(e,s)},contextmenu:function(e){return t.handleHeaderContextMenu(e,s)}},style:t.getHeaderCellStyle(n,r,i,s),class:t.getHeaderCellClass(n,r,i,s)},[e("div",{class:["cell",s.filteredValue&&s.filteredValue.length>0?"highlight":"",s.labelClassName]},[s.renderHeader?s.renderHeader.call(t._renderProxy,e,{column:s,$index:r,store:t.store,_self:t.$parent.$vnode.context}):s.label,s.sortable?e("span",{class:"caret-wrapper",on:{click:function(e){return t.handleSortClick(e,s)}}},[e("i",{class:"sort-caret ascending",on:{click:function(e){return t.handleSortClick(e,s,"ascending")}}},[]),e("i",{class:"sort-caret descending",on:{click:function(e){return t.handleSortClick(e,s,"descending")}}},[])]):"",s.filterable?e("span",{class:"el-table__column-filter-trigger",on:{click:function(e){return t.handleFilterClick(e,s)}}},[e("i",{class:["el-icon-arrow-down",s.filterOpened?"el-icon-arrow-up":""]},[])]):""])])}),t.hasGutter?e("th",{class:"gutter"},[]):""])})])])},props:{fixed:String,store:{required:!0},border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},components:{ElCheckbox:a.default,ElTag:l.default},computed:{table:function(){return this.$parent},isAllSelected:function(){return this.store.states.isAllSelected},columnsCount:function(){return this.store.states.columns.length},leftFixedCount:function(){return this.store.states.fixedColumns.length},rightFixedCount:function(){return this.store.states.rightFixedColumns.length},leftFixedLeafCount:function(){return this.store.states.fixedLeafColumnsLength},rightFixedLeafCount:function(){return this.store.states.rightFixedLeafColumnsLength},columns:function(){return this.store.states.columns},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},created:function(){this.filterPanels={}},mounted:function(){var e=this;this.defaultSort.prop&&function(){var t=e.store.states;t.sortProp=e.defaultSort.prop,t.sortOrder=e.defaultSort.order||"ascending",e.$nextTick(function(i){for(var n=0,s=e.columns.length;n<s;n++){var r=e.columns[n];if(r.property===t.sortProp){r.order=t.sortOrder,t.sortingColumn=r;break}}t.sortingColumn&&e.store.commit("changeSortCondition")})}()},beforeDestroy:function(){var e=this.filterPanels;for(var t in e)e.hasOwnProperty(t)&&e[t]&&e[t].$destroy(!0)},methods:{isCellHidden:function(e,t){for(var i=0,n=0;n<e;n++)i+=t[n].colSpan;var s=i+t[e].colSpan-1;return!0===this.fixed||"left"===this.fixed?s>=this.leftFixedLeafCount:"right"===this.fixed?i<this.columnsCount-this.rightFixedLeafCount:s<this.leftFixedLeafCount||i>=this.columnsCount-this.rightFixedLeafCount},getHeaderRowStyle:function(e){var t=this.table.headerRowStyle;return"function"==typeof t?t.call(null,{rowIndex:e}):t},getHeaderRowClass:function(e){var t=[],i=this.table.headerRowClassName;return"string"==typeof i?t.push(i):"function"==typeof i&&t.push(i.call(null,{rowIndex:e})),t.join(" ")},getHeaderCellStyle:function(e,t,i,n){var s=this.table.headerCellStyle;return"function"==typeof s?s.call(null,{rowIndex:e,columnIndex:t,row:i,column:n}):s},getHeaderCellClass:function(e,t,i,n){var s=[n.id,n.order,n.headerAlign,n.className,n.labelClassName];0===e&&this.isCellHidden(t,i)&&s.push("is-hidden"),n.children||s.push("is-leaf"),n.sortable&&s.push("is-sortable");var r=this.table.headerCellClassName;return"string"==typeof r?s.push(r):"function"==typeof r&&s.push(r.call(null,{rowIndex:e,columnIndex:t,row:i,column:n})),s.join(" ")},toggleAllSelection:function(){this.store.commit("toggleAllSelection")},handleFilterClick:function(e,t){e.stopPropagation();var i=e.target,n="TH"===i.tagName?i:i.parentNode;n=n.querySelector(".el-table__column-filter-trigger")||n;var s=this.$parent,r=this.filterPanels[t.id];if(r&&t.filterOpened)return void(r.showPopper=!1);r||(r=new c.default(h.default),this.filterPanels[t.id]=r,t.filterPlacement&&(r.placement=t.filterPlacement),r.table=s,r.cell=n,r.column=t,!this.$isServer&&r.$mount(document.createElement("div"))),setTimeout(function(){r.showPopper=!0},16)},handleHeaderClick:function(e,t){!t.filters&&t.sortable?this.handleSortClick(e,t):t.filters&&!t.sortable&&this.handleFilterClick(e,t),this.$parent.$emit("header-click",t,e)},handleHeaderContextMenu:function(e,t){this.$parent.$emit("header-contextmenu",t,e)},handleMouseDown:function(e,t){var i=this;this.$isServer||t.children&&t.children.length>0||this.draggingColumn&&this.border&&function(){i.dragging=!0,i.$parent.resizeProxyVisible=!0;var n=i.$parent,r=n.$el,a=r.getBoundingClientRect().left,o=i.$el.querySelector("th."+t.id),l=o.getBoundingClientRect(),u=l.left-a+30;(0,s.addClass)(o,"noclick"),i.dragState={startMouseLeft:e.clientX,startLeft:l.right-a,startColumnLeft:l.left-a,tableLeft:a};var c=n.$refs.resizeProxy;c.style.left=i.dragState.startLeft+"px",document.onselectstart=function(){return!1},document.ondragstart=function(){return!1};var d=function(e){var t=e.clientX-i.dragState.startMouseLeft,n=i.dragState.startLeft+t;c.style.left=Math.max(u,n)+"px"},h=function r(){if(i.dragging){var a=i.dragState,l=a.startColumnLeft,u=a.startLeft,h=parseInt(c.style.left,10),f=h-l;t.width=t.realWidth=f,n.$emit("header-dragend",t.width,u-l,t,e),i.store.scheduleLayout(),document.body.style.cursor="",i.dragging=!1,i.draggingColumn=null,i.dragState={},n.resizeProxyVisible=!1}document.removeEventListener("mousemove",d),document.removeEventListener("mouseup",r),document.onselectstart=null,document.ondragstart=null,setTimeout(function(){(0,s.removeClass)(o,"noclick")},0)};document.addEventListener("mousemove",d),document.addEventListener("mouseup",h)}()},handleMouseMove:function(e,t){if(!(t.children&&t.children.length>0)){for(var i=e.target;i&&"TH"!==i.tagName;)i=i.parentNode;if(t&&t.resizable&&!this.dragging&&this.border){var n=i.getBoundingClientRect(),r=document.body.style;n.width>12&&n.right-e.pageX<8?(r.cursor="col-resize",(0,s.hasClass)(i,"is-sortable")&&(i.style.cursor="col-resize"),this.draggingColumn=t):this.dragging||(r.cursor="",(0,s.hasClass)(i,"is-sortable")&&(i.style.cursor="pointer"),this.draggingColumn=null)}}},handleMouseOut:function(){this.$isServer||(document.body.style.cursor="")},toggleOrder:function(e){return e?"ascending"===e?"descending":null:"ascending"},handleSortClick:function(e,t,i){e.stopPropagation();for(var n=i||this.toggleOrder(t.order),r=e.target;r&&"TH"!==r.tagName;)r=r.parentNode;if(r&&"TH"===r.tagName&&(0,s.hasClass)(r,"noclick"))return void(0,s.removeClass)(r,"noclick");if(t.sortable){var a=this.store.states,o=a.sortProp,l=void 0,u=a.sortingColumn;(u!==t||u===t&&null===u.order)&&(u&&(u.order=null),a.sortingColumn=t,o=t.property),n?l=t.order=n:(l=t.order=null,a.sortingColumn=null,o=null),a.sortProp=o,a.sortOrder=l,this.store.commit("changeSortCondition")}}},data:function(){return{draggingColumn:null,dragging:!1,dragState:{}}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(220),s=i.n(n),r=i(222),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(11),r=n(s),a=i(14),o=i(5),l=n(o),u=i(12),c=n(u),d=i(221),h=n(d),f=i(15),p=n(f),m=i(47),v=n(m);t.default={name:"ElTableFilterPanel",mixins:[r.default,l.default],directives:{Clickoutside:c.default},components:{ElCheckbox:p.default,ElCheckboxGroup:v.default},props:{placement:{type:String,default:"bottom-end"}},customRender:function(e){return e("div",{class:"el-table-filter"},[e("div",{class:"el-table-filter__content"},[]),e("div",{class:"el-table-filter__bottom"},[e("button",{on:{click:this.handleConfirm}},[this.t("el.table.confirmFilter")]),e("button",{on:{click:this.handleReset}},[this.t("el.table.resetFilter")])])])},methods:{isActive:function(e){return e.value===this.filterValue},handleOutsideClick:function(){var e=this;setTimeout(function(){e.showPopper=!1},16)},handleConfirm:function(){this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleReset:function(){this.filteredValue=[],this.confirmFilter(this.filteredValue),this.handleOutsideClick()},handleSelect:function(e){this.filterValue=e,void 0!==e&&null!==e?this.confirmFilter(this.filteredValue):this.confirmFilter([]),this.handleOutsideClick()},confirmFilter:function(e){this.table.store.commit("filterChange",{column:this.column,values:e}),this.table.store.updateAllSelected()}},data:function(){return{table:null,cell:null,column:null}},computed:{filters:function(){return this.column&&this.column.filters},filterValue:{get:function(){return(this.column.filteredValue||[])[0]},set:function(e){this.filteredValue&&(void 0!==e&&null!==e?this.filteredValue.splice(0,1,e):this.filteredValue.splice(0,1))}},filteredValue:{get:function(){return this.column?this.column.filteredValue||[]:[]},set:function(e){this.column&&(this.column.filteredValue=e)}},multiple:function(){return!this.column||this.column.filterMultiple}},mounted:function(){var e=this;this.popperElm=this.$el,this.referenceElm=this.cell,this.table.bodyWrapper.addEventListener("scroll",function(){e.updatePopper()}),this.$watch("showPopper",function(t){e.column&&(e.column.filterOpened=t),t?h.default.open(e):h.default.close(e)})},watch:{showPopper:function(e){!0===e&&parseInt(this.popperJS._popper.style.zIndex,10)<a.PopupManager.zIndex&&(this.popperJS._popper.style.zIndex=a.PopupManager.nextZIndex())}}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(2),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=[];!s.default.prototype.$isServer&&document.addEventListener("click",function(e){r.forEach(function(t){var i=e.target;t&&t.$el&&(i===t.$el||t.$el.contains(i)||t.handleOutsideClick&&t.handleOutsideClick(e))})}),t.default={open:function(e){e&&r.push(e)},close:function(e){-1!==r.indexOf(e)&&r.splice(e,1)}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"}},[e.multiple?i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[i("div",{staticClass:"el-table-filter__content"},[i("el-checkbox-group",{staticClass:"el-table-filter__checkbox-group",model:{value:e.filteredValue,callback:function(t){e.filteredValue=t},expression:"filteredValue"}},e._l(e.filters,function(t){return i("el-checkbox",{key:t.value,attrs:{label:t.value}},[e._v(e._s(t.text))])}))],1),i("div",{staticClass:"el-table-filter__bottom"},[i("button",{class:{"is-disabled":0===e.filteredValue.length},attrs:{disabled:0===e.filteredValue.length},on:{click:e.handleConfirm}},[e._v(e._s(e.t("el.table.confirmFilter")))]),i("button",{on:{click:e.handleReset}},[e._v(e._s(e.t("el.table.resetFilter")))])])]):i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleOutsideClick,expression:"handleOutsideClick"},{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-table-filter"},[i("ul",{staticClass:"el-table-filter__list"},[i("li",{staticClass:"el-table-filter__list-item",class:{"is-active":void 0===e.filterValue||null===e.filterValue},on:{click:function(t){e.handleSelect(null)}}},[e._v(e._s(e.t("el.table.clearFilter")))]),e._l(e.filters,function(t){return i("li",{key:t.value,staticClass:"el-table-filter__list-item",class:{"is-active":e.isActive(t)},attrs:{label:t.value},on:{click:function(i){e.handleSelect(t.value)}}},[e._v(e._s(t.text))])})],2)])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(48),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElTableFooter",mixins:[s.default],render:function(e){var t=this,i=[];return this.columns.forEach(function(e,n){if(0===n)return void(i[n]=t.sumText);var s=t.store.states.data.map(function(t){return Number(t[e.property])}),r=[],a=!0;s.forEach(function(e){if(!isNaN(e)){a=!1;var t=(""+e).split(".")[1];r.push(t?t.length:0)}});var o=Math.max.apply(null,r);i[n]=a?"":s.reduce(function(e,t){var i=Number(t);return isNaN(i)?e:parseFloat((e+t).toFixed(Math.min(o,20)))},0)}),e("table",{class:"el-table__footer",attrs:{cellspacing:"0",cellpadding:"0",border:"0"}},[e("colgroup",null,[this._l(this.columns,function(t){return e("col",{attrs:{name:t.id}},[])}),this.hasGutter?e("col",{attrs:{name:"gutter"}},[]):""]),e("tbody",{class:[{"has-gutter":this.hasGutter}]},[e("tr",null,[this._l(this.columns,function(n,s){return e("td",{attrs:{colspan:n.colSpan,rowspan:n.rowSpan},class:[n.id,n.headerAlign,n.className||"",t.isCellHidden(s,t.columns)?"is-hidden":"",n.children?"":"is-leaf",n.labelClassName]},[e("div",{class:["cell",n.labelClassName]},[t.summaryMethod?t.summaryMethod({columns:t.columns,data:t.store.states.data})[s]:i[s]])])}),this.hasGutter?e("th",{class:"gutter"},[]):""])])])},props:{fixed:String,store:{required:!0},summaryMethod:Function,sumText:String,border:Boolean,defaultSort:{type:Object,default:function(){return{prop:"",order:""}}}},computed:{table:function(){return this.$parent},isAllSelected:function(){return this.store.states.isAllSelected},columnsCount:function(){return this.store.states.columns.length},leftFixedCount:function(){return this.store.states.fixedColumns.length},rightFixedCount:function(){return this.store.states.rightFixedColumns.length},columns:function(){return this.store.states.columns},hasGutter:function(){return!this.fixed&&this.tableLayout.gutterWidth}},methods:{isCellHidden:function(e,t){if(!0===this.fixed||"left"===this.fixed)return e>=this.leftFixedCount;if("right"===this.fixed){for(var i=0,n=0;n<e;n++)i+=t[n].colSpan;return i<this.columnsCount-this.rightFixedCount}return e<this.leftFixedCount||e>=this.columnsCount-this.rightFixedCount}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-table",class:[{"el-table--fit":e.fit,"el-table--striped":e.stripe,"el-table--border":e.border||e.isGroup,"el-table--hidden":e.isHidden,"el-table--group":e.isGroup,"el-table--fluid-height":e.maxHeight,"el-table--scrollable-x":e.layout.scrollX,"el-table--scrollable-y":e.layout.scrollY,"el-table--enable-row-hover":!e.store.states.isComplex,"el-table--enable-row-transition":0!==(e.store.states.data||[]).length&&(e.store.states.data||[]).length<100},e.tableSize?"el-table--"+e.tableSize:""],on:{mouseleave:function(t){e.handleMouseLeave(t)}}},[i("div",{ref:"hiddenColumns",staticClass:"hidden-columns"},[e._t("default")],2),e.showHeader?i("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"headerWrapper",staticClass:"el-table__header-wrapper"},[i("table-header",{ref:"tableHeader",style:{width:e.layout.bodyWidth?e.layout.bodyWidth+"px":""},attrs:{store:e.store,border:e.border,"default-sort":e.defaultSort}})],1):e._e(),i("div",{ref:"bodyWrapper",staticClass:"el-table__body-wrapper",class:[e.layout.scrollX?"is-scrolling-"+e.scrollPosition:"is-scrolling-none"],style:[e.bodyHeight]},[i("table-body",{style:{width:e.bodyWidth},attrs:{context:e.context,store:e.store,stripe:e.stripe,"row-class-name":e.rowClassName,"row-style":e.rowStyle,highlight:e.highlightCurrentRow}}),e.data&&0!==e.data.length?e._e():i("div",{ref:"emptyBlock",staticClass:"el-table__empty-block",style:{width:e.bodyWidth}},[i("span",{staticClass:"el-table__empty-text"},[e._t("empty",[e._v(e._s(e.emptyText||e.t("el.table.emptyText")))])],2)]),e.$slots.append?i("div",{ref:"appendWrapper",staticClass:"el-table__append-wrapper"},[e._t("append")],2):e._e()],1),e.showSummary?i("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"},{name:"mousewheel",rawName:"v-mousewheel",value:e.handleHeaderFooterMousewheel,expression:"handleHeaderFooterMousewheel"}],ref:"footerWrapper",staticClass:"el-table__footer-wrapper"},[i("table-footer",{style:{width:e.layout.bodyWidth?e.layout.bodyWidth+"px":""},attrs:{store:e.store,border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,"default-sort":e.defaultSort}})],1):e._e(),e.fixedColumns.length>0?i("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"fixedWrapper",staticClass:"el-table__fixed",style:[{width:e.layout.fixedWidth?e.layout.fixedWidth+"px":""},e.fixedHeight]},[e.showHeader?i("div",{ref:"fixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[i("table-header",{ref:"fixedTableHeader",style:{width:e.bodyWidth},attrs:{fixed:"left",border:e.border,store:e.store}})],1):e._e(),i("div",{ref:"fixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:e.layout.headerHeight+"px"},e.fixedBodyHeight]},[i("table-body",{style:{width:e.bodyWidth},attrs:{fixed:"left",store:e.store,stripe:e.stripe,highlight:e.highlightCurrentRow,"row-class-name":e.rowClassName,"row-style":e.rowStyle}}),e.$slots.append?i("div",{staticClass:"el-table__append-gutter",style:{height:e.layout.appendHeight+"px"}}):e._e()],1),e.showSummary?i("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"}],ref:"fixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[i("table-footer",{style:{width:e.bodyWidth},attrs:{fixed:"left",border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,store:e.store}})],1):e._e()]):e._e(),e.rightFixedColumns.length>0?i("div",{directives:[{name:"mousewheel",rawName:"v-mousewheel",value:e.handleFixedMousewheel,expression:"handleFixedMousewheel"}],ref:"rightFixedWrapper",staticClass:"el-table__fixed-right",style:[{width:e.layout.rightFixedWidth?e.layout.rightFixedWidth+"px":"",right:e.layout.scrollY?(e.border?e.layout.gutterWidth:e.layout.gutterWidth||0)+"px":""},e.fixedHeight]},[e.showHeader?i("div",{ref:"rightFixedHeaderWrapper",staticClass:"el-table__fixed-header-wrapper"},[i("table-header",{ref:"rightFixedTableHeader",style:{width:e.bodyWidth},attrs:{fixed:"right",border:e.border,store:e.store}})],1):e._e(),i("div",{ref:"rightFixedBodyWrapper",staticClass:"el-table__fixed-body-wrapper",style:[{top:e.layout.headerHeight+"px"},e.fixedBodyHeight]},[i("table-body",{style:{width:e.bodyWidth},attrs:{fixed:"right",store:e.store,stripe:e.stripe,"row-class-name":e.rowClassName,"row-style":e.rowStyle,highlight:e.highlightCurrentRow}})],1),e.showSummary?i("div",{directives:[{name:"show",rawName:"v-show",value:e.data&&e.data.length>0,expression:"data && data.length > 0"}],ref:"rightFixedFooterWrapper",staticClass:"el-table__fixed-footer-wrapper"},[i("table-footer",{style:{width:e.bodyWidth},attrs:{fixed:"right",border:e.border,"sum-text":e.sumText||e.t("el.table.sumText"),"summary-method":e.summaryMethod,store:e.store}})],1):e._e()]):e._e(),e.rightFixedColumns.length>0?i("div",{ref:"rightFixedPatch",staticClass:"el-table__fixed-right-patch",style:{width:e.layout.scrollY?e.layout.gutterWidth+"px":"0",height:e.layout.headerHeight+"px"}}):e._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:e.resizeProxyVisible,expression:"resizeProxyVisible"}],ref:"resizeProxy",staticClass:"el-table__column-resize-proxy"})])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(226),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(15),r=n(s),a=i(31),o=n(a),l=i(10),u=n(l),c=i(6),d=1,h={default:{order:""},selection:{width:48,minWidth:48,realWidth:48,order:"",className:"el-table-column--selection"},expand:{width:48,minWidth:48,realWidth:48,order:""},index:{width:48,minWidth:48,realWidth:48,order:""}},f={selection:{renderHeader:function(e,t){var i=t.store;return e("el-checkbox",{attrs:{disabled:i.states.data&&0===i.states.data.length,indeterminate:i.states.selection.length>0&&!this.isAllSelected,value:this.isAllSelected},nativeOn:{click:this.toggleAllSelection}},[])},renderCell:function(e,t){var i=t.row,n=t.column,s=t.store,r=t.$index;return e("el-checkbox",{nativeOn:{click:function(e){return e.stopPropagation()}},attrs:{value:s.isSelected(i),disabled:!!n.selectable&&!n.selectable.call(null,i,r)},on:{input:function(){s.commit("rowSelectedChanged",i)}}},[])},sortable:!1,resizable:!1},index:{renderHeader:function(e,t){return t.column.label||"#"},renderCell:function(e,t){var i=t.$index,n=t.column,s=i+1,r=n.index;return"number"==typeof r?s=i+r:"function"==typeof r&&(s=r(i)),e("div",null,[s])},sortable:!1},expand:{renderHeader:function(e,t){return t.column.label||""},renderCell:function(e,t,i){var n=t.row;return e("div",{class:"el-table__expand-icon "+(t.store.states.expandRows.indexOf(n)>-1?"el-table__expand-icon--expanded":""),on:{click:function(e){return i.handleExpandClick(n,e)}}},[e("i",{class:"el-icon el-icon-arrow-right"},[])])},sortable:!1,resizable:!1,className:"el-table__expand-column"}},p=function(e,t){var i={};(0,u.default)(i,h[e||"default"]);for(var n in t)if(t.hasOwnProperty(n)){var s=t[n];void 0!==s&&(i[n]=s)}return i.minWidth||(i.minWidth=80),i.realWidth=void 0===i.width?i.minWidth:i.width,i},m=function(e,t){var i=t.row,n=t.column,s=t.$index,r=n.property,a=r&&(0,c.getPropByPath)(i,r).v;return n&&n.formatter?n.formatter(i,n,a,s):a},v=function(e){return void 0!==e&&(e=parseInt(e,10),isNaN(e)&&(e=null)),e},g=function(e){return void 0!==e&&(e=parseInt(e,10),isNaN(e)&&(e=80)),e};t.default={name:"ElTableColumn",props:{type:{type:String,default:"default"},label:String,className:String,labelClassName:String,property:String,prop:String,width:{},minWidth:{},renderHeader:Function,sortable:{type:[String,Boolean],default:!1},sortMethod:Function,sortBy:[String,Function,Array],resizable:{type:Boolean,default:!0},context:{},columnKey:String,align:String,headerAlign:String,showTooltipWhenOverflow:Boolean,showOverflowTooltip:Boolean,fixed:[Boolean,String],formatter:Function,selectable:Function,reserveSelection:Boolean,filterMethod:Function,filteredValue:Array,filters:Array,filterPlacement:String,filterMultiple:{type:Boolean,default:!0},index:[Number,Function]},data:function(){return{isSubColumn:!1,columns:[]}},beforeCreate:function(){this.row={},this.column={},this.$index=0},components:{ElCheckbox:r.default,ElTag:o.default},computed:{owner:function(){for(var e=this.$parent;e&&!e.tableId;)e=e.$parent;return e},columnOrTableParent:function(){for(var e=this.$parent;e&&!e.tableId&&!e.columnId;)e=e.$parent;return e}},created:function(){var e=this;this.customRender=this.$options.render,this.$options.render=function(t){return t("div",e.$slots.default)};var t=this.columnOrTableParent,i=this.owner;this.isSubColumn=i!==t,this.columnId=(t.tableId||t.columnId)+"_column_"+d++;var n=this.type,s=v(this.width),r=g(this.minWidth),a=p(n,{id:this.columnId,columnKey:this.columnKey,label:this.label,className:this.className,labelClassName:this.labelClassName,property:this.prop||this.property,type:n,renderCell:null,renderHeader:this.renderHeader,minWidth:r,width:s,isColumnGroup:!1,context:this.context,align:this.align?"is-"+this.align:null,headerAlign:this.headerAlign?"is-"+this.headerAlign:this.align?"is-"+this.align:null,sortable:""===this.sortable||this.sortable,sortMethod:this.sortMethod,sortBy:this.sortBy,resizable:this.resizable,showOverflowTooltip:this.showOverflowTooltip||this.showTooltipWhenOverflow,formatter:this.formatter,selectable:this.selectable,reserveSelection:this.reserveSelection,fixed:""===this.fixed||this.fixed,filterMethod:this.filterMethod,filters:this.filters,filterable:this.filters||this.filterMethod,filterMultiple:this.filterMultiple,filterOpened:!1,filteredValue:this.filteredValue||[],filterPlacement:this.filterPlacement||"",index:this.index});(0,u.default)(a,f[n]||{}),this.columnConfig=a;var o=a.renderCell,l=this;if("expand"===n)return i.renderExpanded=function(e,t){return l.$scopedSlots.default?l.$scopedSlots.default(t):l.$slots.default},void(a.renderCell=function(e,t){return e("div",{class:"cell"},[o(e,t,this._renderProxy)])});a.renderCell=function(e,t){return l.$scopedSlots.default&&(o=function(){return l.$scopedSlots.default(t)}),o||(o=m),l.showOverflowTooltip||l.showTooltipWhenOverflow?e("div",{class:"cell el-tooltip",style:{width:(t.column.realWidth||t.column.width)-1+"px"}},[o(e,t)]):e("div",{class:"cell"},[o(e,t)])}},destroyed:function(){if(this.$parent){var e=this.$parent;this.owner.store.commit("removeColumn",this.columnConfig,this.isSubColumn?e.columnConfig:null)}},watch:{label:function(e){this.columnConfig&&(this.columnConfig.label=e)},prop:function(e){this.columnConfig&&(this.columnConfig.property=e)},property:function(e){this.columnConfig&&(this.columnConfig.property=e)},filters:function(e){this.columnConfig&&(this.columnConfig.filters=e)},filterMultiple:function(e){this.columnConfig&&(this.columnConfig.filterMultiple=e)},align:function(e){this.columnConfig&&(this.columnConfig.align=e?"is-"+e:null,this.headerAlign||(this.columnConfig.headerAlign=e?"is-"+e:null))},headerAlign:function(e){this.columnConfig&&(this.columnConfig.headerAlign="is-"+(e||this.align))},width:function(e){this.columnConfig&&(this.columnConfig.width=v(e),this.owner.store.scheduleLayout())},minWidth:function(e){this.columnConfig&&(this.columnConfig.minWidth=g(e),this.owner.store.scheduleLayout())},fixed:function(e){this.columnConfig&&(this.columnConfig.fixed=e,this.owner.store.scheduleLayout(!0))},sortable:function(e){this.columnConfig&&(this.columnConfig.sortable=e)},index:function(e){this.columnConfig&&(this.columnConfig.index=e)},formatter:function(e){this.columnConfig&&(this.columnConfig.formatter=e)}},mounted:function(){var e=this.owner,t=this.columnOrTableParent,i=void 0;i=this.isSubColumn?[].indexOf.call(t.$el.children,this.$el):[].indexOf.call(t.$refs.hiddenColumns.children,this.$el),e.store.commit("insertColumn",this.columnConfig,i,this.isSubColumn?t.columnConfig:null)}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(228),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(49),r=n(s),a=i(232),o=n(a),l=i(247),u=n(l),c=function(e){return"daterange"===e||"datetimerange"===e?u.default:o.default};t.default={mixins:[r.default],name:"ElDatePicker",props:{type:{type:String,default:"date"},timeArrowControl:Boolean},watch:{type:function(e){this.picker?(this.unmountPicker(),this.panel=c(e),this.mountPicker()):this.panel=c(e)}},created:function(){this.panel=c(this.type)}}},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(2),r=n(s),a=i(12),o=n(a),l=i(13),u=i(11),c=n(u),d=i(1),h=n(d),f=i(8),p=n(f),m=i(10),v=n(m),g={props:{appendToBody:c.default.props.appendToBody,offset:c.default.props.offset,boundariesPadding:c.default.props.boundariesPadding,arrowOffset:c.default.props.arrowOffset},methods:c.default.methods,data:function(){return(0,v.default)({visibleArrow:!0},c.default.data)},beforeDestroy:c.default.beforeDestroy},b={date:"yyyy-MM-dd",month:"yyyy-MM",datetime:"yyyy-MM-dd HH:mm:ss",time:"HH:mm:ss",week:"yyyywWW",timerange:"HH:mm:ss",daterange:"yyyy-MM-dd",datetimerange:"yyyy-MM-dd HH:mm:ss",year:"yyyy"},y=["date","datetime","time","time-select","week","month","year","daterange","timerange","datetimerange","dates"],_=function(e,t){return"timestamp"===t?e.getTime():(0,l.formatDate)(e,t)},C=function(e,t){return"timestamp"===t?new Date(Number(e)):(0,l.parseDate)(e,t)},x=function(e,t){if(Array.isArray(e)&&2===e.length){var i=e[0],n=e[1];if(i&&n)return[_(i,t),_(n,t)]}return""},w=function(e,t,i){if(Array.isArray(e)||(e=e.split(i)),2===e.length){var n=e[0],s=e[1];return[C(n,t),C(s,t)]}return[]},k={default:{formatter:function(e){return e?""+e:""},parser:function(e){return void 0===e||""===e?null:e}},week:{formatter:function(e,t){var i=(0,l.getWeekNumber)(e),n=e.getMonth(),s=new Date(e);1===i&&11===n&&(s.setHours(0,0,0,0),s.setDate(s.getDate()+3-(s.getDay()+6)%7));var r=(0,l.formatDate)(s,t);return r=/WW/.test(r)?r.replace(/WW/,i<10?"0"+i:i):r.replace(/W/,i)},parser:function(e){var t=(e||"").split("w");if(2===t.length){var i=Number(t[0]),n=Number(t[1]);if(!isNaN(i)&&!isNaN(n)&&n<54)return e}return null}},date:{formatter:_,parser:C},datetime:{formatter:_,parser:C},daterange:{formatter:x,parser:w},datetimerange:{formatter:x,parser:w},timerange:{formatter:x,parser:w},time:{formatter:_,parser:C},month:{formatter:_,parser:C},year:{formatter:_,parser:C},number:{formatter:function(e){return e?""+e:""},parser:function(e){var t=Number(e);return isNaN(e)?null:t}},dates:{formatter:function(e,t){return e.map(function(e){return _(e,t)})},parser:function(e,t){return("string"==typeof e?e.split(", "):e).map(function(e){return e instanceof Date?e:C(e,t)})}}},S={left:"bottom-start",center:"bottom",right:"bottom-end"},M=function(e,t,i){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"-";return e?(0,(k[i]||k.default).parser)(e,t||b[i],n):null},$=function(e,t,i){return e?(0,(k[i]||k.default).formatter)(e,t||b[i]):null},D=function(e,t){var i=function(e,t){var i=e instanceof Date,n=t instanceof Date;return i&&n?e.getTime()===t.getTime():!i&&!n&&e===t},n=e instanceof Array,s=t instanceof Array;return n&&s?e.length===t.length&&e.every(function(e,n){return i(e,t[n])}):!n&&!s&&i(e,t)},E=function(e){return"string"==typeof e||e instanceof String},T=function(e){return null===e||void 0===e||E(e)||Array.isArray(e)&&2===e.length&&e.every(E)};t.default={mixins:[h.default,g],inject:{elForm:{default:""},elFormItem:{default:""}},props:{size:String,format:String,valueFormat:String,readonly:Boolean,placeholder:String,startPlaceholder:String,endPlaceholder:String,prefixIcon:String,clearIcon:{type:String,default:"el-icon-circle-close"},name:{default:"",validator:T},disabled:Boolean,clearable:{type:Boolean,default:!0},id:{default:"",validator:T},popperClass:String,editable:{type:Boolean,default:!0},align:{type:String,default:"left"},value:{},defaultValue:{},defaultTime:{},rangeSeparator:{default:"-"},pickerOptions:{},unlinkPanels:Boolean},components:{ElInput:p.default},directives:{Clickoutside:o.default},data:function(){return{pickerVisible:!1,showClose:!1,userInput:null,valueOnOpen:null,unwatchPickerOptions:null}},watch:{pickerVisible:function(e){this.readonly||this.pickerDisabled||(e?(this.showPicker(),this.valueOnOpen=Array.isArray(this.value)?[].concat(this.value):this.value):(this.hidePicker(),this.emitChange(this.value),this.userInput=null,this.dispatch("ElFormItem","el.form.blur"),this.$emit("blur",this),this.blur()))},parsedValue:{immediate:!0,handler:function(e){this.picker&&(this.picker.value=e,this.picker.selectedDate=Array.isArray(e)?e:[])}},defaultValue:function(e){this.picker&&(this.picker.defaultValue=e)}},computed:{ranged:function(){return this.type.indexOf("range")>-1},reference:function(){var e=this.$refs.reference;return e.$el||e},refInput:function(){return this.reference?[].slice.call(this.reference.querySelectorAll("input")):[]},valueIsEmpty:function(){var e=this.value;if(Array.isArray(e)){for(var t=0,i=e.length;t<i;t++)if(e[t])return!1}else if(e)return!1;return!0},triggerClass:function(){return this.prefixIcon||(-1!==this.type.indexOf("time")?"el-icon-time":"el-icon-date")},selectionMode:function(){return"week"===this.type?"week":"month"===this.type?"month":"year"===this.type?"year":"dates"===this.type?"dates":"day"},haveTrigger:function(){return void 0!==this.showTrigger?this.showTrigger:-1!==y.indexOf(this.type)},displayValue:function(){var e=$(this.parsedValue,this.format,this.type,this.rangeSeparator);return Array.isArray(this.userInput)?[this.userInput[0]||e&&e[0]||"",this.userInput[1]||e&&e[1]||""]:null!==this.userInput?this.userInput:e?"dates"===this.type?e.join(", "):e:""},parsedValue:function(){var e=(0,l.isDateObject)(this.value)||Array.isArray(this.value)&&this.value.every(l.isDateObject);return this.valueFormat&&!e?M(this.value,this.valueFormat,this.type,this.rangeSeparator)||this.value:this.value},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},pickerSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},pickerDisabled:function(){return this.disabled||(this.elForm||{}).disabled},firstInputId:function(){var e={},t=void 0;return t=this.ranged?this.id&&this.id[0]:this.id,t&&(e.id=t),e},secondInputId:function(){var e={},t=void 0;return this.ranged&&(t=this.id&&this.id[1]),t&&(e.id=t),e}},created:function(){this.popperOptions={boundariesPadding:0,gpuAcceleration:!1},this.placement=S[this.align]||S.left,this.$on("fieldReset",this.handleFieldReset)},methods:{focus:function(){this.ranged?this.handleFocus():this.$refs.reference.focus()},blur:function(){this.refInput.forEach(function(e){return e.blur()})},parseValue:function(e){var t=(0,l.isDateObject)(e)||Array.isArray(e)&&e.every(l.isDateObject);return this.valueFormat&&!t?M(e,this.valueFormat,this.type,this.rangeSeparator)||e:e},formatToValue:function(e){var t=(0,l.isDateObject)(e)||Array.isArray(e)&&e.every(l.isDateObject);return this.valueFormat&&t?$(e,this.valueFormat,this.type,this.rangeSeparator):e},parseString:function(e){var t=Array.isArray(e)?this.type:this.type.replace("range","");return M(e,this.format,t)},formatToString:function(e){var t=Array.isArray(e)?this.type:this.type.replace("range","");return $(e,this.format,t)},handleMouseEnter:function(){this.readonly||this.pickerDisabled||!this.valueIsEmpty&&this.clearable&&(this.showClose=!0)},handleChange:function(){if(this.userInput){var e=this.parseString(this.displayValue);e&&(this.picker.value=e,this.isValidValue(e)&&(this.emitInput(e),this.userInput=null))}""===this.userInput&&(this.emitInput(null),this.emitChange(null),this.userInput=null)},handleStartInput:function(e){this.userInput?this.userInput=[e.target.value,this.userInput[1]]:this.userInput=[e.target.value,null]},handleEndInput:function(e){this.userInput?this.userInput=[this.userInput[0],e.target.value]:this.userInput=[null,e.target.value]},handleStartChange:function(e){var t=this.parseString(this.userInput&&this.userInput[0]);if(t){this.userInput=[this.formatToString(t),this.displayValue[1]];var i=[t,this.picker.value&&this.picker.value[1]];this.picker.value=i,this.isValidValue(i)&&(this.emitInput(i),this.userInput=null)}},handleEndChange:function(e){var t=this.parseString(this.userInput&&this.userInput[1]);if(t){this.userInput=[this.displayValue[0],this.formatToString(t)];var i=[this.picker.value&&this.picker.value[0],t];this.picker.value=i,this.isValidValue(i)&&(this.emitInput(i),this.userInput=null)}},handleClickIcon:function(e){this.readonly||this.pickerDisabled||(this.showClose?(this.valueOnOpen=this.value,e.stopPropagation(),this.emitInput(null),this.emitChange(null),this.showClose=!1,this.picker&&"function"==typeof this.picker.handleClear&&this.picker.handleClear()):this.pickerVisible=!this.pickerVisible)},handleClose:function(){if(this.pickerVisible){this.pickerVisible=!1;var e=this.type,t=this.valueOnOpen,i=this.valueFormat,n=this.rangeSeparator;"dates"===e&&this.picker&&(this.picker.selectedDate=M(t,i,e,n)||t,this.emitInput(this.picker.selectedDate))}},handleFieldReset:function(e){this.userInput=e},handleFocus:function(){var e=this.type;-1===y.indexOf(e)||this.pickerVisible||(this.pickerVisible=!0),this.$emit("focus",this)},handleKeydown:function(e){var t=this,i=e.keyCode;return 27===i?(this.pickerVisible=!1,void e.stopPropagation()):9===i?void(this.ranged?setTimeout(function(){-1===t.refInput.indexOf(document.activeElement)&&(t.pickerVisible=!1,t.blur(),e.stopPropagation())},0):(this.handleChange(),this.pickerVisible=this.picker.visible=!1,this.blur(),e.stopPropagation())):13===i?((""===this.userInput||this.isValidValue(this.parseString(this.displayValue)))&&(this.handleChange(),this.pickerVisible=this.picker.visible=!1,this.blur()),void e.stopPropagation()):this.userInput?void e.stopPropagation():void(this.picker&&this.picker.handleKeydown&&this.picker.handleKeydown(e))},handleRangeClick:function(){var e=this.type;-1===y.indexOf(e)||this.pickerVisible||(this.pickerVisible=!0),this.$emit("focus",this)},hidePicker:function(){this.picker&&(this.picker.resetView&&this.picker.resetView(),this.pickerVisible=this.picker.visible=!1,this.destroyPopper())},showPicker:function(){var e=this;this.$isServer||(this.picker||this.mountPicker(),this.pickerVisible=this.picker.visible=!0,this.updatePopper(),this.picker.value=this.parsedValue,this.picker.resetView&&this.picker.resetView(),this.$nextTick(function(){e.picker.adjustSpinners&&e.picker.adjustSpinners()}))},mountPicker:function(){var e=this;this.picker=new r.default(this.panel).$mount(),this.picker.defaultValue=this.defaultValue,this.picker.defaultTime=this.defaultTime,this.picker.popperClass=this.popperClass,this.popperElm=this.picker.$el,this.picker.width=this.reference.getBoundingClientRect().width,this.picker.showTime="datetime"===this.type||"datetimerange"===this.type,this.picker.selectionMode=this.selectionMode,this.picker.unlinkPanels=this.unlinkPanels,this.picker.arrowControl=this.arrowControl||this.timeArrowControl||!1,this.picker.selectedDate=Array.isArray(this.value)&&this.value||[],this.$watch("format",function(t){e.picker.format=t});var t=function(){var t=e.pickerOptions;t&&t.selectableRange&&function(){var i=t.selectableRange,n=k.datetimerange.parser,s=b.timerange;i=Array.isArray(i)?i:[i],e.picker.selectableRange=i.map(function(t){return n(t,s,e.rangeSeparator)})}();for(var i in t)t.hasOwnProperty(i)&&"selectableRange"!==i&&(e.picker[i]=t[i]);e.format&&(e.picker.format=e.format)};t(),this.unwatchPickerOptions=this.$watch("pickerOptions",function(){return t()},{deep:!0}),this.$el.appendChild(this.picker.$el),this.picker.resetView&&this.picker.resetView(),this.picker.$on("dodestroy",this.doDestroy),this.picker.$on("pick",function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",i=arguments.length>1&&void 0!==arguments[1]&&arguments[1];e.userInput=null,e.pickerVisible=e.picker.visible=i,e.emitInput(t),e.picker.resetView&&e.picker.resetView()}),this.picker.$on("select-range",function(t,i,n){0!==e.refInput.length&&(n&&"min"!==n?"max"===n&&(e.refInput[1].setSelectionRange(t,i),e.refInput[1].focus()):(e.refInput[0].setSelectionRange(t,i),e.refInput[0].focus()))})},unmountPicker:function(){this.picker&&(this.picker.$destroy(),this.picker.$off(),"function"==typeof this.unwatchPickerOptions&&this.unwatchPickerOptions(),this.picker.$el.parentNode.removeChild(this.picker.$el))},emitChange:function(e){D(e,this.valueOnOpen)||(this.$emit("change",e),this.dispatch("ElFormItem","el.form.change",e),this.valueOnOpen=e)},emitInput:function(e){var t=this.formatToValue(e);D(this.value,t)||this.$emit("input",t)},isValidValue:function(e){return this.picker||this.mountPicker(),!this.picker.isValidValue||e&&this.picker.isValidValue(e)}}}},function(e,t,i){var n;!function(s){"use strict";function r(e,t){for(var i=[],n=0,s=e.length;n<s;n++)i.push(e[n].substr(0,t));return i}function a(e){return function(t,i,n){var s=n[e].indexOf(i.charAt(0).toUpperCase()+i.substr(1).toLowerCase());~s&&(t.month=s)}}function o(e,t){for(e=String(e),t=t||2;e.length<t;)e="0"+e;return e}var l={},u=/d{1,4}|M{1,4}|yy(?:yy)?|S{1,3}|Do|ZZ|([HhMsDm])\1?|[aA]|"[^"]*"|'[^']*'/g,c=/\d\d?/,d=/\d{3}/,h=/\d{4}/,f=/[0-9]*['a-z\u00A0-\u05FF\u0700-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]+|[\u0600-\u06FF\/]+(\s*?[\u0600-\u06FF]+){1,2}/i,p=function(){},m=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],v=["January","February","March","April","May","June","July","August","September","October","November","December"],g=r(v,3),b=r(m,3);l.i18n={dayNamesShort:b,dayNames:m,monthNamesShort:g,monthNames:v,amPm:["am","pm"],DoFn:function(e){return e+["th","st","nd","rd"][e%10>3?0:(e-e%10!=10)*e%10]}};var y={D:function(e){return e.getDay()},DD:function(e){return o(e.getDay())},Do:function(e,t){return t.DoFn(e.getDate())},d:function(e){return e.getDate()},dd:function(e){return o(e.getDate())},ddd:function(e,t){return t.dayNamesShort[e.getDay()]},dddd:function(e,t){return t.dayNames[e.getDay()]},M:function(e){return e.getMonth()+1},MM:function(e){return o(e.getMonth()+1)},MMM:function(e,t){return t.monthNamesShort[e.getMonth()]},MMMM:function(e,t){return t.monthNames[e.getMonth()]},yy:function(e){return String(e.getFullYear()).substr(2)},yyyy:function(e){return e.getFullYear()},h:function(e){return e.getHours()%12||12},hh:function(e){return o(e.getHours()%12||12)},H:function(e){return e.getHours()},HH:function(e){return o(e.getHours())},m:function(e){return e.getMinutes()},mm:function(e){return o(e.getMinutes())},s:function(e){return e.getSeconds()},ss:function(e){return o(e.getSeconds())},S:function(e){return Math.round(e.getMilliseconds()/100)},SS:function(e){return o(Math.round(e.getMilliseconds()/10),2)},SSS:function(e){return o(e.getMilliseconds(),3)},a:function(e,t){return e.getHours()<12?t.amPm[0]:t.amPm[1]},A:function(e,t){return e.getHours()<12?t.amPm[0].toUpperCase():t.amPm[1].toUpperCase()},ZZ:function(e){var t=e.getTimezoneOffset();return(t>0?"-":"+")+o(100*Math.floor(Math.abs(t)/60)+Math.abs(t)%60,4)}},_={d:[c,function(e,t){e.day=t}],M:[c,function(e,t){e.month=t-1}],yy:[c,function(e,t){var i=new Date,n=+(""+i.getFullYear()).substr(0,2);e.year=""+(t>68?n-1:n)+t}],h:[c,function(e,t){e.hour=t}],m:[c,function(e,t){e.minute=t}],s:[c,function(e,t){e.second=t}],yyyy:[h,function(e,t){e.year=t}],S:[/\d/,function(e,t){e.millisecond=100*t}],SS:[/\d{2}/,function(e,t){e.millisecond=10*t}],SSS:[d,function(e,t){e.millisecond=t}],D:[c,p],ddd:[f,p],MMM:[f,a("monthNamesShort")],MMMM:[f,a("monthNames")],a:[f,function(e,t,i){var n=t.toLowerCase();n===i.amPm[0]?e.isPm=!1:n===i.amPm[1]&&(e.isPm=!0)}],ZZ:[/[\+\-]\d\d:?\d\d/,function(e,t){var i,n=(t+"").match(/([\+\-]|\d\d)/gi);n&&(i=60*n[1]+parseInt(n[2],10),e.timezoneOffset="+"===n[0]?i:-i)}]};_.DD=_.D,_.dddd=_.ddd,_.Do=_.dd=_.d,_.mm=_.m,_.hh=_.H=_.HH=_.h,_.MM=_.M,_.ss=_.s,_.A=_.a,l.masks={default:"ddd MMM dd yyyy HH:mm:ss",shortDate:"M/D/yy",mediumDate:"MMM d, yyyy",longDate:"MMMM d, yyyy",fullDate:"dddd, MMMM d, yyyy",shortTime:"HH:mm",mediumTime:"HH:mm:ss",longTime:"HH:mm:ss.SSS"},l.format=function(e,t,i){var n=i||l.i18n;if("number"==typeof e&&(e=new Date(e)),"[object Date]"!==Object.prototype.toString.call(e)||isNaN(e.getTime()))throw new Error("Invalid Date in fecha.format");return t=l.masks[t]||t||l.masks.default,t.replace(u,function(t){return t in y?y[t](e,n):t.slice(1,t.length-1)})},l.parse=function(e,t,i){var n=i||l.i18n;if("string"!=typeof t)throw new Error("Invalid format in fecha.parse");if(t=l.masks[t]||t,e.length>1e3)return!1;var s=!0,r={};if(t.replace(u,function(t){if(_[t]){var i=_[t],a=e.search(i[0]);~a?e.replace(i[0],function(t){return i[1](r,t,n),e=e.substr(a+t.length),t}):s=!1}return _[t]?"":t.slice(1,t.length-1)}),!s)return!1;var a=new Date;!0===r.isPm&&null!=r.hour&&12!=+r.hour?r.hour=+r.hour+12:!1===r.isPm&&12==+r.hour&&(r.hour=0);var o;return null!=r.timezoneOffset?(r.minute=+(r.minute||0)-+r.timezoneOffset,o=new Date(Date.UTC(r.year||a.getFullYear(),r.month||0,r.day||1,r.hour||0,r.minute||0,r.second||0,r.millisecond||0))):o=new Date(r.year||a.getFullYear(),r.month||0,r.day||1,r.hour||0,r.minute||0,r.second||0,r.millisecond||0),o},void 0!==e&&e.exports?e.exports=l:void 0!==(n=function(){return l}.call(t,i,t,e))&&(e.exports=n)}()},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return e.ranged?i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor el-range-editor el-input__inner",class:["el-date-editor--"+e.type,e.pickerSize?"el-range-editor--"+e.pickerSize:"",e.pickerDisabled?"is-disabled":"",e.pickerVisible?"is-active":""],on:{click:e.handleRangeClick,mouseenter:e.handleMouseEnter,mouseleave:function(t){e.showClose=!1},keydown:e.handleKeydown}},[i("i",{class:["el-input__icon","el-range__icon",e.triggerClass]}),i("input",e._b({staticClass:"el-range-input",attrs:{placeholder:e.startPlaceholder,disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,name:e.name&&e.name[0]},domProps:{value:e.displayValue&&e.displayValue[0]},on:{input:e.handleStartInput,change:e.handleStartChange,focus:e.handleFocus}},"input",e.firstInputId,!1)),i("span",{staticClass:"el-range-separator"},[e._v(e._s(e.rangeSeparator))]),i("input",e._b({staticClass:"el-range-input",attrs:{placeholder:e.endPlaceholder,disabled:e.pickerDisabled,readonly:!e.editable||e.readonly,name:e.name&&e.name[1]},domProps:{value:e.displayValue&&e.displayValue[1]},on:{input:e.handleEndInput,change:e.handleEndChange,focus:e.handleFocus}},"input",e.secondInputId,!1)),e.haveTrigger?i("i",{staticClass:"el-input__icon el-range__close-icon",class:[e.showClose?""+e.clearIcon:""],on:{click:e.handleClickIcon}}):e._e()]):i("el-input",e._b({directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClose,expression:"handleClose"}],ref:"reference",staticClass:"el-date-editor",class:"el-date-editor--"+e.type,attrs:{readonly:!e.editable||e.readonly||"dates"===e.type,disabled:e.pickerDisabled,size:e.pickerSize,name:e.name,placeholder:e.placeholder,value:e.displayValue,validateEvent:!1},on:{focus:e.handleFocus,input:function(t){return e.userInput=t},change:e.handleChange},nativeOn:{keydown:function(t){e.handleKeydown(t)},mouseenter:function(t){e.handleMouseEnter(t)},mouseleave:function(t){e.showClose=!1}}},"el-input",e.firstInputId,!1),[i("i",{staticClass:"el-input__icon",class:e.triggerClass,attrs:{slot:"prefix"},on:{click:e.handleFocus},slot:"prefix"}),e.haveTrigger?i("i",{staticClass:"el-input__icon",class:[e.showClose?""+e.clearIcon:""],attrs:{slot:"suffix"},on:{click:e.handleClickIcon},slot:"suffix"}):e._e()])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(233),s=i.n(n),r=i(246),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(13),r=i(12),a=n(r),o=i(5),l=n(o),u=i(8),c=n(u),d=i(19),h=n(d),f=i(50),p=n(f),m=i(238),v=n(m),g=i(241),b=n(g),y=i(76),_=n(y);t.default={mixins:[l.default],directives:{Clickoutside:a.default},watch:{showTime:function(e){var t=this;e&&this.$nextTick(function(e){var i=t.$refs.input.$el;i&&(t.pickerWidth=i.getBoundingClientRect().width+10)})},value:function(e){"dates"===this.selectionMode&&this.value||((0,s.isDate)(e)?this.date=new Date(e):this.date=this.defaultValue?new Date(this.defaultValue):new Date)},defaultValue:function(e){(0,s.isDate)(this.value)||(this.date=e?new Date(e):new Date)},timePickerVisible:function(e){var t=this;e&&this.$nextTick(function(){return t.$refs.timepicker.adjustSpinners()})},selectionMode:function(e){"month"===e?"year"===this.currentView&&"month"===this.currentView||(this.currentView="month"):"dates"===e&&(this.currentView="date")}},methods:{proxyTimePickerDataProperties:function(){var e=this,t=function(t){e.$refs.timepicker.value=t},i=function(t){e.$refs.timepicker.date=t};this.$watch("value",t),this.$watch("date",i),function(t){e.$refs.timepicker.format=t}(this.timeFormat),t(this.value),i(this.date)},handleClear:function(){this.date=this.defaultValue?new Date(this.defaultValue):new Date,this.$emit("pick",null)},emit:function(e){for(var t=this,i=arguments.length,n=Array(i>1?i-1:0),r=1;r<i;r++)n[r-1]=arguments[r];if(e)if(Array.isArray(e)){var a=e.map(function(e){return t.showTime?(0,s.clearMilliseconds)(e):(0,s.clearTime)(e)});this.$emit.apply(this,["pick",a].concat(n))}else this.$emit.apply(this,["pick",this.showTime?(0,s.clearMilliseconds)(e):(0,s.clearTime)(e)].concat(n));else this.$emit.apply(this,["pick",e].concat(n));this.userInputDate=null,this.userInputTime=null},showMonthPicker:function(){this.currentView="month"},showYearPicker:function(){this.currentView="year"},prevMonth:function(){this.date=(0,s.prevMonth)(this.date)},nextMonth:function(){this.date=(0,s.nextMonth)(this.date)},prevYear:function(){"year"===this.currentView?this.date=(0,s.prevYear)(this.date,10):this.date=(0,s.prevYear)(this.date)},nextYear:function(){"year"===this.currentView?this.date=(0,s.nextYear)(this.date,10):this.date=(0,s.nextYear)(this.date)},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},handleTimePick:function(e,t,i){if((0,s.isDate)(e)){var n=this.value?(0,s.modifyTime)(this.date,e.getHours(),e.getMinutes(),e.getSeconds()):(0,s.modifyWithDefaultTime)(e,this.defaultTime);this.date=n,this.emit(this.date,!0)}else this.emit(e,!0);i||(this.timePickerVisible=t)},handleMonthPick:function(e){"month"===this.selectionMode?(this.date=(0,s.modifyDate)(this.date,this.year,e,1),this.emit(this.date)):(this.date=(0,s.changeYearMonthAndClampDate)(this.date,this.year,e),this.currentView="date")},handleDateSelect:function(e){"dates"===this.selectionMode&&(this.selectedDate=e)},handleDatePick:function(e){"day"===this.selectionMode?(this.date=this.value?(0,s.modifyDate)(this.date,e.getFullYear(),e.getMonth(),e.getDate()):(0,s.modifyWithDefaultTime)(e,this.defaultTime),this.emit(this.date,this.showTime)):"week"===this.selectionMode&&this.emit(e.date)},handleYearPick:function(e){"year"===this.selectionMode?(this.date=(0,s.modifyDate)(this.date,e,0,1),this.emit(this.date)):(this.date=(0,s.changeYearMonthAndClampDate)(this.date,e,this.month),this.currentView="month")},changeToNow:function(){this.disabledDate&&this.disabledDate(new Date)||(this.date=new Date,this.emit(this.date))},confirm:function(){if("dates"===this.selectionMode)this.emit(this.selectedDate);else{var e=this.value?this.date:(0,s.modifyWithDefaultTime)(this.date,this.defaultTime);this.emit(e)}},resetView:function(){"month"===this.selectionMode?this.currentView="month":"year"===this.selectionMode?this.currentView="year":this.currentView="date"},handleEnter:function(){document.body.addEventListener("keydown",this.handleKeydown)},handleLeave:function(){this.$emit("dodestroy"),document.body.removeEventListener("keydown",this.handleKeydown)},handleKeydown:function(e){var t=e.keyCode,i=[38,40,37,39];this.visible&&!this.timePickerVisible&&(-1!==i.indexOf(t)&&(this.handleKeyControl(t),e.stopPropagation(),e.preventDefault()),13===t&&null===this.userInputDate&&null===this.userInputTime&&this.emit(this.date,!1))},handleKeyControl:function(e){for(var t={year:{38:-4,40:4,37:-1,39:1,offset:function(e,t){return e.setFullYear(e.getFullYear()+t)}},month:{38:-4,40:4,37:-1,39:1,offset:function(e,t){return e.setMonth(e.getMonth()+t)}},week:{38:-1,40:1,37:-1,39:1,offset:function(e,t){return e.setDate(e.getDate()+7*t)}},day:{38:-7,40:7,37:-1,39:1,offset:function(e,t){return e.setDate(e.getDate()+t)}}},i=this.selectionMode,n=this.date.getTime(),s=new Date(this.date.getTime());Math.abs(n-s.getTime())<=31536e6;){var r=t[i];if(r.offset(s,r[e]),"function"!=typeof this.disabledDate||!this.disabledDate(s)){this.date=s,this.$emit("pick",s,!0);break}}},handleVisibleTimeChange:function(e){var t=(0,s.parseDate)(e,this.timeFormat);t&&(this.date=(0,s.modifyDate)(t,this.year,this.month,this.monthDate),this.userInputTime=null,this.$refs.timepicker.value=this.date,this.timePickerVisible=!1,this.emit(this.date,!0))},handleVisibleDateChange:function(e){var t=(0,s.parseDate)(e,this.dateFormat);if(t){if("function"==typeof this.disabledDate&&this.disabledDate(t))return;this.date=(0,s.modifyTime)(t,this.date.getHours(),this.date.getMinutes(),this.date.getSeconds()),this.userInputDate=null,this.resetView(),this.emit(this.date,!0)}},isValidValue:function(e){return e&&!isNaN(e)&&("function"!=typeof this.disabledDate||!this.disabledDate(e))}},components:{TimePicker:p.default,YearTable:v.default,MonthTable:b.default,DateTable:_.default,ElInput:c.default,ElButton:h.default},data:function(){return{popperClass:"",date:new Date,value:"",defaultValue:null,defaultTime:null,showTime:!1,selectionMode:"day",shortcuts:"",visible:!1,currentView:"date",disabledDate:"",selectedDate:[],firstDayOfWeek:7,showWeekNumber:!1,timePickerVisible:!1,format:"",arrowControl:!1,userInputDate:null,userInputTime:null}},computed:{year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},week:function(){return(0,s.getWeekNumber)(this.date)},monthDate:function(){return this.date.getDate()},footerVisible:function(){return this.showTime||"dates"===this.selectionMode},visibleTime:function(){return null!==this.userInputTime?this.userInputTime:(0,s.formatDate)(this.value||this.defaultValue,this.timeFormat)},visibleDate:function(){return null!==this.userInputDate?this.userInputDate:(0,s.formatDate)(this.value||this.defaultValue,this.dateFormat)},yearLabel:function(){var e=this.t("el.datepicker.year");if("year"===this.currentView){var t=10*Math.floor(this.year/10);return e?t+" "+e+" - "+(t+9)+" "+e:t+" - "+(t+9)}return this.year+" "+e},timeFormat:function(){return this.format?(0,s.extractTimeFormat)(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?(0,s.extractDateFormat)(this.format):"yyyy-MM-dd"}}}},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(13),r=i(5),a=n(r),o=i(75),l=n(o);t.default={mixins:[a.default],components:{TimeSpinner:l.default},props:{visible:Boolean,timeArrowControl:Boolean},watch:{visible:function(e){var t=this;e?(this.oldValue=this.value,this.$nextTick(function(){return t.$refs.spinner.emitSelectRange("hours")})):this.needInitAdjust=!0},value:function(e){var t=this,i=void 0;e instanceof Date?i=(0,s.limitTimeRange)(e,this.selectableRange,this.format):e||(i=this.defaultValue?new Date(this.defaultValue):new Date),this.date=i,this.visible&&this.needInitAdjust&&(this.$nextTick(function(e){return t.adjustSpinners()}),this.needInitAdjust=!1)},selectableRange:function(e){this.$refs.spinner.selectableRange=e},defaultValue:function(e){(0,s.isDate)(this.value)||(this.date=e?new Date(e):new Date)}},data:function(){return{popperClass:"",format:"HH:mm:ss",value:"",defaultValue:null,date:new Date,oldValue:new Date,selectableRange:[],selectionRange:[0,2],disabled:!1,arrowControl:!1,needInitAdjust:!0}},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},useArrow:function(){return this.arrowControl||this.timeArrowControl||!1},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},methods:{handleCancel:function(){this.$emit("pick",this.oldValue,!1)},handleChange:function(e){this.visible&&(this.date=(0,s.clearMilliseconds)(e),this.isValidValue(this.date)&&this.$emit("pick",this.date,!0))},setSelectionRange:function(e,t){this.$emit("select-range",e,t),this.selectionRange=[e,t]},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=arguments[1];if(!t){var i=(0,s.clearMilliseconds)((0,s.limitTimeRange)(this.date,this.selectableRange,this.format));this.$emit("pick",i,e,t)}},handleKeydown:function(e){var t=e.keyCode,i={38:-1,40:1,37:-1,39:1};if(37===t||39===t){var n=i[t];return this.changeSelectionRange(n),void e.preventDefault()}if(38===t||40===t){var s=i[t];return this.$refs.spinner.scrollDown(s),void e.preventDefault()}},isValidValue:function(e){return(0,s.timeWithinRange)(e,this.selectableRange,this.format)},adjustSpinners:function(){return this.$refs.spinner.adjustSpinners()},changeSelectionRange:function(e){var t=[0,3].concat(this.showSeconds?[6]:[]),i=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),n=t.indexOf(this.selectionRange[0]),s=(n+e+t.length)%t.length;this.$refs.spinner.emitSelectRange(i[s])}},mounted:function(){var e=this;this.$nextTick(function(){return e.handleConfirm(!0,!0)}),this.$emit("mounted")}}},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(13),r=i(26),a=n(r),o=i(73),l=n(o);t.default={components:{ElScrollbar:a.default},directives:{repeatClick:l.default},props:{date:{},defaultValue:{},showSeconds:{type:Boolean,default:!0},arrowControl:Boolean,amPmMode:{type:String,default:""}},computed:{hours:function(){return this.date.getHours()},minutes:function(){return this.date.getMinutes()},seconds:function(){return this.date.getSeconds()},hoursList:function(){return(0,s.getRangeHours)(this.selectableRange)},arrowHourList:function(){var e=this.hours;return[e>0?e-1:void 0,e,e<23?e+1:void 0]},arrowMinuteList:function(){var e=this.minutes;return[e>0?e-1:void 0,e,e<59?e+1:void 0]},arrowSecondList:function(){var e=this.seconds;return[e>0?e-1:void 0,e,e<59?e+1:void 0]}},data:function(){return{selectableRange:[],currentScrollbar:null}},mounted:function(){var e=this;this.$nextTick(function(){!e.arrowControl&&e.bindScrollEvent()})},methods:{increase:function(){this.scrollDown(1)},decrease:function(){this.scrollDown(-1)},modifyDateField:function(e,t){switch(e){case"hours":this.$emit("change",(0,s.modifyTime)(this.date,t,this.minutes,this.seconds));break;case"minutes":this.$emit("change",(0,s.modifyTime)(this.date,this.hours,t,this.seconds));break;case"seconds":this.$emit("change",(0,s.modifyTime)(this.date,this.hours,this.minutes,t))}},handleClick:function(e,t){var i=t.value;t.disabled||(this.modifyDateField(e,i),this.emitSelectRange(e),this.adjustSpinner(e,i))},emitSelectRange:function(e){"hours"===e?this.$emit("select-range",0,2):"minutes"===e?this.$emit("select-range",3,5):"seconds"===e&&this.$emit("select-range",6,8),this.currentScrollbar=e},bindScrollEvent:function(){var e=this,t=function(t){e.$refs[t].wrap.onscroll=function(i){e.handleScroll(t,i)}};t("hours"),t("minutes"),t("seconds")},handleScroll:function(e){var t=Math.min(Math.floor((this.$refs[e].wrap.scrollTop-80)/32+3),"hours"===e?23:59);this.modifyDateField(e,t)},adjustSpinners:function(){this.adjustSpinner("hours",this.hours),this.adjustSpinner("minutes",this.minutes),this.adjustSpinner("seconds",this.seconds)},adjustCurrentSpinner:function(e){this.adjustSpinner(e,this[e])},adjustSpinner:function(e,t){if(!this.arrowControl){var i=this.$refs[e].wrap;i&&(i.scrollTop=Math.max(0,32*(t-2.5)+80))}},scrollDown:function(e){this.currentScrollbar||this.emitSelectRange("hours");var t=this.currentScrollbar,i=this.hoursList,n=this[t];if("hours"===this.currentScrollbar){var s=Math.abs(e);e=e>0?1:-1;for(var r=i.length;r--&&s;)n=(n+e+i.length)%i.length,i[n]||s--;if(i[n])return}else n=(n+e+60)%60;this.modifyDateField(t,n),this.adjustSpinner(t,n)},amPm:function(e){if("a"!==this.amPmMode.toLowerCase())return"";var t="A"===this.amPmMode,i=e<12?" am":" pm";return t&&(i=i.toUpperCase()),i}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-time-spinner",class:{"has-seconds":e.showSeconds}},[e.arrowControl?e._e():[i("el-scrollbar",{ref:"hours",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("hours")},mousemove:function(t){e.adjustCurrentSpinner("hours")}}},e._l(e.hoursList,function(t,n){return i("li",{staticClass:"el-time-spinner__item",class:{active:n===e.hours,disabled:t},on:{click:function(i){e.handleClick("hours",{value:n,disabled:t})}}},[e._v(e._s(("0"+(e.amPmMode?n%12||12:n)).slice(-2))+e._s(e.amPm(n)))])})),i("el-scrollbar",{ref:"minutes",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("minutes")},mousemove:function(t){e.adjustCurrentSpinner("minutes")}}},e._l(60,function(t,n){return i("li",{staticClass:"el-time-spinner__item",class:{active:n===e.minutes},on:{click:function(t){e.handleClick("minutes",{value:n,disabled:!1})}}},[e._v(e._s(("0"+n).slice(-2)))])})),i("el-scrollbar",{directives:[{name:"show",rawName:"v-show",value:e.showSeconds,expression:"showSeconds"}],ref:"seconds",staticClass:"el-time-spinner__wrapper",attrs:{"wrap-style":"max-height: inherit;","view-class":"el-time-spinner__list",noresize:"",tag:"ul"},nativeOn:{mouseenter:function(t){e.emitSelectRange("seconds")},mousemove:function(t){e.adjustCurrentSpinner("seconds")}}},e._l(60,function(t,n){return i("li",{staticClass:"el-time-spinner__item",class:{active:n===e.seconds},on:{click:function(t){e.handleClick("seconds",{value:n,disabled:!1})}}},[e._v(e._s(("0"+n).slice(-2)))])}))],e.arrowControl?[i("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("hours")}}},[i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),i("ul",{ref:"hours",staticClass:"el-time-spinner__list"},e._l(e.arrowHourList,function(t){return i("li",{staticClass:"el-time-spinner__item",class:{active:t===e.hours,disabled:e.hoursList[t]}},[e._v(e._s(void 0===t?"":("0"+(e.amPmMode?t%12||12:t)).slice(-2)+e.amPm(t)))])}))]),i("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("minutes")}}},[i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),i("ul",{ref:"minutes",staticClass:"el-time-spinner__list"},e._l(e.arrowMinuteList,function(t){return i("li",{staticClass:"el-time-spinner__item",class:{active:t===e.minutes}},[e._v("\n "+e._s(void 0===t?"":("0"+t).slice(-2))+"\n ")])}))]),e.showSeconds?i("div",{staticClass:"el-time-spinner__wrapper is-arrow",on:{mouseenter:function(t){e.emitSelectRange("seconds")}}},[i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.decrease,expression:"decrease"}],staticClass:"el-time-spinner__arrow el-icon-arrow-up"}),i("i",{directives:[{name:"repeat-click",rawName:"v-repeat-click",value:e.increase,expression:"increase"}],staticClass:"el-time-spinner__arrow el-icon-arrow-down"}),i("ul",{ref:"seconds",staticClass:"el-time-spinner__list"},e._l(e.arrowSecondList,function(t){return i("li",{staticClass:"el-time-spinner__item",class:{active:t===e.seconds}},[e._v("\n "+e._s(void 0===t?"":("0"+t).slice(-2))+"\n ")])}))]):e._e()]:e._e()],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-time-panel el-popper",class:e.popperClass},[i("div",{staticClass:"el-time-panel__content",class:{"has-seconds":e.showSeconds}},[i("time-spinner",{ref:"spinner",attrs:{"arrow-control":e.useArrow,"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,date:e.date},on:{change:e.handleChange,"select-range":e.setSelectionRange}})],1),i("div",{staticClass:"el-time-panel__footer"},[i("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:e.handleCancel}},[e._v(e._s(e.t("el.datepicker.cancel")))]),i("button",{staticClass:"el-time-panel__btn",class:{confirm:!e.disabled},attrs:{type:"button"},on:{click:function(t){e.handleConfirm()}}},[e._v(e._s(e.t("el.datepicker.confirm")))])])])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(239),s=i.n(n),r=i(240),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(3),s=i(13),r=function(e){var t=(0,s.getDayCountOfYear)(e),i=new Date(e,0,1);return(0,s.range)(t).map(function(e){return(0,s.nextDate)(i,e)})};t.default={props:{disabledDate:{},value:{},defaultValue:{validator:function(e){return null===e||e instanceof Date&&(0,s.isDate)(e)}},date:{}},computed:{startYear:function(){return 10*Math.floor(this.date.getFullYear()/10)}},methods:{getCellStyle:function(e){var t={},i=new Date;return t.disabled="function"==typeof this.disabledDate&&r(e).every(this.disabledDate),t.current=this.value.getFullYear()===e,t.today=i.getFullYear()===e,t.default=this.defaultValue&&this.defaultValue.getFullYear()===e,t},handleYearTableClick:function(e){var t=e.target;if("A"===t.tagName){if((0,n.hasClass)(t.parentNode,"disabled"))return;var i=t.textContent||t.innerText;this.$emit("pick",Number(i))}}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("table",{staticClass:"el-year-table",on:{click:e.handleYearTableClick}},[i("tbody",[i("tr",[i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+0)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+1)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+1))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+2)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+2))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+3)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+3))])])]),i("tr",[i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+4)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+4))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+5)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+5))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+6)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+6))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+7)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+7))])])]),i("tr",[i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+8)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+8))])]),i("td",{staticClass:"available",class:e.getCellStyle(e.startYear+9)},[i("a",{staticClass:"cell"},[e._v(e._s(e.startYear+9))])]),i("td"),i("td")])])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(242),s=i.n(n),r=i(243),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(5),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=i(13),a=i(3),o=function(e,t){var i=(0,r.getDayCountOfMonth)(e,t),n=new Date(e,t,1);return(0,r.range)(i).map(function(e){return(0,r.nextDate)(n,e)})};t.default={props:{disabledDate:{},value:{},defaultValue:{validator:function(e){return null===e||e instanceof Date&&(0,r.isDate)(e)}},date:{}},mixins:[s.default],methods:{getCellStyle:function(e){var t={},i=this.date.getFullYear(),n=new Date;return t.disabled="function"==typeof this.disabledDate&&o(i,e).every(this.disabledDate),t.current=this.value.getFullYear()===i&&this.value.getMonth()===e,t.today=n.getFullYear()===i&&n.getMonth()===e,t.default=this.defaultValue&&this.defaultValue.getFullYear()===i&&this.defaultValue.getMonth()===e,t},handleMonthTableClick:function(e){var t=e.target;if("A"===t.tagName&&!(0,a.hasClass)(t.parentNode,"disabled")){var i=t.parentNode.cellIndex,n=t.parentNode.parentNode.rowIndex,s=4*n+i;this.$emit("pick",s)}}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("table",{staticClass:"el-month-table",on:{click:e.handleMonthTableClick}},[i("tbody",[i("tr",[i("td",{class:e.getCellStyle(0)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.jan")))])]),i("td",{class:e.getCellStyle(1)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.feb")))])]),i("td",{class:e.getCellStyle(2)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.mar")))])]),i("td",{class:e.getCellStyle(3)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.apr")))])])]),i("tr",[i("td",{class:e.getCellStyle(4)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.may")))])]),i("td",{class:e.getCellStyle(5)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.jun")))])]),i("td",{class:e.getCellStyle(6)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.jul")))])]),i("td",{class:e.getCellStyle(7)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.aug")))])])]),i("tr",[i("td",{class:e.getCellStyle(8)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.sep")))])]),i("td",{class:e.getCellStyle(9)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.oct")))])]),i("td",{class:e.getCellStyle(10)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.nov")))])]),i("td",{class:e.getCellStyle(11)},[i("a",{staticClass:"cell"},[e._v(e._s(e.t("el.datepicker.months.dec")))])])])])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(13),s=i(3),r=i(5),a=function(e){return e&&e.__esModule?e:{default:e}}(r),o=["sun","mon","tue","wed","thu","fri","sat"],l=function(e){var t=new Date(e);return t.setHours(0,0,0,0),t.getTime()};t.default={mixins:[a.default],props:{firstDayOfWeek:{default:7,type:Number,validator:function(e){return e>=1&&e<=7}},value:{},defaultValue:{validator:function(e){return null===e||(0,n.isDate)(e)||Array.isArray(e)&&e.every(n.isDate)}},date:{},selectionMode:{default:"day"},showWeekNumber:{type:Boolean,default:!1},disabledDate:{},selectedDate:{type:Array},minDate:{},maxDate:{},rangeState:{default:function(){return{endDate:null,selecting:!1,row:null,column:null}}}},computed:{offsetDay:function(){var e=this.firstDayOfWeek;return e>3?7-e:-e},WEEKS:function(){var e=this.firstDayOfWeek;return o.concat(o).slice(e,e+7)},year:function(){return this.date.getFullYear()},month:function(){return this.date.getMonth()},startDate:function(){return(0,n.getStartDateOfMonth)(this.year,this.month)},rows:function(){var e=this,t=new Date(this.year,this.month,1),i=(0,n.getFirstDayOfMonth)(t),s=(0,n.getDayCountOfMonth)(t.getFullYear(),t.getMonth()),r=(0,n.getDayCountOfMonth)(t.getFullYear(),0===t.getMonth()?11:t.getMonth()-1);i=0===i?7:i;for(var a=this.offsetDay,o=this.tableRows,u=1,c=void 0,d=this.startDate,h=this.disabledDate,f=this.selectedDate||this.value,p=l(new Date),m=0;m<6;m++){var v=o[m];this.showWeekNumber&&(v[0]||(v[0]={type:"week",text:(0,n.getWeekNumber)((0,n.nextDate)(d,7*m+1))}));for(var g=0;g<7;g++)!function(t){var o=v[e.showWeekNumber?t+1:t];o||(o={row:m,column:t,type:"normal",inRange:!1,start:!1,end:!1}),o.type="normal";var g=7*m+t,b=(0,n.nextDate)(d,g-a).getTime();o.inRange=b>=l(e.minDate)&&b<=l(e.maxDate),o.start=e.minDate&&b===l(e.minDate),o.end=e.maxDate&&b===l(e.maxDate),b===p&&(o.type="today"),m>=0&&m<=1?t+7*m>=i+a?(o.text=u++,2===u&&(c=7*m+t)):(o.text=r-(i+a-t%7)+1+7*m,o.type="prev-month"):u<=s?(o.text=u++,2===u&&(c=7*m+t)):(o.text=u++-s,o.type="next-month");var y=new Date(b);o.disabled="function"==typeof h&&h(y),o.selected=Array.isArray(f)&&f.filter(function(e){return e.toString()===y.toString()})[0],e.$set(v,e.showWeekNumber?t+1:t,o)}(g);if("week"===this.selectionMode){var b=this.showWeekNumber?1:0,y=this.showWeekNumber?7:6,_=this.isWeekActive(v[b+1]);v[b].inRange=_,v[b].start=_,v[y].inRange=_,v[y].end=_}}return o.firstDayPosition=c,o}},watch:{"rangeState.endDate":function(e){this.markRange(e)},minDate:function(e,t){e&&!t?(this.rangeState.selecting=!0,this.markRange(e)):e?this.markRange():(this.rangeState.selecting=!1,this.markRange(e))},maxDate:function(e,t){e&&!t&&(this.rangeState.selecting=!1,this.markRange(e),this.$emit("pick",{minDate:this.minDate,maxDate:this.maxDate}))}},data:function(){return{tableRows:[[],[],[],[],[],[]]}},methods:{cellMatchesDate:function(e,t){var i=new Date(t);return this.year===i.getFullYear()&&this.month===i.getMonth()&&Number(e.text)===i.getDate()},getCellClasses:function(e){var t=this,i=this.selectionMode,n=this.defaultValue?Array.isArray(this.defaultValue)?this.defaultValue:[this.defaultValue]:[],s=[];return"normal"!==e.type&&"today"!==e.type||e.disabled?s.push(e.type):(s.push("available"),"today"===e.type&&s.push("today")),"normal"===e.type&&n.some(function(i){return t.cellMatchesDate(e,i)})&&s.push("default"),"day"!==i||"normal"!==e.type&&"today"!==e.type||!this.cellMatchesDate(e,this.value)||s.push("current"),!e.inRange||"normal"!==e.type&&"today"!==e.type&&"week"!==this.selectionMode||(s.push("in-range"),e.start&&s.push("start-date"),e.end&&s.push("end-date")),e.disabled&&s.push("disabled"),e.selected&&s.push("selected"),s.join(" ")},getDateOfCell:function(e,t){var i=7*e+(t-(this.showWeekNumber?1:0))-this.offsetDay;return(0,n.nextDate)(this.startDate,i)},isWeekActive:function(e){if("week"!==this.selectionMode)return!1;var t=new Date(this.year,this.month,1),i=t.getFullYear(),s=t.getMonth();return"prev-month"===e.type&&(t.setMonth(0===s?11:s-1),t.setFullYear(0===s?i-1:i)),"next-month"===e.type&&(t.setMonth(11===s?0:s+1),t.setFullYear(11===s?i+1:i)),t.setDate(parseInt(e.text,10)),i===((0,n.isDate)(this.value)?this.value.getFullYear():null)&&(0,n.getWeekNumber)(t)===(0,n.getWeekNumber)(this.value)},markRange:function(e){var t=this.startDate;e||(e=this.maxDate);for(var i=this.rows,s=this.minDate,r=0,a=i.length;r<a;r++)for(var o=i[r],u=0,c=o.length;u<c;u++)if(!this.showWeekNumber||0!==u){var d=o[u],h=7*r+u+(this.showWeekNumber?-1:0),f=(0,n.nextDate)(t,h-this.offsetDay).getTime();e&&e<s?(d.inRange=s&&f>=l(e)&&f<=l(s),d.start=e&&f===l(e.getTime()),d.end=s&&f===l(s.getTime())):(d.inRange=s&&f>=l(s)&&f<=l(e),d.start=s&&f===l(s.getTime()),d.end=e&&f===l(e.getTime()))}},handleMouseMove:function(e){if(this.rangeState.selecting){this.$emit("changerange",{minDate:this.minDate,maxDate:this.maxDate,rangeState:this.rangeState});var t=e.target;if("SPAN"===t.tagName&&(t=t.parentNode.parentNode),"DIV"===t.tagName&&(t=t.parentNode),"TD"===t.tagName){var i=t.cellIndex,n=t.parentNode.rowIndex-1,s=this.rangeState,r=s.row,a=s.column;r===n&&a===i||(this.rangeState.row=n,this.rangeState.column=i,this.rangeState.endDate=this.getDateOfCell(n,i))}}},handleClick:function(e){var t=this,i=e.target;if("SPAN"===i.tagName&&(i=i.parentNode.parentNode),"DIV"===i.tagName&&(i=i.parentNode),"TD"===i.tagName&&!(0,s.hasClass)(i,"disabled")&&!(0,s.hasClass)(i,"week")){var r=this.selectionMode;"week"===r&&(i=i.parentNode.cells[1]);var a=Number(this.year),o=Number(this.month),l=i.cellIndex,u=i.parentNode.rowIndex,c=this.rows[u-1][l],d=c.text,h=i.className,f=new Date(a,o,1);if(-1!==h.indexOf("prev")?(0===o?(a-=1,o=11):o-=1,f.setFullYear(a),f.setMonth(o)):-1!==h.indexOf("next")&&(11===o?(a+=1,o=0):o+=1,f.setFullYear(a),f.setMonth(o)),f.setDate(parseInt(d,10)),"range"===this.selectionMode){if(this.minDate&&this.maxDate){var p=new Date(f.getTime());this.$emit("pick",{minDate:p,maxDate:null},!1),this.rangeState.selecting=!0,this.markRange(this.minDate),this.$nextTick(function(){t.handleMouseMove(e)})}else if(this.minDate&&!this.maxDate)if(f>=this.minDate){var m=new Date(f.getTime());this.rangeState.selecting=!1,this.$emit("pick",{minDate:this.minDate,maxDate:m})}else{var v=new Date(f.getTime());this.rangeState.selecting=!1,this.$emit("pick",{minDate:v,maxDate:this.minDate})}else if(!this.minDate){var g=new Date(f.getTime());this.$emit("pick",{minDate:g,maxDate:this.maxDate},!1),this.rangeState.selecting=!0,this.markRange(this.minDate)}}else if("day"===r)this.$emit("pick",f);else if("week"===r){var b=(0,n.getWeekNumber)(f),y=f.getFullYear()+"w"+b;this.$emit("pick",{year:f.getFullYear(),week:b,value:y,date:f})}else"dates"===r&&function(){var e=t.selectedDate;c.selected?e.forEach(function(t,i){t.toString()===f.toString()&&e.splice(i,1)}):e.push(f),t.$emit("select",e)}()}}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("table",{staticClass:"el-date-table",class:{"is-week-mode":"week"===e.selectionMode},attrs:{cellspacing:"0",cellpadding:"0"},on:{click:e.handleClick,mousemove:e.handleMouseMove}},[i("tbody",[i("tr",[e.showWeekNumber?i("th",[e._v(e._s(e.t("el.datepicker.week")))]):e._e(),e._l(e.WEEKS,function(t){return i("th",[e._v(e._s(e.t("el.datepicker.weeks."+t)))])})],2),e._l(e.rows,function(t){return i("tr",{staticClass:"el-date-table__row",class:{current:e.isWeekActive(t[1])}},e._l(t,function(t){return i("td",{class:e.getCellClasses(t)},[i("div",[i("span",[e._v("\n "+e._s(t.text)+"\n ")])])])}))})],2)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-enter":e.handleEnter,"after-leave":e.handleLeave}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts,"has-time":e.showTime},e.popperClass]},[i("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?i("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,function(t){return i("button",{staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(i){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])})):e._e(),i("div",{staticClass:"el-picker-panel__body"},[e.showTime?i("div",{staticClass:"el-date-picker__time-header"},[i("span",{staticClass:"el-date-picker__editor-wrap"},[i("el-input",{attrs:{placeholder:e.t("el.datepicker.selectDate"),value:e.visibleDate,size:"small"},on:{input:function(t){return e.userInputDate=t},change:e.handleVisibleDateChange}})],1),i("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:function(){return e.timePickerVisible=!1},expression:"() => timePickerVisible = false"}],staticClass:"el-date-picker__editor-wrap"},[i("el-input",{ref:"input",attrs:{placeholder:e.t("el.datepicker.selectTime"),value:e.visibleTime,size:"small"},on:{focus:function(t){e.timePickerVisible=!0},input:function(t){return e.userInputTime=t},change:e.handleVisibleTimeChange}}),i("time-picker",{ref:"timepicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.timePickerVisible},on:{pick:e.handleTimePick,mounted:e.proxyTimePickerDataProperties}})],1)]):e._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:"time"!==e.currentView,expression:"currentView !== 'time'"}],staticClass:"el-date-picker__header",class:{"el-date-picker__header--bordered":"year"===e.currentView||"month"===e.currentView}},[i("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-d-arrow-left",attrs:{type:"button","aria-label":e.t("el.datepicker.prevYear")},on:{click:e.prevYear}}),i("button",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__prev-btn el-icon-arrow-left",attrs:{type:"button","aria-label":e.t("el.datepicker.prevMonth")},on:{click:e.prevMonth}}),i("span",{staticClass:"el-date-picker__header-label",attrs:{role:"button"},on:{click:e.showYearPicker}},[e._v(e._s(e.yearLabel))]),i("span",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-date-picker__header-label",class:{active:"month"===e.currentView},attrs:{role:"button"},on:{click:e.showMonthPicker}},[e._v(e._s(e.t("el.datepicker.month"+(e.month+1))))]),i("button",{staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-d-arrow-right",attrs:{type:"button","aria-label":e.t("el.datepicker.nextYear")},on:{click:e.nextYear}}),i("button",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],staticClass:"el-picker-panel__icon-btn el-date-picker__next-btn el-icon-arrow-right",attrs:{type:"button","aria-label":e.t("el.datepicker.nextMonth")},on:{click:e.nextMonth}})]),i("div",{staticClass:"el-picker-panel__content"},[i("date-table",{directives:[{name:"show",rawName:"v-show",value:"date"===e.currentView,expression:"currentView === 'date'"}],attrs:{"selection-mode":e.selectionMode,"first-day-of-week":e.firstDayOfWeek,value:new Date(e.value),"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"disabled-date":e.disabledDate,"selected-date":e.selectedDate},on:{pick:e.handleDatePick,select:e.handleDateSelect}}),i("year-table",{directives:[{name:"show",rawName:"v-show",value:"year"===e.currentView,expression:"currentView === 'year'"}],attrs:{value:new Date(e.value),"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"disabled-date":e.disabledDate},on:{pick:e.handleYearPick}}),i("month-table",{directives:[{name:"show",rawName:"v-show",value:"month"===e.currentView,expression:"currentView === 'month'"}],attrs:{value:new Date(e.value),"default-value":e.defaultValue?new Date(e.defaultValue):null,date:e.date,"disabled-date":e.disabledDate},on:{pick:e.handleMonthPick}})],1)])],2),i("div",{directives:[{name:"show",rawName:"v-show",value:e.footerVisible&&"date"===e.currentView,expression:"footerVisible && currentView === 'date'"}],staticClass:"el-picker-panel__footer"},[i("el-button",{directives:[{name:"show",rawName:"v-show",value:"dates"!==e.selectionMode,expression:"selectionMode !== 'dates'"}],staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:e.changeToNow}},[e._v("\n "+e._s(e.t("el.datepicker.now"))+"\n ")]),i("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini"},on:{click:e.confirm}},[e._v("\n "+e._s(e.t("el.datepicker.confirm"))+"\n ")])],1)])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(248),s=i.n(n),r=i(249),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(13),r=i(12),a=n(r),o=i(5),l=n(o),u=i(50),c=n(u),d=i(76),h=n(d),f=i(8),p=n(f),m=i(19),v=n(m),g=function(e,t){return new Date(new Date(e).getTime()+t)},b=function(e){return Array.isArray(e)?[new Date(e[0]),new Date(e[1])]:e?[new Date(e),g(e,864e5)]:[new Date,g(Date.now(),864e5)]};t.default={mixins:[l.default],directives:{Clickoutside:a.default},computed:{btnDisabled:function(){return!(this.minDate&&this.maxDate&&!this.selecting)},leftLabel:function(){return this.leftDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.leftDate.getMonth()+1))},rightLabel:function(){return this.rightDate.getFullYear()+" "+this.t("el.datepicker.year")+" "+this.t("el.datepicker.month"+(this.rightDate.getMonth()+1))},leftYear:function(){return this.leftDate.getFullYear()},leftMonth:function(){return this.leftDate.getMonth()},leftMonthDate:function(){return this.leftDate.getDate()},rightYear:function(){return this.rightDate.getFullYear()},rightMonth:function(){return this.rightDate.getMonth()},rightMonthDate:function(){return this.rightDate.getDate()},minVisibleDate:function(){return this.minDate?(0,s.formatDate)(this.minDate,this.dateFormat):""},maxVisibleDate:function(){return this.maxDate||this.minDate?(0,s.formatDate)(this.maxDate||this.minDate,this.dateFormat):""},minVisibleTime:function(){return this.minDate?(0,s.formatDate)(this.minDate,this.timeFormat):""},maxVisibleTime:function(){return this.maxDate||this.minDate?(0,s.formatDate)(this.maxDate||this.minDate,this.timeFormat):""},timeFormat:function(){return this.format?(0,s.extractTimeFormat)(this.format):"HH:mm:ss"},dateFormat:function(){return this.format?(0,s.extractDateFormat)(this.format):"yyyy-MM-dd"},enableMonthArrow:function(){var e=(this.leftMonth+1)%12,t=this.leftMonth+1>=12?1:0;return this.unlinkPanels&&new Date(this.leftYear+t,e)<new Date(this.rightYear,this.rightMonth)},enableYearArrow:function(){return this.unlinkPanels&&12*this.rightYear+this.rightMonth-(12*this.leftYear+this.leftMonth+1)>=12}},data:function(){return{popperClass:"",value:[],defaultValue:null,defaultTime:null,minDate:"",maxDate:"",leftDate:new Date,rightDate:(0,s.nextMonth)(new Date),rangeState:{endDate:null,selecting:!1,row:null,column:null},showTime:!1,shortcuts:"",visible:"",disabledDate:"",firstDayOfWeek:7,minTimePickerVisible:!1,maxTimePickerVisible:!1,format:"",arrowControl:!1,unlinkPanels:!1}},watch:{minDate:function(e){var t=this;this.$nextTick(function(){if(t.$refs.maxTimePicker&&t.maxDate&&t.maxDate<t.minDate){t.$refs.maxTimePicker.selectableRange=[[(0,s.parseDate)((0,s.formatDate)(t.minDate,"HH:mm:ss"),"HH:mm:ss"),(0,s.parseDate)("23:59:59","HH:mm:ss")]]}}),e&&this.$refs.minTimePicker&&(this.$refs.minTimePicker.date=e,this.$refs.minTimePicker.value=e)},maxDate:function(e){e&&this.$refs.maxTimePicker&&(this.$refs.maxTimePicker.date=e,this.$refs.maxTimePicker.value=e)},minTimePickerVisible:function(e){var t=this;e&&this.$nextTick(function(){t.$refs.minTimePicker.date=t.minDate,t.$refs.minTimePicker.value=t.minDate,t.$refs.minTimePicker.adjustSpinners()})},maxTimePickerVisible:function(e){var t=this;e&&this.$nextTick(function(){t.$refs.maxTimePicker.date=t.maxDate,t.$refs.maxTimePicker.value=t.maxDate,t.$refs.maxTimePicker.adjustSpinners()})},value:function(e){if(e){if(Array.isArray(e))if(this.minDate=(0,s.isDate)(e[0])?new Date(e[0]):null,this.maxDate=(0,s.isDate)(e[1])?new Date(e[1]):null,this.minDate)if(this.leftDate=this.minDate,this.unlinkPanels&&this.maxDate){var t=this.minDate.getFullYear(),i=this.minDate.getMonth(),n=this.maxDate.getFullYear(),r=this.maxDate.getMonth();this.rightDate=t===n&&i===r?(0,s.nextMonth)(this.maxDate):this.maxDate}else this.rightDate=(0,s.nextMonth)(this.leftDate);else this.leftDate=b(this.defaultValue)[0],this.rightDate=(0,s.nextMonth)(this.leftDate)}else this.minDate=null,this.maxDate=null},defaultValue:function(e){if(!Array.isArray(this.value)){var t=b(e),i=t[0],n=t[1];this.leftDate=i,this.rightDate=e&&e[1]&&this.unlinkPanels?n:(0,s.nextMonth)(this.leftDate)}}},methods:{handleClear:function(){this.minDate=null,this.maxDate=null,this.leftDate=b(this.defaultValue)[0],this.rightDate=(0,s.nextMonth)(this.leftDate),this.$emit("pick",null)},handleChangeRange:function(e){this.minDate=e.minDate,this.maxDate=e.maxDate,this.rangeState=e.rangeState},handleDateInput:function(e,t){var i=e.target.value;if(i.length===this.dateFormat.length){var n=(0,s.parseDate)(i,this.dateFormat);if(n){if("function"==typeof this.disabledDate&&this.disabledDate(new Date(n)))return;"min"===t?(this.minDate=new Date(n),this.leftDate=new Date(n),this.rightDate=(0,s.nextMonth)(this.leftDate)):(this.maxDate=new Date(n),this.leftDate=(0,s.prevMonth)(n),this.rightDate=new Date(n))}}},handleDateChange:function(e,t){var i=e.target.value,n=(0,s.parseDate)(i,this.dateFormat);n&&("min"===t?(this.minDate=(0,s.modifyDate)(this.minDate,n.getFullYear(),n.getMonth(),n.getDate()),this.minDate>this.maxDate&&(this.maxDate=this.minDate)):(this.maxDate=(0,s.modifyDate)(this.maxDate,n.getFullYear(),n.getMonth(),n.getDate()),this.maxDate<this.minDate&&(this.minDate=this.maxDate)))},handleTimeChange:function(e,t){var i=e.target.value,n=(0,s.parseDate)(i,this.timeFormat);n&&("min"===t?(this.minDate=(0,s.modifyTime)(this.minDate,n.getHours(),n.getMinutes(),n.getSeconds()),this.minDate>this.maxDate&&(this.maxDate=this.minDate),this.$refs.minTimePicker.value=this.minDate,this.minTimePickerVisible=!1):(this.maxDate=(0,s.modifyTime)(this.maxDate,n.getHours(),n.getMinutes(),n.getSeconds()),this.maxDate<this.minDate&&(this.minDate=this.maxDate),this.$refs.maxTimePicker.value=this.minDate,this.maxTimePickerVisible=!1))},handleRangePick:function(e){var t=this,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this.defaultTime||[],r=(0,s.modifyWithDefaultTime)(e.minDate,n[0]),a=(0,s.modifyWithDefaultTime)(e.maxDate,n[1]);this.maxDate===a&&this.minDate===r||(this.onPick&&this.onPick(e),this.maxDate=a,this.minDate=r,setTimeout(function(){t.maxDate=a,t.minDate=r},10),i&&!this.showTime&&this.handleConfirm())},handleShortcutClick:function(e){e.onClick&&e.onClick(this)},handleMinTimePick:function(e,t,i){this.minDate=this.minDate||new Date,e&&(this.minDate=(0,s.modifyTime)(this.minDate,e.getHours(),e.getMinutes(),e.getSeconds())),i||(this.minTimePickerVisible=t),(!this.maxDate||this.maxDate&&this.maxDate.getTime()<this.minDate.getTime())&&(this.maxDate=new Date(this.minDate))},handleMaxTimePick:function(e,t,i){this.maxDate&&e&&(this.maxDate=(0,s.modifyTime)(this.maxDate,e.getHours(),e.getMinutes(),e.getSeconds())),i||(this.maxTimePickerVisible=t),this.maxDate&&this.minDate&&this.minDate.getTime()>this.maxDate.getTime()&&(this.minDate=new Date(this.maxDate))},leftPrevYear:function(){this.leftDate=(0,s.prevYear)(this.leftDate),this.unlinkPanels||(this.rightDate=(0,s.nextMonth)(this.leftDate))},leftPrevMonth:function(){this.leftDate=(0,s.prevMonth)(this.leftDate),this.unlinkPanels||(this.rightDate=(0,s.nextMonth)(this.leftDate))},rightNextYear:function(){this.unlinkPanels?this.rightDate=(0,s.nextYear)(this.rightDate):(this.leftDate=(0,s.nextYear)(this.leftDate),this.rightDate=(0,s.nextMonth)(this.leftDate))},rightNextMonth:function(){this.unlinkPanels?this.rightDate=(0,s.nextMonth)(this.rightDate):(this.leftDate=(0,s.nextMonth)(this.leftDate),this.rightDate=(0,s.nextMonth)(this.leftDate))},leftNextYear:function(){this.leftDate=(0,s.nextYear)(this.leftDate)},leftNextMonth:function(){this.leftDate=(0,s.nextMonth)(this.leftDate)},rightPrevYear:function(){this.rightDate=(0,s.prevYear)(this.rightDate)},rightPrevMonth:function(){this.rightDate=(0,s.prevMonth)(this.rightDate)},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.$emit("pick",[this.minDate,this.maxDate],e)},isValidValue:function(e){return Array.isArray(e)&&e&&e[0]&&e[1]&&(0,s.isDate)(e[0])&&(0,s.isDate)(e[1])&&e[0].getTime()<=e[1].getTime()&&("function"!=typeof this.disabledDate||!this.disabledDate(e[0])&&!this.disabledDate(e[1]))}},components:{TimePicker:c.default,DateTable:h.default,ElInput:p.default,ElButton:v.default}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-picker-panel el-date-range-picker el-popper",class:[{"has-sidebar":e.$slots.sidebar||e.shortcuts,"has-time":e.showTime},e.popperClass]},[i("div",{staticClass:"el-picker-panel__body-wrapper"},[e._t("sidebar"),e.shortcuts?i("div",{staticClass:"el-picker-panel__sidebar"},e._l(e.shortcuts,function(t){return i("button",{staticClass:"el-picker-panel__shortcut",attrs:{type:"button"},on:{click:function(i){e.handleShortcutClick(t)}}},[e._v(e._s(t.text))])})):e._e(),i("div",{staticClass:"el-picker-panel__body"},[e.showTime?i("div",{staticClass:"el-date-range-picker__time-header"},[i("span",{staticClass:"el-date-range-picker__editors-wrap"},[i("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[i("el-input",{ref:"minInput",staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startDate"),value:e.minVisibleDate},nativeOn:{input:function(t){e.handleDateInput(t,"min")},change:function(t){e.handleDateChange(t,"min")}}})],1),i("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:function(){return e.minTimePickerVisible=!1},expression:"() => minTimePickerVisible = false"}],staticClass:"el-date-range-picker__time-picker-wrap"},[i("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.startTime"),value:e.minVisibleTime},on:{focus:function(t){e.minTimePickerVisible=!0}},nativeOn:{change:function(t){e.handleTimeChange(t,"min")}}}),i("time-picker",{ref:"minTimePicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.minTimePickerVisible},on:{pick:e.handleMinTimePick,mounted:function(t){e.$refs.minTimePicker.format=e.timeFormat}}})],1)]),i("span",{staticClass:"el-icon-arrow-right"}),i("span",{staticClass:"el-date-range-picker__editors-wrap is-right"},[i("span",{staticClass:"el-date-range-picker__time-picker-wrap"},[i("el-input",{staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endDate"),value:e.maxVisibleDate,readonly:!e.minDate},nativeOn:{input:function(t){e.handleDateInput(t,"max")},change:function(t){e.handleDateChange(t,"max")}}})],1),i("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:function(){return e.maxTimePickerVisible=!1},expression:"() => maxTimePickerVisible = false"}],staticClass:"el-date-range-picker__time-picker-wrap"},[i("el-input",{ref:"maxInput",staticClass:"el-date-range-picker__editor",attrs:{size:"small",disabled:e.rangeState.selecting,placeholder:e.t("el.datepicker.endTime"),value:e.maxVisibleTime,readonly:!e.minDate},on:{focus:function(t){e.minDate&&(e.maxTimePickerVisible=!0)}},nativeOn:{change:function(t){e.handleTimeChange(t,"max")}}}),i("time-picker",{ref:"maxTimePicker",attrs:{"time-arrow-control":e.arrowControl,visible:e.maxTimePickerVisible},on:{pick:e.handleMaxTimePick,mounted:function(t){e.$refs.maxTimePicker.format=e.timeFormat}}})],1)])]):e._e(),i("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-left"},[i("div",{staticClass:"el-date-range-picker__header"},[i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevYear}}),i("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",attrs:{type:"button"},on:{click:e.leftPrevMonth}}),e.unlinkPanels?i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.leftNextYear}}):e._e(),e.unlinkPanels?i("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",class:{"is-disabled":!e.enableMonthArrow},attrs:{type:"button",disabled:!e.enableMonthArrow},on:{click:e.leftNextMonth}}):e._e(),i("div",[e._v(e._s(e.leftLabel))])]),i("date-table",{attrs:{"selection-mode":"range",date:e.leftDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"first-day-of-week":e.firstDayOfWeek},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1),i("div",{staticClass:"el-picker-panel__content el-date-range-picker__content is-right"},[i("div",{staticClass:"el-date-range-picker__header"},[e.unlinkPanels?i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-left",class:{"is-disabled":!e.enableYearArrow},attrs:{type:"button",disabled:!e.enableYearArrow},on:{click:e.rightPrevYear}}):e._e(),e.unlinkPanels?i("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-left",class:{"is-disabled":!e.enableMonthArrow},attrs:{type:"button",disabled:!e.enableMonthArrow},on:{click:e.rightPrevMonth}}):e._e(),i("button",{staticClass:"el-picker-panel__icon-btn el-icon-d-arrow-right",attrs:{type:"button"},on:{click:e.rightNextYear}}),i("button",{staticClass:"el-picker-panel__icon-btn el-icon-arrow-right",attrs:{type:"button"},on:{click:e.rightNextMonth}}),i("div",[e._v(e._s(e.rightLabel))])]),i("date-table",{attrs:{"selection-mode":"range",date:e.rightDate,"default-value":e.defaultValue,"min-date":e.minDate,"max-date":e.maxDate,"range-state":e.rangeState,"disabled-date":e.disabledDate,"first-day-of-week":e.firstDayOfWeek},on:{changerange:e.handleChangeRange,pick:e.handleRangePick}})],1)])],2),e.showTime?i("div",{staticClass:"el-picker-panel__footer"},[i("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{size:"mini",type:"text"},on:{click:e.handleClear}},[e._v("\n "+e._s(e.t("el.datepicker.clear"))+"\n ")]),i("el-button",{staticClass:"el-picker-panel__link-btn",attrs:{plain:"",size:"mini",disabled:e.btnDisabled},on:{click:function(t){e.handleConfirm()}}},[e._v("\n "+e._s(e.t("el.datepicker.confirm"))+"\n ")])],1):e._e()])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(251),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(49),r=n(s),a=i(252),o=n(a);t.default={mixins:[r.default],name:"ElTimeSelect",componentName:"ElTimeSelect",props:{type:{type:String,default:"time-select"}},beforeCreate:function(){this.panel=o.default}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(253),s=i.n(n),r=i(254),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(26),r=n(s),a=i(45),o=n(a),l=function(e){var t=(e||"").split(":");if(t.length>=2){return{hours:parseInt(t[0],10),minutes:parseInt(t[1],10)}}return null},u=function(e,t){var i=l(e),n=l(t),s=i.minutes+60*i.hours,r=n.minutes+60*n.hours;return s===r?0:s>r?1:-1},c=function(e){return(e.hours<10?"0"+e.hours:e.hours)+":"+(e.minutes<10?"0"+e.minutes:e.minutes)},d=function(e,t){var i=l(e),n=l(t),s={hours:i.hours,minutes:i.minutes};return s.minutes+=n.minutes,s.hours+=n.hours,s.hours+=Math.floor(s.minutes/60),s.minutes=s.minutes%60,c(s)};t.default={components:{ElScrollbar:r.default},watch:{value:function(e){var t=this;e&&this.$nextTick(function(){return t.scrollToOption()})}},methods:{handleClick:function(e){e.disabled||this.$emit("pick",e.value)},handleClear:function(){this.$emit("pick",null)},scrollToOption:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:".selected",t=this.$refs.popper.querySelector(".el-picker-panel__content");(0,o.default)(t,t.querySelector(e))},handleMenuEnter:function(){var e=this,t=-1!==this.items.map(function(e){return e.value}).indexOf(this.value),i=-1!==this.items.map(function(e){return e.value}).indexOf(this.defaultValue),n=t&&".selected"||i&&".default"||".time-select-item:not(.disabled)";this.$nextTick(function(){return e.scrollToOption(n)})},scrollDown:function(e){for(var t=this.items,i=t.length,n=t.length,s=t.map(function(e){return e.value}).indexOf(this.value);n--;)if(s=(s+e+i)%i,!t[s].disabled)return void this.$emit("pick",t[s].value,!0)},isValidValue:function(e){return-1!==this.items.filter(function(e){return!e.disabled}).map(function(e){return e.value}).indexOf(e)},handleKeydown:function(e){var t=e.keyCode;if(38===t||40===t){var i={40:1,38:-1},n=i[t.toString()];return this.scrollDown(n),void e.stopPropagation()}}},data:function(){return{popperClass:"",start:"09:00",end:"18:00",step:"00:30",value:"",defaultValue:"",visible:!1,minTime:"",maxTime:"",width:0}},computed:{items:function(){var e=this.start,t=this.end,i=this.step,n=[];if(e&&t&&i)for(var s=e;u(s,t)<=0;)n.push({value:s,disabled:u(s,this.minTime||"-1:-1")<=0||u(s,this.maxTime||"100:100")>=0}),s=d(s,i);return n}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":e.handleMenuEnter,"after-leave":function(t){e.$emit("dodestroy")}}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],ref:"popper",staticClass:"el-picker-panel time-select el-popper",class:e.popperClass,style:{width:e.width+"px"}},[i("el-scrollbar",{attrs:{noresize:"","wrap-class":"el-picker-panel__content"}},e._l(e.items,function(t){return i("div",{staticClass:"time-select-item",class:{selected:e.value===t.value,disabled:t.disabled,default:t.value===e.defaultValue},attrs:{disabled:t.disabled},on:{click:function(i){e.handleClick(t)}}},[e._v(e._s(t.value))])}))],1)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(256),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(49),r=n(s),a=i(50),o=n(a),l=i(257),u=n(l);t.default={mixins:[r.default],name:"ElTimePicker",props:{isRange:Boolean,arrowControl:Boolean},data:function(){return{type:""}},watch:{isRange:function(e){this.picker?(this.unmountPicker(),this.type=e?"timerange":"time",this.panel=e?u.default:o.default,this.mountPicker()):(this.type=e?"timerange":"time",this.panel=e?u.default:o.default)}},created:function(){this.type=this.isRange?"timerange":"time",this.panel=this.isRange?u.default:o.default}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(258),s=i.n(n),r=i(259),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(13),r=i(5),a=n(r),o=i(75),l=n(o),u=(0,s.parseDate)("00:00:00","HH:mm:ss"),c=(0,s.parseDate)("23:59:59","HH:mm:ss"),d=function(e){return(0,s.modifyDate)(u,e.getFullYear(),e.getMonth(),e.getDate())},h=function(e){return(0,s.modifyDate)(c,e.getFullYear(),e.getMonth(),e.getDate())},f=function(e,t){return new Date(Math.min(e.getTime()+t,h(e).getTime()))};t.default={mixins:[a.default],components:{TimeSpinner:l.default},computed:{showSeconds:function(){return-1!==(this.format||"").indexOf("ss")},offset:function(){return this.showSeconds?11:8},spinner:function(){return this.selectionRange[0]<this.offset?this.$refs.minSpinner:this.$refs.maxSpinner},btnDisabled:function(){return this.minDate.getTime()>this.maxDate.getTime()},amPmMode:function(){return-1!==(this.format||"").indexOf("A")?"A":-1!==(this.format||"").indexOf("a")?"a":""}},data:function(){return{popperClass:"",minDate:new Date,maxDate:new Date,value:[],oldValue:[new Date,new Date],defaultValue:null,format:"HH:mm:ss",visible:!1,selectionRange:[0,2],arrowControl:!1}},watch:{value:function(e){Array.isArray(e)?(this.minDate=new Date(e[0]),this.maxDate=new Date(e[1])):Array.isArray(this.defaultValue)?(this.minDate=new Date(this.defaultValue[0]),this.maxDate=new Date(this.defaultValue[1])):this.defaultValue?(this.minDate=new Date(this.defaultValue),this.maxDate=f(new Date(this.defaultValue),36e5)):(this.minDate=new Date,this.maxDate=f(new Date,36e5))},visible:function(e){var t=this;e&&(this.oldValue=this.value,this.$nextTick(function(){return t.$refs.minSpinner.emitSelectRange("hours")}))}},methods:{handleClear:function(){this.$emit("pick",null)},handleCancel:function(){this.$emit("pick",this.oldValue)},handleMinChange:function(e){this.minDate=(0,s.clearMilliseconds)(e),this.handleChange()},handleMaxChange:function(e){this.maxDate=(0,s.clearMilliseconds)(e),this.handleChange()},handleChange:function(){this.isValidValue([this.minDate,this.maxDate])&&(this.$refs.minSpinner.selectableRange=[[d(this.minDate),this.maxDate]],this.$refs.maxSpinner.selectableRange=[[this.minDate,h(this.maxDate)]],this.$emit("pick",[this.minDate,this.maxDate],!0))},setMinSelectionRange:function(e,t){this.$emit("select-range",e,t,"min"),this.selectionRange=[e,t]},setMaxSelectionRange:function(e,t){this.$emit("select-range",e,t,"max"),this.selectionRange=[e+this.offset,t+this.offset]},handleConfirm:function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=this.$refs.minSpinner.selectableRange,i=this.$refs.maxSpinner.selectableRange;this.minDate=(0,s.limitTimeRange)(this.minDate,t,this.format),this.maxDate=(0,s.limitTimeRange)(this.maxDate,i,this.format),this.$emit("pick",[this.minDate,this.maxDate],e)},adjustSpinners:function(){this.$refs.minSpinner.adjustSpinners(),this.$refs.maxSpinner.adjustSpinners()},changeSelectionRange:function(e){var t=this.showSeconds?[0,3,6,11,14,17]:[0,3,8,11],i=["hours","minutes"].concat(this.showSeconds?["seconds"]:[]),n=t.indexOf(this.selectionRange[0]),s=(n+e+t.length)%t.length,r=t.length/2;s<r?this.$refs.minSpinner.emitSelectRange(i[s]):this.$refs.maxSpinner.emitSelectRange(i[s-r])},isValidValue:function(e){return Array.isArray(e)&&(0,s.timeWithinRange)(this.minDate,this.$refs.minSpinner.selectableRange)&&(0,s.timeWithinRange)(this.maxDate,this.$refs.maxSpinner.selectableRange)},handleKeydown:function(e){var t=e.keyCode,i={38:-1,40:1,37:-1,39:1};if(37===t||39===t){var n=i[t];return this.changeSelectionRange(n),void e.preventDefault()}if(38===t||40===t){var s=i[t];return this.spinner.scrollDown(s),void e.preventDefault()}}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":function(t){e.$emit("dodestroy")}}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-time-range-picker el-picker-panel el-popper",class:e.popperClass},[i("div",{staticClass:"el-time-range-picker__content"},[i("div",{staticClass:"el-time-range-picker__cell"},[i("div",{staticClass:"el-time-range-picker__header"},[e._v(e._s(e.t("el.datepicker.startTime")))]),i("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":e.showSeconds,"is-arrow":e.arrowControl}},[i("time-spinner",{ref:"minSpinner",attrs:{"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,date:e.minDate},on:{change:e.handleMinChange,"select-range":e.setMinSelectionRange}})],1)]),i("div",{staticClass:"el-time-range-picker__cell"},[i("div",{staticClass:"el-time-range-picker__header"},[e._v(e._s(e.t("el.datepicker.endTime")))]),i("div",{staticClass:"el-time-range-picker__body el-time-panel__content",class:{"has-seconds":e.showSeconds,"is-arrow":e.arrowControl}},[i("time-spinner",{ref:"maxSpinner",attrs:{"show-seconds":e.showSeconds,"am-pm-mode":e.amPmMode,"arrow-control":e.arrowControl,date:e.maxDate},on:{change:e.handleMaxChange,"select-range":e.setMaxSelectionRange}})],1)])]),i("div",{staticClass:"el-time-panel__footer"},[i("button",{staticClass:"el-time-panel__btn cancel",attrs:{type:"button"},on:{click:function(t){e.handleCancel()}}},[e._v(e._s(e.t("el.datepicker.cancel")))]),i("button",{staticClass:"el-time-panel__btn confirm",attrs:{type:"button",disabled:e.btnDisabled},on:{click:function(t){e.handleConfirm()}}},[e._v(e._s(e.t("el.datepicker.confirm")))])])])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(261),r=n(s),a=i(264),o=n(a);n(i(2)).default.directive("popover",o.default),r.default.install=function(e){e.directive("popover",o.default),e.component(r.default.name,r.default)},r.default.directive=o.default,t.default=r.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(262),s=i.n(n),r=i(263),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(11),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=i(3),a=i(6);t.default={name:"ElPopover",mixins:[s.default],props:{trigger:{type:String,default:"click",validator:function(e){return["click","focus","hover","manual"].indexOf(e)>-1}},openDelay:{type:Number,default:0},title:String,disabled:Boolean,content:String,reference:{},popperClass:String,width:{},visibleArrow:{default:!0},arrowOffset:{type:Number,default:0},transition:{type:String,default:"fade-in-linear"}},computed:{tooltipId:function(){return"el-popover-"+(0,a.generateId)()}},watch:{showPopper:function(e){e?this.$emit("show"):this.$emit("hide")}},mounted:function(){var e=this,t=this.referenceElm=this.reference||this.$refs.reference,i=this.popper||this.$refs.popper;if(!t&&this.$slots.reference&&this.$slots.reference[0]&&(t=this.referenceElm=this.$slots.reference[0].elm),t&&((0,r.addClass)(t,"el-popover__reference"),t.setAttribute("aria-describedby",this.tooltipId),t.setAttribute("tabindex",0),i.setAttribute("tabindex",0),"click"!==this.trigger&&((0,r.on)(t,"focusin",function(){e.handleFocus();var i=t.__vue__;i&&i.focus&&i.focus()}),(0,r.on)(i,"focusin",this.handleFocus),(0,r.on)(t,"focusout",this.handleBlur),(0,r.on)(i,"focusout",this.handleBlur)),(0,r.on)(t,"keydown",this.handleKeydown),(0,r.on)(t,"click",this.handleClick)),"click"===this.trigger)(0,r.on)(t,"click",this.doToggle),(0,r.on)(document,"click",this.handleDocumentClick);else if("hover"===this.trigger)(0,r.on)(t,"mouseenter",this.handleMouseEnter),(0,r.on)(i,"mouseenter",this.handleMouseEnter),(0,r.on)(t,"mouseleave",this.handleMouseLeave),(0,r.on)(i,"mouseleave",this.handleMouseLeave);else if("focus"===this.trigger){var n=!1;if([].slice.call(t.children).length)for(var s=t.childNodes,a=s.length,o=0;o<a;o++)if("INPUT"===s[o].nodeName||"TEXTAREA"===s[o].nodeName){(0,r.on)(s[o],"focusin",this.doShow),(0,r.on)(s[o],"focusout",this.doClose),n=!0;break}if(n)return;"INPUT"===t.nodeName||"TEXTAREA"===t.nodeName?((0,r.on)(t,"focusin",this.doShow),(0,r.on)(t,"focusout",this.doClose)):((0,r.on)(t,"mousedown",this.doShow),(0,r.on)(t,"mouseup",this.doClose))}},methods:{doToggle:function(){this.showPopper=!this.showPopper},doShow:function(){this.showPopper=!0},doClose:function(){this.showPopper=!1},handleFocus:function(){(0,r.addClass)(this.referenceElm,"focusing"),"manual"!==this.trigger&&(this.showPopper=!0)},handleClick:function(){(0,r.removeClass)(this.referenceElm,"focusing")},handleBlur:function(){(0,r.removeClass)(this.referenceElm,"focusing"),"manual"!==this.trigger&&(this.showPopper=!1)},handleMouseEnter:function(){var e=this;clearTimeout(this._timer),this.openDelay?this._timer=setTimeout(function(){e.showPopper=!0},this.openDelay):this.showPopper=!0},handleKeydown:function(e){27===e.keyCode&&"manual"!==this.trigger&&this.doClose()},handleMouseLeave:function(){var e=this;clearTimeout(this._timer),this._timer=setTimeout(function(){e.showPopper=!1},200)},handleDocumentClick:function(e){var t=this.reference||this.$refs.reference,i=this.popper||this.$refs.popper;!t&&this.$slots.reference&&this.$slots.reference[0]&&(t=this.referenceElm=this.$slots.reference[0].elm),this.$el&&t&&!this.$el.contains(e.target)&&!t.contains(e.target)&&i&&!i.contains(e.target)&&(this.showPopper=!1)},handleAfterEnter:function(){this.$emit("after-enter")},handleAfterLeave:function(){this.$emit("after-leave"),this.doDestroy()}},destroyed:function(){var e=this.reference;(0,r.off)(e,"click",this.doToggle),(0,r.off)(e,"mouseup",this.doClose),(0,r.off)(e,"mousedown",this.doShow),(0,r.off)(e,"focusin",this.doShow),(0,r.off)(e,"focusout",this.doClose),(0,r.off)(e,"mouseleave",this.handleMouseLeave),(0,r.off)(e,"mouseenter",this.handleMouseEnter),(0,r.off)(document,"click",this.handleDocumentClick)}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",[i("transition",{attrs:{name:e.transition},on:{"after-enter":e.handleAfterEnter,"after-leave":e.handleAfterLeave}},[i("div",{directives:[{name:"show",rawName:"v-show",value:!e.disabled&&e.showPopper,expression:"!disabled && showPopper"}],ref:"popper",staticClass:"el-popover el-popper",class:[e.popperClass,e.content&&"el-popover--plain"],style:{width:e.width+"px"},attrs:{role:"tooltip",id:e.tooltipId,"aria-hidden":e.disabled||!e.showPopper?"true":"false"}},[e.title?i("div",{staticClass:"el-popover__title",domProps:{textContent:e._s(e.title)}}):e._e(),e._t("default",[e._v(e._s(e.content))])],2)]),e._t("reference")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=function(e,t,i){var n=t.expression?t.value:t.arg,s=i.context.$refs[n];s&&(s.$refs.reference=e)};t.default={bind:function(e,t,i){n(e,t,i)},inserted:function(e,t,i){n(e,t,i)}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(266),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=s.default},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0,t.MessageBox=void 0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(2),a=n(r),o=i(267),l=n(o),u=i(10),c=n(u),d=i(34),h={title:null,message:"",type:"",showInput:!1,showClose:!0,modalFade:!0,lockScroll:!0,closeOnClickModal:!0,closeOnPressEscape:!0,closeOnHashChange:!0,inputValue:null,inputPlaceholder:"",inputType:"text",inputPattern:null,inputValidator:null,inputErrorMessage:"",showConfirmButton:!0,showCancelButton:!1,confirmButtonPosition:"right",confirmButtonHighlight:!1,cancelButtonHighlight:!1,confirmButtonText:"",cancelButtonText:"",confirmButtonClass:"",cancelButtonClass:"",customClass:"",beforeClose:null,dangerouslyUseHTMLString:!1,center:!1,roundButton:!1},f=a.default.extend(l.default),p=void 0,m=void 0,v=[],g=function(e){if(p){var t=p.callback;"function"==typeof t&&(m.showInput?t(m.inputValue,e):t(e)),p.resolve&&("confirm"===e?m.showInput?p.resolve({value:m.inputValue,action:e}):p.resolve(e):"cancel"===e&&p.reject&&p.reject(e))}},b=function(){m=new f({el:document.createElement("div")}),m.callback=g},y=function e(){m||b(),m.action="",m.visible&&!m.closeTimer||v.length>0&&function(){p=v.shift();var t=p.options;for(var i in t)t.hasOwnProperty(i)&&(m[i]=t[i]);void 0===t.callback&&(m.callback=g);var n=m.callback;m.callback=function(t,i){n(t,i),e()},(0,d.isVNode)(m.message)?(m.$slots.default=[m.message],m.message=null):delete m.$slots.default,["modal","showClose","closeOnClickModal","closeOnPressEscape","closeOnHashChange"].forEach(function(e){void 0===m[e]&&(m[e]=!0)}),document.body.appendChild(m.$el),a.default.nextTick(function(){m.visible=!0})}()},_=function e(t,i){if(!a.default.prototype.$isServer){if("string"==typeof t||(0,d.isVNode)(t)?(t={message:t},"string"==typeof arguments[1]&&(t.title=arguments[1])):t.callback&&!i&&(i=t.callback),"undefined"!=typeof Promise)return new Promise(function(n,s){v.push({options:(0,c.default)({},h,e.defaults,t),callback:i,resolve:n,reject:s}),y()});v.push({options:(0,c.default)({},h,e.defaults,t),callback:i}),y()}};_.setDefaults=function(e){_.defaults=e},_.alert=function(e,t,i){return"object"===(void 0===t?"undefined":s(t))?(i=t,t=""):void 0===t&&(t=""),_((0,c.default)({title:t,message:e,$type:"alert",closeOnPressEscape:!1,closeOnClickModal:!1},i))},_.confirm=function(e,t,i){return"object"===(void 0===t?"undefined":s(t))?(i=t,t=""):void 0===t&&(t=""),_((0,c.default)({title:t,message:e,$type:"confirm",showCancelButton:!0},i))},_.prompt=function(e,t,i){return"object"===(void 0===t?"undefined":s(t))?(i=t,t=""):void 0===t&&(t=""),_((0,c.default)({title:t,message:e,showCancelButton:!0,showInput:!0,$type:"prompt"},i))},_.close=function(){m.doClose(),m.visible=!1,v=[],p=null},t.default=_,t.MessageBox=_},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(268),s=i.n(n),r=i(270),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(14),r=n(s),a=i(5),o=n(a),l=i(8),u=n(l),c=i(19),d=n(c),h=i(3),f=i(17),p=i(269),m=n(p),v=void 0,g={success:"success",info:"info",warning:"warning",error:"error"};t.default={mixins:[r.default,o.default],props:{modal:{default:!0},lockScroll:{default:!0},showClose:{type:Boolean,default:!0},closeOnClickModal:{default:!0},closeOnPressEscape:{default:!0},closeOnHashChange:{default:!0},center:{default:!1,type:Boolean},roundButton:{default:!1,type:Boolean}},components:{ElInput:u.default,ElButton:d.default},computed:{typeClass:function(){return this.type&&g[this.type]?"el-icon-"+g[this.type]:""},confirmButtonClasses:function(){return"el-button--primary "+this.confirmButtonClass},cancelButtonClasses:function(){return""+this.cancelButtonClass}},methods:{getSafeClose:function(){var e=this,t=this.uid;return function(){e.$nextTick(function(){t===e.uid&&e.doClose()})}},doClose:function(){var e=this;this.visible&&(this.visible=!1,this._closing=!0,this.onClose&&this.onClose(),v.closeDialog(),this.lockScroll&&setTimeout(this.restoreBodyStyle,200),this.opened=!1,this.doAfterClose(),setTimeout(function(){e.action&&e.callback(e.action,e)}))},handleWrapperClick:function(){this.closeOnClickModal&&this.handleAction("cancel")},handleInputEnter:function(){if("textarea"!==this.inputType)return this.handleAction("confirm")},handleAction:function(e){("prompt"!==this.$type||"confirm"!==e||this.validate())&&(this.action=e,"function"==typeof this.beforeClose?(this.close=this.getSafeClose(),this.beforeClose(e,this,this.close)):this.doClose())},validate:function(){if("prompt"===this.$type){var e=this.inputPattern;if(e&&!e.test(this.inputValue||""))return this.editorErrorMessage=this.inputErrorMessage||(0,f.t)("el.messagebox.error"),(0,h.addClass)(this.getInputElement(),"invalid"),!1;var t=this.inputValidator;if("function"==typeof t){var i=t(this.inputValue);if(!1===i)return this.editorErrorMessage=this.inputErrorMessage||(0,f.t)("el.messagebox.error"),(0,h.addClass)(this.getInputElement(),"invalid"),!1;if("string"==typeof i)return this.editorErrorMessage=i,(0,h.addClass)(this.getInputElement(),"invalid"),!1}}return this.editorErrorMessage="",(0,h.removeClass)(this.getInputElement(),"invalid"),!0},getFirstFocus:function(){var e=this.$el.querySelector(".el-message-box__btns .el-button"),t=this.$el.querySelector(".el-message-box__btns .el-message-box__title");return e||t},getInputElement:function(){var e=this.$refs.input.$refs;return e.input||e.textarea}},watch:{inputValue:{immediate:!0,handler:function(e){var t=this;this.$nextTick(function(i){"prompt"===t.$type&&null!==e&&t.validate()})}},visible:function(e){var t=this;e&&(this.uid++,"alert"!==this.$type&&"confirm"!==this.$type||this.$nextTick(function(){t.$refs.confirm.$el.focus()}),this.focusAfterClosed=document.activeElement,v=new m.default(this.$el,this.focusAfterClosed,this.getFirstFocus())),"prompt"===this.$type&&(e?setTimeout(function(){t.$refs.input&&t.$refs.input.$el&&t.getInputElement().focus()},500):(this.editorErrorMessage="",(0,h.removeClass)(this.getInputElement(),"invalid")))}},mounted:function(){var e=this;this.$nextTick(function(){e.closeOnHashChange&&window.addEventListener("hashchange",e.close)})},beforeDestroy:function(){this.closeOnHashChange&&window.removeEventListener("hashchange",this.close),setTimeout(function(){v.closeDialog()})},data:function(){return{uid:1,title:void 0,message:"",type:"",customClass:"",showInput:!1,inputValue:null,inputPlaceholder:"",inputType:"text",inputPattern:null,inputValidator:null,inputErrorMessage:"",showConfirmButton:!0,showCancelButton:!1,action:"",confirmButtonText:"",cancelButtonText:"",confirmButtonLoading:!1,cancelButtonLoading:!1,confirmButtonClass:"",confirmButtonDisabled:!1,cancelButtonClass:"",editorErrorMessage:null,callback:null,dangerouslyUseHTMLString:!1,focusAfterClosed:null,isOnComposition:!1}}}},function(e,t,i){"use strict";t.__esModule=!0;var n,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(46),a=function(e){return e&&e.__esModule?e:{default:e}}(r),o=o||{};o.Dialog=function(e,t,i){var r=this;if(this.dialogNode=e,null===this.dialogNode||"dialog"!==this.dialogNode.getAttribute("role"))throw new Error("Dialog() requires a DOM element with ARIA role of dialog.");"string"==typeof t?this.focusAfterClosed=document.getElementById(t):"object"===(void 0===t?"undefined":s(t))?this.focusAfterClosed=t:this.focusAfterClosed=null,"string"==typeof i?this.focusFirst=document.getElementById(i):"object"===(void 0===i?"undefined":s(i))?this.focusFirst=i:this.focusFirst=null,this.focusFirst?this.focusFirst.focus():a.default.focusFirstDescendant(this.dialogNode),this.lastFocus=document.activeElement,n=function(e){r.trapFocus(e)},this.addListeners()},o.Dialog.prototype.addListeners=function(){document.addEventListener("focus",n,!0)},o.Dialog.prototype.removeListeners=function(){document.removeEventListener("focus",n,!0)},o.Dialog.prototype.closeDialog=function(){var e=this;this.removeListeners(),this.focusAfterClosed&&setTimeout(function(){e.focusAfterClosed.focus()})},o.Dialog.prototype.trapFocus=function(e){a.default.IgnoreUtilFocusChanges||(this.dialogNode.contains(e.target)?this.lastFocus=e.target:(a.default.focusFirstDescendant(this.dialogNode),this.lastFocus===document.activeElement&&a.default.focusLastDescendant(this.dialogNode),this.lastFocus=document.activeElement))},t.default=o.Dialog},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"msgbox-fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-message-box__wrapper",attrs:{tabindex:"-1",role:"dialog","aria-modal":"true","aria-label":e.title||"dialog"},on:{click:function(t){if(t.target!==t.currentTarget)return null;e.handleWrapperClick(t)}}},[i("div",{staticClass:"el-message-box",class:[e.customClass,e.center&&"el-message-box--center"]},[null!==e.title?i("div",{staticClass:"el-message-box__header"},[i("div",{staticClass:"el-message-box__title"},[e.typeClass&&e.center?i("div",{class:["el-message-box__status",e.typeClass]}):e._e(),i("span",[e._v(e._s(e.title))])]),e.showClose?i("button",{staticClass:"el-message-box__headerbtn",attrs:{type:"button","aria-label":"Close"},on:{click:function(t){e.handleAction("cancel")},keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;e.handleAction("cancel")}}},[i("i",{staticClass:"el-message-box__close el-icon-close"})]):e._e()]):e._e(),i("div",{staticClass:"el-message-box__content"},[e.typeClass&&!e.center&&""!==e.message?i("div",{class:["el-message-box__status",e.typeClass]}):e._e(),""!==e.message?i("div",{staticClass:"el-message-box__message"},[e._t("default",[e.dangerouslyUseHTMLString?i("p",{domProps:{innerHTML:e._s(e.message)}}):i("p",[e._v(e._s(e.message))])])],2):e._e(),i("div",{directives:[{name:"show",rawName:"v-show",value:e.showInput,expression:"showInput"}],staticClass:"el-message-box__input"},[i("el-input",{ref:"input",attrs:{type:e.inputType,placeholder:e.inputPlaceholder},nativeOn:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;e.handleInputEnter(t)}},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}}),i("div",{staticClass:"el-message-box__errormsg",style:{visibility:e.editorErrorMessage?"visible":"hidden"}},[e._v(e._s(e.editorErrorMessage))])],1)]),i("div",{staticClass:"el-message-box__btns"},[e.showCancelButton?i("el-button",{class:[e.cancelButtonClasses],attrs:{loading:e.cancelButtonLoading,round:e.roundButton,size:"small"},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;e.handleAction("cancel")}},nativeOn:{click:function(t){e.handleAction("cancel")}}},[e._v("\n "+e._s(e.cancelButtonText||e.t("el.messagebox.cancel"))+"\n ")]):e._e(),i("el-button",{directives:[{name:"show",rawName:"v-show",value:e.showConfirmButton,expression:"showConfirmButton"}],ref:"confirm",class:[e.confirmButtonClasses],attrs:{loading:e.confirmButtonLoading,round:e.roundButton,size:"small"},on:{keydown:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;e.handleAction("confirm")}},nativeOn:{click:function(t){e.handleAction("confirm")}}},[e._v("\n "+e._s(e.confirmButtonText||e.t("el.messagebox.confirm"))+"\n ")])],1)])])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(272),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(273),s=i.n(n),r=i(274),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElBreadcrumb",props:{separator:{type:String,default:"/"},separatorClass:{type:String,default:""}},provide:function(){return{elBreadcrumb:this}},mounted:function(){var e=this.$el.querySelectorAll(".el-breadcrumb__item");e.length&&e[e.length-1].setAttribute("aria-current","page")}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"el-breadcrumb",attrs:{"aria-label":"Breadcrumb",role:"navigation"}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(276),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(277),s=i.n(n),r=i(278),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElBreadcrumbItem",props:{to:{},replace:Boolean},data:function(){return{separator:"",separatorClass:""}},inject:["elBreadcrumb"],mounted:function(){var e=this;this.separator=this.elBreadcrumb.separator,this.separatorClass=this.elBreadcrumb.separatorClass,this.to&&function(){var t=e.$refs.link,i=e.to;t.setAttribute("role","link"),t.addEventListener("click",function(t){e.replace?e.$router.replace(i):e.$router.push(i)})}()}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",{staticClass:"el-breadcrumb__item"},[i("span",{ref:"link",class:["el-breadcrumb__inner",e.to?"is-link":""],attrs:{role:"link"}},[e._t("default")],2),e.separatorClass?i("i",{staticClass:"el-breadcrumb__separator",class:e.separatorClass}):i("span",{staticClass:"el-breadcrumb__separator",attrs:{role:"presentation"}},[e._v(e._s(e.separator))])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(280),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(281),s=i.n(n),r=i(282),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(10),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElForm",componentName:"ElForm",provide:function(){return{elForm:this}},props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0}},watch:{rules:function(){this.validateOnRuleChange&&this.validate(function(){})}},data:function(){return{fields:[]}},created:function(){var e=this;this.$on("el.form.addField",function(t){t&&e.fields.push(t)}),this.$on("el.form.removeField",function(t){t.prop&&e.fields.splice(e.fields.indexOf(t),1)})},methods:{resetFields:function(){this.model&&this.fields.forEach(function(e){e.resetField()})},clearValidate:function(){this.fields.forEach(function(e){e.clearValidate()})},validate:function(e){var t=this;if(!this.model)return void console.warn("[Element Warn][Form]model is required for validate to work!");var i=void 0;"function"!=typeof e&&window.Promise&&(i=new window.Promise(function(t,i){e=function(e){e?t(e):i(e)}}));var n=!0,r=0;0===this.fields.length&&e&&e(!0);var a={};return this.fields.forEach(function(i){i.validate("",function(i,o){i&&(n=!1),a=(0,s.default)({},a,o),"function"==typeof e&&++r===t.fields.length&&e(n,a)})}),i||void 0},validateField:function(e,t){var i=this.fields.filter(function(t){return t.prop===e})[0];if(!i)throw new Error("must call validateField with valid prop string!");i.validate("",t)}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("form",{staticClass:"el-form",class:[e.labelPosition?"el-form--label-"+e.labelPosition:"",{"el-form--inline":e.inline}]},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(284),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(285),s=i.n(n),r=i(341),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(286),r=n(s),a=i(1),o=n(a),l=i(10),u=n(l),c=i(6);t.default={name:"ElFormItem",componentName:"ElFormItem",mixins:[o.default],provide:function(){return{elFormItem:this}},inject:["elForm"],props:{label:String,labelWidth:String,prop:String,required:{type:Boolean,default:void 0},rules:[Object,Array],error:String,validateStatus:String,for:String,inlineMessage:{type:[String,Boolean],default:""},showMessage:{type:Boolean,default:!0},size:String},watch:{error:{immediate:!0,handler:function(e){this.validateMessage=e,this.validateState=e?"error":""}},validateStatus:function(e){this.validateState=e}},computed:{labelFor:function(){return this.for||this.prop},labelStyle:function(){var e={};if("top"===this.form.labelPosition)return e;var t=this.labelWidth||this.form.labelWidth;return t&&(e.width=t),e},contentStyle:function(){var e={},t=this.label;if("top"===this.form.labelPosition||this.form.inline)return e;if(!t&&!this.labelWidth&&this.isNested)return e;var i=this.labelWidth||this.form.labelWidth;return i&&(e.marginLeft=i),e},form:function(){for(var e=this.$parent,t=e.$options.componentName;"ElForm"!==t;)"ElFormItem"===t&&(this.isNested=!0),e=e.$parent,t=e.$options.componentName;return e},fieldValue:{cache:!1,get:function(){var e=this.form.model;if(e&&this.prop){var t=this.prop;return-1!==t.indexOf(":")&&(t=t.replace(/:/,".")),(0,c.getPropByPath)(e,t,!0).v}}},isRequired:function(){var e=this.getRules(),t=!1;return e&&e.length&&e.every(function(e){return!e.required||(t=!0,!1)}),t},_formSize:function(){return this.elForm.size},elFormItemSize:function(){return this.size||this._formSize},sizeClass:function(){return(this.$ELEMENT||{}).size||this.elFormItemSize}},data:function(){return{validateState:"",validateMessage:"",validateDisabled:!1,validator:{},isNested:!1}},methods:{validate:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:c.noop;this.validateDisabled=!1;var n=this.getFilteredRule(e);if((!n||0===n.length)&&void 0===this.required)return i(),!0;this.validateState="validating";var s={};n&&n.length>0&&n.forEach(function(e){delete e.trigger}),s[this.prop]=n;var a=new r.default(s),o={};o[this.prop]=this.fieldValue,a.validate(o,{firstFields:!0},function(e,n){t.validateState=e?"error":"success",t.validateMessage=e?e[0].message:"",i(t.validateMessage,n),t.elForm&&t.elForm.$emit("validate",t.prop,!e)})},clearValidate:function(){this.validateState="",this.validateMessage="",this.validateDisabled=!1},resetField:function(){this.validateState="",this.validateMessage="";var e=this.form.model,t=this.fieldValue,i=this.prop;-1!==i.indexOf(":")&&(i=i.replace(/:/,"."));var n=(0,c.getPropByPath)(e,i,!0);this.validateDisabled=!0,Array.isArray(t)?n.o[n.k]=[].concat(this.initialValue):n.o[n.k]=this.initialValue,this.broadcast("ElSelect","fieldReset"),this.broadcast("ElTimeSelect","fieldReset",this.initialValue)},getRules:function(){var e=this.form.rules,t=this.rules,i=void 0!==this.required?{required:!!this.required}:[],n=(0,c.getPropByPath)(e,this.prop||"");return e=e?n.o[this.prop||""]||n.v:[],[].concat(t||e||[]).concat(i)},getFilteredRule:function(e){return this.getRules().filter(function(t){return!t.trigger||""===e||(Array.isArray(t.trigger)?t.trigger.indexOf(e)>-1:t.trigger===e)}).map(function(e){return(0,u.default)({},e)})},onFieldBlur:function(){this.validate("blur")},onFieldChange:function(){if(this.validateDisabled)return void(this.validateDisabled=!1);this.validate("change")}},mounted:function(){if(this.prop){this.dispatch("ElForm","el.form.addField",[this]);var e=this.fieldValue;Array.isArray(e)&&(e=[].concat(e)),Object.defineProperty(this,"initialValue",{value:e});(this.getRules().length||void 0!==this.required)&&(this.$on("el.form.blur",this.onFieldBlur),this.$on("el.form.change",this.onFieldChange))}},beforeDestroy:function(){this.dispatch("ElForm","el.form.removeField",[this])}}},function(e,t,i){"use strict";function n(e){this.rules=null,this._messages=c.a,this.define(e)}Object.defineProperty(t,"__esModule",{value:!0});var s=i(77),r=i.n(s),a=i(41),o=i.n(a),l=i(4),u=i(320),c=i(340);n.prototype={messages:function(e){return e&&(this._messages=Object(l.c)(Object(c.b)(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if("object"!==(void 0===e?"undefined":o()(e))||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var t=void 0,i=void 0;for(t in e)e.hasOwnProperty(t)&&(i=e[t],this.rules[t]=Array.isArray(i)?i:[i])},validate:function(e){function t(e){var t=void 0,i=void 0,n=[],s={};for(t=0;t<e.length;t++)!function(e){Array.isArray(e)?n=n.concat.apply(n,e):n.push(e)}(e[t]);if(n.length)for(t=0;t<n.length;t++)i=n[t].field,s[i]=s[i]||[],s[i].push(n[t]);else n=null,s=null;h(n,s)}var i=this,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=arguments[2],u=e,d=s,h=a;if("function"==typeof d&&(h=d,d={}),!this.rules||0===Object.keys(this.rules).length)return void(h&&h());if(d.messages){var f=this.messages();f===c.a&&(f=Object(c.b)()),Object(l.c)(f,d.messages),d.messages=f}else d.messages=this.messages();var p=void 0,m=void 0,v={};(d.keys||Object.keys(this.rules)).forEach(function(t){p=i.rules[t],m=u[t],p.forEach(function(n){var s=n;"function"==typeof s.transform&&(u===e&&(u=r()({},u)),m=u[t]=s.transform(m)),s="function"==typeof s?{validator:s}:r()({},s),s.validator=i.getValidationMethod(s),s.field=t,s.fullField=s.fullField||t,s.type=i.getType(s),s.validator&&(v[t]=v[t]||[],v[t].push({rule:s,value:m,source:u,field:t}))})});var g={};Object(l.a)(v,d,function(e,t){function i(e,t){return r()({},t,{fullField:a.fullField+"."+e})}function s(){var s=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],o=s;if(Array.isArray(o)||(o=[o]),o.length&&Object(l.f)("async-validator:",o),o.length&&a.message&&(o=[].concat(a.message)),o=o.map(Object(l.b)(a)),d.first&&o.length)return g[a.field]=1,t(o);if(u){if(a.required&&!e.value)return o=a.message?[].concat(a.message).map(Object(l.b)(a)):d.error?[d.error(a,Object(l.d)(d.messages.required,a.field))]:[],t(o);var c={};if(a.defaultField)for(var h in e.value)e.value.hasOwnProperty(h)&&(c[h]=a.defaultField);c=r()({},c,e.rule.fields);for(var f in c)if(c.hasOwnProperty(f)){var p=Array.isArray(c[f])?c[f]:[c[f]];c[f]=p.map(i.bind(null,f))}var m=new n(c);m.messages(d.messages),e.rule.options&&(e.rule.options.messages=d.messages,e.rule.options.error=d.error),m.validate(e.value,e.rule.options||d,function(e){t(e&&e.length?o.concat(e):e)})}else t(o)}var a=e.rule,u=!("object"!==a.type&&"array"!==a.type||"object"!==o()(a.fields)&&"object"!==o()(a.defaultField));u=u&&(a.required||!a.required&&e.value),a.field=e.field;var c=a.validator(a,e.value,s,e.source,d);c&&c.then&&c.then(function(){return s()},function(e){return s(e)})},function(e){t(e)})},getType:function(e){if(void 0===e.type&&e.pattern instanceof RegExp&&(e.type="pattern"),"function"!=typeof e.validator&&e.type&&!u.a.hasOwnProperty(e.type))throw new Error(Object(l.d)("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if("function"==typeof e.validator)return e.validator;var t=Object.keys(e),i=t.indexOf("message");return-1!==i&&t.splice(i,1),1===t.length&&"required"===t[0]?u.a.required:u.a[this.getType(e)]||!1}},n.register=function(e,t){if("function"!=typeof t)throw new Error("Cannot register a validator by type, validator is not a function");u.a[e]=t},n.messages=c.a,t.default=n},function(e,t,i){e.exports={default:i(288),__esModule:!0}},function(e,t,i){i(289),e.exports=i(35).Object.assign},function(e,t,i){var n=i(51);n(n.S+n.F,"Object",{assign:i(292)})},function(e,t,i){var n=i(291);e.exports=function(e,t,i){if(n(e),void 0===t)return e;switch(i){case 1:return function(i){return e.call(t,i)};case 2:return function(i,n){return e.call(t,i,n)};case 3:return function(i,n,s){return e.call(t,i,n,s)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){if("function"!=typeof e)throw TypeError(e+" is not a function!");return e}},function(e,t,i){"use strict";var n=i(29),s=i(58),r=i(40),a=i(83),o=i(81),l=Object.assign;e.exports=!l||i(28)(function(){var e={},t={},i=Symbol(),n="abcdefghijklmnopqrst";return e[i]=7,n.split("").forEach(function(e){t[e]=e}),7!=l({},e)[i]||Object.keys(l({},t)).join("")!=n})?function(e,t){for(var i=a(e),l=arguments.length,u=1,c=s.f,d=r.f;l>u;)for(var h,f=o(arguments[u++]),p=c?n(f).concat(c(f)):n(f),m=p.length,v=0;m>v;)d.call(f,h=p[v++])&&(i[h]=f[h]);return i}:l},function(e,t,i){var n=i(21),s=i(294),r=i(295);e.exports=function(e){return function(t,i,a){var o,l=n(t),u=s(l.length),c=r(a,u);if(e&&i!=i){for(;u>c;)if((o=l[c++])!=o)return!0}else for(;u>c;c++)if((e||c in l)&&l[c]===i)return e||c||0;return!e&&-1}}},function(e,t,i){var n=i(54),s=Math.min;e.exports=function(e){return e>0?s(n(e),9007199254740991):0}},function(e,t,i){var n=i(54),s=Math.max,r=Math.min;e.exports=function(e,t){return e=n(e),e<0?s(e+t,0):r(e,t)}},function(e,t,i){e.exports={default:i(297),__esModule:!0}},function(e,t,i){i(298),i(304),e.exports=i(62).f("iterator")},function(e,t,i){"use strict";var n=i(299)(!0);i(84)(String,"String",function(e){this._t=String(e),this._i=0},function(){var e,t=this._t,i=this._i;return i>=t.length?{value:void 0,done:!0}:(e=n(t,i),this._i+=e.length,{value:e,done:!1})})},function(e,t,i){var n=i(54),s=i(53);e.exports=function(e){return function(t,i){var r,a,o=String(s(t)),l=n(i),u=o.length;return l<0||l>=u?e?"":void 0:(r=o.charCodeAt(l),r<55296||r>56319||l+1===u||(a=o.charCodeAt(l+1))<56320||a>57343?e?o.charAt(l):r:e?o.slice(l,l+2):a-56320+(r-55296<<10)+65536)}}},function(e,t,i){"use strict";var n=i(86),s=i(38),r=i(61),a={};i(22)(a,i(25)("iterator"),function(){return this}),e.exports=function(e,t,i){e.prototype=n(a,{next:s(1,i)}),r(e,t+" Iterator")}},function(e,t,i){var n=i(23),s=i(36),r=i(29);e.exports=i(24)?Object.defineProperties:function(e,t){s(e);for(var i,a=r(t),o=a.length,l=0;o>l;)n.f(e,i=a[l++],t[i]);return e}},function(e,t,i){e.exports=i(16).document&&document.documentElement},function(e,t,i){var n=i(20),s=i(83),r=i(55)("IE_PROTO"),a=Object.prototype;e.exports=Object.getPrototypeOf||function(e){return e=s(e),n(e,r)?e[r]:"function"==typeof e.constructor&&e instanceof e.constructor?e.constructor.prototype:e instanceof Object?a:null}},function(e,t,i){i(305);for(var n=i(16),s=i(22),r=i(60),a=i(25)("toStringTag"),o=["NodeList","DOMTokenList","MediaList","StyleSheetList","CSSRuleList"],l=0;l<5;l++){var u=o[l],c=n[u],d=c&&c.prototype;d&&!d[a]&&s(d,a,u),r[u]=r.Array}},function(e,t,i){"use strict";var n=i(306),s=i(307),r=i(60),a=i(21);e.exports=i(84)(Array,"Array",function(e,t){this._t=a(e),this._i=0,this._k=t},function(){var e=this._t,t=this._k,i=this._i++;return!e||i>=e.length?(this._t=void 0,s(1)):"keys"==t?s(0,i):"values"==t?s(0,e[i]):s(0,[i,e[i]])},"values"),r.Arguments=r.Array,n("keys"),n("values"),n("entries")},function(e,t){e.exports=function(){}},function(e,t){e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,i){e.exports={default:i(309),__esModule:!0}},function(e,t,i){i(310),i(317),i(318),i(319),e.exports=i(35).Symbol},function(e,t,i){"use strict";var n=i(16),s=i(20),r=i(24),a=i(51),o=i(85),l=i(311).KEY,u=i(28),c=i(56),d=i(61),h=i(39),f=i(25),p=i(62),m=i(63),v=i(312),g=i(313),b=i(314),y=i(36),_=i(21),C=i(52),x=i(38),w=i(86),k=i(315),S=i(316),M=i(23),$=i(29),D=S.f,E=M.f,T=k.f,O=n.Symbol,P=n.JSON,N=P&&P.stringify,F=f("_hidden"),I=f("toPrimitive"),A={}.propertyIsEnumerable,V=c("symbol-registry"),L=c("symbols"),B=c("op-symbols"),R=Object.prototype,z="function"==typeof O,j=n.QObject,H=!j||!j.prototype||!j.prototype.findChild,W=r&&u(function(){return 7!=w(E({},"a",{get:function(){return E(this,"a",{value:7}).a}})).a})?function(e,t,i){var n=D(R,t);n&&delete R[t],E(e,t,i),n&&e!==R&&E(R,t,n)}:E,q=function(e){var t=L[e]=w(O.prototype);return t._k=e,t},K=z&&"symbol"==typeof O.iterator?function(e){return"symbol"==typeof e}:function(e){return e instanceof O},Y=function(e,t,i){return e===R&&Y(B,t,i),y(e),t=C(t,!0),y(i),s(L,t)?(i.enumerable?(s(e,F)&&e[F][t]&&(e[F][t]=!1),i=w(i,{enumerable:x(0,!1)})):(s(e,F)||E(e,F,x(1,{})),e[F][t]=!0),W(e,t,i)):E(e,t,i)},G=function(e,t){y(e);for(var i,n=g(t=_(t)),s=0,r=n.length;r>s;)Y(e,i=n[s++],t[i]);return e},U=function(e,t){return void 0===t?w(e):G(w(e),t)},X=function(e){var t=A.call(this,e=C(e,!0));return!(this===R&&s(L,e)&&!s(B,e))&&(!(t||!s(this,e)||!s(L,e)||s(this,F)&&this[F][e])||t)},J=function(e,t){if(e=_(e),t=C(t,!0),e!==R||!s(L,t)||s(B,t)){var i=D(e,t);return!i||!s(L,t)||s(e,F)&&e[F][t]||(i.enumerable=!0),i}},Z=function(e){for(var t,i=T(_(e)),n=[],r=0;i.length>r;)s(L,t=i[r++])||t==F||t==l||n.push(t);return n},Q=function(e){for(var t,i=e===R,n=T(i?B:_(e)),r=[],a=0;n.length>a;)!s(L,t=n[a++])||i&&!s(R,t)||r.push(L[t]);return r};z||(O=function(){if(this instanceof O)throw TypeError("Symbol is not a constructor!");var e=h(arguments.length>0?arguments[0]:void 0),t=function(i){this===R&&t.call(B,i),s(this,F)&&s(this[F],e)&&(this[F][e]=!1),W(this,e,x(1,i))};return r&&H&&W(R,e,{configurable:!0,set:t}),q(e)},o(O.prototype,"toString",function(){return this._k}),S.f=J,M.f=Y,i(87).f=k.f=Z,i(40).f=X,i(58).f=Q,r&&!i(59)&&o(R,"propertyIsEnumerable",X,!0),p.f=function(e){return q(f(e))}),a(a.G+a.W+a.F*!z,{Symbol:O});for(var ee="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),te=0;ee.length>te;)f(ee[te++]);for(var ee=$(f.store),te=0;ee.length>te;)m(ee[te++]);a(a.S+a.F*!z,"Symbol",{for:function(e){return s(V,e+="")?V[e]:V[e]=O(e)},keyFor:function(e){if(K(e))return v(V,e);throw TypeError(e+" is not a symbol!")},useSetter:function(){H=!0},useSimple:function(){H=!1}}),a(a.S+a.F*!z,"Object",{create:U,defineProperty:Y,defineProperties:G,getOwnPropertyDescriptor:J,getOwnPropertyNames:Z,getOwnPropertySymbols:Q}),P&&a(a.S+a.F*(!z||u(function(){var e=O();return"[null]"!=N([e])||"{}"!=N({a:e})||"{}"!=N(Object(e))})),"JSON",{stringify:function(e){if(void 0!==e&&!K(e)){for(var t,i,n=[e],s=1;arguments.length>s;)n.push(arguments[s++]);return t=n[1],"function"==typeof t&&(i=t),!i&&b(t)||(t=function(e,t){if(i&&(t=i.call(this,e,t)),!K(t))return t}),n[1]=t,N.apply(P,n)}}}),O.prototype[I]||i(22)(O.prototype,I,O.prototype.valueOf),d(O,"Symbol"),d(Math,"Math",!0),d(n.JSON,"JSON",!0)},function(e,t,i){var n=i(39)("meta"),s=i(37),r=i(20),a=i(23).f,o=0,l=Object.isExtensible||function(){return!0},u=!i(28)(function(){return l(Object.preventExtensions({}))}),c=function(e){a(e,n,{value:{i:"O"+ ++o,w:{}}})},d=function(e,t){if(!s(e))return"symbol"==typeof e?e:("string"==typeof e?"S":"P")+e;if(!r(e,n)){if(!l(e))return"F";if(!t)return"E";c(e)}return e[n].i},h=function(e,t){if(!r(e,n)){if(!l(e))return!0;if(!t)return!1;c(e)}return e[n].w},f=function(e){return u&&p.NEED&&l(e)&&!r(e,n)&&c(e),e},p=e.exports={KEY:n,NEED:!1,fastKey:d,getWeak:h,onFreeze:f}},function(e,t,i){var n=i(29),s=i(21);e.exports=function(e,t){for(var i,r=s(e),a=n(r),o=a.length,l=0;o>l;)if(r[i=a[l++]]===t)return i}},function(e,t,i){var n=i(29),s=i(58),r=i(40);e.exports=function(e){var t=n(e),i=s.f;if(i)for(var a,o=i(e),l=r.f,u=0;o.length>u;)l.call(e,a=o[u++])&&t.push(a);return t}},function(e,t,i){var n=i(82);e.exports=Array.isArray||function(e){return"Array"==n(e)}},function(e,t,i){var n=i(21),s=i(87).f,r={}.toString,a="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],o=function(e){try{return s(e)}catch(e){return a.slice()}};e.exports.f=function(e){return a&&"[object Window]"==r.call(e)?o(e):s(n(e))}},function(e,t,i){var n=i(40),s=i(38),r=i(21),a=i(52),o=i(20),l=i(78),u=Object.getOwnPropertyDescriptor;t.f=i(24)?u:function(e,t){if(e=r(e),t=a(t,!0),l)try{return u(e,t)}catch(e){}if(o(e,t))return s(!n.f.call(e,t),e[t])}},function(e,t){},function(e,t,i){i(63)("asyncIterator")},function(e,t,i){i(63)("observable")},function(e,t,i){"use strict";var n=i(321),s=i(327),r=i(328),a=i(329),o=i(330),l=i(331),u=i(332),c=i(333),d=i(334),h=i(335),f=i(336),p=i(337),m=i(338),v=i(339);t.a={string:n.a,method:s.a,number:r.a,boolean:a.a,regexp:o.a,integer:l.a,float:u.a,array:c.a,object:d.a,enum:h.a,pattern:f.a,date:p.a,url:v.a,hex:v.a,email:v.a,required:m.a}},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t,"string")&&!e.required)return i();s.a.required(e,t,n,o,a,"string"),Object(r.e)(t,"string")||(s.a.type(e,t,n,o,a),s.a.range(e,t,n,o,a),s.a.pattern(e,t,n,o,a),!0===e.whitespace&&s.a.whitespace(e,t,n,o,a))}i(o)}var s=i(7),r=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,r){(/^\s+$/.test(t)||""===t)&&n.push(s.d(r.messages.whitespace,e.fullField))}var s=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,s){if(e.required&&void 0===t)return void Object(o.a)(e,t,i,n,s);var l=["integer","float","array","regexp","object","method","email","number","date","url","hex"],c=e.type;l.indexOf(c)>-1?u[c](t)||n.push(a.d(s.messages.types[c],e.fullField,e.type)):c&&(void 0===t?"undefined":r()(t))!==e.type&&n.push(a.d(s.messages.types[c],e.fullField,e.type))}var s=i(41),r=i.n(s),a=i(4),o=i(88),l={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-?)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},u={integer:function(e){return u.number(e)&&parseInt(e,10)===e},float:function(e){return u.number(e)&&!u.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(e){return!1}},date:function(e){return"function"==typeof e.getTime&&"function"==typeof e.getMonth&&"function"==typeof e.getYear},number:function(e){return!isNaN(e)&&"number"==typeof e},object:function(e){return"object"===(void 0===e?"undefined":r()(e))&&!u.array(e)},method:function(e){return"function"==typeof e},email:function(e){return"string"==typeof e&&!!e.match(l.email)&&e.length<255},url:function(e){return"string"==typeof e&&!!e.match(l.url)},hex:function(e){return"string"==typeof e&&!!e.match(l.hex)}};t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,r){var a="number"==typeof e.len,o="number"==typeof e.min,l="number"==typeof e.max,u=t,c=null,d="number"==typeof t,h="string"==typeof t,f=Array.isArray(t);if(d?c="number":h?c="string":f&&(c="array"),!c)return!1;(h||f)&&(u=t.length),a?u!==e.len&&n.push(s.d(r.messages[c].len,e.fullField,e.len)):o&&!l&&u<e.min?n.push(s.d(r.messages[c].min,e.fullField,e.min)):l&&!o&&u>e.max?n.push(s.d(r.messages[c].max,e.fullField,e.max)):o&&l&&(u<e.min||u>e.max)&&n.push(s.d(r.messages[c].range,e.fullField,e.min,e.max))}var s=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){e[r]=Array.isArray(e[r])?e[r]:[],-1===e[r].indexOf(t)&&n.push(s.d(a.messages[r],e.fullField,e[r].join(", ")))}var s=i(4),r="enum";t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,r){if(e.pattern)if(e.pattern instanceof RegExp)e.pattern.test(t)||n.push(s.d(r.messages.pattern.mismatch,e.fullField,t,e.pattern));else if("string"==typeof e.pattern){var a=new RegExp(e.pattern);a.test(t)||n.push(s.d(r.messages.pattern.mismatch,e.fullField,t,e.pattern))}}var s=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t)&&!e.required)return i();s.a.required(e,t,n,o,a),void 0!==t&&s.a.type(e,t,n,o,a)}i(o)}var s=i(7),r=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t)&&!e.required)return i();s.a.required(e,t,n,o,a),void 0!==t&&(s.a.type(e,t,n,o,a),s.a.range(e,t,n,o,a))}i(o)}var s=i(7),r=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(s.e)(t)&&!e.required)return i();r.a.required(e,t,n,o,a),void 0!==t&&r.a.type(e,t,n,o,a)}i(o)}var s=i(4),r=i(7);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t)&&!e.required)return i();s.a.required(e,t,n,o,a),Object(r.e)(t)||s.a.type(e,t,n,o,a)}i(o)}var s=i(7),r=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t)&&!e.required)return i();s.a.required(e,t,n,o,a),void 0!==t&&(s.a.type(e,t,n,o,a),s.a.range(e,t,n,o,a))}i(o)}var s=i(7),r=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t)&&!e.required)return i();s.a.required(e,t,n,o,a),void 0!==t&&(s.a.type(e,t,n,o,a),s.a.range(e,t,n,o,a))}i(o)}var s=i(7),r=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t,"array")&&!e.required)return i();s.a.required(e,t,n,o,a,"array"),Object(r.e)(t,"array")||(s.a.type(e,t,n,o,a),s.a.range(e,t,n,o,a))}i(o)}var s=i(7),r=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t)&&!e.required)return i();s.a.required(e,t,n,o,a),void 0!==t&&s.a.type(e,t,n,o,a)}i(o)}var s=i(7),r=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,o){var l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t)&&!e.required)return i();s.a.required(e,t,n,l,o),t&&s.a[a](e,t,n,l,o)}i(l)}var s=i(7),r=i(4),a="enum";t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t,"string")&&!e.required)return i();s.a.required(e,t,n,o,a),Object(r.e)(t,"string")||s.a.pattern(e,t,n,o,a)}i(o)}var s=i(7),r=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t)&&!e.required)return i();s.a.required(e,t,n,o,a),Object(r.e)(t)||(s.a.type(e,t,n,o,a),t&&s.a.range(e,t.getTime(),n,o,a))}i(o)}var s=i(7),r=i(4);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,s){var o=[],l=Array.isArray(t)?"array":void 0===t?"undefined":r()(t);a.a.required(e,t,n,o,s,l),i(o)}var s=i(41),r=i.n(s),a=i(7);t.a=n},function(e,t,i){"use strict";function n(e,t,i,n,a){var o=e.type,l=[];if(e.required||!e.required&&n.hasOwnProperty(e.field)){if(Object(r.e)(t,o)&&!e.required)return i();s.a.required(e,t,n,l,a,o),Object(r.e)(t,o)||s.a.type(e,t,n,l,a)}i(l)}var s=i(7),r=i(4);t.a=n},function(e,t,i){"use strict";function n(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}t.b=n,i.d(t,"a",function(){return s});var s=n()},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-form-item",class:[{"el-form-item--feedback":e.elForm&&e.elForm.statusIcon,"is-error":"error"===e.validateState,"is-validating":"validating"===e.validateState,"is-success":"success"===e.validateState,"is-required":e.isRequired||e.required},e.sizeClass?"el-form-item--"+e.sizeClass:""]},[e.label||e.$slots.label?i("label",{staticClass:"el-form-item__label",style:e.labelStyle,attrs:{for:e.labelFor}},[e._t("label",[e._v(e._s(e.label+e.form.labelSuffix))])],2):e._e(),i("div",{staticClass:"el-form-item__content",style:e.contentStyle},[e._t("default"),i("transition",{attrs:{name:"el-zoom-in-top"}},["error"===e.validateState&&e.showMessage&&e.form.showMessage?i("div",{staticClass:"el-form-item__error",class:{"el-form-item__error--inline":"boolean"==typeof e.inlineMessage?e.inlineMessage:e.elForm&&e.elForm.inlineMessage||!1}},[e._v("\n "+e._s(e.validateMessage)+"\n ")]):e._e()])],2)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(343),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(344),s=i.n(n),r=i(0),a=r(s.a,null,!1,null,null,null);t.default=a.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(345),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElTabs",components:{TabNav:s.default},props:{type:String,activeName:String,closable:Boolean,addable:Boolean,value:{},editable:Boolean,tabPosition:{type:String,default:"top"}},provide:function(){return{rootTabs:this}},data:function(){return{currentName:this.value||this.activeName,panes:[]}},watch:{activeName:function(e){this.setCurrentName(e)},value:function(e){this.setCurrentName(e)},currentName:function(e){var t=this;this.$refs.nav&&this.$nextTick(function(e){t.$refs.nav.scrollToActiveTab()})}},methods:{handleTabClick:function(e,t,i){e.disabled||(this.setCurrentName(t),this.$emit("tab-click",e,i))},handleTabRemove:function(e,t){e.disabled||(t.stopPropagation(),this.$emit("edit",e.name,"remove"),this.$emit("tab-remove",e.name))},handleTabAdd:function(){this.$emit("edit",null,"add"),this.$emit("tab-add")},setCurrentName:function(e){this.currentName=e,this.$emit("input",e)},addPanes:function(e){var t=this.$slots.default.filter(function(e){return 1===e.elm.nodeType&&/\bel-tab-pane\b/.test(e.elm.className)}).indexOf(e.$vnode);this.panes.splice(t,0,e)},removePanes:function(e){var t=this.panes,i=t.indexOf(e);i>-1&&t.splice(i,1)}},render:function(e){var t,i=this.type,n=this.handleTabClick,s=this.handleTabRemove,r=this.handleTabAdd,a=this.currentName,o=this.panes,l=this.editable,u=this.addable,c=this.tabPosition,d=l||u?e("span",{class:"el-tabs__new-tab",on:{click:r,keydown:function(e){13===e.keyCode&&r()}},attrs:{tabindex:"0"}},[e("i",{class:"el-icon-plus"},[])]):null,h={props:{currentName:a,onTabClick:n,onTabRemove:s,editable:l,type:i,panes:o},ref:"nav"},f=e("div",{class:["el-tabs__header","is-"+c]},[d,e("tab-nav",h,[])]),p=e("div",{class:"el-tabs__content"},[this.$slots.default]);return e("div",{class:(t={"el-tabs":!0,"el-tabs--card":"card"===i},t["el-tabs--"+c]=!0,t["el-tabs--border-card"]="border-card"===i,t)},["bottom"!==c?[f,p]:[p,f]])},created:function(){this.currentName||this.setCurrentName("0")}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(346),s=i.n(n),r=i(0),a=r(s.a,null,!1,null,null,null);t.default=a.exports},function(e,t,i){"use strict";function n(){}t.__esModule=!0;var s=i(347),r=function(e){return e&&e.__esModule?e:{default:e}}(s),a=i(27),o=function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,function(e){return e.toUpperCase()})};t.default={name:"TabNav",components:{TabBar:r.default},inject:["rootTabs"],props:{panes:Array,currentName:String,editable:Boolean,onTabClick:{type:Function,default:n},onTabRemove:{type:Function,default:n},type:String},data:function(){return{scrollable:!1,navOffset:0,isFocus:!1,focusable:!0}},computed:{navStyle:function(){return{transform:"translate"+(-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"X":"Y")+"(-"+this.navOffset+"px)"}},sizeName:function(){return-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height"}},methods:{scrollPrev:function(){var e=this.$refs.navScroll["offset"+o(this.sizeName)],t=this.navOffset;if(t){var i=t>e?t-e:0;this.navOffset=i}},scrollNext:function(){var e=this.$refs.nav["offset"+o(this.sizeName)],t=this.$refs.navScroll["offset"+o(this.sizeName)],i=this.navOffset;if(!(e-i<=t)){var n=e-i>2*t?i+t:e-t;this.navOffset=n}},scrollToActiveTab:function(){if(this.scrollable){var e=this.$refs.nav,t=this.$el.querySelector(".is-active");if(t){var i=this.$refs.navScroll,n=t.getBoundingClientRect(),s=i.getBoundingClientRect(),r=e.getBoundingClientRect(),a=this.navOffset,o=a;n.left<s.left&&(o=a-(s.left-n.left)),n.right>s.right&&(o=a+n.right-s.right),r.right<s.right&&(o=e.offsetWidth-s.width),this.navOffset=Math.max(o,0)}}},update:function(){if(this.$refs.nav){var e=this.sizeName,t=this.$refs.nav["offset"+o(e)],i=this.$refs.navScroll["offset"+o(e)],n=this.navOffset;if(i<t){var s=this.navOffset;this.scrollable=this.scrollable||{},this.scrollable.prev=s,this.scrollable.next=s+i<t,t-s<i&&(this.navOffset=t-i)}else this.scrollable=!1,n>0&&(this.navOffset=0)}},changeTab:function(e){var t=e.keyCode,i=void 0,n=void 0,s=void 0;-1!==[37,38,39,40].indexOf(t)&&(s=e.currentTarget.querySelectorAll("[role=tab]"),n=Array.prototype.indexOf.call(s,e.target),i=37===t||38===t?0===n?s.length-1:n-1:n<s.length-1?n+1:0,s[i].focus(),s[i].click(),this.setFocus())},setFocus:function(){this.focusable&&(this.isFocus=!0)},removeFocus:function(){this.isFocus=!1},visibilityChangeHandler:function(){var e=this,t=document.visibilityState;"hidden"===t?this.focusable=!1:"visible"===t&&setTimeout(function(){e.focusable=!0},50)},windowBlurHandler:function(){this.focusable=!1},windowFocusHandler:function(){var e=this;setTimeout(function(){e.focusable=!0},50)}},updated:function(){this.update()},render:function(e){var t=this,i=this.type,n=this.panes,s=this.editable,r=this.onTabClick,a=this.onTabRemove,o=this.navStyle,l=this.scrollable,u=this.scrollNext,c=this.scrollPrev,d=this.changeTab,h=this.setFocus,f=this.removeFocus,p=l?[e("span",{class:["el-tabs__nav-prev",l.prev?"":"is-disabled"],on:{click:c}},[e("i",{class:"el-icon-arrow-left"},[])]),e("span",{class:["el-tabs__nav-next",l.next?"":"is-disabled"],on:{click:u}},[e("i",{class:"el-icon-arrow-right"},[])])]:null,m=this._l(n,function(i,n){var o,l=i.name||i.index||n,u=i.isClosable||s;i.index=""+n;var c=u?e("span",{class:"el-icon-close",on:{click:function(e){a(i,e)}}},[]):null,d=i.$slots.label||i.label,p=i.active?0:-1;return e("div",{class:(o={"el-tabs__item":!0},o["is-"+t.rootTabs.tabPosition]=!0,o["is-active"]=i.active,o["is-disabled"]=i.disabled,o["is-closable"]=u,o["is-focus"]=t.isFocus,o),attrs:{id:"tab-"+l,"aria-controls":"pane-"+l,role:"tab","aria-selected":i.active,tabindex:p},ref:"tabs",refInFor:!0,on:{focus:function(){h()},blur:function(){f()},click:function(e){f(),r(i,l,e)},keydown:function(e){!u||46!==e.keyCode&&8!==e.keyCode||a(i,e)}}},[d,c])});return e("div",{class:["el-tabs__nav-wrap",l?"is-scrollable":"","is-"+this.rootTabs.tabPosition]},[p,e("div",{class:["el-tabs__nav-scroll"],ref:"navScroll"},[e("div",{class:"el-tabs__nav",ref:"nav",style:o,attrs:{role:"tablist"},on:{keydown:d}},[i?null:e("tab-bar",{attrs:{tabs:n}},[]),m])])])},mounted:function(){(0,a.addResizeListener)(this.$el,this.update),document.addEventListener("visibilitychange",this.visibilityChangeHandler),window.addEventListener("blur",this.windowBlurHandler),window.addEventListener("focus",this.windowFocusHandler)},beforeDestroy:function(){this.$el&&this.update&&(0,a.removeResizeListener)(this.$el,this.update),document.removeEventListener("visibilitychange",this.visibilityChangeHandler),window.removeEventListener("blur",this.windowBlurHandler),window.removeEventListener("focus",this.windowFocusHandler)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(348),s=i.n(n),r=i(349),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"TabBar",props:{tabs:Array},inject:["rootTabs"],computed:{barStyle:{cache:!1,get:function(){var e=this;if(!this.$parent.$refs.tabs)return{};var t={},i=0,n=0,s=-1!==["top","bottom"].indexOf(this.rootTabs.tabPosition)?"width":"height",r="width"===s?"x":"y",a=function(e){return e.toLowerCase().replace(/( |^)[a-z]/g,function(e){return e.toUpperCase()})};this.tabs.every(function(t,r){var o=e.$parent.$refs.tabs[r];return!!o&&(t.active?(n=o["client"+a(s)],"width"===s&&e.tabs.length>1&&(n-=0===r||r===e.tabs.length-1?20:40),!1):(i+=o["client"+a(s)],!0))}),"width"===s&&0!==i&&(i+=20);var o="translate"+a(r)+"("+i+"px)";return t[s]=n+"px",t.transform=o,t.msTransform=o,t.webkitTransform=o,t}}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"el-tabs__active-bar",class:"is-"+e.rootTabs.tabPosition,style:e.barStyle})},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(351),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(352),s=i.n(n),r=i(353),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElTabPane",componentName:"ElTabPane",props:{label:String,labelContent:Function,name:String,closable:Boolean,disabled:Boolean},data:function(){return{index:null}},computed:{isClosable:function(){return this.closable||this.$parent.closable},active:function(){return this.$parent.currentName===(this.name||this.index)},paneName:function(){return this.name||this.index}},mounted:function(){this.$parent.addPanes(this)},destroyed:function(){this.$el&&this.$el.parentNode&&this.$el.parentNode.removeChild(this.$el),this.$parent.removePanes(this)},watch:{label:function(){this.$parent.$forceUpdate()}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{directives:[{name:"show",rawName:"v-show",value:e.active,expression:"active"}],staticClass:"el-tab-pane",attrs:{role:"tabpanel","aria-hidden":!e.active,id:"pane-"+e.paneName,"aria-labelledby":"tab-"+e.paneName}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(355),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(356),s=i.n(n),r=i(362),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(357),r=n(s),a=i(42),o=i(359),l=n(o),u=i(17),c=i(1),d=n(c),h=i(3);t.default={name:"ElTree",mixins:[d.default],components:{ElTreeNode:l.default},data:function(){return{store:null,root:null,currentNode:null,treeItems:null,checkboxItems:[],dragState:{showDropIndicator:!1,draggingNode:null,dropNode:null,allowDrop:!0}}},props:{data:{type:Array},emptyText:{type:String,default:function(){return(0,u.t)("el.tree.emptyText")}},renderAfterExpand:{type:Boolean,default:!0},nodeKey:String,checkStrictly:Boolean,defaultExpandAll:Boolean,expandOnClickNode:{type:Boolean,default:!0},checkOnClickNode:Boolean,checkDescendants:{type:Boolean,default:!1},autoExpandParent:{type:Boolean,default:!0},defaultCheckedKeys:Array,defaultExpandedKeys:Array,renderContent:Function,showCheckbox:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},allowDrag:Function,allowDrop:Function,props:{default:function(){return{children:"children",label:"label",icon:"icon",disabled:"disabled"}}},lazy:{type:Boolean,default:!1},highlightCurrent:Boolean,load:Function,filterNodeMethod:Function,accordion:Boolean,indent:{type:Number,default:18}},computed:{children:{set:function(e){this.data=e},get:function(){return this.data}},treeItemArray:function(){return Array.prototype.slice.call(this.treeItems)}},watch:{defaultCheckedKeys:function(e){this.store.defaultCheckedKeys=e,this.store.setDefaultCheckedKey(e)},defaultExpandedKeys:function(e){this.store.defaultExpandedKeys=e,this.store.setDefaultExpandedKeys(e)},data:function(e){this.store.setData(e)},checkboxItems:function(e){Array.prototype.forEach.call(e,function(e){e.setAttribute("tabindex",-1)})},checkStrictly:function(e){this.store.checkStrictly=e}},methods:{filter:function(e){if(!this.filterNodeMethod)throw new Error("[Tree] filterNodeMethod is required when filter");this.store.filter(e)},getNodeKey:function(e){return(0,a.getNodeKey)(this.nodeKey,e.data)},getNodePath:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getNodePath");var t=this.store.getNode(e);if(!t)return[];for(var i=[t.data],n=t.parent;n&&n!==this.root;)i.push(n.data),n=n.parent;return i.reverse()},getCheckedNodes:function(e){return this.store.getCheckedNodes(e)},getCheckedKeys:function(e){return this.store.getCheckedKeys(e)},getCurrentNode:function(){var e=this.store.getCurrentNode();return e?e.data:null},getCurrentKey:function(){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in getCurrentKey");var e=this.getCurrentNode();return e?e[this.nodeKey]:null},setCheckedNodes:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedNodes");this.store.setCheckedNodes(e,t)},setCheckedKeys:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCheckedKeys");this.store.setCheckedKeys(e,t)},setChecked:function(e,t,i){this.store.setChecked(e,t,i)},getHalfCheckedNodes:function(){return this.store.getHalfCheckedNodes()},getHalfCheckedKeys:function(){return this.store.getHalfCheckedKeys()},setCurrentNode:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentNode");this.store.setUserCurrentNode(e)},setCurrentKey:function(e){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in setCurrentKey");this.store.setCurrentNodeKey(e)},getNode:function(e){return this.store.getNode(e)},remove:function(e){this.store.remove(e)},append:function(e,t){this.store.append(e,t)},insertBefore:function(e,t){this.store.insertBefore(e,t)},insertAfter:function(e,t){this.store.insertAfter(e,t)},handleNodeExpand:function(e,t,i){this.broadcast("ElTreeNode","tree-node-expand",t),this.$emit("node-expand",e,t,i)},updateKeyChildren:function(e,t){if(!this.nodeKey)throw new Error("[Tree] nodeKey is required in updateKeyChild");this.store.updateChildren(e,t)},initTabIndex:function(){this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]");var e=this.$el.querySelectorAll(".is-checked[role=treeitem]");if(e.length)return void e[0].setAttribute("tabindex",0);this.treeItems[0]&&this.treeItems[0].setAttribute("tabindex",0)},handelKeydown:function(e){var t=e.target;if(-1!==t.className.indexOf("el-tree-node")){e.preventDefault();var i=e.keyCode;this.treeItems=this.$el.querySelectorAll(".is-focusable[role=treeitem]");var n=this.treeItemArray.indexOf(t),s=void 0;[38,40].indexOf(i)>-1&&(s=38===i?0!==n?n-1:0:n<this.treeItemArray.length-1?n+1:0,this.treeItemArray[s].focus()),[37,39].indexOf(i)>-1&&t.click();var r=t.querySelector('[type="checkbox"]');[13,32].indexOf(i)>-1&&r&&r.click()}}},created:function(){var e=this;this.isTree=!0,this.store=new r.default({key:this.nodeKey,data:this.data,lazy:this.lazy,props:this.props,load:this.load,currentNodeKey:this.currentNodeKey,checkStrictly:this.checkStrictly,checkDescendants:this.checkDescendants,defaultCheckedKeys:this.defaultCheckedKeys,defaultExpandedKeys:this.defaultExpandedKeys,autoExpandParent:this.autoExpandParent,defaultExpandAll:this.defaultExpandAll,filterNodeMethod:this.filterNodeMethod}),this.root=this.store.root;var t=this.dragState;this.$on("tree-node-drag-start",function(i,n){if("function"==typeof e.allowDrag&&!e.allowDrag(n.node))return i.preventDefault(),!1;i.dataTransfer.effectAllowed="move";try{i.dataTransfer.setData("text/plain","")}catch(e){}t.draggingNode=n,e.$emit("node-drag-start",n.node,i)}),this.$on("tree-node-drag-over",function(i,n){var s=(0,a.findNearestComponent)(i.target,"ElTreeNode"),r=t.dropNode;r&&r!==s&&(0,h.removeClass)(r.$el,"is-drop-inner");var o=t.draggingNode;if(o&&s){var l=!0,u=!0,c=!0;"function"==typeof e.allowDrop&&(l=e.allowDrop(o.node,s.node,"prev"),u=e.allowDrop(o.node,s.node,"inner"),c=e.allowDrop(o.node,s.node,"next")),t.allowDrop=u,i.dataTransfer.dropEffect=u?"move":"none",(l||u||c)&&r!==s&&(r&&e.$emit("node-drag-leave",o.node,r.node,i),e.$emit("node-drag-enter",o.node,s.node,i)),(l||u||c)&&(t.dropNode=s),s.node.nextSibling===o.node&&(c=!1),s.node.previousSibling===o.node&&(l=!1),s.node.contains(o.node,!1)&&(u=!1),(o.node===s.node||o.node.contains(s.node))&&(l=!1,u=!1,c=!1);var d=s.$el.querySelector(".el-tree-node__expand-icon").getBoundingClientRect(),f=e.$el.getBoundingClientRect(),p=void 0,m=l?u?.25:c?.5:1:-1,v=c?u?.75:l?.5:0:1,g=-9999,b=i.clientY-d.top;p=b<d.height*m?"before":b>d.height*v?"after":u?"inner":"none";var y=e.$refs.dropIndicator;"before"===p?g=d.top-f.top:"after"===p&&(g=d.bottom-f.top),y.style.top=g+"px",y.style.left=d.right-f.left+"px","inner"===p?(0,h.addClass)(s.$el,"is-drop-inner"):(0,h.removeClass)(s.$el,"is-drop-inner"),t.showDropIndicator="before"===p||"after"===p,t.dropType=p,e.$emit("node-drag-over",o.node,s.node,i)}}),this.$on("tree-node-drag-end",function(i){var n=t.draggingNode,s=t.dropType,r=t.dropNode;if(i.preventDefault(),i.dataTransfer.dropEffect="move",n&&r){var a=n.node.data;"before"===s?(n.node.remove(),r.node.parent.insertBefore({data:a},r.node)):"after"===s?(n.node.remove(),r.node.parent.insertAfter({data:a},r.node)):"inner"===s&&(r.node.insertChild({data:a}),n.node.remove()),(0,h.removeClass)(r.$el,"is-drop-inner"),e.$emit("node-drag-end",n.node,r.node,s,i),"none"!==s&&e.$emit("node-drop",n.node,r.node,s,i)}n&&!r&&e.$emit("node-drag-end",n.node,null,s,i),t.showDropIndicator=!1,t.draggingNode=null,t.dropNode=null,t.allowDrop=!0})},mounted:function(){this.initTabIndex(),this.$el.addEventListener("keydown",this.handelKeydown)},updated:function(){this.treeItems=this.$el.querySelectorAll("[role=treeitem]"),this.checkboxItems=this.$el.querySelectorAll("input[type=checkbox]")}}},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=i(358),a=function(e){return e&&e.__esModule?e:{default:e}}(r),o=i(42),l=function(){function e(t){var i=this;n(this,e),this.currentNode=null,this.currentNodeKey=null;for(var s in t)t.hasOwnProperty(s)&&(this[s]=t[s]);if(this.nodesMap={},this.root=new a.default({data:this.data,store:this}),this.lazy&&this.load){(0,this.load)(this.root,function(e){i.root.doCreateChildren(e),i._initDefaultCheckedNodes()})}else this._initDefaultCheckedNodes()}return e.prototype.filter=function(e){var t=this.filterNodeMethod;!function i(n){var s=n.root?n.root.childNodes:n.childNodes;if(s.forEach(function(n){n.visible=t.call(n,e,n.data,n),i(n)}),!n.visible&&s.length){var r=!0;s.forEach(function(e){e.visible&&(r=!1)}),n.root?n.root.visible=!1===r:n.visible=!1===r}e&&n.visible&&!n.isLeaf&&n.expand()}(this)},e.prototype.setData=function(e){e!==this.root.data?(this.root.setData(e),this._initDefaultCheckedNodes()):this.root.updateChildren()},e.prototype.getNode=function(e){if(e instanceof a.default)return e;var t="object"!==(void 0===e?"undefined":s(e))?e:(0,o.getNodeKey)(this.key,e);return this.nodesMap[t]||null},e.prototype.insertBefore=function(e,t){var i=this.getNode(t);i.parent.insertBefore({data:e},i)},e.prototype.insertAfter=function(e,t){var i=this.getNode(t);i.parent.insertAfter({data:e},i)},e.prototype.remove=function(e){var t=this.getNode(e);t&&t.parent.removeChild(t)},e.prototype.append=function(e,t){var i=t?this.getNode(t):this.root;i&&i.insertChild({data:e})},e.prototype._initDefaultCheckedNodes=function(){var e=this,t=this.defaultCheckedKeys||[],i=this.nodesMap;t.forEach(function(t){var n=i[t];n&&n.setChecked(!0,!e.checkStrictly)})},e.prototype._initDefaultCheckedNode=function(e){-1!==(this.defaultCheckedKeys||[]).indexOf(e.key)&&e.setChecked(!0,!this.checkStrictly)},e.prototype.setDefaultCheckedKey=function(e){e!==this.defaultCheckedKeys&&(this.defaultCheckedKeys=e,this._initDefaultCheckedNodes())},e.prototype.registerNode=function(e){this.key&&e&&e.data&&(void 0!==e.key&&(this.nodesMap[e.key]=e))},e.prototype.deregisterNode=function(e){if(this.key&&e&&e.data){for(var t=e.childNodes,i=0,n=t.length;i<n;i++){var s=t[i];this.deregisterNode(s)}delete this.nodesMap[e.key]}},e.prototype.getCheckedNodes=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=[];return function i(n){(n.root?n.root.childNodes:n.childNodes).forEach(function(n){n.checked&&(!e||e&&n.isLeaf)&&t.push(n.data),i(n)})}(this),t},e.prototype.getCheckedKeys=function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return this.getCheckedNodes(t).map(function(t){return(t||{})[e.key]})},e.prototype.getHalfCheckedNodes=function(){var e=[];return function t(i){(i.root?i.root.childNodes:i.childNodes).forEach(function(i){i.indeterminate&&e.push(i.data),t(i)})}(this),e},e.prototype.getHalfCheckedKeys=function(){var e=this;return this.getHalfCheckedNodes().map(function(t){return(t||{})[e.key]})},e.prototype._getAllNodes=function(){var e=[],t=this.nodesMap;for(var i in t)t.hasOwnProperty(i)&&e.push(t[i]);return e},e.prototype.updateChildren=function(e,t){var i=this.nodesMap[e];if(i){for(var n=i.childNodes,s=n.length-1;s>=0;s--){var r=n[s];this.remove(r.data)}for(var a=0,o=t.length;a<o;a++){var l=t[a];this.append(l,i.data)}}},e.prototype._setCheckedKeys=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=arguments[2],n=this._getAllNodes().sort(function(e,t){return t.level-e.level}),s=Object.create(null),r=Object.keys(i);n.forEach(function(e){return e.setChecked(!1,!1)});for(var a=0,o=n.length;a<o;a++){var l=n[a],u=l.data[e].toString();if(r.indexOf(u)>-1){for(var c=l.parent;c&&c.level>0;)s[c.data[e]]=!0,c=c.parent;l.isLeaf||this.checkStrictly?l.setChecked(!0,!1):(l.setChecked(!0,!0),t&&function(){l.setChecked(!1,!1);!function e(t){t.childNodes.forEach(function(t){t.isLeaf||t.setChecked(!1,!1),e(t)})}(l)}())}else l.checked&&!s[u]&&l.setChecked(!1,!1)}},e.prototype.setCheckedNodes=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],i=this.key,n={};e.forEach(function(e){n[(e||{})[i]]=!0}),this._setCheckedKeys(i,t,n)},e.prototype.setCheckedKeys=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];this.defaultCheckedKeys=e;var i=this.key,n={};e.forEach(function(e){n[e]=!0}),this._setCheckedKeys(i,t,n)},e.prototype.setDefaultExpandedKeys=function(e){var t=this;e=e||[],this.defaultExpandedKeys=e,e.forEach(function(e){var i=t.getNode(e);i&&i.expand(null,t.autoExpandParent)})},e.prototype.setChecked=function(e,t,i){var n=this.getNode(e);n&&n.setChecked(!!t,i)},e.prototype.getCurrentNode=function(){return this.currentNode},e.prototype.setCurrentNode=function(e){this.currentNode=e},e.prototype.setUserCurrentNode=function(e){var t=e[this.key],i=this.nodesMap[t];this.setCurrentNode(i)},e.prototype.setCurrentNodeKey=function(e){if(null===e)return void(this.currentNode=null);var t=this.getNode(e);t&&(this.currentNode=t)},e}();t.default=l},function(e,t,i){"use strict";function n(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}t.__esModule=!0,t.getChildState=void 0;var s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}(),a=i(10),o=function(e){return e&&e.__esModule?e:{default:e}}(a),l=i(42),u=t.getChildState=function(e){for(var t=!0,i=!0,n=!0,s=0,r=e.length;s<r;s++){var a=e[s];(!0!==a.checked||a.indeterminate)&&(t=!1,a.disabled||(n=!1)),(!1!==a.checked||a.indeterminate)&&(i=!1)}return{all:t,none:i,allWithoutDisable:n,half:!t&&!i}},c=function e(t){if(0!==t.childNodes.length){var i=u(t.childNodes),n=i.all,s=i.none,r=i.half;n?(t.checked=!0,t.indeterminate=!1):r?(t.checked=!1,t.indeterminate=!0):s&&(t.checked=!1,t.indeterminate=!1);var a=t.parent;a&&0!==a.level&&(t.store.checkStrictly||e(a))}},d=function(e,t){var i=e.store.props,n=e.data||{},s=i[t];if("function"==typeof s)return s(n,e);if("string"==typeof s)return n[s];if(void 0===s){var r=n[t];return void 0===r?"":r}},h=0,f=function(){function e(t){n(this,e),this.id=h++,this.text=null,this.checked=!1,this.indeterminate=!1,this.data=null,this.expanded=!1,this.parent=null,this.visible=!0;for(var i in t)t.hasOwnProperty(i)&&(this[i]=t[i]);this.level=0,this.loaded=!1,this.childNodes=[],this.loading=!1,this.parent&&(this.level=this.parent.level+1);var s=this.store;if(!s)throw new Error("[Node]store is required!");s.registerNode(this);var r=s.props;if(r&&void 0!==r.isLeaf){var a=d(this,"isLeaf");"boolean"==typeof a&&(this.isLeafByUser=a)}if(!0!==s.lazy&&this.data?(this.setData(this.data),s.defaultExpandAll&&(this.expanded=!0)):this.level>0&&s.lazy&&s.defaultExpandAll&&this.expand(),this.data){var o=s.defaultExpandedKeys,l=s.key;l&&o&&-1!==o.indexOf(this.key)&&this.expand(null,s.autoExpandParent),l&&void 0!==s.currentNodeKey&&this.key===s.currentNodeKey&&(s.currentNode=this),s.lazy&&s._initDefaultCheckedNode(this),this.updateLeafState()}}return e.prototype.setData=function(e){Array.isArray(e)||(0,l.markNodeData)(this,e),this.data=e,this.childNodes=[];var t=void 0;t=0===this.level&&this.data instanceof Array?this.data:d(this,"children")||[];for(var i=0,n=t.length;i<n;i++)this.insertChild({data:t[i]})},e.prototype.contains=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return function i(n){for(var s=n.childNodes||[],r=!1,a=0,o=s.length;a<o;a++){var l=s[a];if(l===e||t&&i(l)){r=!0;break}}return r}(this)},e.prototype.remove=function(){var e=this.parent;e&&e.removeChild(this)},e.prototype.insertChild=function(t,i,n){if(!t)throw new Error("insertChild error: child is required.");if(!(t instanceof e)){if(!n){var s=this.getChildren(!0);-1===s.indexOf(t.data)&&(void 0===i||i<0?s.push(t.data):s.splice(i,0,t.data))}(0,o.default)(t,{parent:this,store:this.store}),t=new e(t)}t.level=this.level+1,void 0===i||i<0?this.childNodes.push(t):this.childNodes.splice(i,0,t),this.updateLeafState()},e.prototype.insertBefore=function(e,t){var i=void 0;t&&(i=this.childNodes.indexOf(t)),this.insertChild(e,i)},e.prototype.insertAfter=function(e,t){var i=void 0;t&&-1!==(i=this.childNodes.indexOf(t))&&(i+=1),this.insertChild(e,i)},e.prototype.removeChild=function(e){var t=this.getChildren()||[],i=t.indexOf(e.data);i>-1&&t.splice(i,1);var n=this.childNodes.indexOf(e);n>-1&&(this.store&&this.store.deregisterNode(e),e.parent=null,this.childNodes.splice(n,1)),this.updateLeafState()},e.prototype.removeChildByData=function(e){var t=null;this.childNodes.forEach(function(i){i.data===e&&(t=i)}),t&&this.removeChild(t)},e.prototype.expand=function(e,t){var i=this,n=function(){if(t)for(var n=i.parent;n.level>0;)n.expanded=!0,n=n.parent;i.expanded=!0,e&&e()};this.shouldLoadData()?this.loadData(function(e){e instanceof Array&&(i.checked?i.setChecked(!0,!0):c(i),n())}):n()},e.prototype.doCreateChildren=function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e.forEach(function(e){t.insertChild((0,o.default)({data:e},i),void 0,!0)})},e.prototype.collapse=function(){this.expanded=!1},e.prototype.shouldLoadData=function(){return!0===this.store.lazy&&this.store.load&&!this.loaded},e.prototype.updateLeafState=function(){if(!0===this.store.lazy&&!0!==this.loaded&&void 0!==this.isLeafByUser)return void(this.isLeaf=this.isLeafByUser);var e=this.childNodes;if(!this.store.lazy||!0===this.store.lazy&&!0===this.loaded)return void(this.isLeaf=!e||0===e.length);this.isLeaf=!1},e.prototype.setChecked=function(e,t,i,n){var r=this;if(this.indeterminate="half"===e,this.checked=!0===e,!this.store.checkStrictly){if(!this.shouldLoadData()||this.store.checkDescendants){var a=function(){var i=u(r.childNodes),s=i.all,a=i.allWithoutDisable;r.isLeaf||s||!a||(r.checked=!1,e=!1);var o=function(){if(t){for(var i=r.childNodes,s=0,a=i.length;s<a;s++){var o=i[s];n=n||!1!==e;var l=o.disabled?o.checked:n;o.setChecked(l,t,!0,n)}var c=u(i),d=c.half,h=c.all;h||(r.checked=h,r.indeterminate=d)}};if(r.shouldLoadData())return r.loadData(function(){o(),c(r)},{checked:!1!==e}),{v:void 0};o()}();if("object"===(void 0===a?"undefined":s(a)))return a.v}var o=this.parent;o&&0!==o.level&&(i||c(o))}},e.prototype.getChildren=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(0===this.level)return this.data;var t=this.data;if(!t)return null;var i=this.store.props,n="children";return i&&(n=i.children||"children"),void 0===t[n]&&(t[n]=null),e&&!t[n]&&(t[n]=[]),t[n]},e.prototype.updateChildren=function(){var e=this,t=this.getChildren()||[],i=this.childNodes.map(function(e){return e.data}),n={},s=[];t.forEach(function(e,t){e[l.NODE_KEY]?n[e[l.NODE_KEY]]={index:t,data:e}:s.push({index:t,data:e})}),i.forEach(function(t){n[t[l.NODE_KEY]]||e.removeChildByData(t)}),s.forEach(function(t){var i=t.index,n=t.data;e.insertChild({data:n},i)}),this.updateLeafState()},e.prototype.loadData=function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!0!==this.store.lazy||!this.store.load||this.loaded||this.loading&&!Object.keys(i).length)e&&e.call(this);else{this.loading=!0;var n=function(n){t.loaded=!0,t.loading=!1,t.childNodes=[],t.doCreateChildren(n,i),t.updateLeafState(),e&&e.call(t,n)};this.store.load(this,n)}},r(e,[{key:"label",get:function(){return d(this,"label")}},{key:"icon",get:function(){return d(this,"icon")}},{key:"key",get:function(){var e=this.store.key;return this.data?this.data[e]:null}},{key:"disabled",get:function(){return d(this,"disabled")}},{key:"nextSibling",get:function(){var e=this.parent;if(e){var t=e.childNodes.indexOf(this);if(t>-1)return e.childNodes[t+1]}return null}},{key:"previousSibling",get:function(){var e=this.parent;if(e){var t=e.childNodes.indexOf(this);if(t>-1)return t>0?e.childNodes[t-1]:null}return null}}]),e}();t.default=f},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(360),s=i.n(n),r=i(361),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(32),r=n(s),a=i(15),o=n(a),l=i(1),u=n(l),c=i(42);t.default={name:"ElTreeNode",componentName:"ElTreeNode",mixins:[u.default],props:{node:{default:function(){return{}}},props:{},renderContent:Function,renderAfterExpand:{type:Boolean,default:!0}},components:{ElCollapseTransition:r.default,ElCheckbox:o.default,NodeContent:{props:{node:{required:!0}},render:function(e){var t=this.$parent,i=t.tree,n=this.node,s=n.data,r=n.store;return t.renderContent?t.renderContent.call(t._renderProxy,e,{_self:i.$vnode.context,node:n,data:s,store:r}):i.$scopedSlots.default?i.$scopedSlots.default({node:n,data:s}):e("span",{class:"el-tree-node__label"},[n.label])}}},data:function(){return{tree:null,expanded:!1,childNodeRendered:!1,showCheckbox:!1,oldChecked:null,oldIndeterminate:null}},watch:{"node.indeterminate":function(e){this.handleSelectChange(this.node.checked,e)},"node.checked":function(e){this.handleSelectChange(e,this.node.indeterminate)},"node.expanded":function(e){var t=this;this.$nextTick(function(){return t.expanded=e}),e&&(this.childNodeRendered=!0)}},methods:{getNodeKey:function(e){return(0,c.getNodeKey)(this.tree.nodeKey,e.data)},handleSelectChange:function(e,t){this.oldChecked!==e&&this.oldIndeterminate!==t&&this.tree.$emit("check-change",this.node.data,e,t),this.oldChecked=e,this.indeterminate=t},handleClick:function(){var e=this.tree.store;e.setCurrentNode(this.node),this.tree.$emit("current-change",e.currentNode?e.currentNode.data:null,e.currentNode),this.tree.currentNode=this,this.tree.expandOnClickNode&&this.handleExpandIconClick(),this.tree.checkOnClickNode&&this.handleCheckChange(null,{target:{checked:!this.node.checked}}),this.tree.$emit("node-click",this.node.data,this.node,this)},handleContextMenu:function(e){this.tree._events["node-contextmenu"]&&this.tree._events["node-contextmenu"].length>0&&(e.stopPropagation(),e.preventDefault()),this.tree.$emit("node-contextmenu",e,this.node.data,this.node,this)},handleExpandIconClick:function(){this.node.isLeaf||(this.expanded?(this.tree.$emit("node-collapse",this.node.data,this.node,this),this.node.collapse()):(this.node.expand(),this.$emit("node-expand",this.node.data,this.node,this)))},handleCheckChange:function(e,t){var i=this;this.node.setChecked(t.target.checked,!this.tree.checkStrictly),this.$nextTick(function(){var e=i.tree.store;i.tree.$emit("check",i.node.data,{checkedNodes:e.getCheckedNodes(),checkedKeys:e.getCheckedKeys(),halfCheckedNodes:e.getHalfCheckedNodes(),halfCheckedKeys:e.getHalfCheckedKeys()})})},handleChildNodeExpand:function(e,t,i){this.broadcast("ElTreeNode","tree-node-expand",t),this.tree.$emit("node-expand",e,t,i)},handleDragStart:function(e){this.tree.draggable&&this.tree.$emit("tree-node-drag-start",e,this)},handleDragOver:function(e){this.tree.draggable&&(this.tree.$emit("tree-node-drag-over",e,this),e.preventDefault())},handleDrop:function(e){e.preventDefault()},handleDragEnd:function(e){this.tree.draggable&&this.tree.$emit("tree-node-drag-end",e,this)}},created:function(){var e=this,t=this.$parent;t.isTree?this.tree=t:this.tree=t.tree;var i=this.tree;i||console.warn("Can not find node's tree.");var n=i.props||{},s=n.children||"children";this.$watch("node.data."+s,function(){e.node.updateChildren()}),this.showCheckbox=i.showCheckbox,this.node.expanded&&(this.expanded=!0,this.childNodeRendered=!0),this.tree.accordion&&this.$on("tree-node-expand",function(t){e.node!==t&&e.node.collapse()})}}},function(e,t,i){"use strict";var n=function(){var e=this,t=this,i=t.$createElement,n=t._self._c||i;return n("div",{directives:[{name:"show",rawName:"v-show",value:t.node.visible,expression:"node.visible"}],ref:"node",staticClass:"el-tree-node",class:{"is-expanded":t.expanded,"is-current":t.tree.store.currentNode===t.node,"is-hidden":!t.node.visible,"is-focusable":!t.node.disabled,"is-checked":!t.node.disabled&&t.node.checked},attrs:{role:"treeitem",tabindex:"-1","aria-expanded":t.expanded,"aria-disabled":t.node.disabled,"aria-checked":t.node.checked,draggable:t.tree.draggable},on:{click:function(e){e.stopPropagation(),t.handleClick(e)},contextmenu:function(t){return e.handleContextMenu(t)},dragstart:function(e){e.stopPropagation(),t.handleDragStart(e)},dragover:function(e){e.stopPropagation(),t.handleDragOver(e)},dragend:function(e){e.stopPropagation(),t.handleDragEnd(e)},drop:function(e){e.stopPropagation(),t.handleDrop(e)}}},[n("div",{staticClass:"el-tree-node__content",style:{"padding-left":(t.node.level-1)*t.tree.indent+"px"}},[n("span",{staticClass:"el-tree-node__expand-icon el-icon-caret-right",class:{"is-leaf":t.node.isLeaf,expanded:!t.node.isLeaf&&t.expanded},on:{click:function(e){e.stopPropagation(),t.handleExpandIconClick(e)}}}),t.showCheckbox?n("el-checkbox",{attrs:{indeterminate:t.node.indeterminate,disabled:!!t.node.disabled},on:{change:t.handleCheckChange},nativeOn:{click:function(e){e.stopPropagation()}},model:{value:t.node.checked,callback:function(e){t.$set(t.node,"checked",e)},expression:"node.checked"}}):t._e(),t.node.loading?n("span",{staticClass:"el-tree-node__loading-icon el-icon-loading"}):t._e(),n("node-content",{attrs:{node:t.node}})],1),n("el-collapse-transition",[!t.renderAfterExpand||t.childNodeRendered?n("div",{directives:[{name:"show",rawName:"v-show",value:t.expanded,expression:"expanded"}],staticClass:"el-tree-node__children",attrs:{role:"group","aria-expanded":t.expanded}},t._l(t.node.childNodes,function(e){return n("el-tree-node",{key:t.getNodeKey(e),attrs:{"render-content":t.renderContent,"render-after-expand":t.renderAfterExpand,node:e},on:{"node-expand":t.handleChildNodeExpand}})})):t._e()])],1)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-tree",class:{"el-tree--highlight-current":e.highlightCurrent,"is-dragging":!!e.dragState.draggingNode,"is-drop-not-allow":!e.dragState.allowDrop,"is-drop-inner":"inner"===e.dragState.dropType},attrs:{role:"tree"}},[e._l(e.root.childNodes,function(t){return i("el-tree-node",{key:e.getNodeKey(t),attrs:{node:t,props:e.props,"render-after-expand":e.renderAfterExpand,"render-content":e.renderContent},on:{"node-expand":e.handleNodeExpand}})}),e.root.childNodes&&0!==e.root.childNodes.length?e._e():i("div",{staticClass:"el-tree__empty-block"},[i("span",{staticClass:"el-tree__empty-text"},[e._v(e._s(e.emptyText))])]),i("div",{directives:[{name:"show",rawName:"v-show",value:e.dragState.showDropIndicator,expression:"dragState.showDropIndicator"}],ref:"dropIndicator",staticClass:"el-tree__drop-indicator"})],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(364),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(365),s=i.n(n),r=i(366),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n={success:"el-icon-success",warning:"el-icon-warning",error:"el-icon-error"};t.default={name:"ElAlert",props:{title:{type:String,default:"",required:!0},description:{type:String,default:""},type:{type:String,default:"info"},closable:{type:Boolean,default:!0},closeText:{type:String,default:""},showIcon:Boolean,center:Boolean},data:function(){return{visible:!0}},methods:{close:function(){this.visible=!1,this.$emit("close")}},computed:{typeClass:function(){return"el-alert--"+this.type},iconClass:function(){return n[this.type]||"el-icon-info"},isBigIcon:function(){return this.description||this.$slots.default?"is-big":""},isBoldTitle:function(){return this.description||this.$slots.default?"is-bold":""}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-alert-fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-alert",class:[e.typeClass,e.center?"is-center":""],attrs:{role:"alert"}},[e.showIcon?i("i",{staticClass:"el-alert__icon",class:[e.iconClass,e.isBigIcon]}):e._e(),i("div",{staticClass:"el-alert__content"},[e.title?i("span",{staticClass:"el-alert__title",class:[e.isBoldTitle]},[e._v(e._s(e.title))]):e._e(),e._t("default",[e.description?i("p",{staticClass:"el-alert__description"},[e._v(e._s(e.description))]):e._e()]),i("i",{directives:[{name:"show",rawName:"v-show",value:e.closable,expression:"closable"}],staticClass:"el-alert__closebtn",class:{"is-customed":""!==e.closeText,"el-icon-close":""===e.closeText},on:{click:function(t){e.close()}}},[e._v(e._s(e.closeText))])],2)])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(368),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=s.default},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(2),r=n(s),a=i(369),o=n(a),l=i(14),u=i(34),c=r.default.extend(o.default),d=void 0,h=[],f=1,p=function e(t){if(!r.default.prototype.$isServer){t=t||{};var i=t.onClose,n="notification_"+f++,s=t.position||"top-right";t.onClose=function(){e.close(n,i)},d=new c({data:t}),(0,u.isVNode)(t.message)&&(d.$slots.default=[t.message],t.message="REPLACED_BY_VNODE"),d.id=n,d.vm=d.$mount(),document.body.appendChild(d.vm.$el),d.vm.visible=!0,d.dom=d.vm.$el,d.dom.style.zIndex=l.PopupManager.nextZIndex();var a=t.offset||0;return h.filter(function(e){return e.position===s}).forEach(function(e){a+=e.$el.offsetHeight+16}),a+=16,d.verticalOffset=a,h.push(d),d.vm}};["success","warning","info","error"].forEach(function(e){p[e]=function(t){return("string"==typeof t||(0,u.isVNode)(t))&&(t={message:t}),t.type=e,p(t)}}),p.close=function(e,t){var i=-1,n=h.length,s=h.filter(function(t,n){return t.id===e&&(i=n,!0)})[0];if(s&&("function"==typeof t&&t(s),h.splice(i,1),!(n<=1)))for(var r=s.position,a=s.dom.offsetHeight,o=i;o<n-1;o++)h[o].position===r&&(h[o].dom.style[s.verticalProperty]=parseInt(h[o].dom.style[s.verticalProperty],10)-a-16+"px")},p.closeAll=function(){for(var e=h.length-1;e>=0;e--)h[e].close()},t.default=p},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(370),s=i.n(n),r=i(371),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n={success:"success",info:"info",warning:"warning",error:"error"};t.default={data:function(){return{visible:!1,title:"",message:"",duration:4500,type:"",showClose:!0,customClass:"",iconClass:"",onClose:null,onClick:null,closed:!1,verticalOffset:0,timer:null,dangerouslyUseHTMLString:!1,position:"top-right"}},computed:{typeClass:function(){return this.type&&n[this.type]?"el-icon-"+n[this.type]:""},horizontalClass:function(){return this.position.indexOf("right")>-1?"right":"left"},verticalProperty:function(){return/^top-/.test(this.position)?"top":"bottom"},positionStyle:function(){var e;return e={},e[this.verticalProperty]=this.verticalOffset+"px",e}},watch:{closed:function(e){e&&(this.visible=!1,this.$el.addEventListener("transitionend",this.destroyElement))}},methods:{destroyElement:function(){this.$el.removeEventListener("transitionend",this.destroyElement),this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},click:function(){"function"==typeof this.onClick&&this.onClick()},close:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose()},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout(function(){e.closed||e.close()},this.duration))},keydown:function(e){46===e.keyCode||8===e.keyCode?this.clearTimer():27===e.keyCode?this.closed||this.close():this.startTimer()}},mounted:function(){var e=this;this.duration>0&&(this.timer=setTimeout(function(){e.closed||e.close()},this.duration)),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-notification-fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-notification",e.customClass,e.horizontalClass],style:e.positionStyle,attrs:{role:"alert"},on:{mouseenter:function(t){e.clearTimer()},mouseleave:function(t){e.startTimer()},click:e.click}},[e.type||e.iconClass?i("i",{staticClass:"el-notification__icon",class:[e.typeClass,e.iconClass]}):e._e(),i("div",{staticClass:"el-notification__group",class:{"is-with-icon":e.typeClass||e.iconClass}},[i("h2",{staticClass:"el-notification__title",domProps:{textContent:e._s(e.title)}}),i("div",{directives:[{name:"show",rawName:"v-show",value:e.message,expression:"message"}],staticClass:"el-notification__content"},[e._t("default",[e.dangerouslyUseHTMLString?i("p",{domProps:{innerHTML:e._s(e.message)}}):i("p",[e._v(e._s(e.message))])])],2),e.showClose?i("div",{staticClass:"el-notification__closeBtn el-icon-close",on:{click:function(t){t.stopPropagation(),e.close(t)}}}):e._e()])])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(373),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(374),s=i.n(n),r=i(378),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(72),r=n(s),a=i(375),o=n(a),l=i(1),u=n(l);t.default={name:"ElSlider",mixins:[u.default],inject:{elForm:{default:""}},props:{min:{type:Number,default:0},max:{type:Number,default:100},step:{type:Number,default:1},value:{type:[Number,Array],default:0},showInput:{type:Boolean,default:!1},showInputControls:{type:Boolean,default:!0},inputSize:{type:String,default:"small"},showStops:{type:Boolean,default:!1},showTooltip:{type:Boolean,default:!0},formatTooltip:Function,disabled:{type:Boolean,default:!1},range:{type:Boolean,default:!1},vertical:{type:Boolean,default:!1},height:{type:String},debounce:{type:Number,default:300},label:{type:String},tooltipClass:String},components:{ElInputNumber:r.default,SliderButton:o.default},data:function(){return{firstValue:null,secondValue:null,oldValue:null,dragging:!1,sliderSize:1}},watch:{value:function(e,t){this.dragging||Array.isArray(e)&&Array.isArray(t)&&e.every(function(e,i){return e===t[i]})||this.setValues()},dragging:function(e){e||this.setValues()},firstValue:function(e){this.range?this.$emit("input",[this.minValue,this.maxValue]):this.$emit("input",e)},secondValue:function(){this.range&&this.$emit("input",[this.minValue,this.maxValue])},min:function(){this.setValues()},max:function(){this.setValues()}},methods:{valueChanged:function(){var e=this;return this.range?![this.minValue,this.maxValue].every(function(t,i){return t===e.oldValue[i]}):this.value!==this.oldValue},setValues:function(){if(this.min>this.max)return void console.error("[Element Error][Slider]min should not be greater than max.");var e=this.value;this.range&&Array.isArray(e)?e[1]<this.min?this.$emit("input",[this.min,this.min]):e[0]>this.max?this.$emit("input",[this.max,this.max]):e[0]<this.min?this.$emit("input",[this.min,e[1]]):e[1]>this.max?this.$emit("input",[e[0],this.max]):(this.firstValue=e[0],this.secondValue=e[1],this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",[this.minValue,this.maxValue]),this.oldValue=e.slice())):this.range||"number"!=typeof e||isNaN(e)||(e<this.min?this.$emit("input",this.min):e>this.max?this.$emit("input",this.max):(this.firstValue=e,this.valueChanged()&&(this.dispatch("ElFormItem","el.form.change",e),this.oldValue=e)))},setPosition:function(e){var t=this.min+e*(this.max-this.min)/100;if(!this.range)return void this.$refs.button1.setPosition(e);var i=void 0;i=Math.abs(this.minValue-t)<Math.abs(this.maxValue-t)?this.firstValue<this.secondValue?"button1":"button2":this.firstValue>this.secondValue?"button1":"button2",this.$refs[i].setPosition(e)},onSliderClick:function(e){if(!this.sliderDisabled&&!this.dragging){if(this.resetSize(),this.vertical){var t=this.$refs.slider.getBoundingClientRect().bottom;this.setPosition((t-e.clientY)/this.sliderSize*100)}else{var i=this.$refs.slider.getBoundingClientRect().left;this.setPosition((e.clientX-i)/this.sliderSize*100)}this.emitChange()}},resetSize:function(){this.$refs.slider&&(this.sliderSize=this.$refs.slider["client"+(this.vertical?"Height":"Width")])},emitChange:function(){var e=this;this.$nextTick(function(){e.$emit("change",e.range?[e.minValue,e.maxValue]:e.value)})}},computed:{stops:function(){var e=this;if(!this.showStops||this.min>this.max)return[];if(0===this.step)return[];for(var t=(this.max-this.min)/this.step,i=100*this.step/(this.max-this.min),n=[],s=1;s<t;s++)n.push(s*i);return this.range?n.filter(function(t){return t<100*(e.minValue-e.min)/(e.max-e.min)||t>100*(e.maxValue-e.min)/(e.max-e.min)}):n.filter(function(t){return t>100*(e.firstValue-e.min)/(e.max-e.min)})},minValue:function(){return Math.min(this.firstValue,this.secondValue)},maxValue:function(){return Math.max(this.firstValue,this.secondValue)},barSize:function(){return this.range?100*(this.maxValue-this.minValue)/(this.max-this.min)+"%":100*(this.firstValue-this.min)/(this.max-this.min)+"%"},barStart:function(){return this.range?100*(this.minValue-this.min)/(this.max-this.min)+"%":"0%"},precision:function(){var e=[this.min,this.max,this.step].map(function(e){var t=(""+e).split(".")[1];return t?t.length:0});return Math.max.apply(null,e)},runwayStyle:function(){return this.vertical?{height:this.height}:{}},barStyle:function(){return this.vertical?{height:this.barSize,bottom:this.barStart}:{width:this.barSize,left:this.barStart}},sliderDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},mounted:function(){var e=void 0;this.range?(Array.isArray(this.value)?(this.firstValue=Math.max(this.min,this.value[0]),this.secondValue=Math.min(this.max,this.value[1])):(this.firstValue=this.min,this.secondValue=this.max),this.oldValue=[this.firstValue,this.secondValue],e=this.firstValue+"-"+this.secondValue):("number"!=typeof this.value||isNaN(this.value)?this.firstValue=this.min:this.firstValue=Math.min(this.max,Math.max(this.min,this.value)),this.oldValue=this.firstValue,e=this.firstValue),this.$el.setAttribute("aria-valuetext",e),this.$el.setAttribute("aria-label",this.label?this.label:"slider between "+this.min+" and "+this.max),this.resetSize(),window.addEventListener("resize",this.resetSize)},beforeDestroy:function(){window.removeEventListener("resize",this.resetSize)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(376),s=i.n(n),r=i(377),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(33),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElSliderButton",components:{ElTooltip:s.default},props:{value:{type:Number,default:0},vertical:{type:Boolean,default:!1},tooltipClass:String},data:function(){return{hovering:!1,dragging:!1,isClick:!1,startX:0,currentX:0,startY:0,currentY:0,startPosition:0,newPosition:null,oldValue:this.value}},computed:{disabled:function(){return this.$parent.sliderDisabled},max:function(){return this.$parent.max},min:function(){return this.$parent.min},step:function(){return this.$parent.step},showTooltip:function(){return this.$parent.showTooltip},precision:function(){return this.$parent.precision},currentPosition:function(){return(this.value-this.min)/(this.max-this.min)*100+"%"},enableFormat:function(){return this.$parent.formatTooltip instanceof Function},formatValue:function(){return this.enableFormat&&this.$parent.formatTooltip(this.value)||this.value},wrapperStyle:function(){return this.vertical?{bottom:this.currentPosition}:{left:this.currentPosition}}},watch:{dragging:function(e){this.$parent.dragging=e}},methods:{displayTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!0)},hideTooltip:function(){this.$refs.tooltip&&(this.$refs.tooltip.showPopper=!1)},handleMouseEnter:function(){this.hovering=!0,this.displayTooltip()},handleMouseLeave:function(){this.hovering=!1,this.hideTooltip()},onButtonDown:function(e){this.disabled||(e.preventDefault(),this.onDragStart(e),window.addEventListener("mousemove",this.onDragging),window.addEventListener("touchmove",this.onDragging),window.addEventListener("mouseup",this.onDragEnd),window.addEventListener("touchend",this.onDragEnd),window.addEventListener("contextmenu",this.onDragEnd))},onLeftKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)-this.step/(this.max-this.min)*100,this.setPosition(this.newPosition))},onRightKeyDown:function(){this.disabled||(this.newPosition=parseFloat(this.currentPosition)+this.step/(this.max-this.min)*100,this.setPosition(this.newPosition))},onDragStart:function(e){this.dragging=!0,this.isClick=!0,"touchstart"===e.type&&(e.clientY=e.touches[0].clientY,e.clientX=e.touches[0].clientX),this.vertical?this.startY=e.clientY:this.startX=e.clientX,this.startPosition=parseFloat(this.currentPosition),this.newPosition=this.startPosition},onDragging:function(e){if(this.dragging){this.isClick=!1,this.displayTooltip(),this.$parent.resetSize();var t=0;"touchmove"===e.type&&(e.clientY=e.touches[0].clientY,e.clientX=e.touches[0].clientX),this.vertical?(this.currentY=e.clientY,t=(this.startY-this.currentY)/this.$parent.sliderSize*100):(this.currentX=e.clientX,t=(this.currentX-this.startX)/this.$parent.sliderSize*100),this.newPosition=this.startPosition+t,this.setPosition(this.newPosition)}},onDragEnd:function(){var e=this;this.dragging&&(setTimeout(function(){e.dragging=!1,e.hideTooltip(),e.isClick||(e.setPosition(e.newPosition),e.$parent.emitChange())},0),window.removeEventListener("mousemove",this.onDragging),window.removeEventListener("touchmove",this.onDragging),window.removeEventListener("mouseup",this.onDragEnd),window.removeEventListener("touchend",this.onDragEnd),window.removeEventListener("contextmenu",this.onDragEnd))},setPosition:function(e){var t=this;if(null!==e){e<0?e=0:e>100&&(e=100);var i=100/((this.max-this.min)/this.step),n=Math.round(e/i),s=n*i*(this.max-this.min)*.01+this.min;s=parseFloat(s.toFixed(this.precision)),this.$emit("input",s),this.$nextTick(function(){t.$refs.tooltip&&t.$refs.tooltip.updatePopper()}),this.dragging||this.value===this.oldValue||(this.oldValue=this.value)}}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{ref:"button",staticClass:"el-slider__button-wrapper",class:{hover:e.hovering,dragging:e.dragging},style:e.wrapperStyle,attrs:{tabindex:"0"},on:{mouseenter:e.handleMouseEnter,mouseleave:e.handleMouseLeave,mousedown:e.onButtonDown,touchstart:e.onButtonDown,focus:e.handleMouseEnter,blur:e.handleMouseLeave,keydown:[function(t){return"button"in t||!e._k(t.keyCode,"left",37,t.key)?"button"in t&&0!==t.button?null:void e.onLeftKeyDown(t):null},function(t){return"button"in t||!e._k(t.keyCode,"right",39,t.key)?"button"in t&&2!==t.button?null:void e.onRightKeyDown(t):null},function(t){if(!("button"in t)&&e._k(t.keyCode,"down",40,t.key))return null;t.preventDefault(),e.onLeftKeyDown(t)},function(t){if(!("button"in t)&&e._k(t.keyCode,"up",38,t.key))return null;t.preventDefault(),e.onRightKeyDown(t)}]}},[i("el-tooltip",{ref:"tooltip",attrs:{placement:"top","popper-class":e.tooltipClass,disabled:!e.showTooltip}},[i("span",{attrs:{slot:"content"},slot:"content"},[e._v(e._s(e.formatValue))]),i("div",{staticClass:"el-slider__button",class:{hover:e.hovering,dragging:e.dragging}})])],1)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-slider",class:{"is-vertical":e.vertical,"el-slider--with-input":e.showInput},attrs:{role:"slider","aria-valuemin":e.min,"aria-valuemax":e.max,"aria-orientation":e.vertical?"vertical":"horizontal","aria-disabled":e.sliderDisabled}},[e.showInput&&!e.range?i("el-input-number",{ref:"input",staticClass:"el-slider__input",attrs:{step:e.step,disabled:e.sliderDisabled,controls:e.showInputControls,min:e.min,max:e.max,debounce:e.debounce,size:e.inputSize},on:{change:function(t){e.$nextTick(e.emitChange)}},model:{value:e.firstValue,callback:function(t){e.firstValue=t},expression:"firstValue"}}):e._e(),i("div",{ref:"slider",staticClass:"el-slider__runway",class:{"show-input":e.showInput,disabled:e.sliderDisabled},style:e.runwayStyle,on:{click:e.onSliderClick}},[i("div",{staticClass:"el-slider__bar",style:e.barStyle}),i("slider-button",{ref:"button1",attrs:{vertical:e.vertical,"tooltip-class":e.tooltipClass},model:{value:e.firstValue,callback:function(t){e.firstValue=t},expression:"firstValue"}}),e.range?i("slider-button",{ref:"button2",attrs:{vertical:e.vertical,"tooltip-class":e.tooltipClass},model:{value:e.secondValue,callback:function(t){e.secondValue=t},expression:"secondValue"}}):e._e(),e._l(e.stops,function(t){return e.showStops?i("div",{staticClass:"el-slider__stop",style:e.vertical?{bottom:t+"%"}:{left:t+"%"}}):e._e()})],2)],1)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(380),r=n(s),a=i(383),o=n(a);t.default={install:function(e){e.use(r.default),e.prototype.$loading=o.default},directive:r.default,service:o.default}},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(2),r=n(s),a=i(89),o=n(a),l=i(3),u=i(14),c=i(90),d=n(c),h=r.default.extend(o.default),f={};f.install=function(e){if(!e.prototype.$isServer){var t=function(t,n){n.value?e.nextTick(function(){n.modifiers.fullscreen?(t.originalPosition=(0,l.getStyle)(document.body,"position"),t.originalOverflow=(0,l.getStyle)(document.body,"overflow"),t.maskStyle.zIndex=u.PopupManager.nextZIndex(),(0,l.addClass)(t.mask,"is-fullscreen"),i(document.body,t,n)):((0,l.removeClass)(t.mask,"is-fullscreen"),n.modifiers.body?(t.originalPosition=(0,l.getStyle)(document.body,"position"),["top","left"].forEach(function(e){var i="top"===e?"scrollTop":"scrollLeft";t.maskStyle[e]=t.getBoundingClientRect()[e]+document.body[i]+document.documentElement[i]-parseInt((0,l.getStyle)(document.body,"margin-"+e),10)+"px"}),["height","width"].forEach(function(e){t.maskStyle[e]=t.getBoundingClientRect()[e]+"px"}),i(document.body,t,n)):(t.originalPosition=(0,l.getStyle)(t,"position"),i(t,t,n)))}):((0,d.default)(t.instance,function(e){t.domVisible=!1;var i=n.modifiers.fullscreen||n.modifiers.body?document.body:t;(0,l.removeClass)(i,"el-loading-parent--relative"),(0,l.removeClass)(i,"el-loading-parent--hidden"),t.instance.hiding=!1},300,!0),t.instance.visible=!1,t.instance.hiding=!0)},i=function(t,i,n){i.domVisible||"none"===(0,l.getStyle)(i,"display")||"hidden"===(0,l.getStyle)(i,"visibility")||(Object.keys(i.maskStyle).forEach(function(e){i.mask.style[e]=i.maskStyle[e]}),"absolute"!==i.originalPosition&&"fixed"!==i.originalPosition&&(0,l.addClass)(t,"el-loading-parent--relative"),n.modifiers.fullscreen&&n.modifiers.lock&&(0,l.addClass)(t,"el-loading-parent--hidden"),i.domVisible=!0,t.appendChild(i.mask),e.nextTick(function(){i.instance.hiding?i.instance.$emit("after-leave"):i.instance.visible=!0}),i.domInserted=!0)};e.directive("loading",{bind:function(e,i,n){var s=e.getAttribute("element-loading-text"),r=e.getAttribute("element-loading-spinner"),a=e.getAttribute("element-loading-background"),o=e.getAttribute("element-loading-custom-class"),l=n.context,u=new h({el:document.createElement("div"),data:{text:l&&l[s]||s,spinner:l&&l[r]||r,background:l&&l[a]||a,customClass:l&&l[o]||o,fullscreen:!!i.modifiers.fullscreen}});e.instance=u,e.mask=u.$el,e.maskStyle={},i.value&&t(e,i)},update:function(e,i){e.instance.setText(e.getAttribute("element-loading-text")),i.oldValue!==i.value&&t(e,i)},unbind:function(e,i){e.domInserted&&(e.mask&&e.mask.parentNode&&e.mask.parentNode.removeChild(e.mask),t(e,{value:!1,modifiers:i.modifiers}))}})}},t.default=f},function(e,t,i){"use strict";t.__esModule=!0,t.default={data:function(){return{text:null,spinner:null,background:null,fullscreen:!0,visible:!1,customClass:""}},methods:{handleAfterLeave:function(){this.$emit("after-leave")},setText:function(e){this.text=e}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-loading-fade"},on:{"after-leave":e.handleAfterLeave}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],staticClass:"el-loading-mask",class:[e.customClass,{"is-fullscreen":e.fullscreen}],style:{backgroundColor:e.background||""}},[i("div",{staticClass:"el-loading-spinner"},[e.spinner?i("i",{class:e.spinner}):i("svg",{staticClass:"circular",attrs:{viewBox:"25 25 50 50"}},[i("circle",{staticClass:"path",attrs:{cx:"50",cy:"50",r:"20",fill:"none"}})]),e.text?i("p",{staticClass:"el-loading-text"},[e._v(e._s(e.text))]):e._e()])])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(2),r=n(s),a=i(89),o=n(a),l=i(3),u=i(14),c=i(90),d=n(c),h=i(10),f=n(h),p=r.default.extend(o.default),m={text:null,fullscreen:!0,body:!1,lock:!1,customClass:""},v=void 0;p.prototype.originalPosition="",p.prototype.originalOverflow="",p.prototype.close=function(){var e=this;this.fullscreen&&(v=void 0),(0,d.default)(this,function(t){var i=e.fullscreen||e.body?document.body:e.target;(0,l.removeClass)(i,"el-loading-parent--relative"),(0,l.removeClass)(i,"el-loading-parent--hidden"),e.$el&&e.$el.parentNode&&e.$el.parentNode.removeChild(e.$el),e.$destroy()},300),this.visible=!1};var g=function(e,t,i){var n={};e.fullscreen?(i.originalPosition=(0,l.getStyle)(document.body,"position"),i.originalOverflow=(0,l.getStyle)(document.body,"overflow"),n.zIndex=u.PopupManager.nextZIndex()):e.body?(i.originalPosition=(0,l.getStyle)(document.body,"position"),["top","left"].forEach(function(t){var i="top"===t?"scrollTop":"scrollLeft";n[t]=e.target.getBoundingClientRect()[t]+document.body[i]+document.documentElement[i]+"px"}),["height","width"].forEach(function(t){n[t]=e.target.getBoundingClientRect()[t]+"px"})):i.originalPosition=(0,l.getStyle)(t,"position"),Object.keys(n).forEach(function(e){i.$el.style[e]=n[e]})},b=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!r.default.prototype.$isServer){if(e=(0,f.default)({},m,e),"string"==typeof e.target&&(e.target=document.querySelector(e.target)),e.target=e.target||document.body,e.target!==document.body?e.fullscreen=!1:e.body=!0,e.fullscreen&&v)return v;var t=e.body?document.body:e.target,i=new p({el:document.createElement("div"),data:e});return g(e,t,i),"absolute"!==i.originalPosition&&"fixed"!==i.originalPosition&&(0,l.addClass)(t,"el-loading-parent--relative"),e.fullscreen&&e.lock&&(0,l.addClass)(t,"el-loading-parent--hidden"),t.appendChild(i.$el),r.default.nextTick(function(){i.visible=!0}),e.fullscreen&&(v=i),i}};t.default=b},function(e,t,i){"use strict";t.__esModule=!0;var n=i(385),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(386),s=i.n(n),r=i(387),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElIcon",props:{name:String}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("i",{class:"el-icon-"+e.name})},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(389),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElRow",componentName:"ElRow",props:{tag:{type:String,default:"div"},gutter:Number,type:String,justify:{type:String,default:"start"},align:{type:String,default:"top"}},computed:{style:function(){var e={};return this.gutter&&(e.marginLeft="-"+this.gutter/2+"px",e.marginRight=e.marginLeft),e}},render:function(e){return e(this.tag,{class:["el-row","start"!==this.justify?"is-justify-"+this.justify:"","top"!==this.align?"is-align-"+this.align:"",{"el-row--flex":"flex"===this.type}],style:this.style},this.$slots.default)}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(391),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";t.__esModule=!0;var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default={name:"ElCol",props:{span:{type:Number,default:24},tag:{type:String,default:"div"},offset:Number,pull:Number,push:Number,xs:[Number,Object],sm:[Number,Object],md:[Number,Object],lg:[Number,Object],xl:[Number,Object]},computed:{gutter:function(){for(var e=this.$parent;e&&"ElRow"!==e.$options.componentName;)e=e.$parent;return e?e.gutter:0}},render:function(e){var t=this,i=[],s={};return this.gutter&&(s.paddingLeft=this.gutter/2+"px",s.paddingRight=s.paddingLeft),["span","offset","pull","push"].forEach(function(e){(t[e]||0===t[e])&&i.push("span"!==e?"el-col-"+e+"-"+t[e]:"el-col-"+t[e])}),["xs","sm","md","lg","xl"].forEach(function(e){"number"==typeof t[e]?i.push("el-col-"+e+"-"+t[e]):"object"===n(t[e])&&function(){var n=t[e];Object.keys(n).forEach(function(t){i.push("span"!==t?"el-col-"+e+"-"+t+"-"+n[t]:"el-col-"+e+"-"+n[t])})}()}),e(this.tag,{class:["el-col",i],style:s},this.$slots.default)}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(393),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(394),s=i.n(n),r=i(0),a=r(s.a,null,!1,null,null,null);t.default=a.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}function s(){}t.__esModule=!0;var r=i(395),a=n(r),o=i(401),l=n(o),u=i(406),c=n(u),d=i(64),h=n(d),f=i(9),p=n(f);t.default={name:"ElUpload",mixins:[p.default],components:{ElProgress:h.default,UploadList:a.default,Upload:l.default,IframeUpload:c.default},provide:function(){return{uploader:this}},inject:{elForm:{default:""}},props:{action:{type:String,required:!0},headers:{type:Object,default:function(){return{}}},data:Object,multiple:Boolean,name:{type:String,default:"file"},drag:Boolean,dragger:Boolean,withCredentials:Boolean,showFileList:{type:Boolean,default:!0},accept:String,type:{type:String,default:"select"},beforeUpload:Function,beforeRemove:Function,onRemove:{type:Function,default:s},onChange:{type:Function,default:s},onPreview:{type:Function},onSuccess:{type:Function,default:s},onProgress:{type:Function,default:s},onError:{type:Function,default:s},fileList:{type:Array,default:function(){return[]}},autoUpload:{type:Boolean,default:!0},listType:{type:String,default:"text"},httpRequest:Function,disabled:Boolean,limit:Number,onExceed:{type:Function,default:s}},data:function(){return{uploadFiles:[],dragOver:!1,draging:!1,tempIndex:1}},computed:{uploadDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{fileList:{immediate:!0,handler:function(e){var t=this;this.uploadFiles=e.map(function(e){return e.uid=e.uid||Date.now()+t.tempIndex++,e.status=e.status||"success",e})}}},methods:{handleStart:function(e){e.uid=Date.now()+this.tempIndex++;var t={status:"ready",name:e.name,size:e.size,percentage:0,uid:e.uid,raw:e};try{t.url=URL.createObjectURL(e)}catch(e){return void console.error(e)}this.uploadFiles.push(t),this.onChange(t,this.uploadFiles)},handleProgress:function(e,t){var i=this.getFile(t);this.onProgress(e,i,this.uploadFiles),i.status="uploading",i.percentage=e.percent||0},handleSuccess:function(e,t){var i=this.getFile(t);i&&(i.status="success",i.response=e,this.onSuccess(e,i,this.uploadFiles),this.onChange(i,this.uploadFiles))},handleError:function(e,t){var i=this.getFile(t),n=this.uploadFiles;i.status="fail",n.splice(n.indexOf(i),1),this.onError(e,i,this.uploadFiles),this.onChange(i,this.uploadFiles)},handleRemove:function(e,t){var i=this;t&&(e=this.getFile(t));var n=function(){i.abort(e);var t=i.uploadFiles;t.splice(t.indexOf(e),1),i.onRemove(e,t)};if(this.beforeRemove){if("function"==typeof this.beforeRemove){var r=this.beforeRemove(e,this.uploadFiles);r&&r.then?r.then(function(){n()},s):!1!==r&&n()}}else n()},getFile:function(e){var t=this.uploadFiles,i=void 0;return t.every(function(t){return!(i=e.uid===t.uid?t:null)}),i},abort:function(e){this.$refs["upload-inner"].abort(e)},clearFiles:function(){this.uploadFiles=[]},submit:function(){var e=this;this.uploadFiles.filter(function(e){return"ready"===e.status}).forEach(function(t){e.$refs["upload-inner"].upload(t.raw)})},getMigratingConfig:function(){return{props:{"default-file-list":"default-file-list is renamed to file-list.","show-upload-list":"show-upload-list is renamed to show-file-list.","thumbnail-mode":"thumbnail-mode has been deprecated, you can implement the same effect according to this case: http://element.eleme.io/#/zh-CN/component/upload#yong-hu-tou-xiang-shang-chuan"}}}},render:function(e){var t=void 0;this.showFileList&&(t=e(a.default,{attrs:{disabled:this.uploadDisabled,listType:this.listType,files:this.uploadFiles,handlePreview:this.onPreview},on:{remove:this.handleRemove}},[]));var i={props:{type:this.type,drag:this.drag,action:this.action,multiple:this.multiple,"before-upload":this.beforeUpload,"with-credentials":this.withCredentials,headers:this.headers,name:this.name,data:this.data,accept:this.accept,fileList:this.uploadFiles,autoUpload:this.autoUpload,listType:this.listType,disabled:this.uploadDisabled,limit:this.limit,"on-exceed":this.onExceed,"on-start":this.handleStart,"on-progress":this.handleProgress,"on-success":this.handleSuccess,"on-error":this.handleError,"on-preview":this.onPreview,"on-remove":this.handleRemove,"http-request":this.httpRequest},ref:"upload-inner"},n=this.$slots.trigger||this.$slots.default,s="undefined"!=typeof FormData||this.$isServer?e("upload",i,[n]):e("iframeUpload",i,[n]);return e("div",null,["picture-card"===this.listType?t:"",this.$slots.trigger?[s,this.$slots.default]:s,this.$slots.tip,"picture-card"!==this.listType?t:""])}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(396),s=i.n(n),r=i(400),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(5),r=n(s),a=i(64),o=n(a);t.default={mixins:[r.default],data:function(){return{focusing:!1}},components:{ElProgress:o.default},props:{files:{type:Array,default:function(){return[]}},disabled:{type:Boolean,default:!1},handlePreview:Function,listType:String},methods:{parsePercentage:function(e){return parseInt(e,10)},handleClick:function(e){this.handlePreview&&this.handlePreview(e)}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(398),s=i.n(n),r=i(399),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElProgress",props:{type:{type:String,default:"line",validator:function(e){return["line","circle"].indexOf(e)>-1}},percentage:{type:Number,default:0,required:!0,validator:function(e){return e>=0&&e<=100}},status:{type:String},strokeWidth:{type:Number,default:6},textInside:{type:Boolean,default:!1},width:{type:Number,default:126},showText:{type:Boolean,default:!0},color:{type:String,default:""}},computed:{barStyle:function(){var e={};return e.width=this.percentage+"%",e.backgroundColor=this.color,e},relativeStrokeWidth:function(){return(this.strokeWidth/this.width*100).toFixed(1)},trackPath:function(){var e=parseInt(50-parseFloat(this.relativeStrokeWidth)/2,10);return"M 50 50 m 0 -"+e+" a "+e+" "+e+" 0 1 1 0 "+2*e+" a "+e+" "+e+" 0 1 1 0 -"+2*e},perimeter:function(){var e=50-parseFloat(this.relativeStrokeWidth)/2;return 2*Math.PI*e},circlePathStyle:function(){var e=this.perimeter;return{strokeDasharray:e+"px,"+e+"px",strokeDashoffset:(1-this.percentage/100)*e+"px",transition:"stroke-dashoffset 0.6s ease 0s, stroke 0.6s ease"}},stroke:function(){var e=void 0;if(this.color)e=this.color;else switch(this.status){case"success":e="#13ce66";break;case"exception":e="#ff4949";break;default:e="#20a0ff"}return e},iconClass:function(){return"line"===this.type?"success"===this.status?"el-icon-circle-check":"el-icon-circle-close":"success"===this.status?"el-icon-check":"el-icon-close"},progressTextSize:function(){return"line"===this.type?12+.4*this.strokeWidth:.111111*this.width+2}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-progress",class:["el-progress--"+e.type,e.status?"is-"+e.status:"",{"el-progress--without-text":!e.showText,"el-progress--text-inside":e.textInside}],attrs:{role:"progressbar","aria-valuenow":e.percentage,"aria-valuemin":"0","aria-valuemax":"100"}},["line"===e.type?i("div",{staticClass:"el-progress-bar"},[i("div",{staticClass:"el-progress-bar__outer",style:{height:e.strokeWidth+"px"}},[i("div",{staticClass:"el-progress-bar__inner",style:e.barStyle},[e.showText&&e.textInside?i("div",{staticClass:"el-progress-bar__innerText"},[e._v(e._s(e.percentage)+"%")]):e._e()])])]):i("div",{staticClass:"el-progress-circle",style:{height:e.width+"px",width:e.width+"px"}},[i("svg",{attrs:{viewBox:"0 0 100 100"}},[i("path",{staticClass:"el-progress-circle__track",attrs:{d:e.trackPath,stroke:"#e5e9f2","stroke-width":e.relativeStrokeWidth,fill:"none"}}),i("path",{staticClass:"el-progress-circle__path",style:e.circlePathStyle,attrs:{d:e.trackPath,"stroke-linecap":"round",stroke:e.stroke,"stroke-width":e.relativeStrokeWidth,fill:"none"}})])]),e.showText&&!e.textInside?i("div",{staticClass:"el-progress__text",style:{fontSize:e.progressTextSize+"px"}},[e.status?i("i",{class:e.iconClass}):[e._v(e._s(e.percentage)+"%")]],2):e._e()])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition-group",{class:["el-upload-list","el-upload-list--"+e.listType,{"is-disabled":e.disabled}],attrs:{tag:"ul",name:"el-list"}},e._l(e.files,function(t,n){return i("li",{key:n,class:["el-upload-list__item","is-"+t.status,e.focusing?"focusing":""],attrs:{tabindex:"0"},on:{keydown:function(i){if(!("button"in i)&&e._k(i.keyCode,"delete",[8,46],i.key))return null;!e.disabled&&e.$emit("remove",t)},focus:function(t){e.focusing=!0},blur:function(t){e.focusing=!1},click:function(t){e.focusing=!1}}},["uploading"!==t.status&&["picture-card","picture"].indexOf(e.listType)>-1?i("img",{staticClass:"el-upload-list__item-thumbnail",attrs:{src:t.url,alt:""}}):e._e(),i("a",{staticClass:"el-upload-list__item-name",on:{click:function(i){e.handleClick(t)}}},[i("i",{staticClass:"el-icon-document"}),e._v(e._s(t.name)+"\n ")]),i("label",{staticClass:"el-upload-list__item-status-label"},[i("i",{class:{"el-icon-upload-success":!0,"el-icon-circle-check":"text"===e.listType,"el-icon-check":["picture-card","picture"].indexOf(e.listType)>-1}})]),e.disabled?e._e():i("i",{staticClass:"el-icon-close",on:{click:function(i){e.$emit("remove",t)}}}),e.disabled?e._e():i("i",{staticClass:"el-icon-close-tip"},[e._v(e._s(e.t("el.upload.deleteTip")))]),"uploading"===t.status?i("el-progress",{attrs:{type:"picture-card"===e.listType?"circle":"line","stroke-width":"picture-card"===e.listType?6:2,percentage:e.parsePercentage(t.percentage)}}):e._e(),"picture-card"===e.listType?i("span",{staticClass:"el-upload-list__item-actions"},[e.handlePreview&&"picture-card"===e.listType?i("span",{staticClass:"el-upload-list__item-preview",on:{click:function(i){e.handlePreview(t)}}},[i("i",{staticClass:"el-icon-zoom-in"})]):e._e(),e.disabled?e._e():i("span",{staticClass:"el-upload-list__item-delete",on:{click:function(i){e.$emit("remove",t)}}},[i("i",{staticClass:"el-icon-delete"})])]):e._e()],1)}))},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(402),s=i.n(n),r=i(0),a=r(s.a,null,!1,null,null,null);t.default=a.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(91),r=n(s),a=i(403),o=n(a),l=i(92),u=n(l);t.default={inject:["uploader"],components:{UploadDragger:u.default},props:{type:String,action:{type:String,required:!0},name:{type:String,default:"file"},data:Object,headers:Object,withCredentials:Boolean,multiple:Boolean,accept:String,onStart:Function,onProgress:Function,onSuccess:Function,onError:Function,beforeUpload:Function,drag:Boolean,onPreview:{type:Function,default:function(){}},onRemove:{type:Function,default:function(){}},fileList:Array,autoUpload:Boolean,listType:String,httpRequest:{type:Function,default:o.default},disabled:Boolean,limit:Number,onExceed:Function},data:function(){return{mouseover:!1,reqs:{}}},methods:{isImage:function(e){return-1!==e.indexOf("image")},handleChange:function(e){var t=e.target.files;t&&this.uploadFiles(t)},uploadFiles:function(e){var t=this;if(this.limit&&this.fileList.length+e.length>this.limit)return void(this.onExceed&&this.onExceed(e,this.fileList));var i=Array.prototype.slice.call(e);this.multiple||(i=i.slice(0,1)),0!==i.length&&i.forEach(function(e){t.onStart(e),t.autoUpload&&t.upload(e)})},upload:function(e){var t=this;if(this.$refs.input.value=null,!this.beforeUpload)return this.post(e);var i=this.beforeUpload(e);i&&i.then?i.then(function(i){var n=Object.prototype.toString.call(i);"[object File]"===n||"[object Blob]"===n?(i.name=e.name,i.uid=e.uid,t.post(i)):t.post(e)},function(){t.onRemove(null,e)}):!1!==i?this.post(e):this.onRemove(null,e)},abort:function(e){var t=this.reqs;if(e){var i=e;e.uid&&(i=e.uid),t[i]&&t[i].abort()}else Object.keys(t).forEach(function(e){t[e]&&t[e].abort(),delete t[e]})},post:function(e){var t=this,i=e.uid,n={headers:this.headers,withCredentials:this.withCredentials,file:e,data:this.data,filename:this.name,action:this.action,onProgress:function(i){t.onProgress(i,e)},onSuccess:function(n){t.onSuccess(n,e),delete t.reqs[i]},onError:function(n){t.onError(n,e),delete t.reqs[i]}},s=this.httpRequest(n);this.reqs[i]=s,s&&s.then&&s.then(n.onSuccess,n.onError)},handleClick:function(){this.disabled||(this.$refs.input.value=null,this.$refs.input.click())},handleKeydown:function(e){e.target===e.currentTarget&&(13!==e.keyCode&&32!==e.keyCode||this.handleClick())}},render:function(e){var t=this.handleClick,i=this.drag,n=this.name,s=this.handleChange,a=this.multiple,o=this.accept,l=this.listType,u=this.uploadFiles,c=this.disabled,d=this.handleKeydown,h={class:{"el-upload":!0},on:{click:t,keydown:d}};return h.class["el-upload--"+l]=!0,e("div",(0,r.default)([h,{attrs:{tabindex:"0"}}]),[i?e("upload-dragger",{attrs:{disabled:c},on:{file:u}},[this.$slots.default]):this.$slots.default,e("input",{class:"el-upload__input",attrs:{type:"file",name:n,multiple:a,accept:o},ref:"input",on:{change:s}},[])])}}},function(e,t,i){"use strict";function n(e,t,i){var n=void 0;n=i.response?""+(i.response.error||i.response):i.responseText?""+i.responseText:"fail to post "+e+" "+i.status;var s=new Error(n);return s.status=i.status,s.method="post",s.url=e,s}function s(e){var t=e.responseText||e.response;if(!t)return t;try{return JSON.parse(t)}catch(e){return t}}function r(e){if("undefined"!=typeof XMLHttpRequest){var t=new XMLHttpRequest,i=e.action;t.upload&&(t.upload.onprogress=function(t){t.total>0&&(t.percent=t.loaded/t.total*100),e.onProgress(t)});var r=new FormData;e.data&&Object.keys(e.data).forEach(function(t){r.append(t,e.data[t])}),r.append(e.filename,e.file,e.file.name),t.onerror=function(t){e.onError(t)},t.onload=function(){if(t.status<200||t.status>=300)return e.onError(n(i,e,t));e.onSuccess(s(t))},t.open("post",i,!0),e.withCredentials&&"withCredentials"in t&&(t.withCredentials=!0);var a=e.headers||{};for(var o in a)a.hasOwnProperty(o)&&null!==a[o]&&t.setRequestHeader(o,a[o]);return t.send(r),t}}t.__esModule=!0,t.default=r},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElUploadDrag",props:{disabled:Boolean},inject:{uploader:{default:""}},data:function(){return{dragover:!1}},methods:{onDragover:function(){this.disabled||(this.dragover=!0)},onDrop:function(e){if(!this.disabled&&this.uploader){var t=this.uploader.accept;if(this.dragover=!1,!t)return void this.$emit("file",e.dataTransfer.files);this.$emit("file",[].slice.call(e.dataTransfer.files).filter(function(e){var i=e.type,n=e.name,s=n.indexOf(".")>-1?"."+n.split(".").pop():"",r=i.replace(/\/.*$/,"");return t.split(",").map(function(e){return e.trim()}).filter(function(e){return e}).some(function(e){return/\..+$/.test(e)?s===e:/\/\*$/.test(e)?r===e.replace(/\/\*$/,""):!!/^[^\/]+\/[^\/]+$/.test(e)&&i===e})}))}}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"el-upload-dragger",class:{"is-dragover":e.dragover},on:{drop:function(t){t.preventDefault(),e.onDrop(t)},dragover:function(t){t.preventDefault(),e.onDragover(t)},dragleave:function(t){t.preventDefault(),e.dragover=!1}}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(407),s=i.n(n),r=i(0),a=r(s.a,null,!1,null,null,null);t.default=a.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(92),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={components:{UploadDragger:s.default},props:{type:String,data:{},action:{type:String,required:!0},name:{type:String,default:"file"},withCredentials:Boolean,accept:String,onStart:Function,onProgress:Function,onSuccess:Function,onError:Function,beforeUpload:Function,onPreview:{type:Function,default:function(){}},onRemove:{type:Function,default:function(){}},drag:Boolean,listType:String,disabled:Boolean,limit:Number,onExceed:Function},data:function(){return{mouseover:!1,domain:"",file:null,submitting:!1}},methods:{isImage:function(e){return-1!==e.indexOf("image")},handleClick:function(){this.disabled||this.$refs.input.click()},handleChange:function(e){var t=e.target.value;t&&this.uploadFiles(t)},uploadFiles:function(e){if(this.limit&&this.$parent.uploadFiles.length+e.length>this.limit)return void(this.onExceed&&this.onExceed(this.fileList));if(!this.submitting){this.submitting=!0,this.file=e,this.onStart(e);var t=this.getFormNode(),i=this.getFormDataNode(),n=this.data;"function"==typeof n&&(n=n(e));var s=[];for(var r in n)n.hasOwnProperty(r)&&s.push('<input name="'+r+'" value="'+n[r]+'"/>');i.innerHTML=s.join(""),t.submit(),i.innerHTML=""}},getFormNode:function(){return this.$refs.form},getFormDataNode:function(){return this.$refs.data}},created:function(){this.frameName="frame-"+Date.now()},mounted:function(){var e=this;!this.$isServer&&window.addEventListener("message",function(t){if(e.file){var i=new URL(e.action).origin;if(t.origin===i){var n=t.data;"success"===n.result?e.onSuccess(n,e.file):"failed"===n.result&&e.onError(n,e.file),e.submitting=!1,e.file=null}}},!1)},render:function(e){var t=this.drag,i=this.uploadFiles,n=this.listType,s=this.frameName,r=this.disabled,a={"el-upload":!0};return a["el-upload--"+n]=!0,e("div",{class:a,on:{click:this.handleClick},nativeOn:{drop:this.onDrop,dragover:this.handleDragover,dragleave:this.handleDragleave}},[e("iframe",{on:{load:this.onload},ref:"iframe",attrs:{name:s}},[]),e("form",{ref:"form",attrs:{action:this.action,target:s,enctype:"multipart/form-data",method:"POST"}},[e("input",{class:"el-upload__input",attrs:{type:"file",name:"file",accept:this.accept},ref:"input",on:{change:this.handleChange}},[]),e("input",{attrs:{type:"hidden",name:"documentDomain",value:this.$isServer?"":document.domain}},[]),e("span",{ref:"data"},[])]),t?e("upload-dragger",{on:{file:i},attrs:{disabled:r}},[this.$slots.default]):this.$slots.default])}}},function(e,t,i){"use strict";t.__esModule=!0;var n=i(409),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(410),s=i.n(n),r=i(411),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElSpinner",props:{type:String,radius:{type:Number,default:100},strokeWidth:{type:Number,default:5},strokeColor:{type:String,default:"#efefef"}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",{staticClass:"el-spinner"},[i("svg",{staticClass:"el-spinner-inner",style:{width:e.radius/2+"px",height:e.radius/2+"px"},attrs:{viewBox:"0 0 50 50"}},[i("circle",{staticClass:"path",attrs:{cx:"25",cy:"25",r:"20",fill:"none",stroke:e.strokeColor,"stroke-width":e.strokeWidth}})])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(413),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default=s.default},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(2),r=n(s),a=i(414),o=n(a),l=i(14),u=i(34),c=r.default.extend(o.default),d=void 0,h=[],f=1,p=function e(t){if(!r.default.prototype.$isServer){t=t||{},"string"==typeof t&&(t={message:t});var i=t.onClose,n="message_"+f++;return t.onClose=function(){e.close(n,i)},d=new c({data:t}),d.id=n,(0,u.isVNode)(d.message)&&(d.$slots.default=[d.message],d.message=null),d.vm=d.$mount(),document.body.appendChild(d.vm.$el),d.vm.visible=!0,d.dom=d.vm.$el,d.dom.style.zIndex=l.PopupManager.nextZIndex(),h.push(d),d.vm}};["success","warning","info","error"].forEach(function(e){p[e]=function(t){return"string"==typeof t&&(t={message:t}),t.type=e,p(t)}}),p.close=function(e,t){for(var i=0,n=h.length;i<n;i++)if(e===h[i].id){"function"==typeof t&&t(h[i]),h.splice(i,1);break}},p.closeAll=function(){for(var e=h.length-1;e>=0;e--)h[e].close()},t.default=p},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(415),s=i.n(n),r=i(416),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n={success:"success",info:"info",warning:"warning",error:"error"};t.default={data:function(){return{visible:!1,message:"",duration:3e3,type:"info",iconClass:"",customClass:"",onClose:null,showClose:!1,closed:!1,timer:null,dangerouslyUseHTMLString:!1,center:!1}},computed:{iconWrapClass:function(){var e=["el-message__icon"];return this.type&&!this.iconClass&&e.push("el-message__icon--"+this.type),e},typeClass:function(){return this.type&&!this.iconClass?"el-message__icon el-icon-"+n[this.type]:""}},watch:{closed:function(e){e&&(this.visible=!1,this.$el.addEventListener("transitionend",this.destroyElement))}},methods:{destroyElement:function(){this.$el.removeEventListener("transitionend",this.destroyElement),this.$destroy(!0),this.$el.parentNode.removeChild(this.$el)},close:function(){this.closed=!0,"function"==typeof this.onClose&&this.onClose(this)},clearTimer:function(){clearTimeout(this.timer)},startTimer:function(){var e=this;this.duration>0&&(this.timer=setTimeout(function(){e.closed||e.close()},this.duration))},keydown:function(e){27===e.keyCode&&(this.closed||this.close())}},mounted:function(){this.startTimer(),document.addEventListener("keydown",this.keydown)},beforeDestroy:function(){document.removeEventListener("keydown",this.keydown)}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-message-fade"}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.visible,expression:"visible"}],class:["el-message",e.type&&!e.iconClass?"el-message--"+e.type:"",e.center?"is-center":"",e.showClose?"is-closable":"",e.customClass],attrs:{role:"alert"},on:{mouseenter:e.clearTimer,mouseleave:e.startTimer}},[e.iconClass?i("i",{class:e.iconClass}):i("i",{class:e.typeClass}),e._t("default",[e.dangerouslyUseHTMLString?i("p",{staticClass:"el-message__content",domProps:{innerHTML:e._s(e.message)}}):i("p",{staticClass:"el-message__content"},[e._v(e._s(e.message))])]),e.showClose?i("i",{staticClass:"el-message__closeBtn el-icon-close",on:{click:e.close}}):e._e()],2)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(418),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(419),s=i.n(n),r=i(420),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElBadge",props:{value:{},max:Number,isDot:Boolean,hidden:Boolean},computed:{content:function(){if(!this.isDot){var e=this.value,t=this.max;return"number"==typeof e&&"number"==typeof t&&t<e?t+"+":e}}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-badge"},[e._t("default"),i("transition",{attrs:{name:"el-zoom-in-center"}},[i("sup",{directives:[{name:"show",rawName:"v-show",value:!e.hidden&&(e.content||0===e.content||e.isDot),expression:"!hidden && (content || content === 0 || isDot)"}],staticClass:"el-badge__content",class:{"is-fixed":e.$slots.default,"is-dot":e.isDot},domProps:{textContent:e._s(e.content)}})])],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(422),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(423),s=i.n(n),r=i(424),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElCard",props:{header:{},bodyStyle:{},shadow:{type:String}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-card",class:e.shadow?"is-"+e.shadow+"-shadow":"is-always-shadow"},[e.$slots.header||e.header?i("div",{staticClass:"el-card__header"},[e._t("header",[e._v(e._s(e.header))])],2):e._e(),i("div",{staticClass:"el-card__body",style:e.bodyStyle},[e._t("default")],2)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(426),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(427),s=i.n(n),r=i(428),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(3),s=i(9),r=function(e){return e&&e.__esModule?e:{default:e}}(s);t.default={name:"ElRate",mixins:[r.default],inject:{elForm:{default:""}},data:function(){return{pointerAtLeftHalf:!0,currentValue:this.value,hoverIndex:-1}},props:{value:{type:Number,default:0},lowThreshold:{type:Number,default:2},highThreshold:{type:Number,default:4},max:{type:Number,default:5},colors:{type:Array,default:function(){return["#F7BA2A","#F7BA2A","#F7BA2A"]}},voidColor:{type:String,default:"#C6D1DE"},disabledVoidColor:{type:String,default:"#EFF2F7"},iconClasses:{type:Array,default:function(){return["el-icon-star-on","el-icon-star-on","el-icon-star-on"]}},voidIconClass:{type:String,default:"el-icon-star-off"},disabledVoidIconClass:{type:String,default:"el-icon-star-on"},disabled:{type:Boolean,default:!1},allowHalf:{type:Boolean,default:!1},showText:{type:Boolean,default:!1},showScore:{type:Boolean,default:!1},textColor:{type:String,default:"#1f2d3d"},texts:{type:Array,default:function(){return["极差","失望","一般","满意","惊喜"]}},scoreTemplate:{type:String,default:"{value}"}},computed:{text:function(){var e="";return this.showScore?e=this.scoreTemplate.replace(/\{\s*value\s*\}/,this.rateDisabled?this.value:this.currentValue):this.showText&&(e=this.texts[Math.ceil(this.currentValue)-1]),e},decimalStyle:function(){var e="";return this.rateDisabled&&(e=(this.valueDecimal<50?0:50)+"%"),this.allowHalf&&(e="50%"),{color:this.activeColor,width:e}},valueDecimal:function(){return 100*this.value-100*Math.floor(this.value)},decimalIconClass:function(){return this.getValueFromMap(this.value,this.classMap)},voidClass:function(){return this.rateDisabled?this.classMap.disabledVoidClass:this.classMap.voidClass},activeClass:function(){return this.getValueFromMap(this.currentValue,this.classMap)},colorMap:function(){return{lowColor:this.colors[0],mediumColor:this.colors[1],highColor:this.colors[2],voidColor:this.voidColor,disabledVoidColor:this.disabledVoidColor}},activeColor:function(){return this.getValueFromMap(this.currentValue,this.colorMap)},classes:function(){var e=[],t=0,i=this.currentValue;for(this.allowHalf&&this.currentValue!==Math.floor(this.currentValue)&&i--;t<i;t++)e.push(this.activeClass);for(;t<this.max;t++)e.push(this.voidClass);return e},classMap:function(){return{lowClass:this.iconClasses[0],mediumClass:this.iconClasses[1],highClass:this.iconClasses[2],voidClass:this.voidIconClass,disabledVoidClass:this.disabledVoidIconClass}},rateDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{value:function(e){this.currentValue=e,this.pointerAtLeftHalf=this.value!==Math.floor(this.value)}},methods:{getMigratingConfig:function(){return{props:{"text-template":"text-template is renamed to score-template."}}},getValueFromMap:function(e,t){return e<=this.lowThreshold?t.lowColor||t.lowClass:e>=this.highThreshold?t.highColor||t.highClass:t.mediumColor||t.mediumClass},showDecimalIcon:function(e){var t=this.rateDisabled&&this.valueDecimal>0&&e-1<this.value&&e>this.value,i=this.allowHalf&&this.pointerAtLeftHalf&&e-.5<=this.currentValue&&e>this.currentValue;return t||i},getIconStyle:function(e){var t=this.rateDisabled?this.colorMap.disabledVoidColor:this.colorMap.voidColor;return{color:e<=this.currentValue?this.activeColor:t}},selectValue:function(e){this.rateDisabled||(this.allowHalf&&this.pointerAtLeftHalf?(this.$emit("input",this.currentValue),this.$emit("change",this.currentValue)):(this.$emit("input",e),this.$emit("change",e)))},handleKey:function(e){if(!this.rateDisabled){var t=this.currentValue,i=e.keyCode;38===i||39===i?(this.allowHalf?t+=.5:t+=1,e.stopPropagation(),e.preventDefault()):37!==i&&40!==i||(this.allowHalf?t-=.5:t-=1,e.stopPropagation(),e.preventDefault()),t=t<0?0:t,t=t>this.max?this.max:t,this.$emit("input",t),this.$emit("change",t)}},setCurrentValue:function(e,t){if(!this.rateDisabled){if(this.allowHalf){var i=t.target;(0,n.hasClass)(i,"el-rate__item")&&(i=i.querySelector(".el-rate__icon")),(0,n.hasClass)(i,"el-rate__decimal")&&(i=i.parentNode),this.pointerAtLeftHalf=2*t.offsetX<=i.clientWidth,this.currentValue=this.pointerAtLeftHalf?e-.5:e}else this.currentValue=e;this.hoverIndex=e}},resetCurrentValue:function(){this.rateDisabled||(this.allowHalf&&(this.pointerAtLeftHalf=this.value!==Math.floor(this.value)),this.currentValue=this.value,this.hoverIndex=-1)}},created:function(){this.value||this.$emit("input",0)}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-rate",attrs:{role:"slider","aria-valuenow":e.currentValue,"aria-valuetext":e.text,"aria-valuemin":"0","aria-valuemax":e.max,tabindex:"0"},on:{keydown:e.handleKey}},[e._l(e.max,function(t){return i("span",{staticClass:"el-rate__item",style:{cursor:e.rateDisabled?"auto":"pointer"},on:{mousemove:function(i){e.setCurrentValue(t,i)},mouseleave:e.resetCurrentValue,click:function(i){e.selectValue(t)}}},[i("i",{staticClass:"el-rate__icon",class:[e.classes[t-1],{hover:e.hoverIndex===t}],style:e.getIconStyle(t)},[e.showDecimalIcon(t)?i("i",{staticClass:"el-rate__decimal",class:e.decimalIconClass,style:e.decimalStyle}):e._e()])])}),e.showText||e.showScore?i("span",{staticClass:"el-rate__text",style:{color:e.textColor}},[e._v(e._s(e.text))]):e._e()],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(430),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(431),s=i.n(n),r=i(432),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(9),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"ElSteps",mixins:[s.default],props:{space:[Number,String],active:Number,direction:{type:String,default:"horizontal"},alignCenter:Boolean,simple:Boolean,finishStatus:{type:String,default:"finish"},processStatus:{type:String,default:"process"}},data:function(){return{steps:[],stepOffset:0}},methods:{getMigratingConfig:function(){return{props:{center:"center is removed."}}}},watch:{active:function(e,t){this.$emit("change",e,t)},steps:function(e){e.forEach(function(e,t){e.index=t})}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"el-steps",class:[!e.simple&&"el-steps--"+e.direction,e.simple&&"el-steps--simple"]},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(434),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(435),s=i.n(n),r=i(436),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElStep",props:{title:String,icon:String,description:String,status:String},data:function(){return{index:-1,lineStyle:{},internalStatus:""}},beforeCreate:function(){this.$parent.steps.push(this)},beforeDestroy:function(){var e=this.$parent.steps,t=e.indexOf(this);t>=0&&e.splice(t,1)},computed:{currentStatus:function(){return this.status||this.internalStatus},prevStatus:function(){var e=this.$parent.steps[this.index-1];return e?e.currentStatus:"wait"},isCenter:function(){return this.$parent.alignCenter},isVertical:function(){return"vertical"===this.$parent.direction},isSimple:function(){return this.$parent.simple},isLast:function(){var e=this.$parent;return e.steps[e.steps.length-1]===this},stepsCount:function(){return this.$parent.steps.length},space:function(){var e=this.isSimple,t=this.$parent.space;return e?"":t},style:function(){var e={},t=this.$parent,i=t.steps.length,n="number"==typeof this.space?this.space+"px":this.space?this.space:100/(i-(this.isCenter?0:1))+"%";return e.flexBasis=n,this.isVertical?e:(this.isLast?e.maxWidth=100/this.stepsCount+"%":e.marginRight=-this.$parent.stepOffset+"px",e)}},methods:{updateStatus:function(e){var t=this.$parent.$children[this.index-1];e>this.index?this.internalStatus=this.$parent.finishStatus:e===this.index&&"error"!==this.prevStatus?this.internalStatus=this.$parent.processStatus:this.internalStatus="wait",t&&t.calcProgress(this.internalStatus)},calcProgress:function(e){var t=100,i={};i.transitionDelay=150*this.index+"ms",e===this.$parent.processStatus?(this.currentStatus,t=0):"wait"===e&&(t=0,i.transitionDelay=-150*this.index+"ms"),i.borderWidth=t?"1px":0,"vertical"===this.$parent.direction?i.height=t+"%":i.width=t+"%",this.lineStyle=i}},mounted:function(){var e=this,t=this.$watch("index",function(i){e.$watch("$parent.active",e.updateStatus,{immediate:!0}),t()})}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-step",class:[!e.isSimple&&"is-"+e.$parent.direction,e.isSimple&&"is-simple",e.isLast&&!e.space&&!e.isCenter&&"is-flex",e.isCenter&&!e.isVertical&&!e.isSimple&&"is-center"],style:e.style},[i("div",{staticClass:"el-step__head",class:"is-"+e.currentStatus},[i("div",{staticClass:"el-step__line",style:e.isLast?"":{marginRight:e.$parent.stepOffset+"px"}},[i("i",{staticClass:"el-step__line-inner",style:e.lineStyle})]),i("div",{staticClass:"el-step__icon",class:"is-"+(e.icon?"icon":"text")},["success"!==e.currentStatus&&"error"!==e.currentStatus?e._t("icon",[e.icon?i("i",{staticClass:"el-step__icon-inner",class:[e.icon]}):e._e(),e.icon||e.isSimple?e._e():i("div",{staticClass:"el-step__icon-inner"},[e._v(e._s(e.index+1))])]):i("i",{staticClass:"el-step__icon-inner is-status",class:["el-icon-"+("success"===e.currentStatus?"check":"close")]})],2)]),i("div",{staticClass:"el-step__main"},[i("div",{ref:"title",staticClass:"el-step__title",class:["is-"+e.currentStatus]},[e._t("title",[e._v(e._s(e.title))])],2),e.isSimple?i("div",{staticClass:"el-step__arrow"}):i("div",{staticClass:"el-step__description",class:["is-"+e.currentStatus]},[e._t("description",[e._v(e._s(e.description))])],2)])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(438),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(439),s=i.n(n),r=i(440),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(68),s=function(e){return e&&e.__esModule?e:{default:e}}(n),r=i(27);t.default={name:"ElCarousel",props:{initialIndex:{type:Number,default:0},height:String,trigger:{type:String,default:"hover"},autoplay:{type:Boolean,default:!0},interval:{type:Number,default:3e3},indicatorPosition:String,indicator:{type:Boolean,default:!0},arrow:{type:String,default:"hover"},type:String},data:function(){return{items:[],activeIndex:-1,containerWidth:0,timer:null,hover:!1}},computed:{hasLabel:function(){return this.items.some(function(e){return e.label.toString().length>0})}},watch:{items:function(e){e.length>0&&this.setActiveItem(this.initialIndex)},activeIndex:function(e,t){this.resetItemPosition(t),this.$emit("change",e,t)},autoplay:function(e){e?this.startTimer():this.pauseTimer()}},methods:{handleMouseEnter:function(){this.hover=!0,this.pauseTimer()},handleMouseLeave:function(){this.hover=!1,this.startTimer()},itemInStage:function(e,t){var i=this.items.length;return t===i-1&&e.inStage&&this.items[0].active||e.inStage&&this.items[t+1]&&this.items[t+1].active?"left":!!(0===t&&e.inStage&&this.items[i-1].active||e.inStage&&this.items[t-1]&&this.items[t-1].active)&&"right"},handleButtonEnter:function(e){var t=this;this.items.forEach(function(i,n){e===t.itemInStage(i,n)&&(i.hover=!0)})},handleButtonLeave:function(){this.items.forEach(function(e){e.hover=!1})},updateItems:function(){this.items=this.$children.filter(function(e){return"ElCarouselItem"===e.$options.name})},resetItemPosition:function(e){var t=this;this.items.forEach(function(i,n){i.translateItem(n,t.activeIndex,e)})},playSlides:function(){this.activeIndex<this.items.length-1?this.activeIndex++:this.activeIndex=0},pauseTimer:function(){clearInterval(this.timer)},startTimer:function(){this.interval<=0||!this.autoplay||(this.timer=setInterval(this.playSlides,this.interval))},setActiveItem:function(e){if("string"==typeof e){var t=this.items.filter(function(t){return t.name===e});t.length>0&&(e=this.items.indexOf(t[0]))}if(e=Number(e),!isNaN(e)&&e===Math.floor(e)){var i=this.items.length,n=this.activeIndex;this.activeIndex=e<0?i-1:e>=i?0:e,n===this.activeIndex&&this.resetItemPosition(n)}},prev:function(){this.setActiveItem(this.activeIndex-1)},next:function(){this.setActiveItem(this.activeIndex+1)},handleIndicatorClick:function(e){this.activeIndex=e},handleIndicatorHover:function(e){"hover"===this.trigger&&e!==this.activeIndex&&(this.activeIndex=e)}},created:function(){var e=this;this.throttledArrowClick=(0,s.default)(300,!0,function(t){e.setActiveItem(t)}),this.throttledIndicatorHover=(0,s.default)(300,function(t){e.handleIndicatorHover(t)})},mounted:function(){var e=this;this.updateItems(),this.$nextTick(function(){(0,r.addResizeListener)(e.$el,e.resetItemPosition),e.initialIndex<e.items.length&&e.initialIndex>=0&&(e.activeIndex=e.initialIndex),e.startTimer()})},beforeDestroy:function(){this.$el&&(0,r.removeResizeListener)(this.$el,this.resetItemPosition)}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-carousel",class:{"el-carousel--card":"card"===e.type},on:{mouseenter:function(t){t.stopPropagation(),e.handleMouseEnter(t)},mouseleave:function(t){t.stopPropagation(),e.handleMouseLeave(t)}}},[i("div",{staticClass:"el-carousel__container",style:{height:e.height}},[i("transition",{attrs:{name:"carousel-arrow-left"}},["never"!==e.arrow?i("button",{directives:[{name:"show",rawName:"v-show",value:"always"===e.arrow||e.hover,expression:"arrow === 'always' || hover"}],staticClass:"el-carousel__arrow el-carousel__arrow--left",attrs:{type:"button"},on:{mouseenter:function(t){e.handleButtonEnter("left")},mouseleave:e.handleButtonLeave,click:function(t){t.stopPropagation(),e.throttledArrowClick(e.activeIndex-1)}}},[i("i",{staticClass:"el-icon-arrow-left"})]):e._e()]),i("transition",{attrs:{name:"carousel-arrow-right"}},["never"!==e.arrow?i("button",{directives:[{name:"show",rawName:"v-show",value:"always"===e.arrow||e.hover,expression:"arrow === 'always' || hover"}],staticClass:"el-carousel__arrow el-carousel__arrow--right",attrs:{type:"button"},on:{mouseenter:function(t){e.handleButtonEnter("right")},mouseleave:e.handleButtonLeave,click:function(t){t.stopPropagation(),e.throttledArrowClick(e.activeIndex+1)}}},[i("i",{staticClass:"el-icon-arrow-right"})]):e._e()]),e._t("default")],2),"none"!==e.indicatorPosition?i("ul",{staticClass:"el-carousel__indicators",class:{"el-carousel__indicators--labels":e.hasLabel,"el-carousel__indicators--outside":"outside"===e.indicatorPosition||"card"===e.type}},e._l(e.items,function(t,n){return i("li",{staticClass:"el-carousel__indicator",class:{"is-active":n===e.activeIndex},on:{mouseenter:function(t){e.throttledIndicatorHover(n)},click:function(t){t.stopPropagation(),e.handleIndicatorClick(n)}}},[i("button",{staticClass:"el-carousel__button"},[e.hasLabel?i("span",[e._v(e._s(t.label))]):e._e()])])})):e._e()])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(442),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(443),s=i.n(n),r=i(444),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;t.default={name:"ElCarouselItem",props:{name:String,label:{type:[String,Number],default:""}},data:function(){return{hover:!1,translate:0,scale:1,active:!1,ready:!1,inStage:!1,animating:!1}},methods:{processIndex:function(e,t,i){return 0===t&&e===i-1?-1:t===i-1&&0===e?i:e<t-1&&t-e>=i/2?i+1:e>t+1&&e-t>=i/2?-2:e},calculateTranslate:function(e,t,i){return this.inStage?i*(1.17*(e-t)+1)/4:e<t?-1.83*i/4:3.83*i/4},translateItem:function(e,t,i){var n=this.$parent.$el.offsetWidth,s=this.$parent.items.length;"card"!==this.$parent.type&&void 0!==i&&(this.animating=e===t||e===i),e!==t&&s>2&&(e=this.processIndex(e,t,s)),"card"===this.$parent.type?(this.inStage=Math.round(Math.abs(e-t))<=1,this.active=e===t,this.translate=this.calculateTranslate(e,t,n),this.scale=this.active?1:.83):(this.active=e===t,this.translate=n*(e-t)),this.ready=!0},handleItemClick:function(){var e=this.$parent;if(e&&"card"===e.type){var t=e.items.indexOf(this);e.setActiveItem(t)}}},created:function(){this.$parent&&this.$parent.updateItems()},destroyed:function(){this.$parent&&this.$parent.updateItems()}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"show",rawName:"v-show",value:e.ready,expression:"ready"}],staticClass:"el-carousel__item",class:{"is-active":e.active,"el-carousel__item--card":"card"===e.$parent.type,"is-in-stage":e.inStage,"is-hover":e.hover,"is-animating":e.animating},style:{msTransform:"translateX("+e.translate+"px) scale("+e.scale+")",webkitTransform:"translateX("+e.translate+"px) scale("+e.scale+")",transform:"translateX("+e.translate+"px) scale("+e.scale+")"},on:{click:e.handleItemClick}},["card"===e.$parent.type?i("div",{directives:[{name:"show",rawName:"v-show",value:!e.active,expression:"!active"}],staticClass:"el-carousel__mask"}):e._e(),e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(446),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(447),s=i.n(n),r=i(448),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElCollapse",componentName:"ElCollapse",props:{accordion:Boolean,value:{type:[Array,String,Number],default:function(){return[]}}},data:function(){return{activeNames:[].concat(this.value)}},provide:function(){return{collapse:this}},watch:{value:function(e){this.activeNames=[].concat(e)}},methods:{setActiveNames:function(e){e=[].concat(e);var t=this.accordion?e[0]:e;this.activeNames=e,this.$emit("input",t),this.$emit("change",t)},handleItemClick:function(e){if(this.accordion)this.setActiveNames(!this.activeNames[0]&&0!==this.activeNames[0]||this.activeNames[0]!==e.name?e.name:"");else{var t=this.activeNames.slice(0),i=t.indexOf(e.name);i>-1?t.splice(i,1):t.push(e.name),this.setActiveNames(t)}}},created:function(){this.$on("item-click",this.handleItemClick)}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",{staticClass:"el-collapse",attrs:{role:"tablist","aria-multiselectable":"true"}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(450),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(451),s=i.n(n),r=i(452),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(32),r=n(s),a=i(1),o=n(a),l=i(6);t.default={name:"ElCollapseItem",componentName:"ElCollapseItem",mixins:[o.default],components:{ElCollapseTransition:r.default},data:function(){return{contentWrapStyle:{height:"auto",display:"block"},contentHeight:0,focusing:!1,isClick:!1}},inject:["collapse"],props:{title:String,name:{type:[String,Number],default:function(){return this._uid}}},computed:{isActive:function(){return this.collapse.activeNames.indexOf(this.name)>-1},id:function(){return(0,l.generateId)()}},methods:{handleFocus:function(){var e=this;setTimeout(function(){e.isClick?e.isClick=!1:e.focusing=!0},50)},handleHeaderClick:function(){this.dispatch("ElCollapse","item-click",this),this.focusing=!1,this.isClick=!0},handleEnterClick:function(){this.dispatch("ElCollapse","item-click",this)}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-collapse-item",class:{"is-active":e.isActive}},[i("div",{attrs:{role:"tab","aria-expanded":e.isActive,"aria-controls":"el-collapse-content-"+e.id,"aria-describedby":"el-collapse-content-"+e.id}},[i("div",{staticClass:"el-collapse-item__header",class:{focusing:e.focusing,"is-active":e.isActive},attrs:{role:"button",id:"el-collapse-head-"+e.id,tabindex:"0"},on:{click:e.handleHeaderClick,keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"space",32,t.key)&&e._k(t.keyCode,"enter",13,t.key))return null;t.stopPropagation(),e.handleEnterClick(t)},focus:e.handleFocus,blur:function(t){e.focusing=!1}}},[i("i",{staticClass:"el-collapse-item__arrow el-icon-arrow-right",class:{"is-active":e.isActive}}),e._t("title",[e._v(e._s(e.title))])],2)]),i("el-collapse-transition",[i("div",{directives:[{name:"show",rawName:"v-show",value:e.isActive,expression:"isActive"}],staticClass:"el-collapse-item__wrap",attrs:{role:"tabpanel","aria-hidden":!e.isActive,"aria-labelledby":"el-collapse-head-"+e.id,id:"el-collapse-content-"+e.id}},[i("div",{staticClass:"el-collapse-item__content"},[e._t("default")],2)])])],1)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(454),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(455),s=i.n(n),r=i(458),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(2),r=n(s),a=i(456),o=n(a),l=i(8),u=n(l),c=i(11),d=n(c),h=i(12),f=n(h),p=i(1),m=n(p),v=i(5),g=n(v),b=i(17),y=i(18),_=n(y),C=i(6),x={props:{placement:{type:String,default:"bottom-start"},appendToBody:d.default.props.appendToBody,arrowOffset:d.default.props.arrowOffset,offset:d.default.props.offset,boundariesPadding:d.default.props.boundariesPadding,popperOptions:d.default.props.popperOptions},methods:d.default.methods,data:d.default.data,beforeDestroy:d.default.beforeDestroy};t.default={name:"ElCascader",directives:{Clickoutside:f.default},mixins:[x,m.default,g.default],inject:{elForm:{default:""},elFormItem:{default:""}},components:{ElInput:u.default},props:{options:{type:Array,required:!0},props:{type:Object,default:function(){return{children:"children",label:"label",value:"value",disabled:"disabled"}}},value:{type:Array,default:function(){return[]}},separator:{type:String,default:"/"},placeholder:{type:String,default:function(){return(0,b.t)("el.cascader.placeholder")}},disabled:Boolean,clearable:{type:Boolean,default:!1},changeOnSelect:Boolean,popperClass:String,expandTrigger:{type:String,default:"click"},filterable:Boolean,size:String,showAllLevels:{type:Boolean,default:!0},debounce:{type:Number,default:300},beforeFilter:{type:Function,default:function(){return function(){}}},hoverThreshold:{type:Number,default:500}},data:function(){return{currentValue:this.value||[],menu:null,debouncedInputChange:function(){},menuVisible:!1,inputHover:!1,inputValue:"",flatOptions:null}},computed:{labelKey:function(){return this.props.label||"label"},valueKey:function(){return this.props.value||"value"},childrenKey:function(){return this.props.children||"children"},disabledKey:function(){return this.props.disabled||"disabled"},currentLabels:function(){var e=this,t=this.options,i=[];return this.currentValue.forEach(function(n){var s=t&&t.filter(function(t){return t[e.valueKey]===n})[0];s&&(i.push(s[e.labelKey]),t=s[e.childrenKey])}),i},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},cascaderSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},cascaderDisabled:function(){return this.disabled||(this.elForm||{}).disabled},id:function(){return(0,C.generateId)()}},watch:{menuVisible:function(e){this.$refs.input.$refs.input.setAttribute("aria-expanded",e),e?this.showMenu():this.hideMenu()},value:function(e){this.currentValue=e},currentValue:function(e){this.dispatch("ElFormItem","el.form.change",[e])},currentLabels:function(e){var t=this.showAllLevels?e.join("/"):e[e.length-1];this.$refs.input.$refs.input.setAttribute("value",t)},options:{deep:!0,handler:function(e){this.menu||this.initMenu(),this.flatOptions=this.flattenOptions(this.options),this.menu.options=e}}},methods:{initMenu:function(){this.menu=new r.default(o.default).$mount(),this.menu.options=this.options,this.menu.props=this.props,this.menu.expandTrigger=this.expandTrigger,this.menu.changeOnSelect=this.changeOnSelect,this.menu.popperClass=this.popperClass,this.menu.hoverThreshold=this.hoverThreshold,this.popperElm=this.menu.$el,this.menu.$refs.menus[0].setAttribute("id","cascader-menu-"+this.id),this.menu.$on("pick",this.handlePick),this.menu.$on("activeItemChange",this.handleActiveItemChange),this.menu.$on("menuLeave",this.doDestroy),this.menu.$on("closeInside",this.handleClickoutside)},showMenu:function(){var e=this;this.menu||this.initMenu(),this.menu.value=this.currentValue.slice(0),this.menu.visible=!0,this.menu.options=this.options,this.$nextTick(function(t){e.updatePopper(),e.menu.inputWidth=e.$refs.input.$el.offsetWidth-2})},hideMenu:function(){this.inputValue="",this.menu.visible=!1,this.$refs.input.focus()},handleActiveItemChange:function(e){var t=this;this.$nextTick(function(e){t.updatePopper()}),this.$emit("active-item-change",e)},handleKeydown:function(e){var t=this,i=e.keyCode;13===i?this.handleClick():40===i?(this.menuVisible=!0,setTimeout(function(){t.popperElm.querySelectorAll(".el-cascader-menu")[0].querySelectorAll("[tabindex='-1']")[0].focus()}),e.stopPropagation(),e.preventDefault()):27!==i&&9!==i||(this.inputValue="",this.menu&&(this.menu.visible=!1))},handlePick:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this.currentValue=e,this.$emit("input",e),this.$emit("change",e),t?this.menuVisible=!1:this.$nextTick(this.updatePopper)},handleInputChange:function(e){var t=this;if(this.menuVisible){var i=this.flatOptions;if(!e)return this.menu.options=this.options,void this.$nextTick(this.updatePopper);var n=i.filter(function(i){return i.some(function(i){return new RegExp(e,"i").test(i[t.labelKey])})});n=n.length>0?n.map(function(i){return{__IS__FLAT__OPTIONS:!0,value:i.map(function(e){return e[t.valueKey]}),label:t.renderFilteredOptionLabel(e,i),disabled:i.some(function(e){return e[t.disabledKey]})}}):[{__IS__FLAT__OPTIONS:!0,label:this.t("el.cascader.noMatch"),value:"",disabled:!0}],this.menu.options=n,this.$nextTick(this.updatePopper)}},renderFilteredOptionLabel:function(e,t){var i=this;return t.map(function(t,n){var s=t[i.labelKey],r=s.toLowerCase().indexOf(e.toLowerCase()),a=s.slice(r,e.length+r),o=r>-1?i.highlightKeyword(s,a):s;return 0===n?o:[" / ",o]})},highlightKeyword:function(e,t){var i=this,n=this._c;return e.split(t).map(function(e,s){return 0===s?e:[n("span",{class:{"el-cascader-menu__item__keyword":!0}},[i._v(t)]),e]})},flattenOptions:function(e){var t=this,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=[];return e.forEach(function(e){var s=i.concat(e);e[t.childrenKey]?(t.changeOnSelect&&n.push(s),n=n.concat(t.flattenOptions(e[t.childrenKey],s))):n.push(s)}),n},clearValue:function(e){e.stopPropagation(),this.handlePick([],!0)},handleClickoutside:function(){this.menuVisible=!1},handleClick:function(){if(!this.cascaderDisabled){if(this.$refs.input.focus(),this.filterable)return void(this.menuVisible=!0);this.menuVisible=!this.menuVisible}},handleFocus:function(e){this.$emit("focus",e)},handleBlur:function(e){this.$emit("blur",e)}},created:function(){var e=this;this.debouncedInputChange=(0,_.default)(this.debounce,function(t){var i=e.beforeFilter(t);i&&i.then?(e.menu.options=[{__IS__FLAT__OPTIONS:!0,label:e.t("el.cascader.loading"),value:"",disabled:!0}],i.then(function(){e.$nextTick(function(){e.handleInputChange(t)})})):!1!==i&&e.$nextTick(function(){e.handleInputChange(t)})})},mounted:function(){this.flatOptions=this.flattenOptions(this.options)}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(457),s=i.n(n),r=i(0),a=r(s.a,null,!1,null,null,null);t.default=a.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(91),r=n(s),a=i(43),o=i(45),l=n(o),u=i(6),c=function e(t,i){if(!t||!Array.isArray(t)||!i)return t;var n=[],s=["__IS__FLAT__OPTIONS","label","value","disabled"],r=i.children||"children";return t.forEach(function(t){var a={};s.forEach(function(e){var n=i[e],s=t[n];void 0===s&&(n=e,s=t[n]),void 0!==s&&(a[n]=s)}),Array.isArray(t[r])&&(a[r]=e(t[r],i)),n.push(a)}),n};t.default={name:"ElCascaderMenu",data:function(){return{inputWidth:0,options:[],props:{},visible:!1,activeValue:[],value:[],expandTrigger:"click",changeOnSelect:!1,popperClass:"",hoverTimer:0,clicking:!1}},watch:{visible:function(e){e&&(this.activeValue=this.value)},value:{immediate:!0,handler:function(e){this.activeValue=e}}},computed:{activeOptions:{cache:!1,get:function(){var e=this,t=this.activeValue,i=["label","value","children","disabled"],n=c(this.options,this.props);return function t(n){n.forEach(function(n){n.__IS__FLAT__OPTIONS||(i.forEach(function(t){var i=n[e.props[t]||t];void 0!==i&&(n[t]=i)}),Array.isArray(n.children)&&t(n.children))})}(n),function e(i){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=n.length;n[s]=i;var r=t[s];return(0,a.isDef)(r)&&(i=i.filter(function(e){return e.value===r})[0])&&i.children&&e(i.children,n),n}(n)}},id:function(){return(0,u.generateId)()}},methods:{select:function(e,t){e.__IS__FLAT__OPTIONS?this.activeValue=e.value:t?this.activeValue.splice(t,this.activeValue.length-1,e.value):this.activeValue=[e.value],this.$emit("pick",this.activeValue.slice())},handleMenuLeave:function(){this.$emit("menuLeave")},activeItem:function(e,t){var i=this.activeOptions.length;this.activeValue.splice(t,i,e.value),this.activeOptions.splice(t+1,i,e.children),this.changeOnSelect?this.$emit("pick",this.activeValue.slice(),!1):this.$emit("activeItemChange",this.activeValue)},scrollMenu:function(e){(0,l.default)(e,e.getElementsByClassName("is-active")[0])},handleMenuEnter:function(){var e=this;this.$nextTick(function(){return e.$refs.menus.forEach(function(t){return e.scrollMenu(t)})})}},render:function(e){var t=this,i=this.activeValue,n=this.activeOptions,s=this.visible,a=this.expandTrigger,o=this.popperClass,l=this.hoverThreshold,u=null,c=0,d={},h=function(e){var i=d.activeMenu;if(i){var n=e.offsetX,s=i.offsetWidth,r=i.offsetHeight;if(e.target===d.activeItem){clearTimeout(t.hoverTimer);var a=d,o=a.activeItem,u=o.offsetTop,c=u+o.offsetHeight;d.hoverZone.innerHTML='\n <path style="pointer-events: auto;" fill="transparent" d="M'+n+" "+u+" L"+s+" 0 V"+u+' Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M'+n+" "+c+" L"+s+" "+r+" V"+c+' Z" />\n '}else t.hoverTimer||(t.hoverTimer=setTimeout(function(){d.hoverZone.innerHTML=""},l))}},f=this._l(n,function(n,s){var o=!1,l="menu-"+t.id+"-"+s,d="menu-"+t.id+"-"+(s+1),f=t._l(n,function(n){var h={on:{}};return n.__IS__FLAT__OPTIONS&&(o=!0),n.disabled||(h.on.keydown=function(e){var i=e.keyCode;if(!([37,38,39,40,13,9,27].indexOf(i)<0)){var r=e.target,a=t.$refs.menus[s],o=a.querySelectorAll("[tabindex='-1']"),l=Array.prototype.indexOf.call(o,r),u=void 0,c=void 0;if([38,40].indexOf(i)>-1)38===i?u=0!==l?l-1:l:40===i&&(u=l!==o.length-1?l+1:l),o[u].focus();else if(37===i){if(0!==s){var d=t.$refs.menus[s-1];d.querySelector("[aria-expanded=true]").focus()}}else if(39===i)n.children&&(c=t.$refs.menus[s+1],c.querySelectorAll("[tabindex='-1']")[0].focus());else if(13===i){if(!n.children){var h=r.getAttribute("id");a.setAttribute("aria-activedescendant",h),t.select(n,s),t.$nextTick(function(){return t.scrollMenu(t.$refs.menus[s])})}}else 9!==i&&27!==i||t.$emit("closeInside")}},n.children?function(){var e={click:"click",hover:"mouseenter"}[a],i=function(){t.activeItem(n,s),t.$nextTick(function(){t.scrollMenu(t.$refs.menus[s]),t.scrollMenu(t.$refs.menus[s+1])})};h.on[e]=i,h.on.mousedown=function(){t.clicking=!0},h.on.focus=function(){if(t.clicking)return void(t.clicking=!1);i()}}():h.on.click=function(){t.select(n,s),t.$nextTick(function(){return t.scrollMenu(t.$refs.menus[s])})}),n.disabled||n.children||(u=l+"-"+c,c++),e("li",(0,r.default)([{class:{"el-cascader-menu__item":!0,"el-cascader-menu__item--extensible":n.children,"is-active":n.value===i[s],"is-disabled":n.disabled},ref:n.value===i[s]?"activeItem":null},h,{attrs:{tabindex:n.disabled?null:-1,role:"menuitem","aria-haspopup":!!n.children,"aria-expanded":n.value===i[s],id:u,"aria-owns":n.children?d:null}}]),[n.label])}),p={};o&&(p.minWidth=t.inputWidth+"px");var m="hover"===a&&i.length-1===s,v={on:{}};return m&&(v.on.mousemove=h,p.position="relative"),e("ul",(0,r.default)([{class:{"el-cascader-menu":!0,"el-cascader-menu--flexible":o}},v,{style:p,refInFor:!0,ref:"menus",attrs:{role:"menu",id:l}}]),[f,m?e("svg",{ref:"hoverZone",style:{position:"absolute",top:0,height:"100%",width:"100%",left:0,pointerEvents:"none"}},[]):null])});return"hover"===a&&this.$nextTick(function(){var e=t.$refs.activeItem;if(e){var i=e.parentElement,n=t.$refs.hoverZone;d={activeMenu:i,activeItem:e,hoverZone:n}}else d={}}),e("transition",{attrs:{name:"el-zoom-in-top"},on:{"before-enter":this.handleMenuEnter,"after-leave":this.handleMenuLeave}},[e("div",{directives:[{name:"show",value:s}],class:["el-cascader-menus el-popper",o],ref:"wrapper"},[e("div",{attrs:{"x-arrow":!0},class:"popper__arrow"},[]),f])])}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("span",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.handleClickoutside,expression:"handleClickoutside"}],ref:"reference",staticClass:"el-cascader",class:[{"is-opened":e.menuVisible,"is-disabled":e.cascaderDisabled},e.cascaderSize?"el-cascader--"+e.cascaderSize:""],on:{click:e.handleClick,mouseenter:function(t){e.inputHover=!0},focus:function(t){e.inputHover=!0},mouseleave:function(t){e.inputHover=!1},blur:function(t){e.inputHover=!1},keydown:e.handleKeydown}},[i("el-input",{ref:"input",attrs:{readonly:!e.filterable,placeholder:e.currentLabels.length?void 0:e.placeholder,"validate-event":!1,size:e.size,disabled:e.cascaderDisabled},on:{input:e.debouncedInputChange,focus:e.handleFocus,blur:e.handleBlur},model:{value:e.inputValue,callback:function(t){e.inputValue=t},expression:"inputValue"}},[i("template",{attrs:{slot:"suffix"},slot:"suffix"},[e.clearable&&e.inputHover&&e.currentLabels.length?i("i",{key:"1",staticClass:"el-input__icon el-icon-circle-close el-cascader__clearIcon",on:{click:e.clearValue}}):i("i",{key:"2",staticClass:"el-input__icon el-icon-arrow-down",class:{"is-reverse":e.menuVisible}})])],2),i("span",{directives:[{name:"show",rawName:"v-show",value:""===e.inputValue,expression:"inputValue === ''"}],staticClass:"el-cascader__label"},[e.showAllLevels?[e._l(e.currentLabels,function(t,n){return[e._v("\n "+e._s(t)+"\n "),n<e.currentLabels.length-1?i("span",[e._v(" "+e._s(e.separator)+" ")]):e._e()]})]:[e._v("\n "+e._s(e.currentLabels[e.currentLabels.length-1])+"\n ")]],2)],1)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(460),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(461),s=i.n(n),r=i(477),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(93),r=n(s),a=i(462),o=n(a),l=i(12),u=n(l);t.default={name:"ElColorPicker",props:{value:String,showAlpha:Boolean,colorFormat:String,disabled:Boolean,size:String,popperClass:String,predefine:Array},inject:{elForm:{default:""},elFormItem:{default:""}},directives:{Clickoutside:u.default},computed:{displayedColor:function(){return this.value||this.showPanelColor?this.displayedRgb(this.color,this.showAlpha):"transparent"},_elFormItemSize:function(){return(this.elFormItem||{}).elFormItemSize},colorSize:function(){return this.size||this._elFormItemSize||(this.$ELEMENT||{}).size},colorDisabled:function(){return this.disabled||(this.elForm||{}).disabled}},watch:{value:function(e){e?e&&e!==this.color.value&&this.color.fromString(e):this.showPanelColor=!1},color:{deep:!0,handler:function(){this.showPanelColor=!0}},displayedColor:function(e){var t=new r.default({enableAlpha:this.showAlpha,format:this.colorFormat});t.fromString(this.value),e!==this.displayedRgb(t,this.showAlpha)&&this.$emit("active-change",e)}},methods:{handleTrigger:function(){this.colorDisabled||(this.showPicker=!this.showPicker)},confirmValue:function(e){this.$emit("input",this.color.value),this.$emit("change",this.color.value),this.showPicker=!1},clearValue:function(){this.$emit("input",null),this.$emit("change",null),this.showPanelColor=!1,this.showPicker=!1,this.resetColor()},hide:function(){this.showPicker=!1,this.resetColor()},resetColor:function(){var e=this;this.$nextTick(function(t){e.value?e.color.fromString(e.value):e.showPanelColor=!1})},displayedRgb:function(e,t){if(!(e instanceof r.default))throw Error("color should be instance of Color Class");var i=e.toRgb(),n=i.r,s=i.g,a=i.b;return t?"rgba("+n+", "+s+", "+a+", "+e.get("alpha")/100+")":"rgb("+n+", "+s+", "+a+")"}},mounted:function(){var e=this.value;e&&this.color.fromString(e),this.popperElm=this.$refs.dropdown.$el},data:function(){return{color:new r.default({enableAlpha:this.showAlpha,format:this.colorFormat}),showPicker:!1,showPanelColor:!1}},components:{PickerDropdown:o.default}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(463),s=i.n(n),r=i(476),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(464),r=n(s),a=i(467),o=n(a),l=i(470),u=n(l),c=i(473),d=n(c),h=i(11),f=n(h),p=i(5),m=n(p),v=i(8),g=n(v),b=i(19),y=n(b);t.default={name:"el-color-picker-dropdown",mixins:[f.default,m.default],components:{SvPanel:r.default,HueSlider:o.default,AlphaSlider:u.default,ElInput:g.default,ElButton:y.default,Predefine:d.default},props:{color:{required:!0},showAlpha:Boolean,predefine:Array},data:function(){return{customInput:""}},computed:{currentColor:function(){var e=this.$parent;return e.value||e.showPanelColor?e.color.value:""}},methods:{confirmValue:function(){this.$emit("pick")},handleConfirm:function(){this.color.fromString(this.customInput)}},mounted:function(){this.$parent.popperElm=this.popperElm=this.$el,this.referenceElm=this.$parent.$el},watch:{showPopper:function(e){var t=this;!0===e&&this.$nextTick(function(){var e=t.$refs,i=e.sl,n=e.hue,s=e.alpha;i&&i.update(),n&&n.update(),s&&s.update()})},currentColor:function(e){this.customInput=e}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(465),s=i.n(n),r=i(466),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(65),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"el-sl-panel",props:{color:{required:!0}},computed:{colorValue:function(){return{hue:this.color.get("hue"),value:this.color.get("value")}}},watch:{colorValue:function(){this.update()}},methods:{update:function(){var e=this.color.get("saturation"),t=this.color.get("value"),i=this.$el,n=i.getBoundingClientRect(),s=n.width,r=n.height;r||(r=3*s/4),this.cursorLeft=e*s/100,this.cursorTop=(100-t)*r/100,this.background="hsl("+this.color.get("hue")+", 100%, 50%)"},handleDrag:function(e){var t=this.$el,i=t.getBoundingClientRect(),n=e.clientX-i.left,s=e.clientY-i.top;n=Math.max(0,n),n=Math.min(n,i.width),s=Math.max(0,s),s=Math.min(s,i.height),this.cursorLeft=n,this.cursorTop=s,this.color.set({saturation:n/i.width*100,value:100-s/i.height*100})}},mounted:function(){var e=this;(0,s.default)(this.$el,{drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}}),this.update()},data:function(){return{cursorTop:0,cursorLeft:0,background:"hsl(0, 100%, 50%)"}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-color-svpanel",style:{backgroundColor:e.background}},[i("div",{staticClass:"el-color-svpanel__white"}),i("div",{staticClass:"el-color-svpanel__black"}),i("div",{staticClass:"el-color-svpanel__cursor",style:{top:e.cursorTop+"px",left:e.cursorLeft+"px"}},[i("div")])])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(468),s=i.n(n),r=i(469),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(65),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"el-color-hue-slider",props:{color:{required:!0},vertical:Boolean},data:function(){return{thumbLeft:0,thumbTop:0}},computed:{hueValue:function(){return this.color.get("hue")}},watch:{hueValue:function(){this.update()}},methods:{handleClick:function(e){var t=this.$refs.thumb;e.target!==t&&this.handleDrag(e)},handleDrag:function(e){var t=this.$el.getBoundingClientRect(),i=this.$refs.thumb,n=void 0;if(this.vertical){var s=e.clientY-t.top;s=Math.min(s,t.height-i.offsetHeight/2),s=Math.max(i.offsetHeight/2,s),n=Math.round((s-i.offsetHeight/2)/(t.height-i.offsetHeight)*360)}else{var r=e.clientX-t.left;r=Math.min(r,t.width-i.offsetWidth/2),r=Math.max(i.offsetWidth/2,r),n=Math.round((r-i.offsetWidth/2)/(t.width-i.offsetWidth)*360)}this.color.set("hue",n)},getThumbLeft:function(){if(this.vertical)return 0;var e=this.$el,t=this.color.get("hue");if(!e)return 0;var i=this.$refs.thumb;return Math.round(t*(e.offsetWidth-i.offsetWidth/2)/360)},getThumbTop:function(){if(!this.vertical)return 0;var e=this.$el,t=this.color.get("hue");if(!e)return 0;var i=this.$refs.thumb;return Math.round(t*(e.offsetHeight-i.offsetHeight/2)/360)},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop()}},mounted:function(){var e=this,t=this.$refs,i=t.bar,n=t.thumb,r={drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}};(0,s.default)(i,r),(0,s.default)(n,r),this.update()}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-color-hue-slider",class:{"is-vertical":e.vertical}},[i("div",{ref:"bar",staticClass:"el-color-hue-slider__bar",on:{click:e.handleClick}}),i("div",{ref:"thumb",staticClass:"el-color-hue-slider__thumb",style:{left:e.thumbLeft+"px",top:e.thumbTop+"px"}})])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(471),s=i.n(n),r=i(472),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(65),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={name:"el-color-alpha-slider",props:{color:{required:!0},vertical:Boolean},watch:{"color._alpha":function(){this.update()},"color.value":function(){this.update()}},methods:{handleClick:function(e){var t=this.$refs.thumb;e.target!==t&&this.handleDrag(e)},handleDrag:function(e){var t=this.$el.getBoundingClientRect(),i=this.$refs.thumb;if(this.vertical){var n=e.clientY-t.top;n=Math.max(i.offsetHeight/2,n),n=Math.min(n,t.height-i.offsetHeight/2),this.color.set("alpha",Math.round((n-i.offsetHeight/2)/(t.height-i.offsetHeight)*100))}else{var s=e.clientX-t.left;s=Math.max(i.offsetWidth/2,s),s=Math.min(s,t.width-i.offsetWidth/2),this.color.set("alpha",Math.round((s-i.offsetWidth/2)/(t.width-i.offsetWidth)*100))}},getThumbLeft:function(){if(this.vertical)return 0;var e=this.$el,t=this.color._alpha;if(!e)return 0;var i=this.$refs.thumb;return Math.round(t*(e.offsetWidth-i.offsetWidth/2)/100)},getThumbTop:function(){if(!this.vertical)return 0;var e=this.$el,t=this.color._alpha;if(!e)return 0;var i=this.$refs.thumb;return Math.round(t*(e.offsetHeight-i.offsetHeight/2)/100)},getBackground:function(){if(this.color&&this.color.value){var e=this.color.toRgb(),t=e.r,i=e.g,n=e.b;return"linear-gradient(to right, rgba("+t+", "+i+", "+n+", 0) 0%, rgba("+t+", "+i+", "+n+", 1) 100%)"}return null},update:function(){this.thumbLeft=this.getThumbLeft(),this.thumbTop=this.getThumbTop(),this.background=this.getBackground()}},data:function(){return{thumbLeft:0,thumbTop:0,background:null}},mounted:function(){var e=this,t=this.$refs,i=t.bar,n=t.thumb,r={drag:function(t){e.handleDrag(t)},end:function(t){e.handleDrag(t)}};(0,s.default)(i,r),(0,s.default)(n,r),this.update()}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-color-alpha-slider",class:{"is-vertical":e.vertical}},[i("div",{ref:"bar",staticClass:"el-color-alpha-slider__bar",style:{background:e.background},on:{click:e.handleClick}}),i("div",{ref:"thumb",staticClass:"el-color-alpha-slider__thumb",style:{left:e.thumbLeft+"px",top:e.thumbTop+"px"}})])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(474),s=i.n(n),r=i(475),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0;var n=i(93),s=function(e){return e&&e.__esModule?e:{default:e}}(n);t.default={props:{colors:{type:Array,required:!0},color:{required:!0}},data:function(){return{rgbaColors:this.parseColors(this.colors,this.color)}},methods:{handleSelect:function(e){this.color.fromString(this.colors[e])},parseColors:function(e,t){return e.map(function(e){var i=new s.default;return i.enableAlpha=!0,i.format="rgba",i.fromString(e),i.selected=i.value===t.value,i})}},watch:{"$parent.currentColor":function(e){var t=new s.default;t.fromString(e),this.rgbaColors.forEach(function(e){e.selected=t.compare(e)})},colors:function(e){this.rgbaColors=this.parseColors(e,this.color)},color:function(e){this.rgbaColors=this.parseColors(this.colors,e)}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-color-predefine"},[i("div",{staticClass:"el-color-predefine__colors"},e._l(e.rgbaColors,function(t,n){return i("div",{key:e.colors[n],staticClass:"el-color-predefine__color-selector",class:{selected:t.selected,"is-alpha":t._alpha<100},on:{click:function(t){e.handleSelect(n)}}},[i("div",{style:{"background-color":t.value}})])}))])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("transition",{attrs:{name:"el-zoom-in-top"},on:{"after-leave":e.doDestroy}},[i("div",{directives:[{name:"show",rawName:"v-show",value:e.showPopper,expression:"showPopper"}],staticClass:"el-color-dropdown"},[i("div",{staticClass:"el-color-dropdown__main-wrapper"},[i("hue-slider",{ref:"hue",staticStyle:{float:"right"},attrs:{color:e.color,vertical:""}}),i("sv-panel",{ref:"sl",attrs:{color:e.color}})],1),e.showAlpha?i("alpha-slider",{ref:"alpha",attrs:{color:e.color}}):e._e(),e.predefine?i("predefine",{attrs:{color:e.color,colors:e.predefine}}):e._e(),i("div",{staticClass:"el-color-dropdown__btns"},[i("span",{staticClass:"el-color-dropdown__value"},[i("el-input",{attrs:{size:"mini"},on:{blur:e.handleConfirm},nativeOn:{keyup:function(t){if(!("button"in t)&&e._k(t.keyCode,"enter",13,t.key))return null;e.handleConfirm(t)}},model:{value:e.customInput,callback:function(t){e.customInput=t},expression:"customInput"}})],1),i("el-button",{staticClass:"el-color-dropdown__link-btn",attrs:{size:"mini",type:"text"},on:{click:function(t){e.$emit("clear")}}},[e._v("\n "+e._s(e.t("el.colorpicker.clear"))+"\n ")]),i("el-button",{staticClass:"el-color-dropdown__btn",attrs:{plain:"",size:"mini"},on:{click:e.confirmValue}},[e._v("\n "+e._s(e.t("el.colorpicker.confirm"))+"\n ")])],1)],1)])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{directives:[{name:"clickoutside",rawName:"v-clickoutside",value:e.hide,expression:"hide"}],class:["el-color-picker",e.colorDisabled?"is-disabled":"",e.colorSize?"el-color-picker--"+e.colorSize:""]},[e.colorDisabled?i("div",{staticClass:"el-color-picker__mask"}):e._e(),i("div",{staticClass:"el-color-picker__trigger",on:{click:e.handleTrigger}},[i("span",{staticClass:"el-color-picker__color",class:{"is-alpha":e.showAlpha}},[i("span",{staticClass:"el-color-picker__color-inner",style:{backgroundColor:e.displayedColor}}),e.value||e.showPanelColor?e._e():i("span",{staticClass:"el-color-picker__empty el-icon-close"})]),i("span",{directives:[{name:"show",rawName:"v-show",value:e.value||e.showPanelColor,expression:"value || showPanelColor"}],staticClass:"el-color-picker__icon el-icon-arrow-down"})]),i("picker-dropdown",{ref:"dropdown",class:["el-color-picker__panel",e.popperClass||""],attrs:{color:e.color,"show-alpha":e.showAlpha,predefine:e.predefine},on:{pick:e.confirmValue,clear:e.clearValue},model:{value:e.showPicker,callback:function(t){e.showPicker=t},expression:"showPicker"}})],1)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(479),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(480),s=i.n(n),r=i(484),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(19),r=n(s),a=i(1),o=n(a),l=i(5),u=n(l),c=i(481),d=n(c),h=i(9),f=n(h);t.default={name:"ElTransfer",mixins:[o.default,u.default,f.default],components:{TransferPanel:d.default,ElButton:r.default},props:{data:{type:Array,default:function(){return[]}},titles:{type:Array,default:function(){return[]}},buttonTexts:{type:Array,default:function(){return[]}},filterPlaceholder:{type:String,default:""},filterMethod:Function,leftDefaultChecked:{type:Array,default:function(){return[]}},rightDefaultChecked:{type:Array,default:function(){return[]}},renderContent:Function,value:{type:Array,default:function(){return[]}},format:{type:Object,default:function(){return{}}},filterable:Boolean,props:{type:Object,default:function(){return{label:"label",key:"key",disabled:"disabled"}}},targetOrder:{type:String,default:"original"}},data:function(){return{leftChecked:[],rightChecked:[]}},computed:{dataObj:function(){var e=this.props.key;return this.data.reduce(function(t,i){return(t[i[e]]=i)&&t},{})},sourceData:function(){var e=this;return this.data.filter(function(t){return-1===e.value.indexOf(t[e.props.key])})},targetData:function(){var e=this;return"original"===this.targetOrder?this.data.filter(function(t){return e.value.indexOf(t[e.props.key])>-1}):this.value.map(function(t){return e.dataObj[t]})},hasButtonTexts:function(){return 2===this.buttonTexts.length}},watch:{value:function(e){this.dispatch("ElFormItem","el.form.change",e)}},methods:{getMigratingConfig:function(){return{props:{"footer-format":"footer-format is renamed to format."}}},onSourceCheckedChange:function(e,t){this.leftChecked=e,void 0!==t&&this.$emit("left-check-change",e,t)},onTargetCheckedChange:function(e,t){this.rightChecked=e,void 0!==t&&this.$emit("right-check-change",e,t)},addToLeft:function(){var e=this.value.slice();this.rightChecked.forEach(function(t){var i=e.indexOf(t);i>-1&&e.splice(i,1)}),this.$emit("input",e),this.$emit("change",e,"left",this.rightChecked)},addToRight:function(){var e=this,t=this.value.slice(),i=[],n=this.props.key;this.data.forEach(function(t){var s=t[n];e.leftChecked.indexOf(s)>-1&&-1===e.value.indexOf(s)&&i.push(s)}),t="unshift"===this.targetOrder?i.concat(t):t.concat(i),this.$emit("input",t),this.$emit("change",t,"right",this.leftChecked)},clearQuery:function(e){"left"===e?this.$refs.leftPanel.query="":"right"===e&&(this.$refs.rightPanel.query="")}}}},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(482),s=i.n(n),r=i(483),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";function n(e){return e&&e.__esModule?e:{default:e}}t.__esModule=!0;var s=i(47),r=n(s),a=i(15),o=n(a),l=i(8),u=n(l),c=i(5),d=n(c);t.default={mixins:[d.default],name:"ElTransferPanel",componentName:"ElTransferPanel",components:{ElCheckboxGroup:r.default,ElCheckbox:o.default,ElInput:u.default,OptionContent:{props:{option:Object},render:function(e){var t=function e(t){return"ElTransferPanel"===t.$options.componentName?t:t.$parent?e(t.$parent):t}(this),i=t.$parent||t;return t.renderContent?t.renderContent(e,this.option):i.$scopedSlots.default?i.$scopedSlots.default({option:this.option}):e("span",null,[this.option[t.labelProp]||this.option[t.keyProp]])}}},props:{data:{type:Array,default:function(){return[]}},renderContent:Function,placeholder:String,title:String,filterable:Boolean,format:Object,filterMethod:Function,defaultChecked:Array,props:Object},data:function(){return{checked:[],allChecked:!1,query:"",inputHover:!1,checkChangeByUser:!0}},watch:{checked:function(e,t){if(this.updateAllChecked(),this.checkChangeByUser){var i=e.concat(t).filter(function(i){return-1===e.indexOf(i)||-1===t.indexOf(i)});this.$emit("checked-change",e,i)}else this.$emit("checked-change",e),this.checkChangeByUser=!0},data:function(){var e=this,t=[],i=this.filteredData.map(function(t){return t[e.keyProp]});this.checked.forEach(function(e){i.indexOf(e)>-1&&t.push(e)}),this.checkChangeByUser=!1,this.checked=t},checkableData:function(){this.updateAllChecked()},defaultChecked:{immediate:!0,handler:function(e,t){var i=this;if(!t||e.length!==t.length||!e.every(function(e){return t.indexOf(e)>-1})){var n=[],s=this.checkableData.map(function(e){return e[i.keyProp]});e.forEach(function(e){s.indexOf(e)>-1&&n.push(e)}),this.checkChangeByUser=!1,this.checked=n}}}},computed:{filteredData:function(){var e=this;return this.data.filter(function(t){return"function"==typeof e.filterMethod?e.filterMethod(e.query,t):(t[e.labelProp]||t[e.keyProp].toString()).toLowerCase().indexOf(e.query.toLowerCase())>-1})},checkableData:function(){var e=this;return this.filteredData.filter(function(t){return!t[e.disabledProp]})},checkedSummary:function(){var e=this.checked.length,t=this.data.length,i=this.format,n=i.noChecked,s=i.hasChecked;return n&&s?e>0?s.replace(/\${checked}/g,e).replace(/\${total}/g,t):n.replace(/\${total}/g,t):e+"/"+t},isIndeterminate:function(){var e=this.checked.length;return e>0&&e<this.checkableData.length},hasNoMatch:function(){return this.query.length>0&&0===this.filteredData.length},inputIcon:function(){return this.query.length>0&&this.inputHover?"circle-close":"search"},labelProp:function(){return this.props.label||"label"},keyProp:function(){return this.props.key||"key"},disabledProp:function(){return this.props.disabled||"disabled"},hasFooter:function(){return!!this.$slots.default}},methods:{updateAllChecked:function(){var e=this,t=this.checkableData.map(function(t){return t[e.keyProp]});this.allChecked=t.length>0&&t.every(function(t){return e.checked.indexOf(t)>-1})},handleAllCheckedChange:function(e){var t=this;this.checked=e?this.checkableData.map(function(e){return e[t.keyProp]}):[]},clearQuery:function(){"circle-close"===this.inputIcon&&(this.query="")}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-transfer-panel"},[i("p",{staticClass:"el-transfer-panel__header"},[i("el-checkbox",{attrs:{indeterminate:e.isIndeterminate},on:{change:e.handleAllCheckedChange},model:{value:e.allChecked,callback:function(t){e.allChecked=t},expression:"allChecked"}},[e._v("\n "+e._s(e.title)+"\n "),i("span",[e._v(e._s(e.checkedSummary))])])],1),i("div",{class:["el-transfer-panel__body",e.hasFooter?"is-with-footer":""]},[e.filterable?i("el-input",{staticClass:"el-transfer-panel__filter",attrs:{size:"small",placeholder:e.placeholder},nativeOn:{mouseenter:function(t){e.inputHover=!0},mouseleave:function(t){e.inputHover=!1}},model:{value:e.query,callback:function(t){e.query=t},expression:"query"}},[i("i",{class:["el-input__icon","el-icon-"+e.inputIcon],attrs:{slot:"prefix"},on:{click:e.clearQuery},slot:"prefix"})]):e._e(),i("el-checkbox-group",{directives:[{name:"show",rawName:"v-show",value:!e.hasNoMatch&&e.data.length>0,expression:"!hasNoMatch && data.length > 0"}],staticClass:"el-transfer-panel__list",class:{"is-filterable":e.filterable},model:{value:e.checked,callback:function(t){e.checked=t},expression:"checked"}},e._l(e.filteredData,function(t){return i("el-checkbox",{key:t[e.keyProp],staticClass:"el-transfer-panel__item",attrs:{label:t[e.keyProp],disabled:t[e.disabledProp]}},[i("option-content",{attrs:{option:t}})],1)})),i("p",{directives:[{name:"show",rawName:"v-show",value:e.hasNoMatch,expression:"hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noMatch")))]),i("p",{directives:[{name:"show",rawName:"v-show",value:0===e.data.length&&!e.hasNoMatch,expression:"data.length === 0 && !hasNoMatch"}],staticClass:"el-transfer-panel__empty"},[e._v(e._s(e.t("el.transfer.noData")))])],1),e.hasFooter?i("p",{staticClass:"el-transfer-panel__footer"},[e._t("default")],2):e._e()])},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"el-transfer"},[i("transfer-panel",e._b({ref:"leftPanel",attrs:{data:e.sourceData,title:e.titles[0]||e.t("el.transfer.titles.0"),"default-checked":e.leftDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onSourceCheckedChange}},"transfer-panel",e.$props,!1),[e._t("left-footer")],2),i("div",{staticClass:"el-transfer__buttons"},[i("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.rightChecked.length},nativeOn:{click:function(t){e.addToLeft(t)}}},[i("i",{staticClass:"el-icon-arrow-left"}),void 0!==e.buttonTexts[0]?i("span",[e._v(e._s(e.buttonTexts[0]))]):e._e()]),i("el-button",{class:["el-transfer__button",e.hasButtonTexts?"is-with-texts":""],attrs:{type:"primary",disabled:0===e.leftChecked.length},nativeOn:{click:function(t){e.addToRight(t)}}},[void 0!==e.buttonTexts[1]?i("span",[e._v(e._s(e.buttonTexts[1]))]):e._e(),i("i",{staticClass:"el-icon-arrow-right"})])],1),i("transfer-panel",e._b({ref:"rightPanel",attrs:{data:e.targetData,title:e.titles[1]||e.t("el.transfer.titles.1"),"default-checked":e.rightDefaultChecked,placeholder:e.filterPlaceholder||e.t("el.transfer.filterPlaceholder")},on:{"checked-change":e.onTargetCheckedChange}},"transfer-panel",e.$props,!1),[e._t("right-footer")],2)],1)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(486),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(487),s=i.n(n),r=i(488),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElContainer",componentName:"ElContainer",props:{direction:String},computed:{isVertical:function(){return"vertical"===this.direction||"horizontal"!==this.direction&&(!(!this.$slots||!this.$slots.default)&&this.$slots.default.some(function(e){var t=e.componentOptions&&e.componentOptions.tag;return"el-header"===t||"el-footer"===t}))}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("section",{staticClass:"el-container",class:{"is-vertical":e.isVertical}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(490),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(491),s=i.n(n),r=i(492),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElHeader",componentName:"ElHeader",props:{height:{type:String,default:"60px"}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("header",{staticClass:"el-header",style:{height:e.height}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(494),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(495),s=i.n(n),r=i(496),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElAside",componentName:"ElAside",props:{width:{type:String,default:"300px"}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("aside",{staticClass:"el-aside",style:{width:e.width}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(498),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(499),s=i.n(n),r=i(500),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElMain",componentName:"ElMain"}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("main",{staticClass:"el-main"},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r},function(e,t,i){"use strict";t.__esModule=!0;var n=i(502),s=function(e){return e&&e.__esModule?e:{default:e}}(n);s.default.install=function(e){e.component(s.default.name,s.default)},t.default=s.default},function(e,t,i){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=i(503),s=i.n(n),r=i(504),a=i(0),o=a(s.a,r.a,!1,null,null,null);t.default=o.exports},function(e,t,i){"use strict";t.__esModule=!0,t.default={name:"ElFooter",componentName:"ElFooter",props:{height:{type:String,default:"60px"}}}},function(e,t,i){"use strict";var n=function(){var e=this,t=e.$createElement;return(e._self._c||t)("footer",{staticClass:"el-footer",style:{height:e.height}},[e._t("default")],2)},s=[],r={render:n,staticRenderFns:s};t.a=r}])});
extend1994/cdnjs
ajax/libs/element-ui/2.3.9/index.js
JavaScript
mit
536,408
<p>The <a href="#">a element</a> example</p> <p>The <abbr>abbr element</abbr> and an <abbr title="Abbreviation">abbr</abbr> element with title examples</p> <p>The <b>b element</b> example</p> <p>The <cite>cite element</cite> example</p> <p>The <code>code element</code> example</p> <p>The <em>em element</em> example</p> <p>The <del>del element</del> example</p> <p>The <dfn>dfn element</dfn> and <dfn title="Title text">dfn element with title</dfn> examples</p> <p>The <i>i element</i> example</p> <p>The <ins>ins element</ins> example</p> <p>The <kbd>kbd element</kbd> example</p> <p>The <mark>mark element</mark> example</p> <p>The <q>q element</q> example</p> <p>The <q>q element <q>inside</q> a q element</q> example</p> <p>The <s>s element</s> example</p> <p>The <samp>samp element</samp> example</p> <p>The <small>small element</small> example</p> <p>The <span>span element</span> example</p> <p>The <strong>strong element</strong> example</p> <p>The <sub>sub element</sub> example</p> <p>The <sup>sup element</sup> example</p> <p>The <u>u element</u> example</p> <p>The <var>var element</var> example</p>
slovisi/stylepreviewer
patterns/base/text-elements.html
HTML
mit
1,112
package com.xtremelabs.robolectric.shadows; import android.content.Intent; import android.content.res.Resources; import android.os.Bundle; import android.support.v4.app.Fragment; import android.support.v4.app.FragmentActivity; import android.support.v4.app.FragmentManager; import android.view.View; import com.xtremelabs.robolectric.internal.Implementation; import com.xtremelabs.robolectric.internal.Implements; import com.xtremelabs.robolectric.internal.RealObject; @Implements(Fragment.class) public class ShadowFragment { @RealObject protected Fragment realFragment; protected View view; protected FragmentActivity activity; private String tag; private Bundle savedInstanceState; private int containerViewId; private boolean shouldReplace; private Bundle arguments; private boolean attached; private boolean hidden; public void setView(View view) { this.view = view; } public void setActivity(FragmentActivity activity) { this.activity = activity; } @Implementation public View getView() { return view; } @Implementation public FragmentActivity getActivity() { return activity; } @Implementation public void startActivity(Intent intent) { new FragmentActivity().startActivity(intent); } @Implementation public void startActivityForResult(Intent intent, int requestCode) { activity.startActivityForResult(intent, requestCode); } @Implementation final public FragmentManager getFragmentManager() { return activity.getSupportFragmentManager(); } @Implementation public String getTag() { return tag; } @Implementation public Resources getResources() { if (activity == null) { throw new IllegalStateException("Fragment " + this + " not attached to Activity"); } return activity.getResources(); } public void setTag(String tag) { this.tag = tag; } public void setSavedInstanceState(Bundle savedInstanceState) { this.savedInstanceState = savedInstanceState; } public Bundle getSavedInstanceState() { return savedInstanceState; } public void setContainerViewId(int containerViewId) { this.containerViewId = containerViewId; } public int getContainerViewId() { return containerViewId; } public void setShouldReplace(boolean shouldReplace) { this.shouldReplace = shouldReplace; } public boolean getShouldReplace() { return shouldReplace; } @Implementation public Bundle getArguments() { return arguments; } @Implementation public void setArguments(Bundle arguments) { this.arguments = arguments; } @Implementation public final String getString(int resId) { if (activity == null) { throw new IllegalStateException("Fragment " + this + " not attached to Activity"); } return activity.getString(resId); } @Implementation public final String getString(int resId, Object... formatArgs) { if (activity == null) { throw new IllegalStateException("Fragment " + this + " not attached to Activity"); } return activity.getString(resId, formatArgs); } public void setAttached(boolean isAttached) { attached = isAttached; } public boolean isAttached() { return attached; } public void setHidden(boolean isHidden) { hidden = isHidden; } @Implementation public boolean isHidden() { return hidden; } }
thiz11/platform_external_robolectric
src/main/java/com/xtremelabs/robolectric/shadows/ShadowFragment.java
Java
mit
3,664
/** * Copyright (c) Facebook, Inc. and its affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. * * @emails react-core */ 'use strict'; let React; let ReactNoop; let Scheduler; let ReactFeatureFlags; let ReactTestRenderer; let ReactDOM; let ReactDOMServer; function createReactFundamentalComponent(fundamentalImpl) { return React.unstable_createFundamental(fundamentalImpl); } function init() { jest.resetModules(); ReactFeatureFlags = require('shared/ReactFeatureFlags'); ReactFeatureFlags.enableFundamentalAPI = true; React = require('react'); Scheduler = require('scheduler'); } function initNoopRenderer() { init(); ReactNoop = require('react-noop-renderer'); } function initTestRenderer() { init(); ReactTestRenderer = require('react-test-renderer'); } function initReactDOM() { init(); ReactDOM = require('react-dom'); } function initReactDOMServer() { init(); ReactDOMServer = require('react-dom/server'); } describe('ReactFiberFundamental', () => { describe('NoopRenderer', () => { beforeEach(() => { initNoopRenderer(); }); it('should render a simple fundamental component with a single child', () => { const FundamentalComponent = createReactFundamentalComponent({ reconcileChildren: true, getInstance(context, props, state) { const instance = { children: [], text: null, type: 'test', }; return instance; }, }); const Test = ({children}) => ( <FundamentalComponent>{children}</FundamentalComponent> ); ReactNoop.render(<Test>Hello world</Test>); expect(Scheduler).toFlushWithoutYielding(); expect(ReactNoop).toMatchRenderedOutput(<test>Hello world</test>); ReactNoop.render(<Test>Hello world again</Test>); expect(Scheduler).toFlushWithoutYielding(); expect(ReactNoop).toMatchRenderedOutput(<test>Hello world again</test>); ReactNoop.render(null); expect(Scheduler).toFlushWithoutYielding(); expect(ReactNoop).toMatchRenderedOutput(null); }); }); describe('NoopTestRenderer', () => { beforeEach(() => { initTestRenderer(); }); it('should render a simple fundamental component with a single child', () => { const FundamentalComponent = createReactFundamentalComponent({ reconcileChildren: true, getInstance(context, props, state) { const instance = { children: [], props, type: 'test', tag: 'INSTANCE', }; return instance; }, }); const Test = ({children}) => ( <FundamentalComponent>{children}</FundamentalComponent> ); const root = ReactTestRenderer.create(null); root.update(<Test>Hello world</Test>); expect(Scheduler).toFlushWithoutYielding(); expect(root).toMatchRenderedOutput(<test>Hello world</test>); root.update(<Test>Hello world again</Test>); expect(Scheduler).toFlushWithoutYielding(); expect(root).toMatchRenderedOutput(<test>Hello world again</test>); root.update(null); expect(Scheduler).toFlushWithoutYielding(); expect(root).toMatchRenderedOutput(null); }); }); describe('ReactDOM', () => { beforeEach(() => { initReactDOM(); }); it('should render a simple fundamental component with a single child', () => { const FundamentalComponent = createReactFundamentalComponent({ reconcileChildren: true, getInstance(context, props, state) { const instance = document.createElement('div'); return instance; }, }); const Test = ({children}) => ( <FundamentalComponent>{children}</FundamentalComponent> ); const container = document.createElement('div'); ReactDOM.render(<Test>Hello world</Test>, container); expect(Scheduler).toFlushWithoutYielding(); expect(container.innerHTML).toBe('<div>Hello world</div>'); ReactDOM.render(<Test>Hello world again</Test>, container); expect(Scheduler).toFlushWithoutYielding(); expect(container.innerHTML).toBe('<div>Hello world again</div>'); ReactDOM.render(null, container); expect(Scheduler).toFlushWithoutYielding(); expect(container.innerHTML).toBe(''); }); it('should render a simple fundamental component without reconcileChildren', () => { const FundamentalComponent = createReactFundamentalComponent({ reconcileChildren: false, getInstance(context, props, state) { const instance = document.createElement('div'); instance.textContent = 'Hello world'; return instance; }, }); const Test = () => <FundamentalComponent />; const container = document.createElement('div'); ReactDOM.render(<Test />, container); expect(Scheduler).toFlushWithoutYielding(); expect(container.innerHTML).toBe('<div>Hello world</div>'); // Children should be ignored ReactDOM.render(<Test>Hello world again</Test>, container); expect(Scheduler).toFlushWithoutYielding(); expect(container.innerHTML).toBe('<div>Hello world</div>'); ReactDOM.render(null, container); expect(Scheduler).toFlushWithoutYielding(); expect(container.innerHTML).toBe(''); }); }); describe('ReactDOMServer', () => { beforeEach(() => { initReactDOMServer(); }); it('should render a simple fundamental component with a single child', () => { const getInstance = jest.fn(); const FundamentalComponent = createReactFundamentalComponent({ reconcileChildren: true, getInstance, getServerSideString(context, props) { return `<div>`; }, getServerSideStringClose(context, props) { return `</div>`; }, }); const Test = ({children}) => ( <FundamentalComponent>{children}</FundamentalComponent> ); expect(getInstance).not.toBeCalled(); let output = ReactDOMServer.renderToString(<Test>Hello world</Test>); expect(output).toBe('<div>Hello world</div>'); output = ReactDOMServer.renderToString(<Test>Hello world again</Test>); expect(output).toBe('<div>Hello world again</div>'); }); it('should render a simple fundamental component without reconcileChildren', () => { const FundamentalComponent = createReactFundamentalComponent({ reconcileChildren: false, getServerSideString(context, props) { return `<div>Hello world</div>`; }, }); const Test = () => <FundamentalComponent />; let output = ReactDOMServer.renderToString(<Test />); expect(output).toBe('<div>Hello world</div>'); // Children should be ignored output = ReactDOMServer.renderToString(<Test>Hello world again</Test>); expect(output).toBe('<div>Hello world</div>'); }); }); });
mjackson/react
packages/react-reconciler/src/__tests__/ReactFiberFundamental-test.internal.js
JavaScript
mit
7,076
/*! Raven.js 3.25.1 (b6f3c7a) | github.com/getsentry/raven-js */ !function(a){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=a();else if("function"==typeof define&&define.amd)define([],a);else{var b;b="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,b.Raven=a()}}(function(){var a;return function b(a,c,d){function e(g,h){if(!c[g]){if(!a[g]){var i="function"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error("Cannot find module '"+g+"'");throw j.code="MODULE_NOT_FOUND",j}var k=c[g]={exports:{}};a[g][0].call(k.exports,function(b){var c=a[g][1][b];return e(c?c:b)},k,k.exports,b,a,c,d)}return c[g].exports}for(var f="function"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){function d(a,b){function c(){this.$get=["$window",function(b){return a}]}function f(a){a.decorator("$exceptionHandler",["Raven","$delegate",h])}function h(a,b){return function(c,d){a.captureException(c,{extra:{cause:d}}),b(c,d)}}b=b||window.angular,b&&(b.module(g,[]).provider("Raven",c).config(["$provide",f]),a.setDataCallback(e(function(a){return d.a(a)})))}var e=a(8).wrappedCallback,f=/^\[((?:[$a-zA-Z0-9]+:)?(?:[$a-zA-Z0-9]+))\] (.*?)\n?(\S+)$/,g="ngRaven";d.a=function(a){var b=a.exception;if(b){b=b.values[0];var c=f.exec(b.value);c&&(b.type=c[1],b.value=c[2],a.message=b.type+": "+b.value,a.extra.angularDocs=c[3].substr(0,250))}return a},d.moduleName=g,b.exports=d,a(7).addPlugin(b.exports)},{7:7,8:8}],2:[function(b,c,d){function e(c){"function"==typeof a&&a.amd&&(window.define=c.wrap({deep:!1},a),window.require=c.wrap({deep:!1},b))}c.exports=e,b(7).addPlugin(c.exports)},{7:7}],3:[function(a,b,c){function d(a){if(a.$root===a)return"root instance";var b=a._isVue?a.$options.name||a.$options._componentTag:a.name;return(b?"component <"+b+">":"anonymous component")+(a._isVue&&a.$options.__file?" at "+a.$options.__file:"")}function e(a,b){if(b=b||window.Vue,b&&b.config){var c=b.config.errorHandler;b.config.errorHandler=function(b,e,f){var g={};"[object Object]"===Object.prototype.toString.call(e)&&(g.componentName=d(e),g.propsData=e.$options.propsData),"undefined"!=typeof f&&(g.lifecycleHook=f),a.captureException(b,{extra:g}),"function"==typeof c&&c.call(this,b,e,f)}}}b.exports=e,a(7).addPlugin(b.exports)},{7:7}],4:[function(a,b,c){function d(a){this.name="RavenConfigError",this.message=a}d.prototype=new Error,d.prototype.constructor=d,b.exports=d},{}],5:[function(a,b,c){var d=a(8),e=function(a,b,c){var e=a[b],f=a;if(b in a){var g="warn"===b?"warning":b;a[b]=function(){var a=[].slice.call(arguments),h=d.safeJoin(a," "),i={level:g,logger:"console",extra:{arguments:a}};"assert"===b?a[0]===!1&&(h="Assertion failed: "+(d.safeJoin(a.slice(1)," ")||"console.assert"),i.extra.arguments=a.slice(1),c&&c(h,i)):c&&c(h,i),e&&Function.prototype.apply.call(e,f,a)}}};b.exports={wrapMethod:e}},{8:8}],6:[function(a,b,c){(function(c){function d(){return+new Date}function e(a,b){return s(b)?function(c){return b(c,a)}:b}function f(){this.b=!("object"!=typeof JSON||!JSON.stringify),this.c=!r(S),this.d=!r(T),this.e=null,this.f=null,this.g=null,this.h=null,this.i=null,this.j=null,this.k={},this.l={release:R.SENTRY_RELEASE&&R.SENTRY_RELEASE.id,logger:"javascript",ignoreErrors:[],ignoreUrls:[],whitelistUrls:[],includePaths:[],headers:null,collectWindowErrors:!0,captureUnhandledRejections:!0,maxMessageLength:0,maxUrlLength:250,stackTraceLimit:50,autoBreadcrumbs:!0,instrument:!0,sampleRate:1,sanitizeKeys:[]},this.m={method:"POST",keepalive:!0,referrerPolicy:K()?"origin":""},this.n=0,this.o=!1,this.p=Error.stackTraceLimit,this.q=R.console||{},this.r={},this.s=[],this.t=d(),this.u=[],this.v=[],this.w=null,this.x=R.location,this.y=this.x&&this.x.href,this.z();for(var a in this.q)this.r[a]=this.q[a]}var g=a(9),h=a(10),i=a(11),j=a(4),k=a(8),l=k.isErrorEvent,m=k.isDOMError,n=k.isDOMException,o=k.isError,p=k.isObject,q=k.isPlainObject,r=k.isUndefined,s=k.isFunction,t=k.isString,u=k.isArray,v=k.isEmptyObject,w=k.each,x=k.objectMerge,y=k.truncate,z=k.objectFrozen,A=k.hasKey,B=k.joinRegExp,C=k.urlencode,D=k.uuid4,E=k.htmlTreeAsString,F=k.isSameException,G=k.isSameStacktrace,H=k.parseUrl,I=k.fill,J=k.supportsFetch,K=k.supportsReferrerPolicy,L=k.serializeKeysForMessage,M=k.serializeException,N=k.sanitize,O=a(5).wrapMethod,P="source protocol user pass host port path".split(" "),Q=/^(?:(\w+):)?\/\/(?:(\w+)(:\w+)?@)?([\w\.-]+)(?::(\d+))?(\/.*)/,R="undefined"!=typeof window?window:"undefined"!=typeof c?c:"undefined"!=typeof self?self:{},S=R.document,T=R.navigator;f.prototype={VERSION:"3.25.1",debug:!1,TraceKit:g,config:function(a,b){var c=this;if(c.h)return this.A("error","Error: Raven has already been configured"),c;if(!a)return c;var d=c.l;b&&w(b,function(a,b){"tags"===a||"extra"===a||"user"===a?c.k[a]=b:d[a]=b}),c.setDSN(a),d.ignoreErrors.push(/^Script error\.?$/),d.ignoreErrors.push(/^Javascript error: Script error\.? on line 0$/),d.ignoreErrors=B(d.ignoreErrors),d.ignoreUrls=!!d.ignoreUrls.length&&B(d.ignoreUrls),d.whitelistUrls=!!d.whitelistUrls.length&&B(d.whitelistUrls),d.includePaths=B(d.includePaths),d.maxBreadcrumbs=Math.max(0,Math.min(d.maxBreadcrumbs||100,100));var e={xhr:!0,console:!0,dom:!0,location:!0,sentry:!0},f=d.autoBreadcrumbs;"[object Object]"==={}.toString.call(f)?f=x(e,f):f!==!1&&(f=e),d.autoBreadcrumbs=f;var h={tryCatch:!0},i=d.instrument;return"[object Object]"==={}.toString.call(i)?i=x(h,i):i!==!1&&(i=h),d.instrument=i,g.collectWindowErrors=!!d.collectWindowErrors,c},install:function(){var a=this;return a.isSetup()&&!a.o&&(g.report.subscribe(function(){a.B.apply(a,arguments)}),a.l.captureUnhandledRejections&&a.C(),a.D(),a.l.instrument&&a.l.instrument.tryCatch&&a.E(),a.l.autoBreadcrumbs&&a.F(),a.G(),a.o=!0),Error.stackTraceLimit=a.l.stackTraceLimit,this},setDSN:function(a){var b=this,c=b.H(a),d=c.path.lastIndexOf("/"),e=c.path.substr(1,d);b.I=a,b.i=c.user,b.J=c.pass&&c.pass.substr(1),b.j=c.path.substr(d+1),b.h=b.K(c),b.L=b.h+"/"+e+"api/"+b.j+"/store/",this.z()},context:function(a,b,c){return s(a)&&(c=b||[],b=a,a=void 0),this.wrap(a,b).apply(this,c)},wrap:function(a,b,c){function d(){var d=[],f=arguments.length,g=!a||a&&a.deep!==!1;for(c&&s(c)&&c.apply(this,arguments);f--;)d[f]=g?e.wrap(a,arguments[f]):arguments[f];try{return b.apply(this,d)}catch(h){throw e.M(),e.captureException(h,a),h}}var e=this;if(r(b)&&!s(a))return a;if(s(a)&&(b=a,a=void 0),!s(b))return b;try{if(b.N)return b;if(b.O)return b.O}catch(f){return b}for(var g in b)A(b,g)&&(d[g]=b[g]);return d.prototype=b.prototype,b.O=d,d.N=!0,d.P=b,d},uninstall:function(){return g.report.uninstall(),this.Q(),this.R(),this.S(),this.T(),Error.stackTraceLimit=this.p,this.o=!1,this},U:function(a){this.A("debug","Raven caught unhandled promise rejection:",a),this.captureException(a.reason,{extra:{unhandledPromiseRejection:!0}})},C:function(){return this.U=this.U.bind(this),R.addEventListener&&R.addEventListener("unhandledrejection",this.U),this},Q:function(){return R.removeEventListener&&R.removeEventListener("unhandledrejection",this.U),this},captureException:function(a,b){if(b=x({trimHeadFrames:0},b?b:{}),l(a)&&a.error)a=a.error;else{if(m(a)||n(a)){var c=a.name||(m(a)?"DOMError":"DOMException"),d=a.message?c+": "+a.message:c;return this.captureMessage(d,x(b,{stacktrace:!0,trimHeadFrames:b.trimHeadFrames+1}))}if(o(a))a=a;else{if(!q(a))return this.captureMessage(a,x(b,{stacktrace:!0,trimHeadFrames:b.trimHeadFrames+1}));b=this.V(b,a),a=new Error(b.message)}}this.e=a;try{var e=g.computeStackTrace(a);this.W(e,b)}catch(f){if(a!==f)throw f}return this},V:function(a,b){var c=Object.keys(b).sort(),d=x(a,{message:"Non-Error exception captured with keys: "+L(c),fingerprint:[i(c)],extra:a.extra||{}});return d.extra.X=M(b),d},captureMessage:function(a,b){if(!this.l.ignoreErrors.test||!this.l.ignoreErrors.test(a)){b=b||{},a+="";var c,d=x({message:a},b);try{throw new Error(a)}catch(e){c=e}c.name=null;var f=g.computeStackTrace(c),h=u(f.stack)&&f.stack[1];h&&"Raven.captureException"===h.func&&(h=f.stack[2]);var i=h&&h.url||"";if((!this.l.ignoreUrls.test||!this.l.ignoreUrls.test(i))&&(!this.l.whitelistUrls.test||this.l.whitelistUrls.test(i))){if(this.l.stacktrace||b&&b.stacktrace){d.fingerprint=null==d.fingerprint?a:d.fingerprint,b=x({trimHeadFrames:0},b),b.trimHeadFrames+=1;var j=this.Y(f,b);d.stacktrace={frames:j.reverse()}}return d.fingerprint&&(d.fingerprint=u(d.fingerprint)?d.fingerprint:[d.fingerprint]),this.Z(d),this}}},captureBreadcrumb:function(a){var b=x({timestamp:d()/1e3},a);if(s(this.l.breadcrumbCallback)){var c=this.l.breadcrumbCallback(b);if(p(c)&&!v(c))b=c;else if(c===!1)return this}return this.v.push(b),this.v.length>this.l.maxBreadcrumbs&&this.v.shift(),this},addPlugin:function(a){var b=[].slice.call(arguments,1);return this.s.push([a,b]),this.o&&this.G(),this},setUserContext:function(a){return this.k.user=a,this},setExtraContext:function(a){return this.$("extra",a),this},setTagsContext:function(a){return this.$("tags",a),this},clearContext:function(){return this.k={},this},getContext:function(){return JSON.parse(h(this.k))},setEnvironment:function(a){return this.l.environment=a,this},setRelease:function(a){return this.l.release=a,this},setDataCallback:function(a){var b=this.l.dataCallback;return this.l.dataCallback=e(b,a),this},setBreadcrumbCallback:function(a){var b=this.l.breadcrumbCallback;return this.l.breadcrumbCallback=e(b,a),this},setShouldSendCallback:function(a){var b=this.l.shouldSendCallback;return this.l.shouldSendCallback=e(b,a),this},setTransport:function(a){return this.l.transport=a,this},lastException:function(){return this.e},lastEventId:function(){return this.g},isSetup:function(){return!!this.b&&(!!this.h||(this.ravenNotConfiguredError||(this.ravenNotConfiguredError=!0,this.A("error","Error: Raven has not been configured.")),!1))},afterLoad:function(){var a=R.RavenConfig;a&&this.config(a.dsn,a.config).install()},showReportDialog:function(a){if(S){a=a||{};var b=a.eventId||this.lastEventId();if(!b)throw new j("Missing eventId");var c=a.dsn||this.I;if(!c)throw new j("Missing DSN");var d=encodeURIComponent,e="";e+="?eventId="+d(b),e+="&dsn="+d(c);var f=a.user||this.k.user;f&&(f.name&&(e+="&name="+d(f.name)),f.email&&(e+="&email="+d(f.email)));var g=this.K(this.H(c)),h=S.createElement("script");h.async=!0,h.src=g+"/api/embed/error-page/"+e,(S.head||S.body).appendChild(h)}},M:function(){var a=this;this.n+=1,setTimeout(function(){a.n-=1})},_:function(a,b){var c,d;if(this.c){b=b||{},a="raven"+a.substr(0,1).toUpperCase()+a.substr(1),S.createEvent?(c=S.createEvent("HTMLEvents"),c.initEvent(a,!0,!0)):(c=S.createEventObject(),c.eventType=a);for(d in b)A(b,d)&&(c[d]=b[d]);if(S.createEvent)S.dispatchEvent(c);else try{S.fireEvent("on"+c.eventType.toLowerCase(),c)}catch(e){}}},aa:function(a){var b=this;return function(c){if(b.ba=null,b.w!==c){b.w=c;var d;try{d=E(c.target)}catch(e){d="<unknown>"}b.captureBreadcrumb({category:"ui."+a,message:d})}}},ca:function(){var a=this,b=1e3;return function(c){var d;try{d=c.target}catch(e){return}var f=d&&d.tagName;if(f&&("INPUT"===f||"TEXTAREA"===f||d.isContentEditable)){var g=a.ba;g||a.aa("input")(c),clearTimeout(g),a.ba=setTimeout(function(){a.ba=null},b)}}},da:function(a,b){var c=H(this.x.href),d=H(b),e=H(a);this.y=b,c.protocol===d.protocol&&c.host===d.host&&(b=d.relative),c.protocol===e.protocol&&c.host===e.host&&(a=e.relative),this.captureBreadcrumb({category:"navigation",data:{to:b,from:a}})},D:function(){var a=this;a.ea=Function.prototype.toString,Function.prototype.toString=function(){return"function"==typeof this&&this.N?a.ea.apply(this.P,arguments):a.ea.apply(this,arguments)}},R:function(){this.ea&&(Function.prototype.toString=this.ea)},E:function(){function a(a){return function(b,d){for(var e=new Array(arguments.length),f=0;f<e.length;++f)e[f]=arguments[f];var g=e[0];return s(g)&&(e[0]=c.wrap(g)),a.apply?a.apply(this,e):a(e[0],e[1])}}function b(a){var b=R[a]&&R[a].prototype;b&&b.hasOwnProperty&&b.hasOwnProperty("addEventListener")&&(I(b,"addEventListener",function(b){return function(d,f,g,h){try{f&&f.handleEvent&&(f.handleEvent=c.wrap(f.handleEvent))}catch(i){}var j,k,l;return e&&e.dom&&("EventTarget"===a||"Node"===a)&&(k=c.aa("click"),l=c.ca(),j=function(a){if(a){var b;try{b=a.type}catch(c){return}return"click"===b?k(a):"keypress"===b?l(a):void 0}}),b.call(this,d,c.wrap(f,void 0,j),g,h)}},d),I(b,"removeEventListener",function(a){return function(b,c,d,e){try{c=c&&(c.O?c.O:c)}catch(f){}return a.call(this,b,c,d,e)}},d))}var c=this,d=c.u,e=this.l.autoBreadcrumbs;I(R,"setTimeout",a,d),I(R,"setInterval",a,d),R.requestAnimationFrame&&I(R,"requestAnimationFrame",function(a){return function(b){return a(c.wrap(b))}},d);for(var f=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"],g=0;g<f.length;g++)b(f[g])},F:function(){function a(a,c){a in c&&s(c[a])&&I(c,a,function(a){return b.wrap(a)})}var b=this,c=this.l.autoBreadcrumbs,d=b.u;if(c.xhr&&"XMLHttpRequest"in R){var e=R.XMLHttpRequest&&R.XMLHttpRequest.prototype;I(e,"open",function(a){return function(c,d){return t(d)&&d.indexOf(b.i)===-1&&(this.fa={method:c,url:d,status_code:null}),a.apply(this,arguments)}},d),I(e,"send",function(c){return function(){function d(){if(e.fa&&4===e.readyState){try{e.fa.status_code=e.status}catch(a){}b.captureBreadcrumb({type:"http",category:"xhr",data:e.fa})}}for(var e=this,f=["onload","onerror","onprogress"],g=0;g<f.length;g++)a(f[g],e);return"onreadystatechange"in e&&s(e.onreadystatechange)?I(e,"onreadystatechange",function(a){return b.wrap(a,void 0,d)}):e.onreadystatechange=d,c.apply(this,arguments)}},d)}c.xhr&&J()&&I(R,"fetch",function(a){return function(){for(var c=new Array(arguments.length),d=0;d<c.length;++d)c[d]=arguments[d];var e,f=c[0],g="GET";if("string"==typeof f?e=f:"Request"in R&&f instanceof R.Request?(e=f.url,f.method&&(g=f.method)):e=""+f,e.indexOf(b.i)!==-1)return a.apply(this,c);c[1]&&c[1].method&&(g=c[1].method);var h={method:g,url:e,status_code:null};return a.apply(this,c).then(function(a){return h.status_code=a.status,b.captureBreadcrumb({type:"http",category:"fetch",data:h}),a})["catch"](function(a){throw b.captureBreadcrumb({type:"http",category:"fetch",data:h,level:"error"}),a})}},d),c.dom&&this.c&&(S.addEventListener?(S.addEventListener("click",b.aa("click"),!1),S.addEventListener("keypress",b.ca(),!1)):S.attachEvent&&(S.attachEvent("onclick",b.aa("click")),S.attachEvent("onkeypress",b.ca())));var f=R.chrome,g=f&&f.app&&f.app.runtime,h=!g&&R.history&&R.history.pushState&&R.history.replaceState;if(c.location&&h){var i=R.onpopstate;R.onpopstate=function(){var a=b.x.href;if(b.da(b.y,a),i)return i.apply(this,arguments)};var j=function(a){return function(){var c=arguments.length>2?arguments[2]:void 0;return c&&b.da(b.y,c+""),a.apply(this,arguments)}};I(R.history,"pushState",j,d),I(R.history,"replaceState",j,d)}if(c.console&&"console"in R&&console.log){var k=function(a,c){b.captureBreadcrumb({message:a,level:c.level,category:"console"})};w(["debug","info","warn","error","log"],function(a,b){O(console,b,k)})}},S:function(){for(var a;this.u.length;){a=this.u.shift();var b=a[0],c=a[1],d=a[2];b[c]=d}},T:function(){for(var a in this.r)this.q[a]=this.r[a]},G:function(){var a=this;w(this.s,function(b,c){var d=c[0],e=c[1];d.apply(a,[a].concat(e))})},H:function(a){var b=Q.exec(a),c={},d=7;try{for(;d--;)c[P[d]]=b[d]||""}catch(e){throw new j("Invalid DSN: "+a)}if(c.pass&&!this.l.allowSecretKey)throw new j("Do not specify your secret key in the DSN. See: http://bit.ly/raven-secret-key");return c},K:function(a){var b="//"+a.host+(a.port?":"+a.port:"");return a.protocol&&(b=a.protocol+":"+b),b},B:function(){this.n||this.W.apply(this,arguments)},W:function(a,b){var c=this.Y(a,b);this._("handle",{stackInfo:a,options:b}),this.ga(a.name,a.message,a.url,a.lineno,c,b)},Y:function(a,b){var c=this,d=[];if(a.stack&&a.stack.length&&(w(a.stack,function(b,e){var f=c.ha(e,a.url);f&&d.push(f)}),b&&b.trimHeadFrames))for(var e=0;e<b.trimHeadFrames&&e<d.length;e++)d[e].in_app=!1;return d=d.slice(0,this.l.stackTraceLimit)},ha:function(a,b){var c={filename:a.url,lineno:a.line,colno:a.column,"function":a.func||"?"};return a.url||(c.filename=b),c.in_app=!(this.l.includePaths.test&&!this.l.includePaths.test(c.filename)||/(Raven|TraceKit)\./.test(c["function"])||/raven\.(min\.)?js$/.test(c.filename)),c},ga:function(a,b,c,d,e,f){var g=(a?a+": ":"")+(b||"");if(!this.l.ignoreErrors.test||!this.l.ignoreErrors.test(b)&&!this.l.ignoreErrors.test(g)){var h;if(e&&e.length?(c=e[0].filename||c,e.reverse(),h={frames:e}):c&&(h={frames:[{filename:c,lineno:d,in_app:!0}]}),(!this.l.ignoreUrls.test||!this.l.ignoreUrls.test(c))&&(!this.l.whitelistUrls.test||this.l.whitelistUrls.test(c))){var i=x({exception:{values:[{type:a,value:b,stacktrace:h}]},culprit:c},f);this.Z(i)}}},ia:function(a){var b=this.l.maxMessageLength;if(a.message&&(a.message=y(a.message,b)),a.exception){var c=a.exception.values[0];c.value=y(c.value,b)}var d=a.request;return d&&(d.url&&(d.url=y(d.url,this.l.maxUrlLength)),d.Referer&&(d.Referer=y(d.Referer,this.l.maxUrlLength))),a.breadcrumbs&&a.breadcrumbs.values&&this.ja(a.breadcrumbs),a},ja:function(a){for(var b,c,d,e=["to","from","url"],f=0;f<a.values.length;++f)if(c=a.values[f],c.hasOwnProperty("data")&&p(c.data)&&!z(c.data)){d=x({},c.data);for(var g=0;g<e.length;++g)b=e[g],d.hasOwnProperty(b)&&d[b]&&(d[b]=y(d[b],this.l.maxUrlLength));a.values[f].data=d}},ka:function(){if(this.d||this.c){var a={};return this.d&&T.userAgent&&(a.headers={"User-Agent":T.userAgent}),R.location&&R.location.href&&(a.url=R.location.href),this.c&&S.referrer&&(a.headers||(a.headers={}),a.headers.Referer=S.referrer),a}},z:function(){this.la=0,this.ma=null},na:function(){return this.la&&d()-this.ma<this.la},oa:function(a){var b=this.f;return!(!b||a.message!==b.message||a.culprit!==b.culprit)&&(a.stacktrace||b.stacktrace?G(a.stacktrace,b.stacktrace):!a.exception&&!b.exception||F(a.exception,b.exception))},pa:function(a){if(!this.na()){var b=a.status;if(400===b||401===b||429===b){var c;try{c=J()?a.headers.get("Retry-After"):a.getResponseHeader("Retry-After"),c=1e3*parseInt(c,10)}catch(e){}this.la=c?c:2*this.la||1e3,this.ma=d()}}},Z:function(a){var b=this.l,c={project:this.j,logger:b.logger,platform:"javascript"},e=this.ka();if(e&&(c.request=e),a.trimHeadFrames&&delete a.trimHeadFrames,a=x(c,a),a.tags=x(x({},this.k.tags),a.tags),a.extra=x(x({},this.k.extra),a.extra),a.extra["session:duration"]=d()-this.t,this.v&&this.v.length>0&&(a.breadcrumbs={values:[].slice.call(this.v,0)}),this.k.user&&(a.user=this.k.user),b.environment&&(a.environment=b.environment),b.release&&(a.release=b.release),b.serverName&&(a.server_name=b.serverName),a=this.qa(a),Object.keys(a).forEach(function(b){(null==a[b]||""===a[b]||v(a[b]))&&delete a[b]}),s(b.dataCallback)&&(a=b.dataCallback(a)||a),a&&!v(a)&&(!s(b.shouldSendCallback)||b.shouldSendCallback(a)))return this.na()?void this.A("warn","Raven dropped error due to backoff: ",a):void("number"==typeof b.sampleRate?Math.random()<b.sampleRate&&this.ra(a):this.ra(a))},qa:function(a){return N(a,this.l.sanitizeKeys)},sa:function(){return D()},ra:function(a,b){var c=this,d=this.l;if(this.isSetup()){if(a=this.ia(a),!this.l.allowDuplicates&&this.oa(a))return void this.A("warn","Raven dropped repeat event: ",a);this.g=a.event_id||(a.event_id=this.sa()),this.f=a,this.A("debug","Raven about to send:",a);var e={sentry_version:"7",sentry_client:"raven-js/"+this.VERSION,sentry_key:this.i};this.J&&(e.sentry_secret=this.J);var f=a.exception&&a.exception.values[0];this.l.autoBreadcrumbs&&this.l.autoBreadcrumbs.sentry&&this.captureBreadcrumb({category:"sentry",message:f?(f.type?f.type+": ":"")+f.value:a.message,event_id:a.event_id,level:a.level||"error"});var g=this.L;(d.transport||this.ta).call(this,{url:g,auth:e,data:a,options:d,onSuccess:function(){c.z(),c._("success",{data:a,src:g}),b&&b()},onError:function(d){c.A("error","Raven transport failed to send: ",d),d.request&&c.pa(d.request),c._("failure",{data:a,src:g}),d=d||new Error("Raven send failed (no additional details provided)"),b&&b(d)}})}},ta:function(a){var b=a.url+"?"+C(a.auth),c=null,d={};if(a.options.headers&&(c=this.ua(a.options.headers)),a.options.fetchParameters&&(d=this.ua(a.options.fetchParameters)),J()){d.body=h(a.data);var e=x({},this.m),f=x(e,d);return c&&(f.headers=c),R.fetch(b,f).then(function(b){if(b.ok)a.onSuccess&&a.onSuccess();else{var c=new Error("Sentry error code: "+b.status);c.request=b,a.onError&&a.onError(c)}})["catch"](function(){a.onError&&a.onError(new Error("Sentry error code: network unavailable"))})}var g=R.XMLHttpRequest&&new R.XMLHttpRequest;if(g){var i="withCredentials"in g||"undefined"!=typeof XDomainRequest;i&&("withCredentials"in g?g.onreadystatechange=function(){if(4===g.readyState)if(200===g.status)a.onSuccess&&a.onSuccess();else if(a.onError){var b=new Error("Sentry error code: "+g.status);b.request=g,a.onError(b)}}:(g=new XDomainRequest,b=b.replace(/^https?:/,""),a.onSuccess&&(g.onload=a.onSuccess),a.onError&&(g.onerror=function(){var b=new Error("Sentry error code: XDomainRequest");b.request=g,a.onError(b)})),g.open("POST",b),c&&w(c,function(a,b){g.setRequestHeader(a,b)}),g.send(h(a.data)))}},ua:function(a){var b={};for(var c in a)if(a.hasOwnProperty(c)){var d=a[c];b[c]="function"==typeof d?d():d}return b},A:function(a){this.r[a]&&(this.debug||this.l.debug)&&Function.prototype.apply.call(this.r[a],this.q,[].slice.call(arguments,1))},$:function(a,b){r(b)?delete this.k[a]:this.k[a]=x(this.k[a]||{},b)}},f.prototype.setUser=f.prototype.setUserContext,f.prototype.setReleaseContext=f.prototype.setRelease,b.exports=f}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{10:10,11:11,4:4,5:5,8:8,9:9}],7:[function(a,b,c){(function(c){var d=a(6),e="undefined"!=typeof window?window:"undefined"!=typeof c?c:"undefined"!=typeof self?self:{},f=e.Raven,g=new d;g.noConflict=function(){return e.Raven=f,g},g.afterLoad(),b.exports=g,b.exports.Client=d}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{6:6}],8:[function(a,b,c){(function(c){function d(a){return"object"==typeof a&&null!==a}function e(a){switch(Object.prototype.toString.call(a)){case"[object Error]":return!0;case"[object Exception]":return!0;case"[object DOMException]":return!0;default:return a instanceof Error}}function f(a){return"[object ErrorEvent]"===Object.prototype.toString.call(a)}function g(a){return"[object DOMError]"===Object.prototype.toString.call(a)}function h(a){return"[object DOMException]"===Object.prototype.toString.call(a)}function i(a){return void 0===a}function j(a){return"function"==typeof a}function k(a){return"[object Object]"===Object.prototype.toString.call(a)}function l(a){return"[object String]"===Object.prototype.toString.call(a)}function m(a){return"[object Array]"===Object.prototype.toString.call(a)}function n(a){if(!k(a))return!1;for(var b in a)if(a.hasOwnProperty(b))return!1;return!0}function o(){try{return new ErrorEvent(""),!0}catch(a){return!1}}function p(){try{return new DOMError(""),!0}catch(a){return!1}}function q(){try{return new DOMException(""),!0}catch(a){return!1}}function r(){if(!("fetch"in U))return!1;try{return new Headers,new Request(""),new Response,!0}catch(a){return!1}}function s(){if(!r())return!1;try{return new Request("pickleRick",{referrerPolicy:"origin"}),!0}catch(a){return!1}}function t(){return"function"==typeof PromiseRejectionEvent}function u(a){function b(b,c){var d=a(b)||b;return c?c(d)||d:d}return b}function v(a,b){var c,d;if(i(a.length))for(c in a)z(a,c)&&b.call(null,c,a[c]);else if(d=a.length)for(c=0;c<d;c++)b.call(null,c,a[c])}function w(a,b){return b?(v(b,function(b,c){a[b]=c}),a):a}function x(a){return!!Object.isFrozen&&Object.isFrozen(a)}function y(a,b){if("number"!=typeof b)throw new Error("2nd argument to `truncate` function should be a number");return"string"!=typeof a||0===b?a:a.length<=b?a:a.substr(0,b)+"…"}function z(a,b){return Object.prototype.hasOwnProperty.call(a,b)}function A(a){for(var b,c=[],d=0,e=a.length;d<e;d++)b=a[d],l(b)?c.push(b.replace(/([.*+?^=!:${}()|\[\]\/\\])/g,"\\$1")):b&&b.source&&c.push(b.source);return new RegExp(c.join("|"),"i")}function B(a){var b=[];return v(a,function(a,c){b.push(encodeURIComponent(a)+"="+encodeURIComponent(c))}),b.join("&")}function C(a){if("string"!=typeof a)return{};var b=a.match(/^(([^:\/?#]+):)?(\/\/([^\/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/),c=b[6]||"",d=b[8]||"";return{protocol:b[2],host:b[4],path:b[5],relative:b[5]+c+d}}function D(){var a=U.crypto||U.msCrypto;if(!i(a)&&a.getRandomValues){var b=new Uint16Array(8);a.getRandomValues(b),b[3]=4095&b[3]|16384,b[4]=16383&b[4]|32768;var c=function(a){for(var b=a.toString(16);b.length<4;)b="0"+b;return b};return c(b[0])+c(b[1])+c(b[2])+c(b[3])+c(b[4])+c(b[5])+c(b[6])+c(b[7])}return"xxxxxxxxxxxx4xxxyxxxxxxxxxxxxxxx".replace(/[xy]/g,function(a){var b=16*Math.random()|0,c="x"===a?b:3&b|8;return c.toString(16)})}function E(a){for(var b,c=5,d=80,e=[],f=0,g=0,h=" > ",i=h.length;a&&f++<c&&(b=F(a),!("html"===b||f>1&&g+e.length*i+b.length>=d));)e.push(b),g+=b.length,a=a.parentNode;return e.reverse().join(h)}function F(a){var b,c,d,e,f,g=[];if(!a||!a.tagName)return"";if(g.push(a.tagName.toLowerCase()),a.id&&g.push("#"+a.id),b=a.className,b&&l(b))for(c=b.split(/\s+/),f=0;f<c.length;f++)g.push("."+c[f]);var h=["type","name","title","alt"];for(f=0;f<h.length;f++)d=h[f],e=a.getAttribute(d),e&&g.push("["+d+'="'+e+'"]');return g.join("")}function G(a,b){return!!(!!a^!!b)}function H(a,b){return i(a)&&i(b)}function I(a,b){return!G(a,b)&&(a=a.values[0],b=b.values[0],a.type===b.type&&a.value===b.value&&(!H(a.stacktrace,b.stacktrace)&&J(a.stacktrace,b.stacktrace)))}function J(a,b){if(G(a,b))return!1;var c=a.frames,d=b.frames;if(c.length!==d.length)return!1;for(var e,f,g=0;g<c.length;g++)if(e=c[g],f=d[g],e.filename!==f.filename||e.lineno!==f.lineno||e.colno!==f.colno||e["function"]!==f["function"])return!1;return!0}function K(a,b,c,d){if(null!=a){var e=a[b];a[b]=c(e),a[b].N=!0,a[b].P=e,d&&d.push([a,b,e])}}function L(a,b){if(!m(a))return"";for(var c=[],d=0;d<a.length;d++)try{c.push(String(a[d]))}catch(e){c.push("[value cannot be serialized]")}return c.join(b)}function M(a){return~-encodeURI(a).split(/%..|./).length}function N(a){return M(JSON.stringify(a))}function O(a){if("string"==typeof a){var b=40;return y(a,b)}if("number"==typeof a||"boolean"==typeof a||"undefined"==typeof a)return a;var c=Object.prototype.toString.call(a);return"[object Object]"===c?"[Object]":"[object Array]"===c?"[Array]":"[object Function]"===c?a.name?"[Function: "+a.name+"]":"[Function]":a}function P(a,b){return 0===b?O(a):k(a)?Object.keys(a).reduce(function(c,d){return c[d]=P(a[d],b-1),c},{}):Array.isArray(a)?a.map(function(a){return P(a,b-1)}):O(a)}function Q(a,b,c){if(!k(a))return a;b="number"!=typeof b?V:b,c="number"!=typeof b?W:c;var d=P(a,b);return N(T(d))>c?Q(a,b-1):d}function R(a,b){if("number"==typeof a||"string"==typeof a)return a.toString();if(!Array.isArray(a))return"";if(a=a.filter(function(a){return"string"==typeof a}),0===a.length)return"[object has no keys]";if(b="number"!=typeof b?X:b,a[0].length>=b)return a[0];for(var c=a.length;c>0;c--){var d=a.slice(0,c).join(", ");if(!(d.length>b))return c===a.length?d:d+"…"}return""}function S(a,b){function c(a){return m(a)?a.map(function(a){return c(a)}):k(a)?Object.keys(a).reduce(function(b,d){return b[d]=e.test(d)?f:c(a[d]),b},{}):a}if(!m(b)||m(b)&&0===b.length)return a;var d,e=A(b),f="********";try{d=JSON.parse(T(a))}catch(g){return a}return c(d)}var T=a(10),U="undefined"!=typeof window?window:"undefined"!=typeof c?c:"undefined"!=typeof self?self:{},V=3,W=51200,X=40;b.exports={isObject:d,isError:e,isErrorEvent:f,isDOMError:g,isDOMException:h,isUndefined:i,isFunction:j,isPlainObject:k,isString:l,isArray:m,isEmptyObject:n,supportsErrorEvent:o,supportsDOMError:p,supportsDOMException:q,supportsFetch:r,supportsReferrerPolicy:s,supportsPromiseRejectionEvent:t,wrappedCallback:u,each:v,objectMerge:w,truncate:y,objectFrozen:x,hasKey:z,joinRegExp:A,urlencode:B,uuid4:D,htmlTreeAsString:E,htmlElementAsString:F,isSameException:I,isSameStacktrace:J,parseUrl:C,fill:K,safeJoin:L,serializeException:Q,serializeKeysForMessage:R,sanitize:S}}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{10:10}],9:[function(a,b,c){(function(c){function d(){return"undefined"==typeof document||null==document.location?"":document.location.href}function e(){return"undefined"==typeof document||null==document.location?"":(document.location.origin||(document.location.origin=document.location.protocol+"//"+document.location.hostname+(document.location.port?":"+document.location.port:"")),document.location.origin)}var f=a(8),g={collectWindowErrors:!0,debug:!1},h="undefined"!=typeof window?window:"undefined"!=typeof c?c:"undefined"!=typeof self?self:{},i=[].slice,j="?",k=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/;g.report=function(){function a(a){m(),s.push(a)}function b(a){for(var b=s.length-1;b>=0;--b)s[b]===a&&s.splice(b,1)}function c(){n(),s=[]}function e(a,b){var c=null;if(!b||g.collectWindowErrors){for(var d in s)if(s.hasOwnProperty(d))try{s[d].apply(null,[a].concat(i.call(arguments,2)))}catch(e){c=e}if(c)throw c}}function l(a,b,c,h,i){var l=null,m=f.isErrorEvent(i)?i.error:i,n=f.isErrorEvent(a)?a.message:a;if(v)g.computeStackTrace.augmentStackTraceWithInitialElement(v,b,c,n),o();else if(m&&f.isError(m))l=g.computeStackTrace(m),e(l,!0);else{var p,r={url:b,line:c,column:h},s=void 0;if("[object String]"==={}.toString.call(n)){var p=n.match(k);p&&(s=p[1],n=p[2])}r.func=j,l={name:s,message:n,url:d(),stack:[r]},e(l,!0)}return!!q&&q.apply(this,arguments)}function m(){r||(q=h.onerror,h.onerror=l,r=!0)}function n(){r&&(h.onerror=q,r=!1,q=void 0)}function o(){var a=v,b=t;t=null,v=null,u=null,e.apply(null,[a,!1].concat(b))}function p(a,b){var c=i.call(arguments,1);if(v){if(u===a)return;o()}var d=g.computeStackTrace(a);if(v=d,u=a,t=c,setTimeout(function(){u===a&&o()},d.incomplete?2e3:0),b!==!1)throw a}var q,r,s=[],t=null,u=null,v=null;return p.subscribe=a,p.unsubscribe=b,p.uninstall=c,p}(),g.computeStackTrace=function(){function a(a){if("undefined"!=typeof a.stack&&a.stack){for(var b,c,f,g=/^\s*at (?:(.*?) ?\()?((?:file|https?|blob|chrome-extension|native|eval|webpack|<anonymous>|[a-z]:|\/).*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,h=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:file|ms-appx(?:-web)|https?|webpack|blob):.*?):(\d+)(?::(\d+))?\)?\s*$/i,i=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)((?:file|https?|blob|chrome|webpack|resource|moz-extension).*?:\/.*?|\[native code\]|[^@]*bundle)(?::(\d+))?(?::(\d+))?\s*$/i,k=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,l=/\((\S*)(?::(\d+))(?::(\d+))\)/,m=a.stack.split("\n"),n=[],o=(/^(.*) is undefined$/.exec(a.message),0),p=m.length;o<p;++o){if(c=g.exec(m[o])){var q=c[2]&&0===c[2].indexOf("native"),r=c[2]&&0===c[2].indexOf("eval");r&&(b=l.exec(c[2]))&&(c[2]=b[1],c[3]=b[2],c[4]=b[3]),f={url:q?null:c[2],func:c[1]||j,args:q?[c[2]]:[],line:c[3]?+c[3]:null,column:c[4]?+c[4]:null}}else if(c=h.exec(m[o]))f={url:c[2],func:c[1]||j,args:[],line:+c[3],column:c[4]?+c[4]:null};else{if(!(c=i.exec(m[o])))continue;var r=c[3]&&c[3].indexOf(" > eval")>-1;r&&(b=k.exec(c[3]))?(c[3]=b[1],c[4]=b[2],c[5]=null):0!==o||c[5]||"undefined"==typeof a.columnNumber||(n[0].column=a.columnNumber+1),f={url:c[3],func:c[1]||j,args:c[2]?c[2].split(","):[],line:c[4]?+c[4]:null,column:c[5]?+c[5]:null}}if(!f.func&&f.line&&(f.func=j), f.url&&"blob:"===f.url.substr(0,5)){var s=new XMLHttpRequest;if(s.open("GET",f.url,!1),s.send(null),200===s.status){var t=s.responseText||"";t=t.slice(-300);var u=t.match(/\/\/# sourceMappingURL=(.*)$/);if(u){var v=u[1];"~"===v.charAt(0)&&(v=e()+v.slice(1)),f.url=v.slice(0,-4)}}}n.push(f)}return n.length?{name:a.name,message:a.message,url:d(),stack:n}:null}}function b(a,b,c,d){var e={url:b,line:c};if(e.url&&e.line){if(a.incomplete=!1,e.func||(e.func=j),a.stack.length>0&&a.stack[0].url===e.url){if(a.stack[0].line===e.line)return!1;if(!a.stack[0].line&&a.stack[0].func===e.func)return a.stack[0].line=e.line,!1}return a.stack.unshift(e),a.partial=!0,!0}return a.incomplete=!0,!1}function c(a,e){for(var h,i,k=/function\s+([_$a-zA-Z\xA0-\uFFFF][_$a-zA-Z0-9\xA0-\uFFFF]*)?\s*\(/i,l=[],m={},n=!1,o=c.caller;o&&!n;o=o.caller)if(o!==f&&o!==g.report){if(i={url:null,func:j,line:null,column:null},o.name?i.func=o.name:(h=k.exec(o.toString()))&&(i.func=h[1]),"undefined"==typeof i.func)try{i.func=h.input.substring(0,h.input.indexOf("{"))}catch(p){}m[""+o]?n=!0:m[""+o]=!0,l.push(i)}e&&l.splice(0,e);var q={name:a.name,message:a.message,url:d(),stack:l};return b(q,a.sourceURL||a.fileName,a.line||a.lineNumber,a.message||a.description),q}function f(b,e){var f=null;e=null==e?0:+e;try{if(f=a(b))return f}catch(h){if(g.debug)throw h}try{if(f=c(b,e+1))return f}catch(h){if(g.debug)throw h}return{name:b.name,message:b.message,url:d()}}return f.augmentStackTraceWithInitialElement=b,f.computeStackTraceFromStackProp=a,f}(),b.exports=g}).call(this,"undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{8:8}],10:[function(a,b,c){function d(a,b){for(var c=0;c<a.length;++c)if(a[c]===b)return c;return-1}function e(a,b,c,d){return JSON.stringify(a,g(b,d),c)}function f(a){var b={stack:a.stack,message:a.message,name:a.name};for(var c in a)Object.prototype.hasOwnProperty.call(a,c)&&(b[c]=a[c]);return b}function g(a,b){var c=[],e=[];return null==b&&(b=function(a,b){return c[0]===b?"[Circular ~]":"[Circular ~."+e.slice(0,d(c,b)).join(".")+"]"}),function(g,h){if(c.length>0){var i=d(c,this);~i?c.splice(i+1):c.push(this),~i?e.splice(i,1/0,g):e.push(g),~d(c,h)&&(h=b.call(this,g,h))}else c.push(h);return null==a?h instanceof Error?f(h):h:a.call(this,g,h)}}c=b.exports=e,c.getSerialize=g},{}],11:[function(a,b,c){function d(a,b){var c=(65535&a)+(65535&b),d=(a>>16)+(b>>16)+(c>>16);return d<<16|65535&c}function e(a,b){return a<<b|a>>>32-b}function f(a,b,c,f,g,h){return d(e(d(d(b,a),d(f,h)),g),c)}function g(a,b,c,d,e,g,h){return f(b&c|~b&d,a,b,e,g,h)}function h(a,b,c,d,e,g,h){return f(b&d|c&~d,a,b,e,g,h)}function i(a,b,c,d,e,g,h){return f(b^c^d,a,b,e,g,h)}function j(a,b,c,d,e,g,h){return f(c^(b|~d),a,b,e,g,h)}function k(a,b){a[b>>5]|=128<<b%32,a[(b+64>>>9<<4)+14]=b;var c,e,f,k,l,m=1732584193,n=-271733879,o=-1732584194,p=271733878;for(c=0;c<a.length;c+=16)e=m,f=n,k=o,l=p,m=g(m,n,o,p,a[c],7,-680876936),p=g(p,m,n,o,a[c+1],12,-389564586),o=g(o,p,m,n,a[c+2],17,606105819),n=g(n,o,p,m,a[c+3],22,-1044525330),m=g(m,n,o,p,a[c+4],7,-176418897),p=g(p,m,n,o,a[c+5],12,1200080426),o=g(o,p,m,n,a[c+6],17,-1473231341),n=g(n,o,p,m,a[c+7],22,-45705983),m=g(m,n,o,p,a[c+8],7,1770035416),p=g(p,m,n,o,a[c+9],12,-1958414417),o=g(o,p,m,n,a[c+10],17,-42063),n=g(n,o,p,m,a[c+11],22,-1990404162),m=g(m,n,o,p,a[c+12],7,1804603682),p=g(p,m,n,o,a[c+13],12,-40341101),o=g(o,p,m,n,a[c+14],17,-1502002290),n=g(n,o,p,m,a[c+15],22,1236535329),m=h(m,n,o,p,a[c+1],5,-165796510),p=h(p,m,n,o,a[c+6],9,-1069501632),o=h(o,p,m,n,a[c+11],14,643717713),n=h(n,o,p,m,a[c],20,-373897302),m=h(m,n,o,p,a[c+5],5,-701558691),p=h(p,m,n,o,a[c+10],9,38016083),o=h(o,p,m,n,a[c+15],14,-660478335),n=h(n,o,p,m,a[c+4],20,-405537848),m=h(m,n,o,p,a[c+9],5,568446438),p=h(p,m,n,o,a[c+14],9,-1019803690),o=h(o,p,m,n,a[c+3],14,-187363961),n=h(n,o,p,m,a[c+8],20,1163531501),m=h(m,n,o,p,a[c+13],5,-1444681467),p=h(p,m,n,o,a[c+2],9,-51403784),o=h(o,p,m,n,a[c+7],14,1735328473),n=h(n,o,p,m,a[c+12],20,-1926607734),m=i(m,n,o,p,a[c+5],4,-378558),p=i(p,m,n,o,a[c+8],11,-2022574463),o=i(o,p,m,n,a[c+11],16,1839030562),n=i(n,o,p,m,a[c+14],23,-35309556),m=i(m,n,o,p,a[c+1],4,-1530992060),p=i(p,m,n,o,a[c+4],11,1272893353),o=i(o,p,m,n,a[c+7],16,-155497632),n=i(n,o,p,m,a[c+10],23,-1094730640),m=i(m,n,o,p,a[c+13],4,681279174),p=i(p,m,n,o,a[c],11,-358537222),o=i(o,p,m,n,a[c+3],16,-722521979),n=i(n,o,p,m,a[c+6],23,76029189),m=i(m,n,o,p,a[c+9],4,-640364487),p=i(p,m,n,o,a[c+12],11,-421815835),o=i(o,p,m,n,a[c+15],16,530742520),n=i(n,o,p,m,a[c+2],23,-995338651),m=j(m,n,o,p,a[c],6,-198630844),p=j(p,m,n,o,a[c+7],10,1126891415),o=j(o,p,m,n,a[c+14],15,-1416354905),n=j(n,o,p,m,a[c+5],21,-57434055),m=j(m,n,o,p,a[c+12],6,1700485571),p=j(p,m,n,o,a[c+3],10,-1894986606),o=j(o,p,m,n,a[c+10],15,-1051523),n=j(n,o,p,m,a[c+1],21,-2054922799),m=j(m,n,o,p,a[c+8],6,1873313359),p=j(p,m,n,o,a[c+15],10,-30611744),o=j(o,p,m,n,a[c+6],15,-1560198380),n=j(n,o,p,m,a[c+13],21,1309151649),m=j(m,n,o,p,a[c+4],6,-145523070),p=j(p,m,n,o,a[c+11],10,-1120210379),o=j(o,p,m,n,a[c+2],15,718787259),n=j(n,o,p,m,a[c+9],21,-343485551),m=d(m,e),n=d(n,f),o=d(o,k),p=d(p,l);return[m,n,o,p]}function l(a){var b,c="",d=32*a.length;for(b=0;b<d;b+=8)c+=String.fromCharCode(a[b>>5]>>>b%32&255);return c}function m(a){var b,c=[];for(c[(a.length>>2)-1]=void 0,b=0;b<c.length;b+=1)c[b]=0;var d=8*a.length;for(b=0;b<d;b+=8)c[b>>5]|=(255&a.charCodeAt(b/8))<<b%32;return c}function n(a){return l(k(m(a),8*a.length))}function o(a,b){var c,d,e=m(a),f=[],g=[];for(f[15]=g[15]=void 0,e.length>16&&(e=k(e,8*a.length)),c=0;c<16;c+=1)f[c]=909522486^e[c],g[c]=1549556828^e[c];return d=k(f.concat(m(b)),512+8*b.length),l(k(g.concat(d),640))}function p(a){var b,c,d="0123456789abcdef",e="";for(c=0;c<a.length;c+=1)b=a.charCodeAt(c),e+=d.charAt(b>>>4&15)+d.charAt(15&b);return e}function q(a){return unescape(encodeURIComponent(a))}function r(a){return n(q(a))}function s(a){return p(r(a))}function t(a,b){return o(q(a),q(b))}function u(a,b){return p(t(a,b))}function v(a,b,c){return b?c?t(b,a):u(b,a):c?r(a):s(a)}b.exports=v},{}]},{},[7,1,2,3])(7)}); //# sourceMappingURL=raven.min.js.map
ahocevar/cdnjs
ajax/libs/raven.js/3.25.1/angular,require,vue/raven.min.js
JavaScript
mit
38,192
using System.Threading.Tasks; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; using Microsoft.Extensions.Options; using Orleans; using Orleans.AzureUtils; using Orleans.Configuration; using Orleans.Runtime; using Orleans.Runtime.ReminderService; using Tester; using TestExtensions; using Xunit; using Orleans.Reminders.AzureStorage; namespace UnitTests.RemindersTest { /// <summary> /// Tests for operation of Orleans Reminders Table using Azure /// </summary> [TestCategory("Reminders"), TestCategory("Azure")] public class AzureRemindersTableTests : ReminderTableTestsBase, IClassFixture<Tester.AzureUtils.AzureStorageBasicTests> { public AzureRemindersTableTests(ConnectionStringFixture fixture, TestEnvironmentFixture environment) : base(fixture, environment, CreateFilters()) { } private static LoggerFilterOptions CreateFilters() { var filters = new LoggerFilterOptions(); filters.AddFilter("AzureTableDataManager", LogLevel.Trace); filters.AddFilter("OrleansSiloInstanceManager", LogLevel.Trace); filters.AddFilter("Storage", LogLevel.Trace); return filters; } public override void Dispose() { // Reset init timeout after tests OrleansSiloInstanceManager.initTimeout = AzureTableDefaultPolicies.TableCreationTimeout; base.Dispose(); } protected override IReminderTable CreateRemindersTable() { TestUtils.CheckForAzureStorage(); var options = new OptionsWrapper<AzureTableReminderStorageOptions>( new AzureTableReminderStorageOptions { ConnectionString = this.connectionStringFixture.ConnectionString }); return new AzureBasedReminderTable(this.ClusterFixture.Services.GetRequiredService<IGrainReferenceConverter>(), loggerFactory, this.clusterOptions, options); } protected override Task<string> GetConnectionString() { TestUtils.CheckForAzureStorage(); return Task.FromResult(TestDefaultConfiguration.DataConnectionString); } [SkippableFact] public void RemindersTable_Azure_Init() { } [SkippableFact, TestCategory("Functional")] public async Task RemindersTable_Azure_RemindersRange() { await RemindersRange(50); } [SkippableFact, TestCategory("Functional")] public async Task RemindersTable_Azure_RemindersParallelUpsert() { await RemindersParallelUpsert(); } [SkippableFact, TestCategory("Functional")] public async Task RemindersTable_Azure_ReminderSimple() { await ReminderSimple(); } } }
SoftWar1923/orleans
test/Extensions/TesterAzureUtils/AzureRemindersTableTests.cs
C#
mit
2,894
/** * @license * Copyright 2014 Palantir Technologies, Inc. * * 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. */ import * as ts from "typescript"; import * as Lint from "../index"; export declare class Rule extends Lint.Rules.AbstractRule { static metadata: Lint.IRuleMetadata; static FAILURE_STRING: string; apply(sourceFile: ts.SourceFile): Lint.RuleFailure[]; } export declare class NoUnusedExpressionWalker extends Lint.RuleWalker { protected expressionIsUnused: boolean; protected static isDirective(node: ts.Node, checkPreviousSiblings?: boolean): boolean; constructor(sourceFile: ts.SourceFile, options: Lint.IOptions); visitExpressionStatement(node: ts.ExpressionStatement): void; visitBinaryExpression(node: ts.BinaryExpression): void; visitPrefixUnaryExpression(node: ts.PrefixUnaryExpression): void; visitPostfixUnaryExpression(node: ts.PostfixUnaryExpression): void; visitBlock(node: ts.Block): void; visitArrowFunction(node: ts.FunctionLikeDeclaration): void; visitCallExpression(node: ts.CallExpression): void; protected visitNewExpression(node: ts.NewExpression): void; visitConditionalExpression(node: ts.ConditionalExpression): void; protected checkExpressionUsage(node: ts.ExpressionStatement): void; }
makhtardiouf/makhtardiouf.github.io
angularcode/node_modules/tslint/lib/rules/noUnusedExpressionRule.d.ts
TypeScript
mit
1,796
/**************************************************************************** * arch/arm/src/c5471/c5471_irq.c * * Copyright (C) 2007, 2009, 2011-2012 Gregory Nutt. All rights reserved. * Author: Gregory Nutt <gnutt@nuttx.org> * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * 3. Neither the name NuttX nor the names of its contributors may be * used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN * ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE * POSSIBILITY OF SUCH DAMAGE. * ****************************************************************************/ /**************************************************************************** * Included Files ****************************************************************************/ #include <nuttx/config.h> #include <stdint.h> #include <nuttx/irq.h> #include "arm.h" #include "chip.h" #include "up_arch.h" #include "os_internal.h" #include "up_internal.h" /**************************************************************************** * Pre-processor Definitions ****************************************************************************/ #define ILR_EDGESENSITIVE 0x00000020 #define ILR_PRIORITY 0x0000001E /**************************************************************************** * Public Data ****************************************************************************/ volatile uint32_t *current_regs; /**************************************************************************** * Private Data ****************************************************************************/ /* The value of _svectors is defined in ld.script. It could be hard-coded * because we know that correct IRAM area is 0xffc00000. */ extern int _svectors; /* Type does not matter */ /* The C5471 has FLASH at the low end of memory. The rrload bootloaer will * catch all interrupts and re-vector them to vectors stored in IRAM. The * following table is used to initialize those vectors. */ static up_vector_t g_vectorinittab[] = { (up_vector_t)NULL, up_vectorundefinsn, up_vectorswi, up_vectorprefetch, up_vectordata, up_vectoraddrexcptn, up_vectorirq, up_vectorfiq }; #define NVECTORS ((sizeof(g_vectorinittab)) / sizeof(up_vector_t)) /**************************************************************************** * Private Functions ****************************************************************************/ /**************************************************************************** * Name: up_ackirq * * Description: * Acknowlede the IRQ.Bit 0 of the Interrupt Control * Register == New IRQ agreement (NEW_IRQ_AGR). Reset IRQ * output. Clear source IRQ register. Enables a new IRQ * generation. Reset by internal logic. * ****************************************************************************/ static inline void up_ackirq(unsigned int irq) { uint32_t reg; reg = getreg32(SRC_IRQ_REG); /* Insure appropriate IT_REG bit clears */ putreg32(reg | 0x00000001, INT_CTRL_REG); /* write the NEW_IRQ_AGR bit. */ } /**************************************************************************** * Name: up_ackfiq * * Description: * Acknowledge the FIQ. Bit 1 of the Interrupt Control * Register == New FIQ agreement (NEW_FIQ_AGR). Reset FIQ * output. Clear source FIQ register. Enables a new FIQ * generation. Reset by internal logic. * ****************************************************************************/ static inline void up_ackfiq(unsigned int irq) { uint32_t reg; reg = getreg32(SRC_FIQ_REG); /* Insure appropriate IT_REG bit clears */ putreg32(reg | 0x00000002, INT_CTRL_REG); /* write the NEW_FIQ_AGR bit. */ } /**************************************************************************** * Name: up_vectorinitialize ****************************************************************************/ static inline void up_vectorinitialize(void) { up_vector_t *src = g_vectorinittab; up_vector_t *dest = (up_vector_t*)&_svectors; int i; for (i = 0; i < NVECTORS; i++) { *dest++ = *src++; } } /**************************************************************************** * Public Functions ****************************************************************************/ /**************************************************************************** * Name: up_irqinitialize ****************************************************************************/ void up_irqinitialize(void) { /* Disable all interrupts. */ putreg32(0x0000ffff, MASK_IT_REG); /* Clear any pending interrupts */ up_ackirq(0); up_ackfiq(0); putreg32(0x00000000, IT_REG); /* Override hardware defaults */ putreg32(ILR_EDGESENSITIVE | ILR_PRIORITY, ILR_IRQ2_REG); putreg32(ILR_EDGESENSITIVE | ILR_PRIORITY, ILR_IRQ4_REG); putreg32(ILR_PRIORITY, ILR_IRQ6_REG); putreg32(ILR_EDGESENSITIVE | ILR_PRIORITY, ILR_IRQ15_REG); /* Initialize hardware interrupt vectors */ up_vectorinitialize(); current_regs = NULL; /* And finally, enable interrupts */ #ifndef CONFIG_SUPPRESS_INTERRUPTS irqrestore(SVC_MODE | PSR_F_BIT); #endif } /**************************************************************************** * Name: up_disable_irq * * Description: * Disable the IRQ specified by 'irq' * ****************************************************************************/ void up_disable_irq(int irq) { if ((unsigned)irq < NR_IRQS) { uint32_t reg = getreg32(MASK_IT_REG); putreg32(reg | (1 << irq), MASK_IT_REG); } } /**************************************************************************** * Name: up_enable_irq * * Description: * Enable the IRQ specified by 'irq' * ****************************************************************************/ void up_enable_irq(int irq) { if ((unsigned)irq < NR_IRQS) { uint32_t reg = getreg32(MASK_IT_REG); putreg32(reg & ~(1 << irq), MASK_IT_REG); } } /**************************************************************************** * Name: up_maskack_irq * * Description: * Mask the IRQ and acknowledge it * ****************************************************************************/ void up_maskack_irq(int irq) { uint32_t reg = getreg32(INT_CTRL_REG); /* Mask the interrupt */ reg = getreg32(MASK_IT_REG); putreg32(reg | (1 << irq), MASK_IT_REG); /* Set the NEW_IRQ_AGR bit. This clears the IRQ src register * enables generation of a new IRQ. */ reg = getreg32(INT_CTRL_REG); putreg32(reg | 0x00000001, INT_CTRL_REG); /* write the NEW_IRQ_AGR bit. */ }
Yndal/ArduPilot-SensorPlatform
PX4NuttX/nuttx/arch/arm/src/c5471/c5471_irq.c
C
mit
7,880
// // Copyright (c) Microsoft Corporation. All rights reserved. // namespace Microsoft.Zelig.Runtime.Helpers { using System; using System.Runtime.CompilerServices; using TS = Microsoft.Zelig.Runtime.TypeSystem; internal static class Convert { [TS.WellKnownMethod( "SoftFP_Convert_IntToFloat" )] internal static float IntToFloat( int val , bool fOverflow ) { FloatImplementation fi = new FloatImplementation( val, fOverflow ); return fi.ToFloat(); } [TS.WellKnownMethod( "SoftFP_Convert_LongToFloat" )] internal static float LongToFloat( long val , bool fOverflow ) { FloatImplementation fi = new FloatImplementation( val, fOverflow ); return fi.ToFloat(); } [TS.WellKnownMethod( "SoftFP_Convert_UnsignedIntToFloat" )] internal static float UnsignedIntToFloat( uint val , bool fOverflow ) { FloatImplementation fi = new FloatImplementation( val, fOverflow ); return fi.ToFloat(); } [TS.WellKnownMethod( "SoftFP_Convert_UnsignedLongToFloat" )] internal static float UnsignedLongToFloat( ulong val , bool fOverflow ) { FloatImplementation fi = new FloatImplementation( val, fOverflow ); return fi.ToFloat(); } [TS.WellKnownMethod( "SoftFP_Convert_DoubleToFloat" )] internal static float DoubleToFloat( double val , bool fOverflow ) { DoubleImplementation di = new DoubleImplementation( val ); FloatImplementation fi = new FloatImplementation ( ref di, fOverflow ); return fi.ToFloat(); } //--// [TS.WellKnownMethod( "SoftFP_Convert_IntToDouble" )] internal static double IntToDouble( int val , bool fOverflow ) { DoubleImplementation di = new DoubleImplementation( val, fOverflow ); return di.ToDouble(); } [TS.WellKnownMethod( "SoftFP_Convert_LongToDouble" )] internal static double LongToDouble( long val , bool fOverflow ) { DoubleImplementation di = new DoubleImplementation( val, fOverflow ); return di.ToDouble(); } [TS.WellKnownMethod( "SoftFP_Convert_UnsignedIntToDouble" )] internal static double UnsignedIntToDouble( uint val , bool fOverflow ) { DoubleImplementation di = new DoubleImplementation( val, fOverflow ); return di.ToDouble(); } [TS.WellKnownMethod( "SoftFP_Convert_UnsignedLongToDouble" )] internal static double UnsignedLongToDouble( ulong val , bool fOverflow ) { DoubleImplementation di = new DoubleImplementation( val, fOverflow ); return di.ToDouble(); } [TS.WellKnownMethod( "SoftFP_Convert_FloatToDouble" )] internal static double FloatToDouble( float val , bool fOverflow ) { FloatImplementation fi = new FloatImplementation ( val ); DoubleImplementation di = new DoubleImplementation( ref fi, fOverflow ); return di.ToDouble(); } //--// [TS.WellKnownMethod( "SoftFP_Convert_FloatToInt" )] internal static int FloatToInt( float val , bool fOverflow ) { FloatImplementation fi = new FloatImplementation( val ); return fi.ToInt( fOverflow ); } [TS.WellKnownMethod( "SoftFP_Convert_FloatToUnsignedInt" )] internal static uint FloatToUnsignedInt( float val , bool fOverflow ) { FloatImplementation fi = new FloatImplementation( val ); return fi.ToUnsignedInt( fOverflow ); } [TS.WellKnownMethod( "SoftFP_Convert_DoubleToInt" )] internal static int DoubleToInt( double val , bool fOverflow ) { DoubleImplementation di = new DoubleImplementation( val ); return di.ToInt( fOverflow ); } [TS.WellKnownMethod( "SoftFP_Convert_DoubleToUnsignedInt" )] internal static uint DoubleToUnsignedInt( double val , bool fOverflow ) { DoubleImplementation di = new DoubleImplementation( val ); return di.ToUnsignedInt( fOverflow ); } //--// [TS.WellKnownMethod( "SoftFP_Convert_FloatToLong" )] internal static long FloatToLong( float val , bool fOverflow ) { FloatImplementation fi = new FloatImplementation( val ); return fi.ToLong( fOverflow ); } [TS.WellKnownMethod( "SoftFP_Convert_FloatToUnsignedLong" )] internal static ulong FloatToUnsignedLong( float val , bool fOverflow ) { FloatImplementation fi = new FloatImplementation( val ); return fi.ToUnsignedLong( fOverflow ); } [TS.WellKnownMethod( "SoftFP_Convert_DoubleToLong" )] internal static long DoubleToLong( double val , bool fOverflow ) { DoubleImplementation di = new DoubleImplementation( val ); return di.ToLong( fOverflow ); } [TS.WellKnownMethod( "SoftFP_Convert_DoubleToUnsignedLong" )] internal static ulong DoubleToUnsignedLong( double val , bool fOverflow ) { DoubleImplementation di = new DoubleImplementation( val ); return di.ToUnsignedLong( fOverflow ); } } }
jelin1/llilum
Zelig/Zelig/RunTime/Zelig/Kernel/Helpers/Convert.cs
C#
mit
6,438
# encoding: utf-8 # rubocop:disable Metrics/LineLength module RuboCop module Formatter # Abstract base class for formatter, implements all public API methods. # # ## Creating Custom Formatter # # You can create a custom formatter by subclassing # `RuboCop::Formatter::BaseFormatter` and overriding some methods, # or by implementing all the methods by duck typing. # # ## Using Custom Formatter in Command Line # # You can tell RuboCop to use your custom formatter with a combination of # `--format` and `--require` option. # For example, when you have defined `MyCustomFormatter` in # `./path/to/my_custom_formatter.rb`, you would type this command: # # rubocop --require ./path/to/my_custom_formatter --format MyCustomFormatter # # Note: The path passed to `--require` is directly passed to # `Kernel.require`. # If your custom formatter file is not in `$LOAD_PATH`, # you need to specify the path as relative path prefixed with `./` # explicitly, or absolute path. # # ## Method Invocation Order # # For example, when RuboCop inspects 2 files, # the invocation order should be like this: # # * `#initialize` # * `#started` # * `#file_started` # * `#file_finished` # * `#file_started` # * `#file_finished` # * `#finished` # class BaseFormatter # rubocop:enable Metrics/LineLength # @api public # # @!attribute [r] output # # @return [IO] # the IO object passed to `#initialize` # # @see #initialize attr_reader :output # @api public # # @param output [IO] # `$stdout` or opened file def initialize(output) @output = output end # @api public # # Invoked once before any files are inspected. # # @param target_files [Array(String)] # all target file paths to be inspected # # @return [void] def started(target_files) end # @api public # # Invoked at the beginning of inspecting each files. # # @param file [String] # the file path # # @param options [Hash] # file specific information, currently this is always empty. # # @return [void] def file_started(file, options) end # @api public # # Invoked at the end of inspecting each files. # # @param file [String] # the file path # # @param offenses [Array(RuboCop::Cop::Offense)] # all detected offenses for the file # # @return [void] # # @see RuboCop::Cop::Offense def file_finished(file, offenses) end # @api public # # Invoked after all files are inspected, or interrupted by user. # # @param inspected_files [Array(String)] # the inspected file paths. # This would be same as `target_files` passed to `#started` # unless RuboCop is interrupted by user. # # @return [void] def finished(inspected_files) end end end end
deepj/rubocop
lib/rubocop/formatter/base_formatter.rb
Ruby
mit
3,163
<html> <head> <title>The source code</title> <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="../resources/prettify/prettify.js"></script> </head> <body onload="prettyPrint();"> <pre class="prettyprint lang-js"><div id="cls-Ext.grid.GridPanel"></div>/** * @class Ext.grid.GridPanel * @extends Ext.Panel * <p>This class represents the primary interface of a component based grid control to represent data * in a tabular format of rows and columns. The GridPanel is composed of the following:</p> * <div class="mdetail-params"><ul> * <li><b>{@link Ext.data.Store Store}</b> : The Model holding the data records (rows) * <div class="sub-desc"></div></li> * <li><b>{@link Ext.grid.ColumnModel Column model}</b> : Column makeup * <div class="sub-desc"></div></li> * <li><b>{@link Ext.grid.GridView View}</b> : Encapsulates the user interface * <div class="sub-desc"></div></li> * <li><b>{@link Ext.grid.AbstractSelectionModel selection model}</b> : Selection behavior * <div class="sub-desc"></div></li> * </ul></div> * <p>Example usage:</p> * <pre><code> var grid = new Ext.grid.GridPanel({ {@link #store}: new (@link Ext.data.Store}({ {@link Ext.data.Store#autoDestroy autoDestroy}: true, {@link Ext.data.Store#reader reader}: reader, {@link Ext.data.Store#data data}: xg.dummyData }), {@link #columns}: [ {id: 'company', header: 'Company', width: 200, sortable: true, dataIndex: 'company'}, {header: 'Price', width: 120, sortable: true, renderer: Ext.util.Format.usMoney, dataIndex: 'price'}, {header: 'Change', width: 120, sortable: true, dataIndex: 'change'}, {header: '% Change', width: 120, sortable: true, dataIndex: 'pctChange'}, // instead of specifying renderer: Ext.util.Format.dateRenderer('m/d/Y') use xtype {header: 'Last Updated', width: 135, sortable: true, dataIndex: 'lastChange', xtype: 'datecolumn', format: 'M d, Y'} ], {@link #viewConfig}: { {@link Ext.grid.GridView#forceFit forceFit}: true, // Return CSS class to apply to rows depending upon data values {@link Ext.grid.GridView#getRowClass getRowClass}: function(record, index) { var c = record.{@link Ext.data.Record#get get}('change'); if (c < 0) { return 'price-fall'; } else if (c > 0) { return 'price-rise'; } } }, {@link #sm}: new Ext.grid.RowSelectionModel({singleSelect:true}), width: 600, height: 300, frame: true, title: 'Framed with Row Selection and Horizontal Scrolling', iconCls: 'icon-grid' }); * </code></pre> * <p><b><u>Notes:</u></b></p> * <div class="mdetail-params"><ul> * <li>Although this class inherits many configuration options from base classes, some of them * (such as autoScroll, autoWidth, layout, items, etc) are not used by this class, and will * have no effect.</li> * <li>A grid <b>requires</b> a width in which to scroll its columns, and a height in which to * scroll its rows. These dimensions can either be set explicitly through the * <tt>{@link Ext.BoxComponent#height height}</tt> and <tt>{@link Ext.BoxComponent#width width}</tt> * configuration options or implicitly set by using the grid as a child item of a * {@link Ext.Container Container} which will have a {@link Ext.Container#layout layout manager} * provide the sizing of its child items (for example the Container of the Grid may specify * <tt>{@link Ext.Container#layout layout}:'fit'</tt>).</li> * <li>To access the data in a Grid, it is necessary to use the data model encapsulated * by the {@link #store Store}. See the {@link #cellclick} event for more details.</li> * </ul></div> * @constructor * @param {Object} config The config object * @xtype grid */ Ext.grid.GridPanel = Ext.extend(Ext.Panel, { <div id="cfg-Ext.grid.GridPanel-autoExpandColumn"></div>/** * @cfg {String} autoExpandColumn * <p>The <tt>{@link Ext.grid.Column#id id}</tt> of a {@link Ext.grid.Column column} in * this grid that should expand to fill unused space. This value specified here can not * be <tt>0</tt>.</p> * <br><p><b>Note</b>: If the Grid's {@link Ext.grid.GridView view} is configured with * <tt>{@link Ext.grid.GridView#forceFit forceFit}=true</tt> the <tt>autoExpandColumn</tt> * is ignored. See {@link Ext.grid.Column}.<tt>{@link Ext.grid.Column#width width}</tt> * for additional details.</p> * <p>See <tt>{@link #autoExpandMax}</tt> and <tt>{@link #autoExpandMin}</tt> also.</p> */ autoExpandColumn : false, <div id="cfg-Ext.grid.GridPanel-autoExpandMax"></div>/** * @cfg {Number} autoExpandMax The maximum width the <tt>{@link #autoExpandColumn}</tt> * can have (if enabled). Defaults to <tt>1000</tt>. */ autoExpandMax : 1000, <div id="cfg-Ext.grid.GridPanel-autoExpandMin"></div>/** * @cfg {Number} autoExpandMin The minimum width the <tt>{@link #autoExpandColumn}</tt> * can have (if enabled). Defaults to <tt>50</tt>. */ autoExpandMin : 50, <div id="cfg-Ext.grid.GridPanel-columnLines"></div>/** * @cfg {Boolean} columnLines <tt>true</tt> to add css for column separation lines. * Default is <tt>false</tt>. */ columnLines : false, <div id="cfg-Ext.grid.GridPanel-cm"></div>/** * @cfg {Object} cm Shorthand for <tt>{@link #colModel}</tt>. */ <div id="cfg-Ext.grid.GridPanel-colModel"></div>/** * @cfg {Object} colModel The {@link Ext.grid.ColumnModel} to use when rendering the grid (required). */ <div id="cfg-Ext.grid.GridPanel-columns"></div>/** * @cfg {Array} columns An array of {@link Ext.grid.Column columns} to auto create a * {@link Ext.grid.ColumnModel}. The ColumnModel may be explicitly created via the * <tt>{@link #colModel}</tt> configuration property. */ <div id="cfg-Ext.grid.GridPanel-ddGroup"></div>/** * @cfg {String} ddGroup The DD group this GridPanel belongs to. Defaults to <tt>'GridDD'</tt> if not specified. */ <div id="cfg-Ext.grid.GridPanel-ddText"></div>/** * @cfg {String} ddText * Configures the text in the drag proxy. Defaults to: * <pre><code> * ddText : '{0} selected row{1}' * </code></pre> * <tt>{0}</tt> is replaced with the number of selected rows. */ ddText : '{0} selected row{1}', <div id="cfg-Ext.grid.GridPanel-deferRowRender"></div>/** * @cfg {Boolean} deferRowRender <P>Defaults to <tt>true</tt> to enable deferred row rendering.</p> * <p>This allows the GridPanel to be initially rendered empty, with the expensive update of the row * structure deferred so that layouts with GridPanels appear more quickly.</p> */ deferRowRender : true, <div id="cfg-Ext.grid.GridPanel-disableSelection"></div>/** * @cfg {Boolean} disableSelection <p><tt>true</tt> to disable selections in the grid. Defaults to <tt>false</tt>.</p> * <p>Ignored if a {@link #selModel SelectionModel} is specified.</p> */ <div id="cfg-Ext.grid.GridPanel-enableColumnResize"></div>/** * @cfg {Boolean} enableColumnResize <tt>false</tt> to turn off column resizing for the whole grid. Defaults to <tt>true</tt>. */ <div id="cfg-Ext.grid.GridPanel-enableColumnHide"></div>/** * @cfg {Boolean} enableColumnHide Defaults to <tt>true</tt> to enable hiding of columns with the header context menu. */ enableColumnHide : true, <div id="cfg-Ext.grid.GridPanel-enableColumnMove"></div>/** * @cfg {Boolean} enableColumnMove Defaults to <tt>true</tt> to enable drag and drop reorder of columns. <tt>false</tt> * to turn off column reordering via drag drop. */ enableColumnMove : true, <div id="cfg-Ext.grid.GridPanel-enableDragDrop"></div>/** * @cfg {Boolean} enableDragDrop <p>Enables dragging of the selected rows of the GridPanel. Defaults to <tt>false</tt>.</p> * <p>Setting this to <b><tt>true</tt></b> causes this GridPanel's {@link #getView GridView} to * create an instance of {@link Ext.grid.GridDragZone}. <b>Note</b>: this is available only <b>after</b> * the Grid has been rendered as the GridView's <tt>{@link Ext.grid.GridView#dragZone dragZone}</tt> * property.</p> * <p>A cooperating {@link Ext.dd.DropZone DropZone} must be created who's implementations of * {@link Ext.dd.DropZone#onNodeEnter onNodeEnter}, {@link Ext.dd.DropZone#onNodeOver onNodeOver}, * {@link Ext.dd.DropZone#onNodeOut onNodeOut} and {@link Ext.dd.DropZone#onNodeDrop onNodeDrop} are able * to process the {@link Ext.grid.GridDragZone#getDragData data} which is provided.</p> */ enableDragDrop : false, <div id="cfg-Ext.grid.GridPanel-enableHdMenu"></div>/** * @cfg {Boolean} enableHdMenu Defaults to <tt>true</tt> to enable the drop down button for menu in the headers. */ enableHdMenu : true, <div id="cfg-Ext.grid.GridPanel-hideHeaders"></div>/** * @cfg {Boolean} hideHeaders True to hide the grid's header. Defaults to <code>false</code>. */ <div id="cfg-Ext.grid.GridPanel-loadMask"></div>/** * @cfg {Object} loadMask An {@link Ext.LoadMask} config or true to mask the grid while * loading. Defaults to <code>false</code>. */ loadMask : false, <div id="cfg-Ext.grid.GridPanel-maxHeight"></div>/** * @cfg {Number} maxHeight Sets the maximum height of the grid - ignored if <tt>autoHeight</tt> is not on. */ <div id="cfg-Ext.grid.GridPanel-minColumnWidth"></div>/** * @cfg {Number} minColumnWidth The minimum width a column can be resized to. Defaults to <tt>25</tt>. */ minColumnWidth : 25, <div id="cfg-Ext.grid.GridPanel-sm"></div>/** * @cfg {Object} sm Shorthand for <tt>{@link #selModel}</tt>. */ <div id="cfg-Ext.grid.GridPanel-selModel"></div>/** * @cfg {Object} selModel Any subclass of {@link Ext.grid.AbstractSelectionModel} that will provide * the selection model for the grid (defaults to {@link Ext.grid.RowSelectionModel} if not specified). */ <div id="cfg-Ext.grid.GridPanel-store"></div>/** * @cfg {Ext.data.Store} store The {@link Ext.data.Store} the grid should use as its data source (required). */ <div id="cfg-Ext.grid.GridPanel-stripeRows"></div>/** * @cfg {Boolean} stripeRows <tt>true</tt> to stripe the rows. Default is <tt>false</tt>. * <p>This causes the CSS class <tt><b>x-grid3-row-alt</b></tt> to be added to alternate rows of * the grid. A default CSS rule is provided which sets a background colour, but you can override this * with a rule which either overrides the <b>background-color</b> style using the '!important' * modifier, or which uses a CSS selector of higher specificity.</p> */ stripeRows : false, <div id="cfg-Ext.grid.GridPanel-trackMouseOver"></div>/** * @cfg {Boolean} trackMouseOver True to highlight rows when the mouse is over. Default is <tt>true</tt> * for GridPanel, but <tt>false</tt> for EditorGridPanel. */ trackMouseOver : true, <div id="cfg-Ext.grid.GridPanel-stateEvents"></div>/** * @cfg {Array} stateEvents * An array of events that, when fired, should trigger this component to save its state. * Defaults to:<pre><code> * stateEvents: ['columnmove', 'columnresize', 'sortchange'] * </code></pre> * <p>These can be any types of events supported by this component, including browser or * custom events (e.g., <tt>['click', 'customerchange']</tt>).</p> * <p>See {@link Ext.Component#stateful} for an explanation of saving and restoring * Component state.</p> */ stateEvents : ['columnmove', 'columnresize', 'sortchange'], <div id="cfg-Ext.grid.GridPanel-view"></div>/** * @cfg {Object} view The {@link Ext.grid.GridView} used by the grid. This can be set * before a call to {@link Ext.Component#render render()}. */ view : null, <div id="cfg-Ext.grid.GridPanel-viewConfig"></div>/** * @cfg {Object} viewConfig A config object that will be applied to the grid's UI view. Any of * the config options available for {@link Ext.grid.GridView} can be specified here. This option * is ignored if <tt>{@link #view}</tt> is specified. */ // private rendered : false, // private viewReady : false, // private initComponent : function(){ Ext.grid.GridPanel.superclass.initComponent.call(this); if(this.columnLines){ this.cls = (this.cls || '') + ' x-grid-with-col-lines'; } // override any provided value since it isn't valid // and is causing too many bug reports ;) this.autoScroll = false; this.autoWidth = false; if(Ext.isArray(this.columns)){ this.colModel = new Ext.grid.ColumnModel(this.columns); delete this.columns; } // check and correct shorthanded configs if(this.ds){ this.store = this.ds; delete this.ds; } if(this.cm){ this.colModel = this.cm; delete this.cm; } if(this.sm){ this.selModel = this.sm; delete this.sm; } this.store = Ext.StoreMgr.lookup(this.store); this.addEvents( // raw events <div id="event-Ext.grid.GridPanel-click"></div>/** * @event click * The raw click event for the entire grid. * @param {Ext.EventObject} e */ 'click', <div id="event-Ext.grid.GridPanel-dblclick"></div>/** * @event dblclick * The raw dblclick event for the entire grid. * @param {Ext.EventObject} e */ 'dblclick', <div id="event-Ext.grid.GridPanel-contextmenu"></div>/** * @event contextmenu * The raw contextmenu event for the entire grid. * @param {Ext.EventObject} e */ 'contextmenu', <div id="event-Ext.grid.GridPanel-mousedown"></div>/** * @event mousedown * The raw mousedown event for the entire grid. * @param {Ext.EventObject} e */ 'mousedown', <div id="event-Ext.grid.GridPanel-mouseup"></div>/** * @event mouseup * The raw mouseup event for the entire grid. * @param {Ext.EventObject} e */ 'mouseup', <div id="event-Ext.grid.GridPanel-mouseover"></div>/** * @event mouseover * The raw mouseover event for the entire grid. * @param {Ext.EventObject} e */ 'mouseover', <div id="event-Ext.grid.GridPanel-mouseout"></div>/** * @event mouseout * The raw mouseout event for the entire grid. * @param {Ext.EventObject} e */ 'mouseout', <div id="event-Ext.grid.GridPanel-keypress"></div>/** * @event keypress * The raw keypress event for the entire grid. * @param {Ext.EventObject} e */ 'keypress', <div id="event-Ext.grid.GridPanel-keydown"></div>/** * @event keydown * The raw keydown event for the entire grid. * @param {Ext.EventObject} e */ 'keydown', // custom events <div id="event-Ext.grid.GridPanel-cellmousedown"></div>/** * @event cellmousedown * Fires before a cell is clicked * @param {Grid} this * @param {Number} rowIndex * @param {Number} columnIndex * @param {Ext.EventObject} e */ 'cellmousedown', <div id="event-Ext.grid.GridPanel-rowmousedown"></div>/** * @event rowmousedown * Fires before a row is clicked * @param {Grid} this * @param {Number} rowIndex * @param {Ext.EventObject} e */ 'rowmousedown', <div id="event-Ext.grid.GridPanel-headermousedown"></div>/** * @event headermousedown * Fires before a header is clicked * @param {Grid} this * @param {Number} columnIndex * @param {Ext.EventObject} e */ 'headermousedown', <div id="event-Ext.grid.GridPanel-cellclick"></div>/** * @event cellclick * Fires when a cell is clicked. * The data for the cell is drawn from the {@link Ext.data.Record Record} * for this row. To access the data in the listener function use the * following technique: * <pre><code> function(grid, rowIndex, columnIndex, e) { var record = grid.getStore().getAt(rowIndex); // Get the Record var fieldName = grid.getColumnModel().getDataIndex(columnIndex); // Get field name var data = record.get(fieldName); } </code></pre> * @param {Grid} this * @param {Number} rowIndex * @param {Number} columnIndex * @param {Ext.EventObject} e */ 'cellclick', <div id="event-Ext.grid.GridPanel-celldblclick"></div>/** * @event celldblclick * Fires when a cell is double clicked * @param {Grid} this * @param {Number} rowIndex * @param {Number} columnIndex * @param {Ext.EventObject} e */ 'celldblclick', <div id="event-Ext.grid.GridPanel-rowclick"></div>/** * @event rowclick * Fires when a row is clicked * @param {Grid} this * @param {Number} rowIndex * @param {Ext.EventObject} e */ 'rowclick', <div id="event-Ext.grid.GridPanel-rowdblclick"></div>/** * @event rowdblclick * Fires when a row is double clicked * @param {Grid} this * @param {Number} rowIndex * @param {Ext.EventObject} e */ 'rowdblclick', <div id="event-Ext.grid.GridPanel-headerclick"></div>/** * @event headerclick * Fires when a header is clicked * @param {Grid} this * @param {Number} columnIndex * @param {Ext.EventObject} e */ 'headerclick', <div id="event-Ext.grid.GridPanel-headerdblclick"></div>/** * @event headerdblclick * Fires when a header cell is double clicked * @param {Grid} this * @param {Number} columnIndex * @param {Ext.EventObject} e */ 'headerdblclick', <div id="event-Ext.grid.GridPanel-rowcontextmenu"></div>/** * @event rowcontextmenu * Fires when a row is right clicked * @param {Grid} this * @param {Number} rowIndex * @param {Ext.EventObject} e */ 'rowcontextmenu', <div id="event-Ext.grid.GridPanel-cellcontextmenu"></div>/** * @event cellcontextmenu * Fires when a cell is right clicked * @param {Grid} this * @param {Number} rowIndex * @param {Number} cellIndex * @param {Ext.EventObject} e */ 'cellcontextmenu', <div id="event-Ext.grid.GridPanel-headercontextmenu"></div>/** * @event headercontextmenu * Fires when a header is right clicked * @param {Grid} this * @param {Number} columnIndex * @param {Ext.EventObject} e */ 'headercontextmenu', <div id="event-Ext.grid.GridPanel-bodyscroll"></div>/** * @event bodyscroll * Fires when the body element is scrolled * @param {Number} scrollLeft * @param {Number} scrollTop */ 'bodyscroll', <div id="event-Ext.grid.GridPanel-columnresize"></div>/** * @event columnresize * Fires when the user resizes a column * @param {Number} columnIndex * @param {Number} newSize */ 'columnresize', <div id="event-Ext.grid.GridPanel-columnmove"></div>/** * @event columnmove * Fires when the user moves a column * @param {Number} oldIndex * @param {Number} newIndex */ 'columnmove', <div id="event-Ext.grid.GridPanel-sortchange"></div>/** * @event sortchange * Fires when the grid's store sort changes * @param {Grid} this * @param {Object} sortInfo An object with the keys field and direction */ 'sortchange', <div id="event-Ext.grid.GridPanel-reconfigure"></div>/** * @event reconfigure * Fires when the grid is reconfigured with a new store and/or column model. * @param {Grid} this * @param {Ext.data.Store} store The new store * @param {Ext.grid.ColumnModel} colModel The new column model */ 'reconfigure' ); }, // private onRender : function(ct, position){ Ext.grid.GridPanel.superclass.onRender.apply(this, arguments); var c = this.body; this.el.addClass('x-grid-panel'); var view = this.getView(); view.init(this); this.mon(c, { mousedown: this.onMouseDown, click: this.onClick, dblclick: this.onDblClick, contextmenu: this.onContextMenu, keydown: this.onKeyDown, scope: this }); this.relayEvents(c, ['mousedown','mouseup','mouseover','mouseout','keypress']); this.getSelectionModel().init(this); this.view.render(); }, // private initEvents : function(){ Ext.grid.GridPanel.superclass.initEvents.call(this); if(this.loadMask){ this.loadMask = new Ext.LoadMask(this.bwrap, Ext.apply({store:this.store}, this.loadMask)); } }, initStateEvents : function(){ Ext.grid.GridPanel.superclass.initStateEvents.call(this); this.mon(this.colModel, 'hiddenchange', this.saveState, this, {delay: 100}); }, applyState : function(state){ var cm = this.colModel; var cs = state.columns; if(cs){ for(var i = 0, len = cs.length; i < len; i++){ var s = cs[i]; var c = cm.getColumnById(s.id); if(c){ c.hidden = s.hidden; c.width = s.width; var oldIndex = cm.getIndexById(s.id); if(oldIndex != i){ cm.moveColumn(oldIndex, i); } } } } if(state.sort && this.store){ this.store[this.store.remoteSort ? 'setDefaultSort' : 'sort'](state.sort.field, state.sort.direction); } delete state.columns; delete state.sort; Ext.grid.GridPanel.superclass.applyState.call(this, state); }, getState : function(){ var o = {columns: []}; for(var i = 0, c; (c = this.colModel.config[i]); i++){ o.columns[i] = { id: c.id, width: c.width }; if(c.hidden){ o.columns[i].hidden = true; } } if(this.store){ var ss = this.store.getSortState(); if(ss){ o.sort = ss; } } return o; }, // private afterRender : function(){ Ext.grid.GridPanel.superclass.afterRender.call(this); this.view.layout(); if(this.deferRowRender){ this.view.afterRender.defer(10, this.view); }else{ this.view.afterRender(); } this.viewReady = true; }, <div id="method-Ext.grid.GridPanel-reconfigure"></div>/** * <p>Reconfigures the grid to use a different Store and Column Model * and fires the 'reconfigure' event. The View will be bound to the new * objects and refreshed.</p> * <p>Be aware that upon reconfiguring a GridPanel, certain existing settings <i>may</i> become * invalidated. For example the configured {@link #autoExpandColumn} may no longer exist in the * new ColumnModel. Also, an existing {@link Ext.PagingToolbar PagingToolbar} will still be bound * to the old Store, and will need rebinding. Any {@link #plugins} might also need reconfiguring * with the new data.</p> * @param {Ext.data.Store} store The new {@link Ext.data.Store} object * @param {Ext.grid.ColumnModel} colModel The new {@link Ext.grid.ColumnModel} object */ reconfigure : function(store, colModel){ if(this.loadMask){ this.loadMask.destroy(); this.loadMask = new Ext.LoadMask(this.bwrap, Ext.apply({}, {store:store}, this.initialConfig.loadMask)); } this.view.initData(store, colModel); this.store = store; this.colModel = colModel; if(this.rendered){ this.view.refresh(true); } this.fireEvent('reconfigure', this, store, colModel); }, // private onKeyDown : function(e){ this.fireEvent('keydown', e); }, // private onDestroy : function(){ if(this.rendered){ var c = this.body; c.removeAllListeners(); c.update(''); Ext.destroy(this.view, this.loadMask); }else if(this.store && this.store.autoDestroy){ this.store.destroy(); } Ext.destroy(this.colModel, this.selModel); this.store = this.selModel = this.colModel = this.view = this.loadMask = null; Ext.grid.GridPanel.superclass.onDestroy.call(this); }, // private processEvent : function(name, e){ this.fireEvent(name, e); var t = e.getTarget(); var v = this.view; var header = v.findHeaderIndex(t); if(header !== false){ this.fireEvent('header' + name, this, header, e); }else{ var row = v.findRowIndex(t); var cell = v.findCellIndex(t); if(row !== false){ this.fireEvent('row' + name, this, row, e); if(cell !== false){ this.fireEvent('cell' + name, this, row, cell, e); } } } }, // private onClick : function(e){ this.processEvent('click', e); }, // private onMouseDown : function(e){ this.processEvent('mousedown', e); }, // private onContextMenu : function(e, t){ this.processEvent('contextmenu', e); }, // private onDblClick : function(e){ this.processEvent('dblclick', e); }, // private walkCells : function(row, col, step, fn, scope){ var cm = this.colModel, clen = cm.getColumnCount(); var ds = this.store, rlen = ds.getCount(), first = true; if(step < 0){ if(col < 0){ row--; first = false; } while(row >= 0){ if(!first){ col = clen-1; } first = false; while(col >= 0){ if(fn.call(scope || this, row, col, cm) === true){ return [row, col]; } col--; } row--; } } else { if(col >= clen){ row++; first = false; } while(row < rlen){ if(!first){ col = 0; } first = false; while(col < clen){ if(fn.call(scope || this, row, col, cm) === true){ return [row, col]; } col++; } row++; } } return null; }, // private onResize : function(){ Ext.grid.GridPanel.superclass.onResize.apply(this, arguments); if(this.viewReady){ this.view.layout(); } }, <div id="method-Ext.grid.GridPanel-getGridEl"></div>/** * Returns the grid's underlying element. * @return {Element} The element */ getGridEl : function(){ return this.body; }, // private for compatibility, overridden by editor grid stopEditing : Ext.emptyFn, <div id="method-Ext.grid.GridPanel-getSelectionModel"></div>/** * Returns the grid's selection model configured by the <code>{@link #selModel}</code> * configuration option. If no selection model was configured, this will create * and return a {@link Ext.grid.RowSelectionModel RowSelectionModel}. * @return {SelectionModel} */ getSelectionModel : function(){ if(!this.selModel){ this.selModel = new Ext.grid.RowSelectionModel( this.disableSelection ? {selectRow: Ext.emptyFn} : null); } return this.selModel; }, <div id="method-Ext.grid.GridPanel-getStore"></div>/** * Returns the grid's data store. * @return {Ext.data.Store} The store */ getStore : function(){ return this.store; }, <div id="method-Ext.grid.GridPanel-getColumnModel"></div>/** * Returns the grid's ColumnModel. * @return {Ext.grid.ColumnModel} The column model */ getColumnModel : function(){ return this.colModel; }, <div id="method-Ext.grid.GridPanel-getView"></div>/** * Returns the grid's GridView object. * @return {Ext.grid.GridView} The grid view */ getView : function(){ if(!this.view){ this.view = new Ext.grid.GridView(this.viewConfig); } return this.view; }, <div id="method-Ext.grid.GridPanel-getDragDropText"></div>/** * Called to get grid's drag proxy text, by default returns this.ddText. * @return {String} The text */ getDragDropText : function(){ var count = this.selModel.getCount(); return String.format(this.ddText, count, count == 1 ? '' : 's'); } <div id="cfg-Ext.grid.GridPanel-activeItem"></div>/** * @cfg {String/Number} activeItem * @hide */ <div id="cfg-Ext.grid.GridPanel-autoDestroy"></div>/** * @cfg {Boolean} autoDestroy * @hide */ <div id="cfg-Ext.grid.GridPanel-autoLoad"></div>/** * @cfg {Object/String/Function} autoLoad * @hide */ <div id="cfg-Ext.grid.GridPanel-autoWidth"></div>/** * @cfg {Boolean} autoWidth * @hide */ <div id="cfg-Ext.grid.GridPanel-bufferResize"></div>/** * @cfg {Boolean/Number} bufferResize * @hide */ <div id="cfg-Ext.grid.GridPanel-defaultType"></div>/** * @cfg {String} defaultType * @hide */ <div id="cfg-Ext.grid.GridPanel-defaults"></div>/** * @cfg {Object} defaults * @hide */ <div id="cfg-Ext.grid.GridPanel-hideBorders"></div>/** * @cfg {Boolean} hideBorders * @hide */ <div id="cfg-Ext.grid.GridPanel-items"></div>/** * @cfg {Mixed} items * @hide */ <div id="cfg-Ext.grid.GridPanel-layout"></div>/** * @cfg {String} layout * @hide */ <div id="cfg-Ext.grid.GridPanel-layoutConfig"></div>/** * @cfg {Object} layoutConfig * @hide */ <div id="cfg-Ext.grid.GridPanel-monitorResize"></div>/** * @cfg {Boolean} monitorResize * @hide */ <div id="prop-Ext.grid.GridPanel-items"></div>/** * @property items * @hide */ <div id="method-Ext.grid.GridPanel-add"></div>/** * @method add * @hide */ <div id="method-Ext.grid.GridPanel-cascade"></div>/** * @method cascade * @hide */ <div id="method-Ext.grid.GridPanel-doLayout"></div>/** * @method doLayout * @hide */ <div id="method-Ext.grid.GridPanel-find"></div>/** * @method find * @hide */ <div id="method-Ext.grid.GridPanel-findBy"></div>/** * @method findBy * @hide */ <div id="method-Ext.grid.GridPanel-findById"></div>/** * @method findById * @hide */ <div id="method-Ext.grid.GridPanel-findByType"></div>/** * @method findByType * @hide */ <div id="method-Ext.grid.GridPanel-getComponent"></div>/** * @method getComponent * @hide */ <div id="method-Ext.grid.GridPanel-getLayout"></div>/** * @method getLayout * @hide */ <div id="method-Ext.grid.GridPanel-getUpdater"></div>/** * @method getUpdater * @hide */ <div id="method-Ext.grid.GridPanel-insert"></div>/** * @method insert * @hide */ <div id="method-Ext.grid.GridPanel-load"></div>/** * @method load * @hide */ <div id="method-Ext.grid.GridPanel-remove"></div>/** * @method remove * @hide */ <div id="event-Ext.grid.GridPanel-add"></div>/** * @event add * @hide */ <div id="event-Ext.grid.GridPanel-afterLayout"></div>/** * @event afterLayout * @hide */ <div id="event-Ext.grid.GridPanel-beforeadd"></div>/** * @event beforeadd * @hide */ <div id="event-Ext.grid.GridPanel-beforeremove"></div>/** * @event beforeremove * @hide */ <div id="event-Ext.grid.GridPanel-remove"></div>/** * @event remove * @hide */ <div id="cfg-Ext.grid.GridPanel-allowDomMove"></div>/** * @cfg {String} allowDomMove @hide */ <div id="cfg-Ext.grid.GridPanel-autoEl"></div>/** * @cfg {String} autoEl @hide */ <div id="cfg-Ext.grid.GridPanel-applyTo"></div>/** * @cfg {String} applyTo @hide */ <div id="cfg-Ext.grid.GridPanel-autoScroll"></div>/** * @cfg {String} autoScroll @hide */ <div id="cfg-Ext.grid.GridPanel-bodyBorder"></div>/** * @cfg {String} bodyBorder @hide */ <div id="cfg-Ext.grid.GridPanel-bodyStyle"></div>/** * @cfg {String} bodyStyle @hide */ <div id="cfg-Ext.grid.GridPanel-contentEl"></div>/** * @cfg {String} contentEl @hide */ <div id="cfg-Ext.grid.GridPanel-disabledClass"></div>/** * @cfg {String} disabledClass @hide */ <div id="cfg-Ext.grid.GridPanel-elements"></div>/** * @cfg {String} elements @hide */ <div id="cfg-Ext.grid.GridPanel-html"></div>/** * @cfg {String} html @hide */ <div id="cfg-Ext.grid.GridPanel-preventBodyReset"></div>/** * @cfg {Boolean} preventBodyReset * @hide */ <div id="prop-Ext.grid.GridPanel-disabled"></div>/** * @property disabled * @hide */ <div id="method-Ext.grid.GridPanel-applyToMarkup"></div>/** * @method applyToMarkup * @hide */ <div id="method-Ext.grid.GridPanel-enable"></div>/** * @method enable * @hide */ <div id="method-Ext.grid.GridPanel-disable"></div>/** * @method disable * @hide */ <div id="method-Ext.grid.GridPanel-setDisabled"></div>/** * @method setDisabled * @hide */ }); Ext.reg('grid', Ext.grid.GridPanel);</pre> </body> </html>
kenglishhi/mest
public/javascripts/ext-3.0.0/docs/source/GridPanel.html
HTML
mit
37,016
{ "cells": [ { "cell_type": "markdown", "metadata": {}, "source": [ "Import required modules" ] }, { "cell_type": "code", "execution_count": 1, "metadata": { "collapsed": true, "slideshow": { "slide_type": "skip" } }, "outputs": [], "source": [ "from astropy.io import ascii, fits\n", "import pylab as plt\n", "%matplotlib inline\n", "from astropy import wcs\n", "\n", "\n", "import numpy as np\n", "import xidplus\n", "from xidplus import moc_routines\n", "import pickle" ] }, { "cell_type": "markdown", "metadata": { "collapsed": true }, "source": [ "Set image and catalogue filenames" ] }, { "cell_type": "code", "execution_count": 2, "metadata": { "collapsed": true }, "outputs": [], "source": [ "#Folder containing maps\n", "\n", "pswfits='/Users/pdh21/astrodata/COSMOS/P4/COSMOS-Nest_image_250_SMAP_v6.0.fits'#SPIRE 250 map\n", "pmwfits='/Users/pdh21/astrodata/COSMOS/P4/COSMOS-Nest_image_350_SMAP_v6.0.fits'#SPIRE 350 map\n", "plwfits='/Users/pdh21/astrodata/COSMOS/P4/COSMOS-Nest_image_500_SMAP_v6.0.fits'#SPIRE 500 map\n", "\n", "\n", "\n", "\n", "#output folder\n", "output_folder='./'" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Load in images, noise maps, header info and WCS information" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "ename": "KeyboardInterrupt", "evalue": "", "output_type": "error", "traceback": [ "\u001b[0;31m---------------------------------------------------------------------------\u001b[0m", "\u001b[0;31mKeyboardInterrupt\u001b[0m Traceback (most recent call last)", "\u001b[0;32m<ipython-input-3-f8abf8d26dab>\u001b[0m in \u001b[0;36m<module>\u001b[0;34m()\u001b[0m\n\u001b[1;32m 15\u001b[0m \u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 16\u001b[0m \u001b[0mim350\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mhdulist\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0;36m1.0E3\u001b[0m \u001b[0;31m#convert to mJy\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0;32m---> 17\u001b[0;31m \u001b[0mnim350\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0mhdulist\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m2\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mdata\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0;36m1.0E3\u001b[0m \u001b[0;31m#convert to mJy\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[0m\u001b[1;32m 18\u001b[0m \u001b[0mw_350\u001b[0m \u001b[0;34m=\u001b[0m \u001b[0mwcs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mWCS\u001b[0m\u001b[0;34m(\u001b[0m\u001b[0mhdulist\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m]\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mheader\u001b[0m\u001b[0;34m)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n\u001b[1;32m 19\u001b[0m \u001b[0mpixsize350\u001b[0m\u001b[0;34m=\u001b[0m\u001b[0;36m3600.0\u001b[0m\u001b[0;34m*\u001b[0m\u001b[0mw_350\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mwcs\u001b[0m\u001b[0;34m.\u001b[0m\u001b[0mcd\u001b[0m\u001b[0;34m[\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m,\u001b[0m\u001b[0;36m1\u001b[0m\u001b[0;34m]\u001b[0m \u001b[0;31m#pixel size (in arcseconds)\u001b[0m\u001b[0;34m\u001b[0m\u001b[0m\n", "\u001b[0;31mKeyboardInterrupt\u001b[0m: " ] } ], "source": [ "#-----250-------------\n", "hdulist = fits.open(pswfits)\n", "im250phdu=hdulist[0].header\n", "im250hdu=hdulist[1].header\n", "\n", "im250=hdulist[1].data*1.0E3 #convert to mJy\n", "nim250=hdulist[2].data*1.0E3 #convert to mJy\n", "w_250 = wcs.WCS(hdulist[1].header)\n", "pixsize250=3600.0*w_250.wcs.cd[1,1] #pixel size (in arcseconds)\n", "hdulist.close()\n", "#-----350-------------\n", "hdulist = fits.open(pmwfits)\n", "im350phdu=hdulist[0].header\n", "im350hdu=hdulist[1].header\n", "\n", "im350=hdulist[1].data*1.0E3 #convert to mJy\n", "nim350=hdulist[2].data*1.0E3 #convert to mJy\n", "w_350 = wcs.WCS(hdulist[1].header)\n", "pixsize350=3600.0*w_350.wcs.cd[1,1] #pixel size (in arcseconds)\n", "hdulist.close()\n", "#-----500-------------\n", "hdulist = fits.open(plwfits)\n", "im500phdu=hdulist[0].header\n", "im500hdu=hdulist[1].header \n", "im500=hdulist[1].data*1.0E3 #convert to mJy\n", "nim500=hdulist[2].data*1.0E3 #convert to mJy\n", "w_500 = wcs.WCS(hdulist[1].header)\n", "pixsize500=3600.0*w_500.wcs.cd[1,1] #pixel size (in arcseconds)\n", "hdulist.close()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Load in catalogue you want to fit (and make any cuts)" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "collapsed": true }, "outputs": [], "source": [ "from astropy.table import Table" ] }, { "cell_type": "code", "execution_count": 5, "metadata": { "collapsed": true }, "outputs": [], "source": [ "photoz=Table.read('/Users/pdh21/astrodata/COSMOS/P4/COSMOS2015-HELP_selected_20160613_photoz_v1.0.fits')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Ken Duncan defines a median and a hierarchical bayes combination redshift. We take first peak if it exists" ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "collapsed": true }, "outputs": [], "source": [ "z_sig=np.empty((len(photoz)))\n", "z_median=np.empty((len(photoz)))\n", "for i in range(0,len(photoz)):\n", " z_sig[i]=np.max(np.array([photoz['z1_median'][i]-photoz['z1_min'][i],photoz['z1_max'][i]-photoz['z1_median'][i]]))\n", " if photoz['z1_median'][i] > 0.0:\n", " z_median[i]=photoz['z1_median'][i]\n", " else:\n", " z_median[i]=photoz['za_hb'][i]" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "XID+ uses Multi Order Coverage (MOC) maps for cutting down maps and catalogues so they cover the same area. It can also take in MOCs as selection functions to carry out additional cuts. Lets use the python module [pymoc](http://pymoc.readthedocs.io/en/latest/) to create a MOC, centered on a specific position we are interested in. We will use a HEALPix order of 15 (the resolution: higher order means higher resolution), have a radius of 100 arcseconds centered around an R.A. of 150.487 degrees and Declination of 2.396 degrees." ] }, { "cell_type": "code", "execution_count": 7, "metadata": { "collapsed": true }, "outputs": [], "source": [ "from astropy.coordinates import SkyCoord\n", "from astropy import units as u\n", "\n", "c = SkyCoord(ra=[150.486514739]*u.degree, dec=[2.39576363026]*u.degree)\n", "\n", "import pymoc\n", "moc=pymoc.util.catalog.catalog_to_moc(c,50,15)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "XID+ is built around two python classes. A prior and posterior class. There should be a prior class for each map being fitted. It is initiated with a map, noise map, primary header and map header and can be set with a MOC. It also requires an input prior catalogue and point spread function.\n" ] }, { "cell_type": "code", "execution_count": 8, "metadata": { "collapsed": true }, "outputs": [], "source": [ "#---prior250--------\n", "prior250=xidplus.prior(im250,nim250,im250phdu,im250hdu, moc=moc)#Initialise with map, uncertianty map, wcs info and primary header\n", "prior250.prior_cat(photoz['RA'],photoz['DEC'],'photoz', z_median=z_median, z_sig=z_sig)#Set input catalogue\n", "prior250.prior_bkg(-5.0,5)#Set prior on background (assumes Gaussian pdf with mu and sigma)\n", "#---prior350--------\n", "prior350=xidplus.prior(im350,nim350,im350phdu,im350hdu, moc=moc)\n", "prior350.prior_cat(photoz['RA'],photoz['DEC'],'photoz', z_median=z_median, z_sig=z_sig)\n", "prior350.prior_bkg(-5.0,5)\n", "\n", "#---prior500--------\n", "prior500=xidplus.prior(im500,nim500,im500phdu,im500hdu, moc=moc)\n", "prior500.prior_cat(photoz['RA'],photoz['DEC'],'photoz', z_median=z_median, z_sig=z_sig)\n", "prior500.prior_bkg(-5.0,5)" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Set PSF. For SPIRE, the PSF can be assumed to be Gaussian with a FWHM of 18.15, 25.15, 36.3 '' for 250, 350 and 500 $\\mathrm{\\mu m}$ respectively. Lets use the astropy module to construct a Gaussian PSF and assign it to the three XID+ prior classes." ] }, { "cell_type": "code", "execution_count": 9, "metadata": { "collapsed": true }, "outputs": [], "source": [ "#pixsize array (size of pixels in arcseconds)\n", "pixsize=np.array([pixsize250,pixsize350,pixsize500])\n", "#point response function for the three bands\n", "prfsize=np.array([18.15,25.15,36.3])\n", "#use Gaussian2DKernel to create prf (requires stddev rather than fwhm hence pfwhm/2.355)\n", "from astropy.convolution import Gaussian2DKernel\n", "\n", "##---------fit using Gaussian beam-----------------------\n", "prf250=Gaussian2DKernel(prfsize[0]/2.355,x_size=101,y_size=101)\n", "prf250.normalize(mode='peak')\n", "prf350=Gaussian2DKernel(prfsize[1]/2.355,x_size=101,y_size=101)\n", "prf350.normalize(mode='peak')\n", "prf500=Gaussian2DKernel(prfsize[2]/2.355,x_size=101,y_size=101)\n", "prf500.normalize(mode='peak')\n", "\n", "pind250=np.arange(0,101,1)*1.0/pixsize[0] #get 250 scale in terms of pixel scale of map\n", "pind350=np.arange(0,101,1)*1.0/pixsize[1] #get 350 scale in terms of pixel scale of map\n", "pind500=np.arange(0,101,1)*1.0/pixsize[2] #get 500 scale in terms of pixel scale of map\n", "\n", "prior250.set_prf(prf250.array,pind250,pind250)#requires psf as 2d grid, and x and y bins for grid (in pixel scale)\n", "prior350.set_prf(prf350.array,pind350,pind350)\n", "prior500.set_prf(prf500.array,pind500,pind500)" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "fitting 277 sources \n", "\n", "using 220, 117 and 53 pixels\n" ] } ], "source": [ "print('fitting '+ str(prior250.nsrc)+' sources \\n')\n", "print('using ' + str(prior250.snpix)+', '+ str(prior350.snpix)+' and '+ str(prior500.snpix)+' pixels')\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Before fitting, the prior classes need to take the PSF and calculate how muich each source contributes to each pixel. This process provides what we call a pointing matrix. Lets calculate the pointing matrix for each prior class" ] }, { "cell_type": "code", "execution_count": 11, "metadata": { "collapsed": true }, "outputs": [], "source": [ "prior250.get_pointing_matrix()\n", "prior350.get_pointing_matrix()\n", "prior500.get_pointing_matrix()\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Default prior on flux is a uniform distribution, with a minimum and maximum of 0.00 and 1000.0 $\\mathrm{mJy}$ respectively for each source. running the function upper_lim _map resets the upper limit to the maximum flux value (plus a 5 sigma Background value) found in the map in which the source makes a contribution to." ] }, { "cell_type": "code", "execution_count": 12, "metadata": { "collapsed": true }, "outputs": [], "source": [ "prior250.upper_lim_map()\n", "prior350.upper_lim_map()\n", "prior500.upper_lim_map()" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Now fit using the XID+ interface to pystan" ] }, { "cell_type": "code", "execution_count": 13, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/XID+SPIRE found. Reusing\n" ] } ], "source": [ "from xidplus.stan_fit import SPIRE\n", "fit_basic=SPIRE.all_bands(prior250,prior350,prior500,iter=1000)\n" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "Initialise the posterior class with the fit object from pystan, and save alongside the prior classes" ] }, { "cell_type": "code", "execution_count": 14, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "Inference for Stan model: anon_model_6cc18a5a79f36bf3802ce659b7e57421.\n", "4 chains, each with iter=1000; warmup=500; thin=1; \n", "post-warmup draws per chain=500, total post-warmup draws=2000.\n", "\n", " mean se_mean sd 2.5% 25% 50% 75% 97.5% n_eff Rhat\n", "src_f[0,0] 0.87 2.9e-3 0.11 0.58 0.82 0.9 0.95 0.99 1471 1.0\n", "src_f[1,0] 0.43 6.2e-3 0.28 0.02 0.19 0.4 0.67 0.96 2000 1.0\n", "src_f[2,0] 0.47 6.6e-3 0.3 0.01 0.21 0.45 0.73 0.97 2000 1.0\n", "src_f[0,1] 0.21 3.7e-3 0.14 0.01 0.11 0.19 0.3 0.54 1459 1.0\n", "src_f[1,1] 0.42 6.2e-3 0.28 0.02 0.18 0.38 0.63 0.96 2000 1.0\n", "src_f[2,1] 0.47 6.3e-3 0.28 0.02 0.22 0.46 0.71 0.96 2000 1.0\n", "src_f[0,2] 0.11 1.9e-3 0.08 5.3e-3 0.04 0.09 0.16 0.31 2000 1.0\n", "src_f[1,2] 0.42 6.4e-3 0.29 0.01 0.17 0.38 0.64 0.97 2000 1.0\n", "src_f[2,2] 0.48 6.5e-3 0.29 0.02 0.22 0.46 0.73 0.97 2000 1.0\n", "src_f[0,3] 0.14 2.2e-3 0.1 5.9e-3 0.06 0.12 0.2 0.38 2000 1.0\n", "src_f[1,3] 0.41 6.4e-3 0.29 0.01 0.16 0.36 0.63 0.97 2000 1.0\n", "src_f[2,3] 0.48 6.5e-3 0.29 0.02 0.22 0.46 0.73 0.97 2000 1.0\n", "src_f[0,4] 0.06 1.3e-3 0.06 1.4e-3 0.02 0.04 0.09 0.22 2000 1.0\n", "src_f[1,4] 0.4 6.3e-3 0.28 0.02 0.15 0.36 0.63 0.95 2000 1.0\n", "src_f[2,4] 0.48 6.4e-3 0.29 0.02 0.23 0.46 0.73 0.97 2000 1.0\n", "src_f[0,5] 0.17 2.8e-3 0.13 6.3e-3 0.06 0.14 0.24 0.46 2000 1.0\n", "src_f[1,5] 0.41 6.2e-3 0.28 0.01 0.16 0.37 0.64 0.95 2000 1.0\n", "src_f[2,5] 0.48 6.5e-3 0.29 0.02 0.23 0.46 0.73 0.97 2000 1.0\n", "src_f[0,6] 0.41 5.2e-3 0.2 0.04 0.26 0.41 0.55 0.8 1476 1.0\n", "src_f[1,6] 0.43 6.4e-3 0.29 0.02 0.17 0.39 0.67 0.95 2000 1.0\n", "src_f[2,6] 0.49 6.3e-3 0.28 0.03 0.25 0.49 0.72 0.96 2000 1.0\n", "src_f[0,7] 0.59 6.3e-3 0.26 0.06 0.4 0.62 0.8 0.98 1705 1.01\n", "src_f[1,7] 0.47 6.4e-3 0.29 0.03 0.22 0.44 0.72 0.97 2000 1.0\n", "src_f[2,7] 0.49 6.5e-3 0.29 0.02 0.23 0.49 0.74 0.98 2000 1.0\n", "src_f[0,8] 0.92 1.7e-3 0.08 0.71 0.88 0.94 0.97 1.0 2000 1.0\n", "src_f[1,8] 0.45 6.3e-3 0.28 0.02 0.21 0.43 0.68 0.96 2000 1.0\n", "src_f[2,8] 0.47 6.4e-3 0.29 0.02 0.23 0.46 0.71 0.97 2000 1.0\n", "src_f[0,9] 0.39 5.9e-3 0.25 0.02 0.19 0.36 0.57 0.91 1756 1.0\n", "src_f[1,9] 0.46 6.3e-3 0.28 0.03 0.21 0.45 0.69 0.95 2000 1.0\n", "src_f[2,9] 0.48 6.4e-3 0.29 0.02 0.24 0.47 0.73 0.98 2000 1.0\n", "src_f[0,10] 0.14 2.8e-3 0.13 4.5e-3 0.05 0.11 0.2 0.48 2000 1.0\n", "src_f[1,10] 0.42 6.4e-3 0.28 0.02 0.17 0.38 0.65 0.96 2000 1.0\n", "src_f[2,10] 0.48 6.4e-3 0.29 0.02 0.23 0.47 0.72 0.97 2000 1.0\n", "src_f[0,11] 0.13 2.5e-3 0.11 3.7e-3 0.04 0.1 0.19 0.42 2000 1.0\n", "src_f[1,11] 0.4 6.3e-3 0.28 0.02 0.15 0.35 0.62 0.96 2000 1.0\n", "src_f[2,11] 0.47 6.3e-3 0.28 0.02 0.22 0.46 0.71 0.97 2000 1.0\n", "src_f[0,12] 0.04 9.3e-4 0.04 8.9e-4 0.01 0.03 0.06 0.16 2000 1.0\n", "src_f[1,12] 0.39 6.2e-3 0.28 0.01 0.15 0.33 0.59 0.96 2000 1.0\n", "src_f[2,12] 0.47 6.3e-3 0.28 0.02 0.23 0.45 0.71 0.97 2000 1.0\n", "src_f[0,13] 0.09 1.8e-3 0.08 3.1e-3 0.03 0.07 0.13 0.3 2000 1.0\n", "src_f[1,13] 0.38 5.9e-3 0.27 0.02 0.15 0.33 0.58 0.94 2000 1.0\n", "src_f[2,13] 0.48 6.3e-3 0.28 0.03 0.24 0.47 0.72 0.96 2000 1.0\n", "src_f[0,14] 0.21 3.4e-3 0.15 0.01 0.09 0.18 0.31 0.57 2000 1.0\n", "src_f[1,14] 0.43 6.4e-3 0.29 0.02 0.18 0.4 0.66 0.97 2000 1.0\n", "src_f[2,14] 0.49 6.5e-3 0.29 0.03 0.24 0.49 0.74 0.97 2000 1.0\n", "src_f[0,15] 0.7 3.9e-3 0.18 0.33 0.59 0.72 0.84 0.98 2000 1.0\n", "src_f[1,15] 0.42 6.4e-3 0.29 0.02 0.16 0.38 0.65 0.96 2000 1.0\n", "src_f[2,15] 0.46 6.4e-3 0.28 0.02 0.22 0.44 0.7 0.97 2000 1.0\n", "src_f[0,16] 0.09 2.0e-3 0.09 2.3e-3 0.03 0.07 0.13 0.33 2000 1.0\n", "src_f[1,16] 0.42 6.3e-3 0.28 0.02 0.16 0.38 0.64 0.96 2000 1.0\n", "src_f[2,16] 0.47 6.5e-3 0.29 0.02 0.22 0.46 0.71 0.97 2000 1.0\n", "src_f[0,17] 0.12 2.3e-3 0.1 3.9e-3 0.04 0.09 0.17 0.39 2000 1.0\n", "src_f[1,17] 0.42 6.2e-3 0.28 0.02 0.18 0.38 0.64 0.96 2000 1.0\n", "src_f[2,17] 0.47 6.3e-3 0.28 0.02 0.22 0.47 0.7 0.97 2000 1.0\n", "src_f[0,18] 0.14 2.8e-3 0.12 4.0e-3 0.05 0.1 0.19 0.47 2000 1.0\n", "src_f[1,18] 0.46 6.6e-3 0.29 0.02 0.21 0.44 0.72 0.97 2000 1.0\n", "src_f[2,18] 0.48 6.4e-3 0.29 0.02 0.24 0.47 0.72 0.97 2000 1.0\n", "src_f[0,19] 0.08 1.6e-3 0.07 1.6e-3 0.02 0.05 0.11 0.27 2000 1.0\n", "src_f[1,19] 0.4 6.1e-3 0.27 0.01 0.17 0.36 0.61 0.95 2000 1.0\n", "src_f[2,19] 0.48 6.5e-3 0.29 0.02 0.23 0.47 0.73 0.98 2000 1.0\n", "src_f[0,20] 0.09 1.9e-3 0.09 2.5e-3 0.03 0.07 0.13 0.32 2000 1.0\n", "src_f[1,20] 0.41 6.2e-3 0.28 0.01 0.17 0.36 0.63 0.96 2000 1.0\n", "src_f[2,20] 0.48 6.4e-3 0.29 0.02 0.24 0.47 0.72 0.98 2000 1.0\n", "src_f[0,21] 0.11 2.2e-3 0.1 2.3e-3 0.03 0.08 0.15 0.36 2000 1.0\n", "src_f[1,21] 0.37 6.1e-3 0.27 0.01 0.14 0.31 0.57 0.96 2000 1.0\n", "src_f[2,21] 0.47 6.5e-3 0.29 0.03 0.22 0.46 0.72 0.96 2000 1.0\n", "src_f[0,22] 0.05 1.1e-3 0.05 1.4e-3 0.02 0.04 0.08 0.19 2000 1.0\n", "src_f[1,22] 0.38 6.1e-3 0.27 0.01 0.14 0.34 0.59 0.94 2000 1.0\n", "src_f[2,22] 0.47 6.5e-3 0.29 0.02 0.21 0.44 0.72 0.97 2000 1.0\n", "src_f[0,23] 0.1 2.0e-3 0.09 3.7e-3 0.03 0.07 0.14 0.33 2000 1.0\n", "src_f[1,23] 0.45 6.4e-3 0.29 0.02 0.2 0.42 0.69 0.96 2000 1.0\n", "src_f[2,23] 0.48 6.4e-3 0.28 0.03 0.23 0.46 0.71 0.97 2000 1.0\n", "src_f[0,24] 0.08 1.6e-3 0.07 3.5e-3 0.03 0.06 0.12 0.26 2000 1.0\n", "src_f[1,24] 0.37 6.0e-3 0.27 0.01 0.14 0.31 0.57 0.93 2000 1.0\n", "src_f[2,24] 0.46 6.5e-3 0.29 0.02 0.22 0.45 0.71 0.97 2000 1.0\n", "src_f[0,25] 0.1 2.2e-3 0.1 2.9e-3 0.03 0.08 0.15 0.37 2000 1.0\n", "src_f[1,25] 0.41 6.4e-3 0.29 0.02 0.15 0.36 0.65 0.96 2000 1.0\n", "src_f[2,25] 0.46 6.3e-3 0.28 0.02 0.22 0.43 0.69 0.97 2000 1.0\n", "src_f[0,26] 0.09 1.9e-3 0.08 2.3e-3 0.03 0.07 0.13 0.31 2000 1.0\n", "src_f[1,26] 0.38 6.0e-3 0.27 0.02 0.15 0.32 0.59 0.94 2000 1.0\n", "src_f[2,26] 0.45 6.5e-3 0.29 0.02 0.21 0.42 0.7 0.97 2000 1.0\n", "src_f[0,27] 0.09 1.7e-3 0.07 3.9e-3 0.03 0.08 0.14 0.27 2000 1.0\n", "src_f[1,27] 0.36 5.8e-3 0.26 0.01 0.13 0.31 0.55 0.92 2000 1.0\n", "src_f[2,27] 0.45 6.5e-3 0.29 0.02 0.19 0.43 0.69 0.97 2000 1.0\n", "src_f[0,28] 0.06 1.3e-3 0.06 1.8e-3 0.02 0.05 0.09 0.21 2000 1.0\n", "src_f[1,28] 0.37 6.2e-3 0.28 8.4e-3 0.13 0.31 0.57 0.95 2000 1.0\n", "src_f[2,28] 0.46 6.4e-3 0.29 0.02 0.21 0.43 0.71 0.97 2000 1.0\n", "src_f[0,29] 0.11 2.0e-3 0.09 2.2e-3 0.03 0.08 0.16 0.34 2000 1.0\n", "src_f[1,29] 0.36 6.0e-3 0.27 0.01 0.13 0.3 0.55 0.95 2000 1.0\n", "src_f[2,29] 0.45 6.3e-3 0.28 0.02 0.21 0.43 0.68 0.96 2000 1.0\n", "src_f[0,30] 0.64 4.7e-3 0.18 0.23 0.53 0.66 0.77 0.94 1509 1.0\n", "src_f[1,30] 0.44 6.2e-3 0.28 0.02 0.2 0.4 0.66 0.96 2000 1.0\n", "src_f[2,30] 0.48 6.6e-3 0.29 0.02 0.21 0.47 0.74 0.97 2000 1.0\n", "src_f[0,31] 0.14 2.6e-3 0.12 4.6e-3 0.05 0.11 0.2 0.43 2000 1.0\n", "src_f[1,31] 0.36 5.9e-3 0.26 0.01 0.13 0.3 0.53 0.92 2000 1.0\n", "src_f[2,31] 0.45 6.4e-3 0.29 0.02 0.21 0.43 0.7 0.96 2000 1.0\n", "src_f[0,32] 0.19 3.8e-3 0.16 7.5e-3 0.06 0.15 0.28 0.58 1726 1.0\n", "src_f[1,32] 0.42 6.4e-3 0.29 0.02 0.16 0.38 0.65 0.96 2000 1.0\n", "src_f[2,32] 0.48 6.5e-3 0.29 0.02 0.23 0.47 0.73 0.97 2000 1.0\n", "src_f[0,33] 0.07 1.6e-3 0.07 2.0e-3 0.02 0.05 0.1 0.26 2000 1.0\n", "src_f[1,33] 0.45 6.4e-3 0.29 0.02 0.19 0.43 0.69 0.96 2000 1.0\n", "src_f[2,33] 0.47 6.4e-3 0.29 0.03 0.22 0.46 0.73 0.96 2000 1.0\n", "src_f[0,34] 0.13 2.3e-3 0.1 4.1e-3 0.04 0.1 0.19 0.37 2000 1.0\n", "src_f[1,34] 0.36 5.9e-3 0.26 0.01 0.14 0.3 0.55 0.92 2000 1.0\n", "src_f[2,34] 0.46 6.2e-3 0.28 0.02 0.22 0.44 0.68 0.96 2000 1.0\n", "src_f[0,35] 0.08 1.6e-3 0.07 2.4e-3 0.02 0.06 0.11 0.26 2000 1.0\n", "src_f[1,35] 0.37 6.1e-3 0.27 0.01 0.14 0.32 0.57 0.93 2000 1.0\n", "src_f[2,35] 0.46 6.4e-3 0.29 0.02 0.21 0.44 0.71 0.96 2000 1.0\n", "src_f[0,36] 0.11 1.9e-3 0.09 3.8e-3 0.04 0.09 0.15 0.33 2000 1.0\n", "src_f[1,36] 0.35 6.0e-3 0.27 6.8e-3 0.12 0.28 0.54 0.94 2000 1.0\n", "src_f[2,36] 0.46 6.5e-3 0.29 0.02 0.2 0.44 0.7 0.97 2000 1.0\n", "src_f[0,37] 0.16 3.0e-3 0.13 4.9e-3 0.05 0.12 0.23 0.49 2000 1.0\n", "src_f[1,37] 0.46 6.5e-3 0.29 0.02 0.2 0.43 0.71 0.96 2000 1.0\n", "src_f[2,37] 0.48 6.4e-3 0.29 0.02 0.24 0.48 0.72 0.97 2000 1.0\n", "src_f[0,38] 0.13 2.4e-3 0.11 5.2e-3 0.05 0.11 0.19 0.4 2000 1.0\n", "src_f[1,38] 0.35 5.8e-3 0.26 0.01 0.13 0.29 0.52 0.94 2000 1.0\n", "src_f[2,38] 0.45 6.4e-3 0.28 0.02 0.2 0.44 0.69 0.97 2000 1.0\n", "src_f[0,39] 0.08 1.6e-3 0.07 2.8e-3 0.03 0.06 0.12 0.27 2000 1.0\n", "src_f[1,39] 0.39 6.2e-3 0.28 0.02 0.15 0.34 0.61 0.94 2000 1.0\n", "src_f[2,39] 0.46 6.4e-3 0.29 0.02 0.21 0.44 0.69 0.96 2000 1.0\n", "src_f[0,40] 0.08 1.7e-3 0.07 1.4e-3 0.03 0.06 0.12 0.28 2000 1.0\n", "src_f[1,40] 0.37 6.0e-3 0.27 0.01 0.14 0.31 0.56 0.93 2000 1.0\n", "src_f[2,40] 0.47 6.5e-3 0.29 0.02 0.21 0.46 0.71 0.97 2000 1.0\n", "src_f[0,41] 0.26 4.5e-3 0.2 0.01 0.1 0.21 0.38 0.76 2000 1.0\n", "src_f[1,41] 0.47 6.5e-3 0.29 0.02 0.21 0.45 0.72 0.97 2000 1.0\n", "src_f[2,41] 0.49 6.4e-3 0.29 0.03 0.24 0.48 0.74 0.97 2000 1.0\n", "src_f[0,42] 0.32 5.2e-3 0.23 0.01 0.13 0.28 0.47 0.84 2000 1.0\n", "src_f[1,42] 0.47 6.5e-3 0.29 0.02 0.21 0.45 0.71 0.97 2000 1.0\n", "src_f[2,42] 0.49 6.5e-3 0.29 0.01 0.24 0.49 0.74 0.98 2000 1.0\n", "src_f[0,43] 0.09 1.7e-3 0.08 2.7e-3 0.03 0.06 0.12 0.29 2000 1.0\n", "src_f[1,43] 0.45 6.4e-3 0.29 0.01 0.2 0.43 0.69 0.97 2000 1.0\n", "src_f[2,43] 0.47 6.3e-3 0.28 0.02 0.23 0.45 0.72 0.96 2000 1.0\n", "src_f[0,44] 0.09 1.8e-3 0.08 3.1e-3 0.03 0.07 0.13 0.3 2000 1.0\n", "src_f[1,44] 0.42 6.3e-3 0.28 0.02 0.18 0.39 0.66 0.95 2000 1.0\n", "src_f[2,44] 0.46 6.4e-3 0.28 0.02 0.21 0.45 0.71 0.97 2000 1.0\n", "src_f[0,45] 0.15 2.6e-3 0.11 5.6e-3 0.05 0.12 0.21 0.42 2000 1.0\n", "src_f[1,45] 0.35 5.9e-3 0.26 0.01 0.12 0.29 0.53 0.93 2000 1.0\n", "src_f[2,45] 0.45 6.6e-3 0.3 0.02 0.18 0.42 0.7 0.97 2000 1.0\n", "src_f[0,46] 0.12 2.4e-3 0.11 3.6e-3 0.04 0.09 0.18 0.4 2000 1.0\n", "src_f[1,46] 0.39 6.4e-3 0.28 8.8e-3 0.14 0.34 0.61 0.96 2000 1.0\n", "src_f[2,46] 0.46 6.4e-3 0.29 0.02 0.21 0.44 0.7 0.96 2000 1.0\n", "src_f[0,47] 0.1 1.9e-3 0.09 2.6e-3 0.03 0.07 0.13 0.33 2000 1.0\n", "src_f[1,47] 0.43 6.3e-3 0.28 0.02 0.19 0.39 0.65 0.96 2000 1.0\n", "src_f[2,47] 0.46 6.4e-3 0.28 0.02 0.21 0.45 0.69 0.96 2000 1.0\n", "src_f[0,48] 0.1 1.9e-3 0.09 3.7e-3 0.03 0.08 0.15 0.32 2000 1.0\n", "src_f[1,48] 0.36 6.0e-3 0.27 0.01 0.13 0.3 0.55 0.92 2000 1.0\n", "src_f[2,48] 0.47 6.4e-3 0.29 0.02 0.22 0.46 0.71 0.97 2000 1.0\n", "src_f[0,49] 0.09 1.9e-3 0.09 2.1e-3 0.03 0.07 0.13 0.32 2000 1.0\n", "src_f[1,49] 0.45 6.5e-3 0.29 0.01 0.2 0.44 0.7 0.98 2000 1.0\n", "src_f[2,49] 0.47 6.5e-3 0.29 0.02 0.22 0.46 0.72 0.97 2000 1.0\n", "src_f[0,50] 0.1 1.9e-3 0.09 2.9e-3 0.04 0.08 0.15 0.32 2000 1.0\n", "src_f[1,50] 0.34 5.8e-3 0.26 0.01 0.11 0.28 0.52 0.91 2000 1.0\n", "src_f[2,50] 0.45 6.3e-3 0.28 0.02 0.21 0.42 0.68 0.97 2000 1.0\n", "src_f[0,51] 0.11 2.1e-3 0.09 3.8e-3 0.04 0.09 0.16 0.33 2000 1.0\n", "src_f[1,51] 0.37 5.9e-3 0.26 0.02 0.14 0.32 0.55 0.93 2000 1.0\n", "src_f[2,51] 0.48 6.5e-3 0.29 0.02 0.22 0.46 0.74 0.97 2000 1.0\n", "src_f[0,52] 0.09 1.8e-3 0.08 2.4e-3 0.03 0.07 0.13 0.3 2000 1.0\n", "src_f[1,52] 0.42 6.3e-3 0.28 0.01 0.18 0.38 0.66 0.96 2000 1.0\n", "src_f[2,52] 0.47 6.4e-3 0.29 0.02 0.22 0.46 0.72 0.97 2000 1.0\n", "src_f[0,53] 0.16 3.2e-3 0.14 4.4e-3 0.05 0.13 0.23 0.55 2000 1.0\n", "src_f[1,53] 0.45 6.4e-3 0.29 0.02 0.19 0.42 0.69 0.96 2000 1.0\n", "src_f[2,53] 0.48 6.6e-3 0.29 0.02 0.22 0.46 0.73 0.98 2000 1.0\n", "src_f[0,54] 0.16 2.9e-3 0.13 5.7e-3 0.06 0.13 0.24 0.5 2000 1.0\n", "src_f[1,54] 0.39 6.2e-3 0.28 0.01 0.15 0.34 0.6 0.94 2000 1.0\n", "src_f[2,54] 0.45 6.3e-3 0.28 0.02 0.2 0.42 0.67 0.96 2000 1.0\n", "src_f[0,55] 0.11 2.1e-3 0.1 2.8e-3 0.04 0.09 0.16 0.36 2000 1.0\n", "src_f[1,55] 0.34 5.9e-3 0.26 0.01 0.12 0.29 0.53 0.92 2000 1.0\n", "src_f[2,55] 0.45 6.3e-3 0.28 0.02 0.21 0.43 0.69 0.97 2000 1.0\n", "src_f[0,56] 0.18 3.3e-3 0.15 6.9e-3 0.07 0.14 0.27 0.53 2000 1.0\n", "src_f[1,56] 0.35 5.6e-3 0.25 0.02 0.13 0.3 0.53 0.89 2000 1.0\n", "src_f[2,56] 0.45 6.3e-3 0.28 0.02 0.21 0.43 0.69 0.97 2000 1.0\n", "src_f[0,57] 0.42 5.4e-3 0.24 0.03 0.22 0.4 0.59 0.91 2000 1.0\n", "src_f[1,57] 0.46 6.3e-3 0.28 0.03 0.21 0.44 0.69 0.96 2000 1.0\n", "src_f[2,57] 0.49 6.5e-3 0.29 0.02 0.23 0.48 0.73 0.97 2000 1.0\n", "src_f[0,58] 0.15 2.9e-3 0.13 3.7e-3 0.05 0.12 0.23 0.46 2000 1.0\n", "src_f[1,58] 0.42 6.3e-3 0.28 0.02 0.17 0.38 0.65 0.96 2000 1.0\n", "src_f[2,58] 0.47 6.5e-3 0.29 0.02 0.21 0.46 0.72 0.97 2000 1.0\n", "src_f[0,59] 0.15 2.7e-3 0.12 5.8e-3 0.05 0.11 0.21 0.44 2000 1.0\n", "src_f[1,59] 0.43 6.6e-3 0.29 0.01 0.17 0.4 0.67 0.96 2000 1.0\n", "src_f[2,59] 0.47 6.4e-3 0.29 0.03 0.22 0.46 0.72 0.97 2000 1.0\n", "src_f[0,60] 0.08 1.6e-3 0.07 3.0e-3 0.03 0.06 0.11 0.27 2000 1.0\n", "src_f[1,60] 0.34 5.8e-3 0.26 0.01 0.12 0.27 0.51 0.93 2000 1.0\n", "src_f[2,60] 0.44 6.3e-3 0.28 0.02 0.2 0.42 0.67 0.97 2000 1.0\n", "src_f[0,61] 0.19 3.6e-3 0.16 5.5e-3 0.07 0.15 0.28 0.59 2000 1.0\n", "src_f[1,61] 0.38 6.2e-3 0.28 0.01 0.13 0.34 0.59 0.95 2000 1.0\n", "src_f[2,61] 0.46 6.5e-3 0.29 0.01 0.19 0.44 0.7 0.98 2000 1.0\n", "src_f[0,62] 0.21 3.8e-3 0.17 7.2e-3 0.07 0.17 0.3 0.64 2000 1.0\n", "src_f[1,62] 0.45 6.3e-3 0.28 0.02 0.2 0.42 0.68 0.95 2000 1.0\n", "src_f[2,62] 0.48 6.4e-3 0.29 0.02 0.23 0.46 0.73 0.97 2000 1.0\n", "src_f[0,63] 0.06 1.3e-3 0.06 2.0e-3 0.02 0.05 0.09 0.21 2000 1.0\n", "src_f[1,63] 0.33 5.8e-3 0.26 0.01 0.11 0.26 0.5 0.91 2000 1.0\n", "src_f[2,63] 0.44 6.3e-3 0.28 0.02 0.21 0.42 0.66 0.96 2000 1.0\n", "src_f[0,64] 0.1 2.0e-3 0.09 3.1e-3 0.04 0.08 0.15 0.34 2000 1.0\n", "src_f[1,64] 0.34 5.8e-3 0.26 0.01 0.12 0.28 0.51 0.93 2000 1.0\n", "src_f[2,64] 0.45 6.4e-3 0.29 0.02 0.2 0.42 0.69 0.97 2000 1.0\n", "src_f[0,65] 0.08 1.7e-3 0.07 2.3e-3 0.03 0.06 0.12 0.28 2000 1.0\n", "src_f[1,65] 0.33 5.7e-3 0.26 7.7e-3 0.12 0.28 0.5 0.91 2000 1.0\n", "src_f[2,65] 0.44 6.4e-3 0.29 0.02 0.19 0.41 0.68 0.96 2000 1.0\n", "src_f[0,66] 0.13 2.2e-3 0.1 4.1e-3 0.05 0.1 0.18 0.37 2000 1.0\n", "src_f[1,66] 0.35 6.1e-3 0.27 9.7e-3 0.12 0.29 0.53 0.94 2000 1.0\n", "src_f[2,66] 0.46 6.6e-3 0.29 0.02 0.2 0.44 0.71 0.98 2000 1.0\n", "src_f[0,67] 0.07 1.4e-3 0.06 2.2e-3 0.02 0.05 0.09 0.24 2000 1.0\n", "src_f[1,67] 0.33 5.8e-3 0.26 0.01 0.11 0.27 0.49 0.93 2000 1.0\n", "src_f[2,67] 0.44 6.2e-3 0.28 0.02 0.2 0.41 0.67 0.96 2000 1.0\n", "src_f[0,68] 0.11 2.0e-3 0.09 3.4e-3 0.04 0.08 0.16 0.33 2000 1.0\n", "src_f[1,68] 0.34 6.0e-3 0.27 0.01 0.11 0.28 0.53 0.93 2000 1.0\n", "src_f[2,68] 0.46 6.7e-3 0.3 0.02 0.18 0.43 0.72 0.97 2000 1.0\n", "src_f[0,69] 0.06 1.1e-3 0.05 1.6e-3 0.02 0.04 0.08 0.18 2000 1.0\n", "src_f[1,69] 0.33 5.7e-3 0.26 0.01 0.12 0.27 0.5 0.91 2000 1.0\n", "src_f[2,69] 0.45 6.6e-3 0.3 0.02 0.18 0.43 0.71 0.97 2000 1.0\n", "src_f[0,70] 0.1 2.0e-3 0.09 2.7e-3 0.04 0.08 0.15 0.34 2000 1.0\n", "src_f[1,70] 0.33 5.8e-3 0.26 9.7e-3 0.12 0.27 0.49 0.94 2000 1.0\n", "src_f[2,70] 0.45 6.4e-3 0.29 0.02 0.19 0.43 0.68 0.96 2000 1.0\n", "src_f[0,71] 0.1 1.9e-3 0.09 3.7e-3 0.03 0.07 0.14 0.31 2000 1.0\n", "src_f[1,71] 0.34 5.8e-3 0.26 0.01 0.13 0.27 0.51 0.92 2000 1.0\n", "src_f[2,71] 0.44 6.6e-3 0.3 0.02 0.18 0.41 0.7 0.97 2000 1.0\n", "src_f[0,72] 0.14 2.8e-3 0.12 4.9e-3 0.05 0.11 0.21 0.47 2000 1.0\n", "src_f[1,72] 0.36 6.1e-3 0.27 9.4e-3 0.13 0.31 0.56 0.94 2000 1.0\n", "src_f[2,72] 0.44 6.5e-3 0.29 0.01 0.18 0.41 0.68 0.96 2000 1.0\n", "src_f[0,73] 0.06 1.1e-3 0.05 1.5e-3 0.02 0.04 0.08 0.19 2000 1.0\n", "src_f[1,73] 0.32 5.6e-3 0.25 9.9e-3 0.11 0.26 0.48 0.89 2000 1.0\n", "src_f[2,73] 0.44 6.5e-3 0.29 0.02 0.19 0.41 0.69 0.97 2000 1.0\n", "src_f[0,74] 0.2 3.4e-3 0.15 6.7e-3 0.08 0.17 0.29 0.57 2000 1.0\n", "src_f[1,74] 0.41 6.2e-3 0.28 0.02 0.16 0.37 0.63 0.94 2000 1.0\n", "src_f[2,74] 0.45 6.4e-3 0.28 0.02 0.2 0.44 0.69 0.97 2000 1.0\n", "src_f[0,75] 0.13 2.4e-3 0.11 5.6e-3 0.05 0.11 0.2 0.38 2000 1.0\n", "src_f[1,75] 0.38 6.1e-3 0.27 0.01 0.15 0.33 0.57 0.94 2000 1.0\n", "src_f[2,75] 0.47 6.5e-3 0.29 0.02 0.22 0.45 0.71 0.97 2000 1.0\n", "src_f[0,76] 0.15 2.9e-3 0.13 4.5e-3 0.05 0.11 0.21 0.46 2000 1.0\n", "src_f[1,76] 0.38 5.9e-3 0.26 0.02 0.15 0.33 0.57 0.93 2000 1.0\n", "src_f[2,76] 0.44 6.3e-3 0.28 0.02 0.19 0.41 0.67 0.97 2000 1.0\n", "src_f[0,77] 0.1 1.9e-3 0.08 3.4e-3 0.04 0.08 0.15 0.31 2000 1.0\n", "src_f[1,77] 0.35 5.7e-3 0.26 0.01 0.13 0.29 0.52 0.91 2000 1.0\n", "src_f[2,77] 0.46 6.4e-3 0.29 0.02 0.21 0.45 0.71 0.97 2000 1.0\n", "src_f[0,78] 0.06 1.2e-3 0.05 1.8e-3 0.02 0.04 0.08 0.19 2000 1.0\n", "src_f[1,78] 0.34 5.7e-3 0.25 0.02 0.13 0.28 0.51 0.91 2000 1.0\n", "src_f[2,78] 0.43 6.3e-3 0.28 0.01 0.18 0.4 0.66 0.95 2000 1.0\n", "src_f[0,79] 0.2 3.1e-3 0.14 7.1e-3 0.08 0.17 0.28 0.51 2000 1.0\n", "src_f[1,79] 0.4 6.2e-3 0.28 0.02 0.16 0.36 0.61 0.94 2000 1.0\n", "src_f[2,79] 0.47 6.4e-3 0.29 0.02 0.21 0.46 0.72 0.97 2000 1.0\n", "src_f[0,80] 0.1 2.1e-3 0.09 1.9e-3 0.03 0.07 0.14 0.34 2000 1.0\n", "src_f[1,80] 0.35 5.9e-3 0.26 0.01 0.13 0.28 0.54 0.94 2000 1.0\n", "src_f[2,80] 0.45 6.5e-3 0.29 0.02 0.19 0.43 0.7 0.97 2000 1.0\n", "src_f[0,81] 0.13 2.6e-3 0.12 3.2e-3 0.04 0.1 0.19 0.43 2000 1.0\n", "src_f[1,81] 0.38 6.0e-3 0.27 0.01 0.16 0.33 0.57 0.95 2000 1.0\n", "src_f[2,81] 0.45 6.4e-3 0.29 0.02 0.2 0.43 0.7 0.96 2000 1.0\n", "src_f[0,82] 0.1 1.9e-3 0.08 2.9e-3 0.03 0.08 0.14 0.31 2000 1.0\n", "src_f[1,82] 0.37 6.1e-3 0.27 0.01 0.14 0.31 0.56 0.94 2000 1.0\n", "src_f[2,82] 0.46 6.5e-3 0.29 0.02 0.2 0.44 0.71 0.97 2000 1.0\n", "src_f[0,83] 0.06 1.3e-3 0.06 2.3e-3 0.02 0.05 0.09 0.22 2000 1.0\n", "src_f[1,83] 0.33 5.9e-3 0.26 9.2e-3 0.11 0.26 0.51 0.91 2000 1.0\n", "src_f[2,83] 0.44 6.6e-3 0.3 9.0e-3 0.18 0.42 0.69 0.97 2000 1.0\n", "src_f[0,84] 0.36 5.4e-3 0.24 0.02 0.16 0.33 0.54 0.88 2000 1.0\n", "src_f[1,84] 0.47 6.5e-3 0.29 0.02 0.21 0.46 0.71 0.97 2000 1.0\n", "src_f[2,84] 0.49 6.5e-3 0.29 0.02 0.24 0.48 0.74 0.97 2000 1.0\n", "src_f[0,85] 0.06 1.2e-3 0.05 1.2e-3 0.02 0.04 0.08 0.19 2000 1.0\n", "src_f[1,85] 0.33 5.7e-3 0.25 5.9e-3 0.12 0.27 0.49 0.92 2000 1.0\n", "src_f[2,85] 0.44 6.3e-3 0.28 0.02 0.19 0.43 0.67 0.96 2000 1.0\n", "src_f[0,86] 0.2 3.2e-3 0.14 9.4e-3 0.08 0.17 0.29 0.51 2000 1.0\n", "src_f[1,86] 0.4 6.4e-3 0.29 0.01 0.15 0.36 0.63 0.96 2000 1.0\n", "src_f[2,86] 0.48 6.4e-3 0.28 0.02 0.24 0.47 0.71 0.97 2000 1.0\n", "src_f[0,87] 0.1 2.0e-3 0.09 3.6e-3 0.03 0.07 0.14 0.32 2000 1.0\n", "src_f[1,87] 0.4 6.1e-3 0.27 0.01 0.17 0.35 0.61 0.95 2000 1.0\n", "src_f[2,87] 0.46 6.5e-3 0.29 0.01 0.2 0.43 0.71 0.98 2000 1.0\n", "src_f[0,88] 0.05 1.0e-3 0.05 1.6e-3 0.02 0.04 0.07 0.17 2000 1.0\n", "src_f[1,88] 0.32 5.6e-3 0.25 0.01 0.11 0.26 0.48 0.9 2000 1.0\n", "src_f[2,88] 0.44 6.2e-3 0.28 0.02 0.2 0.42 0.66 0.96 2000 1.0\n", "src_f[0,89] 0.08 1.5e-3 0.07 3.5e-3 0.03 0.07 0.12 0.25 2000 1.0\n", "src_f[1,89] 0.36 6.2e-3 0.28 8.3e-3 0.12 0.3 0.56 0.95 2000 1.0\n", "src_f[2,89] 0.47 6.6e-3 0.3 0.02 0.2 0.45 0.73 0.97 2000 1.0\n", "src_f[0,90] 0.19 3.5e-3 0.16 6.5e-3 0.07 0.15 0.28 0.57 2000 1.0\n", "src_f[1,90] 0.45 6.5e-3 0.29 0.02 0.2 0.43 0.7 0.97 2000 1.0\n", "src_f[2,90] 0.48 6.4e-3 0.29 0.02 0.22 0.46 0.73 0.96 2000 1.0\n", "src_f[0,91] 0.11 2.1e-3 0.09 2.5e-3 0.04 0.08 0.16 0.35 2000 1.0\n", "src_f[1,91] 0.33 5.8e-3 0.26 0.01 0.12 0.27 0.5 0.91 2000 1.0\n", "src_f[2,91] 0.44 6.5e-3 0.29 0.02 0.18 0.41 0.69 0.97 2000 1.0\n", "src_f[0,92] 0.06 1.2e-3 0.06 1.8e-3 0.02 0.05 0.09 0.21 2000 1.0\n", "src_f[1,92] 0.33 5.7e-3 0.26 0.01 0.11 0.27 0.5 0.91 2000 1.0\n", "src_f[2,92] 0.44 6.2e-3 0.28 0.02 0.21 0.41 0.66 0.97 2000 1.0\n", "src_f[0,93] 0.05 1.1e-3 0.05 1.4e-3 0.02 0.04 0.08 0.18 2000 1.0\n", "src_f[1,93] 0.32 5.7e-3 0.25 9.2e-3 0.11 0.26 0.49 0.91 2000 1.0\n", "src_f[2,93] 0.45 6.3e-3 0.28 0.02 0.2 0.42 0.69 0.95 2000 1.0\n", "src_f[0,94] 0.19 3.1e-3 0.14 7.0e-3 0.08 0.16 0.27 0.5 2000 1.0\n", "src_f[1,94] 0.41 6.1e-3 0.27 0.02 0.17 0.37 0.61 0.96 2000 1.0\n", "src_f[2,94] 0.46 6.3e-3 0.28 0.02 0.21 0.44 0.68 0.96 2000 1.0\n", "src_f[0,95] 0.17 3.0e-3 0.14 5.0e-3 0.06 0.13 0.24 0.51 2000 1.0\n", "src_f[1,95] 0.42 6.4e-3 0.29 0.01 0.17 0.39 0.65 0.97 2000 1.0\n", "src_f[2,95] 0.46 6.4e-3 0.29 0.02 0.21 0.45 0.71 0.96 2000 1.0\n", "src_f[0,96] 0.09 1.9e-3 0.09 2.6e-3 0.03 0.07 0.13 0.33 2000 1.0\n", "src_f[1,96] 0.41 6.0e-3 0.27 0.02 0.18 0.36 0.61 0.95 2000 1.0\n", "src_f[2,96] 0.45 6.4e-3 0.29 0.01 0.2 0.43 0.7 0.96 2000 1.0\n", "src_f[0,97] 0.27 4.7e-3 0.21 0.01 0.1 0.22 0.39 0.78 2000 1.01\n", "src_f[1,97] 0.46 6.5e-3 0.29 0.02 0.2 0.44 0.71 0.97 2000 1.0\n", "src_f[2,97] 0.49 6.6e-3 0.3 0.02 0.22 0.48 0.75 0.97 2000 1.0\n", "src_f[0,98] 0.1 2.2e-3 0.1 3.0e-3 0.03 0.07 0.15 0.36 2000 1.0\n", "src_f[1,98] 0.42 6.3e-3 0.28 0.02 0.17 0.38 0.64 0.97 2000 1.0\n", "src_f[2,98] 0.45 6.5e-3 0.29 0.02 0.2 0.44 0.69 0.97 2000 1.0\n", "src_f[0,99] 0.29 3.8e-3 0.17 0.03 0.16 0.28 0.41 0.64 2000 1.0\n", "src_f[1,99] 0.43 6.4e-3 0.29 9.2e-3 0.18 0.41 0.66 0.97 2000 1.0\n", "src_f[2,99] 0.49 6.6e-3 0.29 0.02 0.22 0.49 0.75 0.97 2000 1.0\n", "src_f[0,100] 0.09 1.7e-3 0.08 2.2e-3 0.03 0.06 0.12 0.3 2000 1.0\n", "src_f[1,100] 0.4 6.2e-3 0.28 0.01 0.16 0.35 0.61 0.95 2000 1.0\n", "src_f[2,100] 0.47 6.5e-3 0.29 0.02 0.21 0.45 0.73 0.97 2000 1.0\n", "src_f[0,101] 0.08 1.6e-3 0.07 2.3e-3 0.03 0.06 0.12 0.27 2000 1.0\n", "src_f[1,101] 0.34 5.8e-3 0.26 0.01 0.12 0.28 0.51 0.92 2000 1.0\n", "src_f[2,101] 0.44 6.1e-3 0.27 0.03 0.21 0.43 0.65 0.95 2000 1.0\n", "src_f[0,102] 0.13 2.5e-3 0.11 4.6e-3 0.04 0.1 0.19 0.41 2000 1.0\n", "src_f[1,102] 0.45 6.4e-3 0.28 0.02 0.2 0.43 0.69 0.96 2000 1.0\n", "src_f[2,102] 0.47 6.6e-3 0.29 0.02 0.21 0.47 0.72 0.97 2000 1.0\n", "src_f[0,103] 0.07 1.4e-3 0.06 1.6e-3 0.02 0.05 0.1 0.24 2000 1.0\n", "src_f[1,103] 0.33 5.7e-3 0.26 8.9e-3 0.11 0.26 0.5 0.91 2000 1.0\n", "src_f[2,103] 0.44 6.4e-3 0.29 0.02 0.2 0.42 0.68 0.96 2000 1.0\n", "src_f[0,104] 0.08 1.4e-3 0.06 2.6e-3 0.03 0.06 0.11 0.24 2000 1.0\n", "src_f[1,104] 0.33 5.7e-3 0.25 0.01 0.11 0.27 0.49 0.91 2000 1.0\n", "src_f[2,104] 0.45 6.3e-3 0.28 0.02 0.2 0.42 0.67 0.96 2000 1.0\n", "src_f[0,105] 0.07 1.3e-3 0.06 2.6e-3 0.02 0.05 0.1 0.22 2000 1.0\n", "src_f[1,105] 0.33 5.7e-3 0.25 9.4e-3 0.12 0.27 0.49 0.92 2000 1.0\n", "src_f[2,105] 0.45 6.4e-3 0.29 0.01 0.2 0.43 0.68 0.97 2000 1.0\n", "src_f[0,106] 0.08 1.8e-3 0.08 2.5e-3 0.02 0.06 0.11 0.28 2000 1.0\n", "src_f[1,106] 0.4 6.3e-3 0.28 0.02 0.15 0.35 0.63 0.95 2000 1.0\n", "src_f[2,106] 0.45 6.3e-3 0.28 0.03 0.21 0.43 0.69 0.97 2000 1.0\n", "src_f[0,107] 0.16 3.0e-3 0.14 5.2e-3 0.05 0.12 0.23 0.5 2000 1.0\n", "src_f[1,107] 0.39 6.3e-3 0.28 0.01 0.14 0.34 0.61 0.95 2000 1.0\n", "src_f[2,107] 0.45 6.6e-3 0.3 0.02 0.18 0.42 0.7 0.97 2000 1.0\n", "src_f[0,108] 0.42 5.5e-3 0.23 0.04 0.25 0.41 0.58 0.87 1750 1.0\n", "src_f[1,108] 0.37 6.2e-3 0.28 0.01 0.13 0.31 0.57 0.94 2000 1.0\n", "src_f[2,108] 0.43 6.4e-3 0.29 0.01 0.18 0.4 0.67 0.97 2000 1.0\n", "src_f[0,109] 0.07 1.4e-3 0.06 2.7e-3 0.02 0.05 0.1 0.24 2000 1.0\n", "src_f[1,109] 0.33 5.8e-3 0.26 0.01 0.1 0.26 0.49 0.93 2000 1.0\n", "src_f[2,109] 0.45 6.4e-3 0.28 0.02 0.2 0.42 0.68 0.97 2000 1.0\n", "src_f[0,110] 0.09 1.8e-3 0.08 2.1e-3 0.03 0.06 0.12 0.31 2000 1.0\n", "src_f[1,110] 0.41 6.2e-3 0.28 0.01 0.17 0.37 0.62 0.95 2000 1.0\n", "src_f[2,110] 0.46 6.3e-3 0.28 0.02 0.23 0.44 0.7 0.96 2000 1.0\n", "src_f[0,111] 0.11 2.1e-3 0.09 3.1e-3 0.04 0.08 0.15 0.34 2000 1.0\n", "src_f[1,111] 0.43 6.2e-3 0.28 0.02 0.18 0.39 0.66 0.96 2000 1.0\n", "src_f[2,111] 0.47 6.4e-3 0.29 0.01 0.22 0.46 0.71 0.97 2000 1.0\n", "src_f[0,112] 0.08 1.5e-3 0.07 1.5e-3 0.03 0.06 0.11 0.26 2000 1.0\n", "src_f[1,112] 0.34 6.0e-3 0.27 0.01 0.12 0.27 0.53 0.93 2000 1.0\n", "src_f[2,112] 0.46 6.3e-3 0.28 0.03 0.21 0.44 0.7 0.96 2000 1.0\n", "src_f[0,113] 0.09 1.6e-3 0.07 4.1e-3 0.03 0.07 0.13 0.27 2000 1.0\n", "src_f[1,113] 0.34 5.7e-3 0.26 9.1e-3 0.12 0.28 0.52 0.91 2000 1.0\n", "src_f[2,113] 0.44 6.3e-3 0.28 0.02 0.2 0.42 0.67 0.96 2000 1.0\n", "src_f[0,114] 0.09 1.8e-3 0.08 2.2e-3 0.03 0.06 0.13 0.29 2000 1.0\n", "src_f[1,114] 0.41 6.2e-3 0.28 0.02 0.16 0.36 0.62 0.96 2000 1.0\n", "src_f[2,114] 0.45 6.2e-3 0.28 0.02 0.21 0.42 0.67 0.96 2000 1.0\n", "src_f[0,115] 0.11 2.2e-3 0.1 1.9e-3 0.04 0.09 0.16 0.36 2000 1.0\n", "src_f[1,115] 0.35 5.8e-3 0.26 0.01 0.12 0.3 0.53 0.93 2000 1.0\n", "src_f[2,115] 0.44 6.4e-3 0.28 0.02 0.18 0.42 0.69 0.96 2000 1.0\n", "src_f[0,116] 0.38 5.3e-3 0.22 0.04 0.19 0.35 0.52 0.86 1728 1.0\n", "src_f[1,116] 0.46 6.4e-3 0.29 0.02 0.21 0.45 0.7 0.97 2000 1.0\n", "src_f[2,116] 0.49 6.5e-3 0.29 0.03 0.23 0.48 0.75 0.97 2000 1.0\n", "src_f[0,117] 0.07 1.4e-3 0.06 2.0e-3 0.02 0.05 0.1 0.23 2000 1.0\n", "src_f[1,117] 0.34 5.9e-3 0.26 0.01 0.12 0.28 0.51 0.94 2000 1.0\n", "src_f[2,117] 0.44 6.3e-3 0.28 0.02 0.19 0.4 0.67 0.96 2000 1.0\n", "src_f[0,118] 0.1 1.9e-3 0.09 3.5e-3 0.03 0.07 0.14 0.32 2000 1.0\n", "src_f[1,118] 0.34 5.9e-3 0.26 0.01 0.12 0.28 0.51 0.93 2000 1.0\n", "src_f[2,118] 0.44 6.3e-3 0.28 0.02 0.19 0.41 0.66 0.96 2000 1.0\n", "src_f[0,119] 0.07 1.4e-3 0.06 2.2e-3 0.02 0.05 0.1 0.23 2000 1.0\n", "src_f[1,119] 0.33 5.7e-3 0.25 9.2e-3 0.12 0.28 0.5 0.91 2000 1.0\n", "src_f[2,119] 0.45 6.6e-3 0.29 0.02 0.2 0.43 0.7 0.98 2000 1.0\n", "src_f[0,120] 0.09 1.8e-3 0.08 2.3e-3 0.03 0.07 0.13 0.3 2000 1.0\n", "src_f[1,120] 0.43 6.3e-3 0.28 0.02 0.19 0.4 0.66 0.96 2000 1.0\n", "src_f[2,120] 0.47 6.6e-3 0.29 0.02 0.21 0.46 0.73 0.97 2000 1.0\n", "src_f[0,121] 0.08 1.8e-3 0.08 1.2e-3 0.03 0.06 0.11 0.3 2000 1.0\n", "src_f[1,121] 0.43 6.5e-3 0.29 0.01 0.17 0.39 0.68 0.97 2000 1.0\n", "src_f[2,121] 0.47 6.4e-3 0.29 0.02 0.22 0.47 0.72 0.97 2000 1.0\n", "src_f[0,122] 0.09 1.9e-3 0.09 2.4e-3 0.03 0.07 0.13 0.33 2000 1.0\n", "src_f[1,122] 0.43 6.2e-3 0.28 0.01 0.19 0.4 0.63 0.97 2000 1.0\n", "src_f[2,122] 0.47 6.5e-3 0.29 0.02 0.21 0.46 0.72 0.97 2000 1.0\n", "src_f[0,123] 0.07 1.4e-3 0.06 1.8e-3 0.02 0.05 0.1 0.23 2000 1.0\n", "src_f[1,123] 0.33 5.9e-3 0.26 7.9e-3 0.11 0.26 0.5 0.93 2000 1.0\n", "src_f[2,123] 0.44 6.5e-3 0.29 0.01 0.19 0.41 0.69 0.98 2000 1.0\n", "src_f[0,124] 0.13 2.6e-3 0.12 3.6e-3 0.04 0.1 0.18 0.41 2000 1.0\n", "src_f[1,124] 0.45 6.4e-3 0.29 0.02 0.2 0.42 0.71 0.96 2000 1.0\n", "src_f[2,124] 0.49 6.4e-3 0.29 0.03 0.24 0.48 0.74 0.97 2000 1.0\n", "src_f[0,125] 0.23 3.9e-3 0.17 8.6e-3 0.09 0.19 0.34 0.63 2000 1.0\n", "src_f[1,125] 0.41 6.3e-3 0.28 0.01 0.16 0.37 0.64 0.95 2000 1.0\n", "src_f[2,125] 0.45 6.6e-3 0.29 0.02 0.19 0.43 0.71 0.97 2000 1.0\n", "src_f[0,126] 0.08 1.5e-3 0.07 2.2e-3 0.03 0.06 0.11 0.25 2000 1.0\n", "src_f[1,126] 0.32 5.7e-3 0.25 9.2e-3 0.11 0.25 0.49 0.91 2000 1.0\n", "src_f[2,126] 0.45 6.5e-3 0.29 0.02 0.19 0.42 0.7 0.97 2000 1.0\n", "src_f[0,127] 0.11 2.2e-3 0.1 2.1e-3 0.03 0.08 0.15 0.38 2000 1.0\n", "src_f[1,127] 0.44 6.4e-3 0.29 0.02 0.2 0.42 0.68 0.96 2000 1.0\n", "src_f[2,127] 0.48 6.6e-3 0.29 0.03 0.22 0.48 0.75 0.97 2000 1.0\n", "src_f[0,128] 0.06 1.2e-3 0.05 2.1e-3 0.02 0.05 0.09 0.2 2000 1.0\n", "src_f[1,128] 0.39 6.1e-3 0.27 0.02 0.15 0.34 0.6 0.94 2000 1.0\n", "src_f[2,128] 0.49 6.5e-3 0.29 0.02 0.22 0.47 0.73 0.98 2000 1.0\n", "src_f[0,129] 0.1 2.0e-3 0.09 2.8e-3 0.03 0.08 0.14 0.35 2000 1.0\n", "src_f[1,129] 0.41 6.1e-3 0.27 0.02 0.17 0.37 0.63 0.95 2000 1.0\n", "src_f[2,129] 0.45 6.3e-3 0.28 0.02 0.2 0.43 0.68 0.96 2000 1.0\n", "src_f[0,130] 0.14 2.8e-3 0.12 3.8e-3 0.05 0.11 0.21 0.46 2000 1.0\n", "src_f[1,130] 0.42 6.4e-3 0.28 0.02 0.17 0.37 0.64 0.96 2000 1.0\n", "src_f[2,130] 0.45 6.4e-3 0.29 0.02 0.2 0.41 0.69 0.97 2000 1.0\n", "src_f[0,131] 0.08 1.6e-3 0.07 2.0e-3 0.02 0.06 0.11 0.28 2000 1.0\n", "src_f[1,131] 0.41 6.1e-3 0.27 0.02 0.17 0.37 0.61 0.94 2000 1.0\n", "src_f[2,131] 0.46 6.2e-3 0.28 0.03 0.22 0.43 0.68 0.97 2000 1.0\n", "src_f[0,132] 0.19 3.6e-3 0.16 5.0e-3 0.06 0.14 0.27 0.59 2000 1.0\n", "src_f[1,132] 0.46 6.4e-3 0.29 0.02 0.22 0.44 0.71 0.97 2000 1.0\n", "src_f[2,132] 0.48 6.4e-3 0.29 0.02 0.24 0.47 0.72 0.97 2000 1.0\n", "src_f[0,133] 0.08 1.6e-3 0.07 2.2e-3 0.03 0.06 0.11 0.28 2000 1.0\n", "src_f[1,133] 0.41 6.4e-3 0.29 0.01 0.16 0.37 0.65 0.96 2000 1.0\n", "src_f[2,133] 0.47 6.5e-3 0.29 0.02 0.21 0.44 0.72 0.97 2000 1.0\n", "src_f[0,134] 0.05 1.0e-3 0.05 2.0e-3 0.02 0.04 0.07 0.17 2000 1.0\n", "src_f[1,134] 0.35 6.0e-3 0.27 0.01 0.12 0.29 0.54 0.93 2000 1.0\n", "src_f[2,134] 0.46 6.4e-3 0.29 0.02 0.21 0.43 0.7 0.98 2000 1.0\n", "src_f[0,135] 0.16 2.7e-3 0.12 6.9e-3 0.06 0.13 0.23 0.44 2000 1.0\n", "src_f[1,135] 0.41 6.3e-3 0.28 0.01 0.16 0.38 0.64 0.96 2000 1.0\n", "src_f[2,135] 0.48 6.5e-3 0.29 0.02 0.24 0.48 0.73 0.98 2000 1.0\n", "src_f[0,136] 0.12 2.4e-3 0.11 4.5e-3 0.04 0.08 0.17 0.39 2000 1.0\n", "src_f[1,136] 0.45 6.2e-3 0.28 0.02 0.21 0.44 0.67 0.96 2000 1.0\n", "src_f[2,136] 0.48 6.3e-3 0.28 0.03 0.24 0.47 0.72 0.97 2000 1.0\n", "src_f[0,137] 0.07 1.5e-3 0.07 2.1e-3 0.02 0.05 0.1 0.25 2000 1.0\n", "src_f[1,137] 0.4 6.1e-3 0.27 0.02 0.18 0.36 0.6 0.96 2000 1.0\n", "src_f[2,137] 0.44 6.3e-3 0.28 0.02 0.2 0.41 0.67 0.96 2000 1.0\n", "src_f[0,138] 0.43 4.9e-3 0.22 0.03 0.26 0.42 0.59 0.85 2000 1.0\n", "src_f[1,138] 0.38 6.3e-3 0.28 0.01 0.13 0.32 0.59 0.94 2000 1.0\n", "src_f[2,138] 0.44 6.2e-3 0.28 0.02 0.19 0.4 0.66 0.96 2000 1.0\n", "src_f[0,139] 0.06 1.2e-3 0.05 1.3e-3 0.02 0.05 0.08 0.2 2000 1.0\n", "src_f[1,139] 0.35 6.0e-3 0.27 0.02 0.13 0.3 0.54 0.92 2000 1.0\n", "src_f[2,139] 0.45 6.3e-3 0.28 0.02 0.21 0.43 0.69 0.96 2000 1.0\n", "src_f[0,140] 0.1 1.9e-3 0.08 3.6e-3 0.03 0.07 0.14 0.32 2000 1.0\n", "src_f[1,140] 0.38 6.2e-3 0.28 9.8e-3 0.15 0.33 0.59 0.95 2000 1.0\n", "src_f[2,140] 0.48 6.5e-3 0.29 0.03 0.22 0.46 0.74 0.96 2000 1.0\n", "src_f[0,141] 0.09 1.8e-3 0.08 2.7e-3 0.03 0.07 0.13 0.3 2000 1.0\n", "src_f[1,141] 0.46 6.5e-3 0.29 0.02 0.19 0.44 0.72 0.97 2000 1.0\n", "src_f[2,141] 0.48 6.4e-3 0.29 0.03 0.23 0.47 0.72 0.97 2000 1.0\n", "src_f[0,142] 0.12 2.2e-3 0.1 5.8e-3 0.05 0.1 0.17 0.36 2000 1.0\n", "src_f[1,142] 0.34 5.9e-3 0.27 0.01 0.11 0.27 0.51 0.92 2000 1.0\n", "src_f[2,142] 0.46 6.4e-3 0.29 0.02 0.21 0.43 0.7 0.97 2000 1.0\n", "src_f[0,143] 0.08 1.7e-3 0.07 2.2e-3 0.02 0.06 0.11 0.28 2000 1.0\n", "src_f[1,143] 0.43 6.5e-3 0.29 0.01 0.17 0.39 0.67 0.96 2000 1.0\n", "src_f[2,143] 0.45 6.4e-3 0.29 0.02 0.21 0.42 0.69 0.97 2000 1.0\n", "src_f[0,144] 0.07 1.6e-3 0.07 1.6e-3 0.02 0.05 0.1 0.27 2000 1.0\n", "src_f[1,144] 0.43 6.2e-3 0.28 0.02 0.18 0.39 0.65 0.95 2000 1.0\n", "src_f[2,144] 0.46 6.2e-3 0.28 0.02 0.22 0.44 0.68 0.97 2000 1.0\n", "src_f[0,145] 0.11 2.0e-3 0.09 3.1e-3 0.04 0.08 0.15 0.32 2000 1.0\n", "src_f[1,145] 0.34 6.0e-3 0.27 8.3e-3 0.12 0.27 0.53 0.93 2000 1.0\n", "src_f[2,145] 0.44 6.4e-3 0.28 0.02 0.19 0.4 0.68 0.97 2000 1.0\n", "src_f[0,146] 0.07 1.5e-3 0.07 2.8e-3 0.02 0.05 0.11 0.24 2000 1.0\n", "src_f[1,146] 0.35 5.9e-3 0.26 0.01 0.12 0.29 0.52 0.92 2000 1.0\n", "src_f[2,146] 0.45 6.3e-3 0.28 0.03 0.21 0.42 0.68 0.96 2000 1.0\n", "src_f[0,147] 0.12 2.3e-3 0.1 3.3e-3 0.04 0.09 0.17 0.38 2000 1.0\n", "src_f[1,147] 0.35 5.9e-3 0.26 0.02 0.13 0.28 0.51 0.91 2000 1.0\n", "src_f[2,147] 0.45 6.2e-3 0.28 0.02 0.21 0.41 0.67 0.97 2000 1.0\n", "src_f[0,148] 0.09 1.6e-3 0.07 3.0e-3 0.03 0.07 0.12 0.28 2000 1.0\n", "src_f[1,148] 0.35 5.9e-3 0.26 9.3e-3 0.13 0.28 0.51 0.92 2000 1.0\n", "src_f[2,148] 0.46 6.4e-3 0.29 0.02 0.21 0.44 0.68 0.96 2000 1.0\n", "src_f[0,149] 0.08 1.7e-3 0.08 2.2e-3 0.03 0.06 0.12 0.28 2000 1.0\n", "src_f[1,149] 0.4 6.3e-3 0.28 0.01 0.15 0.35 0.61 0.95 2000 1.0\n", "src_f[2,149] 0.47 6.4e-3 0.29 0.03 0.22 0.45 0.72 0.96 2000 1.0\n", "src_f[0,150] 0.08 1.7e-3 0.08 2.1e-3 0.02 0.06 0.12 0.28 2000 1.0\n", "src_f[1,150] 0.33 5.8e-3 0.26 9.3e-3 0.12 0.27 0.52 0.91 2000 1.0\n", "src_f[2,150] 0.42 6.1e-3 0.27 0.02 0.2 0.39 0.63 0.96 2000 1.0\n", "src_f[0,151] 0.13 2.5e-3 0.11 5.5e-3 0.05 0.11 0.19 0.42 2000 1.0\n", "src_f[1,151] 0.41 6.2e-3 0.28 0.02 0.17 0.38 0.64 0.95 2000 1.0\n", "src_f[2,151] 0.45 6.3e-3 0.28 0.01 0.2 0.42 0.68 0.96 2000 1.0\n", "src_f[0,152] 0.46 5.9e-3 0.26 0.02 0.24 0.45 0.67 0.94 2000 1.0\n", "src_f[1,152] 0.47 6.6e-3 0.29 0.01 0.22 0.46 0.73 0.97 2000 1.0\n", "src_f[2,152] 0.49 6.6e-3 0.29 0.02 0.23 0.48 0.74 0.98 2000 1.0\n", "src_f[0,153] 0.1 2.1e-3 0.09 3.4e-3 0.03 0.08 0.15 0.34 2000 1.0\n", "src_f[1,153] 0.43 6.2e-3 0.28 0.02 0.18 0.39 0.64 0.96 2000 1.0\n", "src_f[2,153] 0.47 6.5e-3 0.29 0.02 0.21 0.46 0.71 0.97 2000 1.0\n", "src_f[0,154] 0.09 1.9e-3 0.09 1.5e-3 0.03 0.07 0.14 0.31 2000 1.0\n", "src_f[1,154] 0.39 6.2e-3 0.28 0.01 0.15 0.34 0.6 0.95 2000 1.0\n", "src_f[2,154] 0.47 6.5e-3 0.29 0.02 0.21 0.46 0.72 0.97 2000 1.0\n", "src_f[0,155] 0.17 3.4e-3 0.15 4.7e-3 0.06 0.13 0.24 0.56 2000 1.0\n", "src_f[1,155] 0.46 6.2e-3 0.28 0.02 0.22 0.44 0.69 0.97 2000 1.0\n", "src_f[2,155] 0.49 6.5e-3 0.29 0.02 0.24 0.49 0.74 0.98 2000 1.0\n", "src_f[0,156] 0.1 2.0e-3 0.09 2.5e-3 0.03 0.08 0.15 0.33 2000 1.0\n", "src_f[1,156] 0.43 6.4e-3 0.29 0.02 0.17 0.4 0.65 0.96 2000 1.0\n", "src_f[2,156] 0.47 6.5e-3 0.29 0.02 0.21 0.45 0.73 0.96 2000 1.0\n", "src_f[0,157] 0.09 1.7e-3 0.08 3.3e-3 0.03 0.07 0.13 0.29 2000 1.0\n", "src_f[1,157] 0.34 5.9e-3 0.26 0.01 0.13 0.29 0.52 0.94 2000 1.0\n", "src_f[2,157] 0.44 6.5e-3 0.29 0.02 0.19 0.42 0.68 0.96 2000 1.0\n", "src_f[0,158] 0.06 1.3e-3 0.06 1.9e-3 0.02 0.05 0.09 0.22 2000 1.0\n", "src_f[1,158] 0.36 6.0e-3 0.27 0.01 0.13 0.31 0.57 0.93 2000 1.0\n", "src_f[2,158] 0.47 6.4e-3 0.29 0.02 0.23 0.45 0.71 0.96 2000 1.0\n", "src_f[0,159] 0.12 2.3e-3 0.1 3.6e-3 0.04 0.09 0.17 0.39 2000 1.0\n", "src_f[1,159] 0.33 5.6e-3 0.25 0.01 0.12 0.27 0.49 0.91 2000 1.0\n", "src_f[2,159] 0.44 6.4e-3 0.28 0.02 0.19 0.41 0.67 0.97 2000 1.0\n", "src_f[0,160] 0.1 2.0e-3 0.09 2.8e-3 0.03 0.08 0.15 0.34 2000 1.0\n", "src_f[1,160] 0.37 6.1e-3 0.27 0.01 0.14 0.32 0.58 0.94 2000 1.0\n", "src_f[2,160] 0.44 6.4e-3 0.29 0.01 0.18 0.41 0.67 0.96 2000 1.0\n", "src_f[0,161] 0.36 5.3e-3 0.24 0.02 0.17 0.32 0.53 0.85 2000 1.0\n", "src_f[1,161] 0.46 6.6e-3 0.3 0.02 0.2 0.45 0.72 0.97 2000 1.0\n", "src_f[2,161] 0.48 6.4e-3 0.28 0.02 0.24 0.47 0.71 0.97 2000 1.0\n", "src_f[0,162] 0.12 2.5e-3 0.11 2.8e-3 0.03 0.09 0.18 0.41 2000 1.0\n", "src_f[1,162] 0.42 6.4e-3 0.29 0.02 0.18 0.38 0.64 0.96 2000 1.0\n", "src_f[2,162] 0.46 6.5e-3 0.29 0.02 0.2 0.43 0.7 0.97 2000 1.0\n", "src_f[0,163] 0.43 5.9e-3 0.24 0.02 0.23 0.44 0.6 0.89 1719 1.0\n", "src_f[1,163] 0.38 6.2e-3 0.28 0.01 0.15 0.34 0.58 0.95 2000 1.0\n", "src_f[2,163] 0.45 6.4e-3 0.29 0.02 0.2 0.43 0.69 0.97 2000 1.0\n", "src_f[0,164] 0.11 2.1e-3 0.1 4.3e-3 0.04 0.09 0.16 0.35 2000 1.0\n", "src_f[1,164] 0.34 5.9e-3 0.26 8.6e-3 0.11 0.27 0.52 0.91 2000 1.0\n", "src_f[2,164] 0.45 6.4e-3 0.29 0.02 0.2 0.43 0.68 0.97 2000 1.0\n", "src_f[0,165] 0.09 1.7e-3 0.08 2.6e-3 0.03 0.06 0.12 0.28 2000 1.0\n", "src_f[1,165] 0.34 5.8e-3 0.26 0.01 0.13 0.29 0.52 0.92 2000 1.0\n", "src_f[2,165] 0.43 6.3e-3 0.28 0.02 0.18 0.4 0.66 0.96 2000 1.0\n", "src_f[0,166] 0.14 2.6e-3 0.12 3.9e-3 0.04 0.1 0.2 0.41 2000 1.0\n", "src_f[1,166] 0.43 6.4e-3 0.28 0.02 0.18 0.39 0.66 0.96 2000 1.0\n", "src_f[2,166] 0.47 6.4e-3 0.29 0.02 0.23 0.46 0.7 0.98 2000 1.0\n", "src_f[0,167] 0.11 2.4e-3 0.11 3.0e-3 0.04 0.08 0.16 0.39 2000 1.0\n", "src_f[1,167] 0.42 6.2e-3 0.28 0.02 0.18 0.37 0.63 0.95 2000 1.0\n", "src_f[2,167] 0.46 6.3e-3 0.28 0.02 0.22 0.45 0.7 0.96 2000 1.0\n", "src_f[0,168] 0.07 1.5e-3 0.07 2.4e-3 0.02 0.05 0.1 0.25 2000 1.0\n", "src_f[1,168] 0.35 5.9e-3 0.26 0.01 0.13 0.28 0.54 0.92 2000 1.0\n", "src_f[2,168] 0.46 6.2e-3 0.28 0.01 0.22 0.45 0.69 0.96 2000 1.0\n", "src_f[0,169] 0.15 2.8e-3 0.12 4.0e-3 0.06 0.13 0.22 0.46 2000 1.0\n", "src_f[1,169] 0.44 6.3e-3 0.28 0.02 0.2 0.42 0.67 0.97 2000 1.0\n", "src_f[2,169] 0.48 6.5e-3 0.29 0.02 0.22 0.47 0.73 0.97 2000 1.0\n", "src_f[0,170] 0.34 5.0e-3 0.22 0.02 0.16 0.31 0.5 0.81 2000 1.0\n", "src_f[1,170] 0.4 6.1e-3 0.27 0.02 0.16 0.36 0.61 0.94 2000 1.0\n", "src_f[2,170] 0.45 6.3e-3 0.28 0.02 0.2 0.43 0.68 0.96 2000 1.0\n", "src_f[0,171] 0.16 2.8e-3 0.13 6.8e-3 0.06 0.13 0.23 0.48 2000 1.0\n", "src_f[1,171] 0.34 5.7e-3 0.26 0.01 0.13 0.28 0.51 0.91 2000 1.0\n", "src_f[2,171] 0.44 6.2e-3 0.28 0.02 0.19 0.41 0.67 0.95 2000 1.0\n", "src_f[0,172] 0.07 1.6e-3 0.07 1.8e-3 0.02 0.05 0.1 0.27 2000 1.0\n", "src_f[1,172] 0.36 6.0e-3 0.27 0.01 0.13 0.29 0.55 0.94 2000 1.0\n", "src_f[2,172] 0.46 6.2e-3 0.28 0.03 0.23 0.44 0.69 0.96 2000 1.0\n", "src_f[0,173] 0.08 1.8e-3 0.08 2.6e-3 0.03 0.06 0.12 0.29 2000 1.0\n", "src_f[1,173] 0.38 6.1e-3 0.27 0.01 0.14 0.33 0.59 0.94 2000 1.0\n", "src_f[2,173] 0.47 6.4e-3 0.29 0.02 0.22 0.46 0.71 0.96 2000 1.0\n", "src_f[0,174] 0.17 3.4e-3 0.15 3.6e-3 0.05 0.13 0.25 0.54 2000 1.0\n", "src_f[1,174] 0.42 6.4e-3 0.29 0.01 0.17 0.39 0.66 0.96 2000 1.0\n", "src_f[2,174] 0.47 6.3e-3 0.28 0.02 0.22 0.46 0.7 0.97 2000 1.0\n", "src_f[0,175] 0.16 3.1e-3 0.14 3.5e-3 0.05 0.12 0.23 0.51 2000 1.0\n", "src_f[1,175] 0.42 6.3e-3 0.28 0.02 0.18 0.38 0.64 0.97 2000 1.0\n", "src_f[2,175] 0.47 6.3e-3 0.28 0.02 0.23 0.46 0.71 0.95 2000 1.0\n", "src_f[0,176] 0.09 2.0e-3 0.09 2.3e-3 0.03 0.06 0.13 0.31 2000 1.0\n", "src_f[1,176] 0.39 5.9e-3 0.27 0.02 0.16 0.35 0.58 0.93 2000 1.0\n", "src_f[2,176] 0.46 6.4e-3 0.28 0.02 0.22 0.44 0.7 0.97 2000 1.0\n", "src_f[0,177] 0.21 3.6e-3 0.16 6.1e-3 0.08 0.18 0.31 0.6 2000 1.0\n", "src_f[1,177] 0.45 6.5e-3 0.29 0.02 0.19 0.42 0.7 0.96 2000 1.0\n", "src_f[2,177] 0.48 6.5e-3 0.29 0.02 0.24 0.47 0.72 0.98 2000 1.0\n", "src_f[0,178] 0.16 2.9e-3 0.13 5.6e-3 0.06 0.13 0.24 0.49 2000 1.0\n", "src_f[1,178] 0.34 5.8e-3 0.26 0.02 0.13 0.28 0.52 0.92 2000 1.0\n", "src_f[2,178] 0.45 6.4e-3 0.29 0.02 0.2 0.43 0.69 0.96 2000 1.0\n", "src_f[0,179] 0.07 1.5e-3 0.07 2.4e-3 0.02 0.06 0.1 0.24 2000 1.0\n", "src_f[1,179] 0.36 6.0e-3 0.27 0.01 0.13 0.31 0.54 0.94 2000 1.0\n", "src_f[2,179] 0.45 6.3e-3 0.28 0.03 0.21 0.43 0.69 0.96 2000 1.0\n", "src_f[0,180] 0.15 2.8e-3 0.13 4.5e-3 0.05 0.12 0.22 0.47 2000 1.0\n", "src_f[1,180] 0.35 5.8e-3 0.26 0.01 0.14 0.3 0.53 0.95 2000 1.0\n", "src_f[2,180] 0.44 6.6e-3 0.3 0.01 0.18 0.4 0.7 0.97 2000 1.0\n", "src_f[0,181] 0.09 1.8e-3 0.08 2.6e-3 0.03 0.07 0.13 0.28 2000 1.0\n", "src_f[1,181] 0.38 6.1e-3 0.27 0.01 0.14 0.33 0.57 0.95 2000 1.0\n", "src_f[2,181] 0.44 6.3e-3 0.28 0.02 0.2 0.42 0.67 0.96 2000 1.0\n", "src_f[0,182] 0.07 1.6e-3 0.07 2.3e-3 0.02 0.05 0.11 0.27 2000 1.0\n", "src_f[1,182] 0.39 6.1e-3 0.27 0.01 0.16 0.35 0.6 0.95 2000 1.0\n", "src_f[2,182] 0.46 6.3e-3 0.28 0.02 0.21 0.44 0.7 0.96 2000 1.0\n", "src_f[0,183] 0.24 3.9e-3 0.17 8.2e-3 0.09 0.2 0.35 0.63 2000 1.0\n", "src_f[1,183] 0.44 6.5e-3 0.29 0.02 0.19 0.41 0.68 0.97 2000 1.0\n", "src_f[2,183] 0.49 6.4e-3 0.29 0.02 0.23 0.48 0.73 0.97 2000 1.0\n", "src_f[0,184] 0.27 4.5e-3 0.2 0.01 0.11 0.23 0.4 0.75 2000 1.0\n", "src_f[1,184] 0.43 6.5e-3 0.29 0.01 0.18 0.4 0.67 0.97 2000 1.0\n", "src_f[2,184] 0.45 6.4e-3 0.28 0.02 0.2 0.41 0.69 0.97 2000 1.0\n", "src_f[0,185] 0.1 2.0e-3 0.09 2.4e-3 0.03 0.08 0.15 0.32 2000 1.0\n", "src_f[1,185] 0.39 6.1e-3 0.27 0.02 0.15 0.34 0.6 0.94 2000 1.0\n", "src_f[2,185] 0.44 6.2e-3 0.28 0.02 0.19 0.4 0.67 0.96 2000 1.0\n", "src_f[0,186] 0.14 2.6e-3 0.12 3.7e-3 0.05 0.1 0.19 0.43 2000 1.0\n", "src_f[1,186] 0.41 6.1e-3 0.27 0.02 0.17 0.37 0.62 0.95 2000 1.0\n", "src_f[2,186] 0.45 6.4e-3 0.29 0.02 0.21 0.43 0.68 0.97 2000 1.0\n", "src_f[0,187] 0.25 4.2e-3 0.19 8.6e-3 0.1 0.21 0.36 0.67 2000 1.0\n", "src_f[1,187] 0.43 6.4e-3 0.29 0.02 0.17 0.4 0.67 0.96 2000 1.0\n", "src_f[2,187] 0.46 6.3e-3 0.28 0.02 0.22 0.45 0.7 0.97 2000 1.0\n", "src_f[0,188] 0.09 1.9e-3 0.08 2.4e-3 0.03 0.07 0.13 0.31 2000 1.0\n", "src_f[1,188] 0.41 6.4e-3 0.28 0.02 0.16 0.37 0.64 0.96 2000 1.0\n", "src_f[2,188] 0.48 6.6e-3 0.29 0.01 0.22 0.46 0.73 0.98 2000 1.0\n", "src_f[0,189] 0.21 3.6e-3 0.16 8.1e-3 0.08 0.18 0.31 0.6 2000 1.0\n", "src_f[1,189] 0.44 6.4e-3 0.29 0.02 0.19 0.4 0.69 0.96 2000 1.0\n", "src_f[2,189] 0.47 6.4e-3 0.29 0.02 0.22 0.45 0.72 0.98 2000 1.0\n", "src_f[0,190] 0.32 4.3e-3 0.19 0.02 0.16 0.3 0.45 0.73 2000 1.0\n", "src_f[1,190] 0.42 6.2e-3 0.28 0.01 0.17 0.38 0.64 0.95 2000 1.0\n", "src_f[2,190] 0.46 6.5e-3 0.29 0.02 0.2 0.44 0.71 0.97 2000 1.0\n", "src_f[0,191] 0.3 4.7e-3 0.21 0.01 0.12 0.27 0.44 0.76 2000 1.0\n", "src_f[1,191] 0.42 6.6e-3 0.29 0.01 0.15 0.37 0.67 0.96 2000 1.0\n", "src_f[2,191] 0.46 6.3e-3 0.28 0.02 0.22 0.45 0.7 0.97 2000 1.0\n", "src_f[0,192] 0.08 1.6e-3 0.07 2.5e-3 0.03 0.06 0.11 0.26 2000 1.0\n", "src_f[1,192] 0.39 6.1e-3 0.27 0.01 0.15 0.35 0.61 0.94 2000 1.0\n", "src_f[2,192] 0.46 6.5e-3 0.29 0.02 0.2 0.44 0.72 0.97 2000 1.0\n", "src_f[0,193] 0.09 1.8e-3 0.08 2.8e-3 0.03 0.07 0.13 0.3 2000 1.0\n", "src_f[1,193] 0.38 5.9e-3 0.27 0.02 0.15 0.34 0.57 0.93 2000 1.0\n", "src_f[2,193] 0.44 6.1e-3 0.27 0.02 0.21 0.4 0.65 0.95 2000 1.0\n", "src_f[0,194] 0.17 3.0e-3 0.13 5.0e-3 0.06 0.13 0.24 0.49 2000 1.0\n", "src_f[1,194] 0.43 6.4e-3 0.28 0.01 0.18 0.4 0.67 0.96 2000 1.0\n", "src_f[2,194] 0.49 6.4e-3 0.29 0.02 0.24 0.48 0.73 0.97 2000 1.0\n", "src_f[0,195] 0.1 1.8e-3 0.08 3.4e-3 0.04 0.08 0.13 0.31 2000 1.0\n", "src_f[1,195] 0.4 6.2e-3 0.28 0.02 0.16 0.35 0.62 0.96 2000 1.0\n", "src_f[2,195] 0.45 6.4e-3 0.29 0.02 0.2 0.42 0.69 0.97 2000 1.0\n", "src_f[0,196] 0.14 2.6e-3 0.12 3.3e-3 0.04 0.1 0.19 0.42 2000 1.0\n", "src_f[1,196] 0.38 6.1e-3 0.27 0.01 0.15 0.33 0.58 0.95 2000 1.0\n", "src_f[2,196] 0.46 6.3e-3 0.28 0.02 0.21 0.43 0.69 0.97 2000 1.0\n", "src_f[0,197] 0.1 1.9e-3 0.08 3.2e-3 0.03 0.07 0.14 0.3 2000 1.0\n", "src_f[1,197] 0.41 6.6e-3 0.29 0.01 0.14 0.35 0.64 0.96 2000 1.0\n", "src_f[2,197] 0.45 6.2e-3 0.28 0.02 0.21 0.43 0.67 0.97 2000 1.0\n", "src_f[0,198] 0.15 2.7e-3 0.12 4.1e-3 0.05 0.11 0.21 0.45 2000 1.0\n", "src_f[1,198] 0.38 6.2e-3 0.28 0.02 0.15 0.32 0.59 0.95 2000 1.0\n", "src_f[2,198] 0.45 6.4e-3 0.28 0.02 0.2 0.43 0.68 0.97 2000 1.0\n", "src_f[0,199] 0.08 1.7e-3 0.08 2.4e-3 0.03 0.06 0.12 0.28 2000 1.0\n", "src_f[1,199] 0.4 6.1e-3 0.27 0.01 0.16 0.35 0.6 0.95 2000 1.0\n", "src_f[2,199] 0.47 6.5e-3 0.29 0.02 0.21 0.46 0.72 0.97 2000 1.0\n", "src_f[0,200] 0.09 1.7e-3 0.08 3.7e-3 0.03 0.07 0.13 0.28 2000 1.0\n", "src_f[1,200] 0.4 6.4e-3 0.29 9.7e-3 0.15 0.35 0.63 0.97 2000 1.0\n", "src_f[2,200] 0.46 6.4e-3 0.29 0.02 0.22 0.44 0.7 0.97 2000 1.0\n", "src_f[0,201] 0.12 2.2e-3 0.1 3.9e-3 0.04 0.09 0.17 0.37 2000 1.0\n", "src_f[1,201] 0.39 6.1e-3 0.27 0.02 0.15 0.34 0.6 0.95 2000 1.0\n", "src_f[2,201] 0.45 6.3e-3 0.28 0.02 0.21 0.44 0.69 0.96 2000 1.0\n", "src_f[0,202] 0.34 4.4e-3 0.2 0.02 0.18 0.32 0.47 0.75 2000 1.0\n", "src_f[1,202] 0.38 6.0e-3 0.27 0.01 0.15 0.32 0.57 0.94 2000 1.0\n", "src_f[2,202] 0.46 6.2e-3 0.28 0.02 0.22 0.44 0.69 0.96 2000 1.0\n", "src_f[0,203] 0.17 3.1e-3 0.14 5.7e-3 0.05 0.13 0.24 0.51 2000 1.0\n", "src_f[1,203] 0.41 6.1e-3 0.27 0.02 0.17 0.37 0.61 0.94 2000 1.0\n", "src_f[2,203] 0.45 6.3e-3 0.28 0.02 0.21 0.43 0.69 0.96 2000 1.0\n", "src_f[0,204] 0.08 1.7e-3 0.07 2.9e-3 0.03 0.06 0.12 0.27 2000 1.0\n", "src_f[1,204] 0.41 6.4e-3 0.29 0.01 0.16 0.35 0.64 0.95 2000 1.0\n", "src_f[2,204] 0.47 6.6e-3 0.29 0.02 0.21 0.45 0.74 0.97 2000 1.0\n", "src_f[0,205] 0.13 2.5e-3 0.11 3.9e-3 0.04 0.09 0.18 0.41 2000 1.0\n", "src_f[1,205] 0.45 6.4e-3 0.29 0.02 0.19 0.42 0.68 0.97 2000 1.0\n", "src_f[2,205] 0.47 6.4e-3 0.29 0.02 0.22 0.46 0.73 0.96 2000 1.0\n", "src_f[0,206] 0.65 4.9e-3 0.22 0.16 0.51 0.67 0.82 0.97 2000 1.0\n", "src_f[1,206] 0.46 6.2e-3 0.28 0.03 0.23 0.44 0.7 0.96 2000 1.0\n", "src_f[2,206] 0.49 6.6e-3 0.3 0.02 0.23 0.49 0.75 0.97 2000 1.0\n", "src_f[0,207] 0.23 3.8e-3 0.17 9.1e-3 0.1 0.2 0.34 0.65 2000 1.0\n", "src_f[1,207] 0.38 6.1e-3 0.27 8.7e-3 0.15 0.33 0.59 0.95 2000 1.0\n", "src_f[2,207] 0.45 6.4e-3 0.28 0.02 0.2 0.41 0.68 0.97 2000 1.0\n", "src_f[0,208] 0.09 1.8e-3 0.08 3.3e-3 0.03 0.07 0.13 0.3 2000 1.0\n", "src_f[1,208] 0.42 6.6e-3 0.29 0.01 0.17 0.39 0.67 0.96 2000 1.0\n", "src_f[2,208] 0.47 6.5e-3 0.29 0.02 0.23 0.45 0.71 0.97 2000 1.0\n", "src_f[0,209] 0.17 3.3e-3 0.15 5.3e-3 0.05 0.13 0.25 0.56 2000 1.0\n", "src_f[1,209] 0.45 6.3e-3 0.28 0.02 0.21 0.43 0.69 0.96 2000 1.0\n", "src_f[2,209] 0.48 6.4e-3 0.29 0.03 0.22 0.46 0.73 0.97 2000 1.0\n", "src_f[0,210] 0.24 5.2e-3 0.19 8.5e-3 0.09 0.2 0.35 0.72 1405 1.0\n", "src_f[1,210] 0.47 6.5e-3 0.29 0.02 0.21 0.46 0.71 0.97 2000 1.0\n", "src_f[2,210] 0.48 6.6e-3 0.3 0.02 0.22 0.47 0.74 0.97 2000 1.0\n", "src_f[0,211] 0.14 2.9e-3 0.13 4.0e-3 0.04 0.1 0.2 0.48 2000 1.0\n", "src_f[1,211] 0.44 6.3e-3 0.28 0.02 0.19 0.41 0.67 0.97 2000 1.0\n", "src_f[2,211] 0.48 6.5e-3 0.29 0.02 0.22 0.47 0.73 0.97 2000 1.0\n", "src_f[0,212] 0.21 3.8e-3 0.17 8.6e-3 0.08 0.18 0.31 0.63 2000 1.0\n", "src_f[1,212] 0.42 6.3e-3 0.28 9.6e-3 0.17 0.38 0.64 0.97 2000 1.0\n", "src_f[2,212] 0.45 6.4e-3 0.29 0.03 0.2 0.43 0.69 0.96 2000 1.0\n", "src_f[0,213] 0.1 2.0e-3 0.09 2.5e-3 0.03 0.07 0.13 0.34 2000 1.0\n", "src_f[1,213] 0.44 6.4e-3 0.28 0.02 0.19 0.41 0.68 0.96 2000 1.0\n", "src_f[2,213] 0.48 6.6e-3 0.29 0.02 0.21 0.47 0.73 0.98 2000 1.0\n", "src_f[0,214] 0.1 2.0e-3 0.09 2.7e-3 0.03 0.07 0.14 0.33 2000 1.0\n", "src_f[1,214] 0.45 6.4e-3 0.29 0.02 0.2 0.43 0.69 0.97 2000 1.0\n", "src_f[2,214] 0.48 6.6e-3 0.3 0.02 0.23 0.47 0.74 0.98 2000 1.0\n", "src_f[0,215] 0.1 1.8e-3 0.08 4.1e-3 0.03 0.07 0.14 0.3 2000 1.0\n", "src_f[1,215] 0.41 6.3e-3 0.28 0.02 0.17 0.37 0.62 0.95 2000 1.0\n", "src_f[2,215] 0.45 6.5e-3 0.29 0.02 0.2 0.43 0.7 0.97 2000 1.0\n", "src_f[0,216] 0.15 3.0e-3 0.13 4.2e-3 0.05 0.11 0.22 0.5 2000 1.0\n", "src_f[1,216] 0.42 6.2e-3 0.28 0.02 0.18 0.38 0.63 0.95 2000 1.0\n", "src_f[2,216] 0.45 6.4e-3 0.29 0.02 0.2 0.43 0.69 0.98 2000 1.0\n", "src_f[0,217] 0.1 1.9e-3 0.08 2.5e-3 0.03 0.07 0.14 0.31 2000 1.0\n", "src_f[1,217] 0.4 6.3e-3 0.28 0.01 0.16 0.35 0.62 0.95 2000 1.0\n", "src_f[2,217] 0.45 6.6e-3 0.29 0.02 0.18 0.43 0.7 0.97 2000 1.0\n", "src_f[0,218] 0.1 2.0e-3 0.09 2.7e-3 0.03 0.08 0.15 0.34 2000 1.0\n", "src_f[1,218] 0.39 6.3e-3 0.28 0.01 0.15 0.34 0.6 0.95 2000 1.0\n", "src_f[2,218] 0.46 6.4e-3 0.29 0.02 0.2 0.43 0.7 0.96 2000 1.0\n", "src_f[0,219] 0.16 3.1e-3 0.14 4.3e-3 0.05 0.12 0.23 0.51 2000 1.0\n", "src_f[1,219] 0.42 6.2e-3 0.28 0.02 0.18 0.38 0.64 0.95 2000 1.0\n", "src_f[2,219] 0.47 6.6e-3 0.29 0.02 0.21 0.45 0.73 0.97 2000 1.0\n", "src_f[0,220] 0.14 3.0e-3 0.13 3.4e-3 0.04 0.1 0.2 0.5 2000 1.0\n", "src_f[1,220] 0.45 6.2e-3 0.28 0.02 0.21 0.43 0.69 0.96 2000 1.0\n", "src_f[2,220] 0.48 6.3e-3 0.28 0.01 0.24 0.48 0.71 0.97 2000 1.0\n", "src_f[0,221] 0.1 1.8e-3 0.08 3.9e-3 0.03 0.08 0.14 0.3 2000 1.0\n", "src_f[1,221] 0.4 6.2e-3 0.28 0.02 0.16 0.36 0.62 0.94 2000 1.0\n", "src_f[2,221] 0.46 6.2e-3 0.28 0.02 0.22 0.44 0.69 0.96 2000 1.0\n", "src_f[0,222] 0.09 1.9e-3 0.08 2.5e-3 0.03 0.07 0.14 0.31 2000 1.0\n", "src_f[1,222] 0.39 6.1e-3 0.27 0.01 0.15 0.34 0.59 0.94 2000 1.0\n", "src_f[2,222] 0.45 6.5e-3 0.29 0.02 0.2 0.42 0.69 0.97 2000 1.0\n", "src_f[0,223] 0.09 1.9e-3 0.08 2.6e-3 0.03 0.07 0.13 0.31 2000 1.0\n", "src_f[1,223] 0.43 6.4e-3 0.28 0.02 0.18 0.4 0.67 0.96 2000 1.0\n", "src_f[2,223] 0.47 6.4e-3 0.29 0.03 0.22 0.46 0.73 0.97 2000 1.0\n", "src_f[0,224] 0.11 2.0e-3 0.09 4.0e-3 0.04 0.08 0.16 0.33 2000 1.0\n", "src_f[1,224] 0.4 6.3e-3 0.28 0.01 0.16 0.36 0.62 0.95 2000 1.0\n", "src_f[2,224] 0.46 6.5e-3 0.29 0.02 0.21 0.44 0.71 0.97 2000 1.0\n", "src_f[0,225] 0.09 1.8e-3 0.08 2.8e-3 0.03 0.07 0.13 0.31 2000 1.0\n", "src_f[1,225] 0.4 6.2e-3 0.28 0.02 0.16 0.35 0.62 0.95 2000 1.0\n", "src_f[2,225] 0.46 6.5e-3 0.29 0.02 0.22 0.44 0.71 0.97 2000 1.0\n", "src_f[0,226] 0.11 2.2e-3 0.1 3.2e-3 0.04 0.09 0.17 0.36 2000 1.0\n", "src_f[1,226] 0.41 6.4e-3 0.29 0.01 0.15 0.38 0.64 0.96 2000 1.0\n", "src_f[2,226] 0.46 6.4e-3 0.29 0.02 0.21 0.43 0.69 0.97 2000 1.0\n", "src_f[0,227] 0.09 1.7e-3 0.08 2.8e-3 0.03 0.07 0.13 0.28 2000 1.0\n", "src_f[1,227] 0.41 6.2e-3 0.28 0.02 0.17 0.37 0.63 0.96 2000 1.0\n", "src_f[2,227] 0.45 6.2e-3 0.28 0.02 0.21 0.43 0.67 0.95 2000 1.0\n", "src_f[0,228] 0.09 1.7e-3 0.08 2.6e-3 0.03 0.07 0.13 0.29 2000 1.0\n", "src_f[1,228] 0.4 6.2e-3 0.28 0.02 0.15 0.35 0.62 0.96 2000 1.0\n", "src_f[2,228] 0.45 6.4e-3 0.29 0.02 0.2 0.43 0.69 0.97 2000 1.0\n", "src_f[0,229] 0.14 2.7e-3 0.12 2.9e-3 0.05 0.11 0.21 0.45 2000 1.0\n", "src_f[1,229] 0.45 6.4e-3 0.28 0.02 0.21 0.43 0.69 0.96 2000 1.0\n", "src_f[2,229] 0.48 6.5e-3 0.29 0.02 0.22 0.46 0.73 0.97 2000 1.0\n", "src_f[0,230] 0.09 1.9e-3 0.09 3.0e-3 0.03 0.07 0.13 0.32 2000 1.0\n", "src_f[1,230] 0.42 6.2e-3 0.28 0.02 0.18 0.38 0.63 0.96 2000 1.0\n", "src_f[2,230] 0.47 6.4e-3 0.29 0.02 0.22 0.45 0.73 0.97 2000 1.0\n", "src_f[0,231] 0.13 2.6e-3 0.12 3.6e-3 0.04 0.1 0.19 0.43 2000 1.0\n", "src_f[1,231] 0.44 6.5e-3 0.29 0.02 0.18 0.42 0.68 0.97 2000 1.0\n", "src_f[2,231] 0.48 6.4e-3 0.29 0.02 0.22 0.48 0.72 0.97 2000 1.0\n", "src_f[0,232] 0.09 1.8e-3 0.08 2.3e-3 0.03 0.07 0.13 0.3 2000 1.0\n", "src_f[1,232] 0.41 6.5e-3 0.29 0.01 0.15 0.36 0.63 0.97 2000 1.0\n", "src_f[2,232] 0.46 6.4e-3 0.29 0.02 0.22 0.44 0.7 0.97 2000 1.0\n", "src_f[0,233] 0.14 3.1e-3 0.14 3.6e-3 0.04 0.1 0.2 0.52 2000 1.0\n", "src_f[1,233] 0.47 6.5e-3 0.29 0.02 0.21 0.45 0.7 0.97 2000 1.0\n", "src_f[2,233] 0.5 6.5e-3 0.29 0.02 0.24 0.49 0.74 0.98 2000 1.0\n", "src_f[0,234] 0.08 1.6e-3 0.07 2.5e-3 0.02 0.06 0.11 0.27 2000 1.0\n", "src_f[1,234] 0.41 6.4e-3 0.29 0.01 0.15 0.36 0.64 0.95 2000 1.0\n", "src_f[2,234] 0.46 6.3e-3 0.28 0.02 0.23 0.44 0.69 0.96 2000 1.0\n", "src_f[0,235] 0.1 2.0e-3 0.09 3.8e-3 0.03 0.07 0.14 0.33 2000 1.0\n", "src_f[1,235] 0.43 6.2e-3 0.28 0.02 0.2 0.4 0.66 0.96 2000 1.0\n", "src_f[2,235] 0.47 6.4e-3 0.29 0.02 0.22 0.46 0.72 0.97 2000 1.0\n", "src_f[0,236] 0.1 2.2e-3 0.1 2.6e-3 0.03 0.07 0.15 0.37 2000 1.0\n", "src_f[1,236] 0.45 6.3e-3 0.28 0.02 0.19 0.42 0.68 0.96 2000 1.0\n", "src_f[2,236] 0.48 6.4e-3 0.28 0.02 0.23 0.46 0.71 0.97 2000 1.0\n", "src_f[0,237] 0.13 2.8e-3 0.12 2.3e-3 0.04 0.1 0.19 0.45 2000 1.0\n", "src_f[1,237] 0.44 6.3e-3 0.28 0.02 0.19 0.4 0.66 0.97 2000 1.0\n", "src_f[2,237] 0.48 6.3e-3 0.28 0.02 0.23 0.47 0.7 0.97 2000 1.0\n", "src_f[0,238] 0.11 2.1e-3 0.09 3.8e-3 0.04 0.09 0.16 0.37 2000 1.0\n", "src_f[1,238] 0.44 6.3e-3 0.28 0.02 0.21 0.42 0.67 0.97 2000 1.0\n", "src_f[2,238] 0.47 6.5e-3 0.29 0.02 0.21 0.47 0.72 0.97 2000 1.0\n", "src_f[0,239] 0.13 2.5e-3 0.11 5.0e-3 0.05 0.11 0.19 0.41 2000 1.0\n", "src_f[1,239] 0.45 6.5e-3 0.29 0.02 0.19 0.42 0.68 0.96 2000 1.0\n", "src_f[2,239] 0.48 6.4e-3 0.29 0.03 0.23 0.46 0.73 0.97 2000 1.0\n", "src_f[0,240] 0.19 3.7e-3 0.17 7.7e-3 0.07 0.15 0.28 0.61 2000 1.0\n", "src_f[1,240] 0.47 6.5e-3 0.29 0.01 0.21 0.45 0.72 0.98 2000 1.0\n", "src_f[2,240] 0.48 6.5e-3 0.29 0.02 0.23 0.47 0.73 0.97 2000 1.0\n", "src_f[0,241] 0.1 2.1e-3 0.09 2.9e-3 0.03 0.08 0.15 0.35 2000 1.0\n", "src_f[1,241] 0.43 6.5e-3 0.29 0.02 0.17 0.4 0.67 0.97 2000 1.0\n", "src_f[2,241] 0.47 6.6e-3 0.3 0.02 0.19 0.44 0.73 0.97 2000 1.0\n", "src_f[0,242] 0.47 5.4e-3 0.23 0.05 0.3 0.47 0.64 0.9 1769 1.0\n", "src_f[1,242] 0.47 6.4e-3 0.29 0.02 0.22 0.45 0.71 0.97 2000 1.0\n", "src_f[2,242] 0.5 6.7e-3 0.3 0.02 0.23 0.5 0.77 0.98 2000 1.0\n", "src_f[0,243] 0.14 2.5e-3 0.11 4.9e-3 0.05 0.11 0.2 0.41 2000 1.0\n", "src_f[1,243] 0.44 6.6e-3 0.3 0.01 0.18 0.41 0.69 0.97 2000 1.0\n", "src_f[2,243] 0.46 6.5e-3 0.29 0.02 0.21 0.44 0.71 0.97 2000 1.0\n", "src_f[0,244] 0.35 4.3e-3 0.19 0.03 0.2 0.34 0.48 0.76 2000 1.0\n", "src_f[1,244] 0.46 6.2e-3 0.28 0.03 0.22 0.43 0.69 0.96 2000 1.0\n", "src_f[2,244] 0.48 6.5e-3 0.29 0.02 0.22 0.47 0.73 0.97 2000 1.0\n", "src_f[0,245] 0.07 1.5e-3 0.07 2.0e-3 0.02 0.06 0.11 0.25 2000 1.0\n", "src_f[1,245] 0.41 6.3e-3 0.28 0.01 0.17 0.38 0.64 0.96 2000 1.0\n", "src_f[2,245] 0.46 6.5e-3 0.29 0.02 0.21 0.45 0.71 0.97 2000 1.0\n", "src_f[0,246] 0.06 1.2e-3 0.05 1.4e-3 0.02 0.04 0.08 0.19 2000 1.0\n", "src_f[1,246] 0.42 6.3e-3 0.28 0.02 0.17 0.38 0.64 0.95 2000 1.0\n", "src_f[2,246] 0.47 6.5e-3 0.29 0.02 0.21 0.45 0.72 0.97 2000 1.0\n", "src_f[0,247] 0.09 2.0e-3 0.09 2.8e-3 0.03 0.07 0.13 0.33 2000 1.0\n", "src_f[1,247] 0.43 6.3e-3 0.28 0.02 0.19 0.4 0.66 0.96 2000 1.0\n", "src_f[2,247] 0.46 6.4e-3 0.29 0.03 0.21 0.44 0.7 0.96 2000 1.0\n", "src_f[0,248] 0.09 1.7e-3 0.08 3.1e-3 0.03 0.07 0.13 0.29 2000 1.0\n", "src_f[1,248] 0.42 6.4e-3 0.29 0.02 0.18 0.38 0.66 0.97 2000 1.0\n", "src_f[2,248] 0.47 6.5e-3 0.29 0.03 0.21 0.45 0.71 0.97 2000 1.0\n", "src_f[0,249] 0.07 1.5e-3 0.07 2.8e-3 0.02 0.05 0.11 0.25 2000 1.0\n", "src_f[1,249] 0.42 6.3e-3 0.28 0.02 0.18 0.38 0.66 0.95 2000 1.0\n", "src_f[2,249] 0.47 6.6e-3 0.29 0.02 0.22 0.46 0.73 0.98 2000 1.0\n", "src_f[0,250] 0.22 4.3e-3 0.17 9.2e-3 0.08 0.18 0.32 0.65 1618 1.0\n", "src_f[1,250] 0.45 6.4e-3 0.28 0.01 0.2 0.43 0.69 0.97 2000 1.0\n", "src_f[2,250] 0.48 6.6e-3 0.29 0.02 0.22 0.48 0.74 0.97 2000 1.0\n", "src_f[0,251] 0.1 1.9e-3 0.09 3.7e-3 0.04 0.08 0.15 0.3 2000 1.0\n", "src_f[1,251] 0.44 6.4e-3 0.29 0.02 0.18 0.41 0.68 0.96 2000 1.0\n", "src_f[2,251] 0.47 6.3e-3 0.28 0.03 0.22 0.46 0.72 0.96 2000 1.0\n", "src_f[0,252] 0.72 4.6e-3 0.19 0.29 0.6 0.75 0.86 0.98 1607 1.0\n", "src_f[1,252] 0.46 6.1e-3 0.27 0.02 0.23 0.45 0.68 0.97 2000 1.0\n", "src_f[2,252] 0.49 6.4e-3 0.29 0.02 0.24 0.47 0.73 0.98 2000 1.0\n", "src_f[0,253] 0.06 1.2e-3 0.06 1.6e-3 0.02 0.04 0.08 0.21 2000 1.0\n", "src_f[1,253] 0.43 6.3e-3 0.28 0.02 0.2 0.4 0.66 0.97 2000 1.0\n", "src_f[2,253] 0.46 6.4e-3 0.28 0.02 0.22 0.44 0.71 0.97 2000 1.0\n", "src_f[0,254] 0.1 2.0e-3 0.09 2.7e-3 0.03 0.08 0.15 0.33 2000 1.0\n", "src_f[1,254] 0.42 6.2e-3 0.28 0.02 0.17 0.38 0.63 0.95 2000 1.0\n", "src_f[2,254] 0.48 6.4e-3 0.29 0.03 0.23 0.46 0.71 0.97 2000 1.0\n", "src_f[0,255] 0.07 1.5e-3 0.07 2.0e-3 0.02 0.05 0.11 0.26 2000 1.0\n", "src_f[1,255] 0.42 6.4e-3 0.28 0.01 0.16 0.38 0.65 0.96 2000 1.0\n", "src_f[2,255] 0.47 6.7e-3 0.3 0.02 0.2 0.46 0.74 0.98 2000 1.0\n", "src_f[0,256] 0.1 2.0e-3 0.09 2.1e-3 0.03 0.07 0.13 0.33 2000 1.0\n", "src_f[1,256] 0.44 6.3e-3 0.28 0.02 0.19 0.42 0.66 0.96 2000 1.0\n", "src_f[2,256] 0.48 6.5e-3 0.29 0.02 0.22 0.46 0.73 0.98 2000 1.0\n", "src_f[0,257] 0.87 2.4e-3 0.11 0.61 0.82 0.9 0.95 1.0 2000 1.0\n", "src_f[1,257] 0.45 6.2e-3 0.28 0.02 0.21 0.44 0.68 0.96 2000 1.0\n", "src_f[2,257] 0.48 6.5e-3 0.29 0.02 0.23 0.47 0.72 0.98 2000 1.0\n", "src_f[0,258] 0.09 1.9e-3 0.08 2.2e-3 0.03 0.07 0.14 0.31 2000 1.0\n", "src_f[1,258] 0.44 6.5e-3 0.29 0.02 0.18 0.4 0.69 0.98 2000 1.0\n", "src_f[2,258] 0.47 6.5e-3 0.29 0.02 0.21 0.45 0.73 0.97 2000 1.0\n", "src_f[0,259] 0.14 2.7e-3 0.12 4.5e-3 0.05 0.1 0.19 0.47 2000 1.0\n", "src_f[1,259] 0.45 6.4e-3 0.29 0.02 0.2 0.43 0.69 0.97 2000 1.0\n", "src_f[2,259] 0.48 6.5e-3 0.29 0.01 0.24 0.47 0.72 0.98 2000 1.0\n", "src_f[0,260] 0.08 1.7e-3 0.07 2.3e-3 0.03 0.06 0.12 0.28 2000 1.0\n", "src_f[1,260] 0.44 6.5e-3 0.29 0.02 0.18 0.42 0.67 0.97 2000 1.0\n", "src_f[2,260] 0.48 6.4e-3 0.28 0.02 0.24 0.46 0.72 0.97 2000 1.0\n", "src_f[0,261] 0.08 1.8e-3 0.08 2.0e-3 0.02 0.06 0.12 0.28 2000 1.0\n", "src_f[1,261] 0.44 6.3e-3 0.28 0.01 0.19 0.41 0.66 0.97 2000 1.0\n", "src_f[2,261] 0.47 6.7e-3 0.3 0.02 0.2 0.46 0.74 0.98 2000 1.0\n", "src_f[0,262] 0.46 6.3e-3 0.25 0.03 0.26 0.45 0.63 0.94 1539 1.0\n", "src_f[1,262] 0.46 6.6e-3 0.29 0.01 0.19 0.44 0.71 0.97 2000 1.0\n", "src_f[2,262] 0.49 6.3e-3 0.28 0.03 0.26 0.48 0.72 0.97 2000 1.0\n", "src_f[0,263] 0.08 1.6e-3 0.07 2.8e-3 0.02 0.06 0.11 0.25 2000 1.0\n", "src_f[1,263] 0.42 6.3e-3 0.28 0.01 0.18 0.38 0.64 0.96 2000 1.0\n", "src_f[2,263] 0.47 6.5e-3 0.29 0.02 0.21 0.46 0.73 0.97 2000 1.0\n", "src_f[0,264] 0.16 3.3e-3 0.15 5.4e-3 0.05 0.12 0.23 0.55 2000 1.0\n", "src_f[1,264] 0.46 6.5e-3 0.29 0.02 0.21 0.44 0.71 0.97 2000 1.0\n", "src_f[2,264] 0.49 6.2e-3 0.28 0.02 0.25 0.48 0.72 0.97 2000 1.0\n", "src_f[0,265] 0.14 2.8e-3 0.13 3.8e-3 0.04 0.1 0.19 0.47 2000 1.0\n", "src_f[1,265] 0.44 6.4e-3 0.28 0.02 0.19 0.41 0.66 0.96 2000 1.0\n", "src_f[2,265] 0.48 6.4e-3 0.29 0.02 0.24 0.47 0.71 0.97 2000 1.0\n", "src_f[0,266] 0.08 1.6e-3 0.07 2.1e-3 0.02 0.06 0.11 0.27 2000 1.0\n", "src_f[1,266] 0.44 6.2e-3 0.28 0.02 0.2 0.42 0.66 0.96 2000 1.0\n", "src_f[2,266] 0.48 6.5e-3 0.29 0.01 0.23 0.48 0.73 0.98 2000 1.0\n", "src_f[0,267] 0.09 1.7e-3 0.08 2.1e-3 0.03 0.07 0.13 0.27 2000 1.0\n", "src_f[1,267] 0.45 6.3e-3 0.28 0.02 0.21 0.43 0.7 0.96 2000 1.0\n", "src_f[2,267] 0.47 6.3e-3 0.28 0.02 0.23 0.45 0.7 0.97 2000 1.0\n", "src_f[0,268] 0.3 5.2e-3 0.21 0.01 0.12 0.26 0.43 0.8 1668 1.0\n", "src_f[1,268] 0.46 6.5e-3 0.29 0.02 0.2 0.44 0.71 0.97 2000 1.0\n", "src_f[2,268] 0.48 6.3e-3 0.28 0.03 0.24 0.48 0.71 0.97 2000 1.0\n", "src_f[0,269] 0.54 6.3e-3 0.25 0.05 0.35 0.56 0.74 0.95 1584 1.0\n", "src_f[1,269] 0.46 6.4e-3 0.29 0.02 0.21 0.43 0.7 0.97 2000 1.0\n", "src_f[2,269] 0.48 6.5e-3 0.29 0.03 0.22 0.46 0.73 0.97 2000 1.0\n", "src_f[0,270] 0.15 2.9e-3 0.13 5.0e-3 0.05 0.11 0.21 0.49 2000 1.0\n", "src_f[1,270] 0.45 6.5e-3 0.29 0.02 0.19 0.41 0.7 0.97 2000 1.0\n", "src_f[2,270] 0.48 6.6e-3 0.29 0.02 0.22 0.46 0.73 0.97 2000 1.0\n", "src_f[0,271] 0.4 6.2e-3 0.25 0.03 0.19 0.38 0.59 0.89 1561 1.0\n", "src_f[1,271] 0.46 6.4e-3 0.29 0.02 0.21 0.45 0.71 0.96 2000 1.0\n", "src_f[2,271] 0.48 6.5e-3 0.29 0.03 0.23 0.46 0.73 0.97 2000 1.0\n", "src_f[0,272] 0.21 4.0e-3 0.18 6.2e-3 0.06 0.16 0.3 0.67 2000 1.0\n", "src_f[1,272] 0.45 6.4e-3 0.28 0.02 0.2 0.44 0.68 0.96 2000 1.0\n", "src_f[2,272] 0.48 6.5e-3 0.29 0.02 0.23 0.47 0.74 0.97 2000 1.0\n", "src_f[0,273] 0.21 4.1e-3 0.18 7.0e-3 0.08 0.16 0.3 0.7 2000 1.0\n", "src_f[1,273] 0.45 6.5e-3 0.29 0.01 0.19 0.42 0.69 0.97 2000 1.0\n", "src_f[2,273] 0.48 6.6e-3 0.29 0.02 0.22 0.46 0.74 0.97 2000 1.0\n", "src_f[0,274] 0.22 4.1e-3 0.19 6.0e-3 0.08 0.17 0.31 0.73 2000 1.0\n", "src_f[1,274] 0.45 6.4e-3 0.28 0.02 0.21 0.43 0.69 0.97 2000 1.0\n", "src_f[2,274] 0.49 6.6e-3 0.3 0.02 0.22 0.47 0.75 0.97 2000 1.0\n", "src_f[0,275] 0.35 5.3e-3 0.24 0.01 0.15 0.3 0.52 0.87 2000 1.0\n", "src_f[1,275] 0.46 6.2e-3 0.28 0.03 0.23 0.43 0.7 0.96 2000 1.0\n", "src_f[2,275] 0.48 6.6e-3 0.29 0.02 0.22 0.47 0.73 0.98 2000 1.0\n", "src_f[0,276] 0.44 5.9e-3 0.26 0.03 0.22 0.41 0.64 0.95 2000 1.0\n", "src_f[1,276] 0.47 6.5e-3 0.29 0.02 0.22 0.46 0.72 0.97 2000 1.0\n", "src_f[2,276] 0.48 6.4e-3 0.29 0.02 0.24 0.47 0.73 0.97 2000 1.0\n", "bkg[0] -39.69 0.08 2.29 -44.18 -41.27 -39.69 -38.1 -35.4 924 1.0\n", "bkg[1] -19.31 0.12 5.39 -29.82 -22.86 -19.29 -15.61 -9.12 2000 1.0\n", "bkg[2] -7.83 0.11 4.91 -17.37 -11.13 -7.8 -4.53 2.03 2000 1.0\n", "sigma_conf[0] 2.44 9.7e-3 0.3 1.86 2.22 2.44 2.64 3.02 993 1.0\n", "sigma_conf[1] 196.42 0.5 18.88 160.66 183.19 195.78 208.63 234.99 1438 1.0\n", "sigma_conf[2] 466.64 1.14 50.79 381.06 429.15 461.49 499.97 572.78 2000 1.0\n", "lp__ -3309 1.0 24.88 -3364 -3326 -3307 -3292 -3265 618 1.0\n", "\n", "Samples were drawn using NUTS at Mon Mar 19 12:45:10 2018.\n", "For each parameter, n_eff is a crude measure of effective sample size,\n", "and Rhat is the potential scale reduction factor on split chains (at \n", "convergence, Rhat=1)." ] }, "execution_count": 14, "metadata": {}, "output_type": "execute_result" } ], "source": [ "fit_basic" ] }, { "cell_type": "code", "execution_count": 15, "metadata": { "collapsed": true }, "outputs": [], "source": [ "posterior=xidplus.posterior_stan(fit_basic,[prior250,prior350,prior500])\n", "#xidplus.save([prior250,prior350,prior500],posterior,'XID+SPIRE')" ] }, { "cell_type": "code", "execution_count": 16, "metadata": { "collapsed": true }, "outputs": [], "source": [ "pacs100='/Users/pdh21/Google Drive/WORK/dmu_products/dmu18/dmu18_HELP-PACS-maps/data/COSMOS_PACS100_v0.9.fits'\n", "#PACS 100 map\n", "pacs160='/Users/pdh21/Google Drive/WORK/dmu_products/dmu18/dmu18_HELP-PACS-maps/data/COSMOS_PACS160_v0.9.fits'#PACS 160 map\n" ] }, { "cell_type": "code", "execution_count": 17, "metadata": { "collapsed": true }, "outputs": [], "source": [ "#-----100-------------\n", "hdulist = fits.open(pacs100)\n", "im100phdu=hdulist[1].header\n", "im100hdu=hdulist[1].header\n", "im100=hdulist[1].data\n", "w_100 = wcs.WCS(hdulist[1].header)\n", "pixsize100=3600.0*np.abs(hdulist[1].header['CDELT1']) #pixel size (in arcseconds)\n", "nim100=hdulist[2].data\n", "hdulist.close()\n", "\n", "#-----160-------------\n", "hdulist = fits.open(pacs160)\n", "im160phdu=hdulist[1].header\n", "im160hdu=hdulist[1].header\n", "\n", "im160=hdulist[1].data #convert to mJy\n", "w_160 = wcs.WCS(hdulist[1].header)\n", "pixsize160=3600.0*np.abs(hdulist[1].header['CDELT1']) #pixel size (in arcseconds)\n", "nim160=hdulist[2].data\n", "hdulist.close()" ] }, { "cell_type": "code", "execution_count": 18, "metadata": { "collapsed": true }, "outputs": [], "source": [ "#---prior100--------\n", "prior100=xidplus.prior(im100,nim100,im100phdu,im100hdu,moc=moc)#Initialise with map, uncertianty map, wcs info and primary header\n", "#prior100.prior_cat(mips24['INRA'],mips24['INDEC'],'photoz')#Set input catalogue\n", "\n", "prior100.prior_cat(photoz['RA'],photoz['DEC'],'photoz',z_median=z_median, z_sig=z_sig)#Set input catalogue\n", "prior100.prior_bkg(0,1)#Set prior on background\n", "\n", "#---prior160--------\n", "prior160=xidplus.prior(im160,nim160,im160phdu,im160hdu,moc=moc)\n", "prior160.prior_cat(photoz['RA'],photoz['DEC'],'photoz',z_median=z_median, z_sig=z_sig)\n", "#prior160.prior_cat(mips24['INRA'],mips24['INDEC'],'photoz')\n", "\n", "prior160.prior_bkg(0,1)\n" ] }, { "cell_type": "code", "execution_count": 19, "metadata": { "collapsed": true }, "outputs": [], "source": [ "##---------fit using Herves normalised beam-----------------------\n", "#-----100-------------\n", "hdulist = fits.open('/Users/pdh21/astrodata/COSMOS/P4/PACS/psf_ok_this_time/COSMOS_PACS100_20160805_model_normalized_psf_MJy_sr_100.fits')\n", "prf100=hdulist[0].data\n", "hdulist.close()\n", "#-----160-------------\n", "\n", "hdulist = fits.open('/Users/pdh21/astrodata/COSMOS/P4/PACS/psf_ok_this_time/COSMOS_PACS160_20160805_model_normalized_psf_MJy_sr_160.fits')\n", "prf160=hdulist[0].data\n", "hdulist.close()\n", "\n", "pind100=np.arange(0,11,0.5)\n", "pind160=np.arange(0,11,0.5)\n", "\n", "import scipy.ndimage\n", "\n", "prior100.set_prf(scipy.ndimage.zoom(prf100[11:22,11:22]/1000.0,2,order=2),pind100,pind100)\n", "prior160.set_prf(scipy.ndimage.zoom(prf160[6:17,6:17]/1000.0,2,order=2),pind160,pind160)" ] }, { "cell_type": "code", "execution_count": 20, "metadata": { "collapsed": true }, "outputs": [], "source": [ "mipsfits='/Users/pdh21/astrodata/COSMOS/wp4_cosmos_mips24_map_v1.0.fits.gz'\n", "#-----24-------------\n", "hdulist = fits.open(mipsfits)\n", "im24phdu=hdulist[0].header\n", "im24hdu=hdulist[1].header\n", "\n", "im24=hdulist[1].data\n", "nim24=hdulist[2].data\n", "w_24 = wcs.WCS(hdulist[1].header)\n", "pixsize24=3600.0*w_24.wcs.cdelt[1] #pixel size (in arcseconds)\n", "hdulist.close()\n", "\n", "\n", "\n", "\n", "# Point response information, at the moment its 2D Gaussian,\n", "\n", "#pixsize array (size of pixels in arcseconds)\n", "pixsize=np.array([pixsize24])\n", "#point response function for the three bands\n", "\n", "\n", "#Set prior classes\n", "#---prior24--------\n", "prior24=xidplus.prior(im24,nim24,im24phdu,im24hdu,moc=moc)#Initialise with map, uncertianty map, wcs info and primary header\n", "prior24.prior_cat(photoz['RA'],photoz['DEC'],'photoz',z_median=z_median, z_sig=z_sig)#Set input catalogue\n", "prior24.prior_bkg(0,2)#Set prior on background\n", "\n", "\n", "\n", "##---------fit using seb's empiricall beam-----------------------\n", "#-----24-------------\n", "hdulist = fits.open('/Users/pdh21/astrodata/COSMOS/psfcosmos_corrected.fits')\n", "prf24=hdulist[0].data*1000.0\n", "hdulist.close()\n", "\n", "\n", "pind24=np.arange(0,21,0.5)\n", "\n", "import scipy.ndimage\n", "\n", "prior24.set_prf(scipy.ndimage.zoom(prf24[31:52,31:52],2,order=2),pind24,pind24)\n" ] }, { "cell_type": "code", "execution_count": 21, "metadata": { "collapsed": true }, "outputs": [], "source": [ "prior100.get_pointing_matrix()\n", "prior160.get_pointing_matrix()\n", "prior24.get_pointing_matrix()\n" ] }, { "cell_type": "code", "execution_count": 27, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/XID+PACS found. Reusing\n" ] } ], "source": [ "from xidplus.stan_fit import PACS\n", "fit_basic_PACS=PACS.all_bands(prior100,prior160,iter=1000)" ] }, { "cell_type": "code", "execution_count": 28, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "Inference for Stan model: anon_model_36b659b8dec7ac05627af3c419328786.\n", "4 chains, each with iter=1000; warmup=500; thin=1; \n", "post-warmup draws per chain=500, total post-warmup draws=2000.\n", "\n", " mean se_mean sd 2.5% 25% 50% 75% 97.5% n_eff Rhat\n", "src_f[0,0] 0.01 10.0e-5 4.0e-3 4.0e-3 9.8e-3 0.01 0.02 0.02 1597 1.0\n", "src_f[1,0] 0.04 3.9e-4 0.01 0.01 0.03 0.04 0.05 0.06 1168 1.0\n", "src_f[0,1] 4.2e-3 8.6e-5 3.3e-3 1.6e-4 1.5e-3 3.5e-3 6.1e-3 0.01 1485 1.0\n", "src_f[1,1] 0.01 3.6e-4 0.01 3.8e-4 4.8e-3 0.01 0.02 0.04 1104 1.0\n", "src_f[0,2] 0.01 1.6e-4 5.0e-3 8.9e-4 6.5e-3 0.01 0.01 0.02 1003 1.0\n", "src_f[1,2] 0.02 2.7e-4 0.01 1.4e-3 0.01 0.02 0.03 0.04 1623 1.0\n", "src_f[0,3] 0.01 1.8e-4 5.6e-3 9.2e-4 6.0e-3 9.9e-3 0.01 0.02 979 1.0\n", "src_f[1,3] 0.02 2.8e-4 0.01 1.1e-3 9.3e-3 0.02 0.03 0.05 2000 1.0\n", "src_f[0,4] 3.2e-3 6.0e-5 2.7e-3 8.9e-5 1.0e-3 2.6e-3 4.6e-3 9.8e-3 2000 1.0\n", "src_f[1,4] 8.0e-3 1.6e-4 7.0e-3 2.3e-4 2.6e-3 6.0e-3 0.01 0.03 2000 1.0\n", "src_f[0,5] 6.2e-3 8.8e-5 3.9e-3 4.7e-4 3.0e-3 5.7e-3 8.6e-3 0.02 2000 1.0\n", "src_f[1,5] 0.01 2.1e-4 9.5e-3 5.9e-4 5.1e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,6] 0.01 1.1e-4 5.0e-3 1.2e-3 6.4e-3 9.9e-3 0.01 0.02 2000 1.0\n", "src_f[1,6] 0.02 2.5e-4 0.01 8.4e-4 8.1e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,7] 9.4e-3 1.1e-4 5.1e-3 7.0e-4 5.4e-3 9.4e-3 0.01 0.02 2000 1.0\n", "src_f[1,7] 0.03 4.0e-4 0.02 4.6e-3 0.02 0.03 0.05 0.07 1709 1.0\n", "src_f[0,8] 0.02 7.8e-5 3.5e-3 8.2e-3 0.01 0.02 0.02 0.02 2000 1.0\n", "src_f[1,8] 0.05 2.5e-4 0.01 0.03 0.05 0.05 0.06 0.07 1720 1.0\n", "src_f[0,9] 6.0e-3 9.8e-5 4.4e-3 2.6e-4 2.4e-3 5.1e-3 8.7e-3 0.02 2000 1.0\n", "src_f[1,9] 0.02 3.2e-4 0.01 7.9e-4 7.7e-3 0.02 0.03 0.05 1757 1.0\n", "src_f[0,10] 4.7e-3 8.9e-5 4.0e-3 1.4e-4 1.6e-3 3.7e-3 7.0e-3 0.01 2000 1.0\n", "src_f[1,10] 10.0e-3 1.9e-4 8.5e-3 3.1e-4 3.3e-3 7.5e-3 0.01 0.03 2000 1.0\n", "src_f[0,11] 9.8e-3 9.7e-5 4.3e-3 1.7e-3 6.7e-3 9.8e-3 0.01 0.02 2000 1.0\n", "src_f[1,11] 0.02 2.4e-4 0.01 9.1e-4 8.7e-3 0.02 0.02 0.04 2000 1.0\n", "src_f[0,12] 7.0e-3 7.1e-5 3.2e-3 1.3e-3 4.8e-3 6.9e-3 9.2e-3 0.01 2000 1.0\n", "src_f[1,12] 6.0e-3 1.2e-4 5.2e-3 1.8e-4 2.0e-3 4.6e-3 8.5e-3 0.02 2000 1.0\n", "src_f[0,13] 5.1e-3 8.3e-5 3.7e-3 1.7e-4 2.0e-3 4.4e-3 7.5e-3 0.01 2000 1.0\n", "src_f[1,13] 0.01 2.0e-4 9.1e-3 3.0e-4 3.4e-3 8.4e-3 0.02 0.03 2000 1.0\n", "src_f[0,14] 4.6e-3 8.0e-5 3.6e-3 1.9e-4 1.8e-3 3.8e-3 6.7e-3 0.01 2000 1.0\n", "src_f[1,14] 0.01 2.0e-4 8.8e-3 3.5e-4 3.5e-3 7.9e-3 0.02 0.03 2000 1.0\n", "src_f[0,15] 5.1e-3 9.7e-5 3.6e-3 2.3e-4 2.2e-3 4.6e-3 7.6e-3 0.01 1344 1.0\n", "src_f[1,15] 0.01 2.5e-4 9.7e-3 4.2e-4 5.6e-3 0.01 0.02 0.04 1541 1.0\n", "src_f[0,16] 3.3e-3 6.3e-5 2.8e-3 1.0e-4 1.1e-3 2.6e-3 4.7e-3 0.01 2000 1.0\n", "src_f[1,16] 8.2e-3 1.6e-4 7.2e-3 3.0e-4 2.8e-3 6.2e-3 0.01 0.03 2000 1.0\n", "src_f[0,17] 3.6e-3 6.7e-5 3.0e-3 9.0e-5 1.2e-3 2.8e-3 5.2e-3 0.01 2000 1.0\n", "src_f[1,17] 8.0e-3 1.6e-4 7.0e-3 2.3e-4 2.7e-3 6.2e-3 0.01 0.03 2000 1.0\n", "src_f[0,18] 4.5e-3 7.6e-5 3.4e-3 2.4e-4 2.0e-3 3.8e-3 6.5e-3 0.01 2000 1.0\n", "src_f[1,18] 8.9e-3 1.7e-4 7.7e-3 3.1e-4 2.9e-3 6.8e-3 0.01 0.03 2000 1.0\n", "src_f[0,19] 3.2e-3 6.0e-5 2.7e-3 9.5e-5 1.1e-3 2.5e-3 4.6e-310.0e-3 2000 1.0\n", "src_f[1,19] 8.2e-3 1.6e-4 7.1e-3 3.5e-4 2.7e-3 6.1e-3 0.01 0.03 2000 1.0\n", "src_f[0,20] 2.9e-3 5.7e-5 2.5e-3 7.9e-5 9.8e-4 2.3e-3 4.2e-3 9.4e-3 2000 1.0\n", "src_f[1,20] 6.8e-3 1.4e-4 6.1e-3 1.5e-4 2.1e-3 5.1e-3 9.8e-3 0.02 2000 1.0\n", "src_f[0,21] 5.4e-3 8.5e-5 3.8e-3 2.5e-4 2.3e-3 4.8e-3 7.9e-3 0.01 2000 1.0\n", "src_f[1,21] 9.8e-3 1.8e-4 8.0e-3 3.0e-4 3.3e-3 7.9e-3 0.01 0.03 2000 1.0\n", "src_f[0,22] 2.8e-3 5.2e-5 2.3e-3 7.0e-5 9.7e-4 2.2e-3 4.0e-3 8.8e-3 2000 1.0\n", "src_f[1,22] 5.2e-3 1.1e-4 4.8e-3 1.5e-4 1.6e-3 3.8e-3 7.5e-3 0.02 2000 1.0\n", "src_f[0,23] 6.9e-3 7.3e-5 3.3e-3 1.0e-3 4.5e-3 6.7e-3 9.2e-3 0.01 2000 1.0\n", "src_f[1,23] 3.7e-3 7.9e-5 3.5e-3 7.9e-5 1.1e-3 2.7e-3 5.2e-3 0.01 2000 1.0\n", "src_f[0,24] 3.4e-3 6.0e-5 2.7e-3 1.2e-4 1.2e-3 2.8e-3 4.8e-3 9.9e-3 2000 1.0\n", "src_f[1,24] 0.01 2.2e-4 9.9e-3 7.2e-4 5.8e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,25] 5.9e-3 1.0e-4 3.6e-3 1.7e-4 3.3e-3 5.6e-3 8.4e-3 0.01 1170 1.0\n", "src_f[1,25] 5.9e-3 1.2e-4 5.2e-3 1.3e-4 1.9e-3 4.6e-3 8.4e-3 0.02 2000 1.0\n", "src_f[0,26] 3.9e-3 7.3e-5 3.3e-3 1.3e-4 1.3e-3 3.1e-3 5.8e-3 0.01 2000 1.0\n", "src_f[1,26] 8.2e-3 1.5e-4 6.8e-3 2.7e-4 2.9e-3 6.7e-3 0.01 0.03 2000 1.0\n", "src_f[0,27] 4.3e-3 6.5e-5 2.9e-3 3.0e-4 1.9e-3 3.9e-3 6.1e-3 0.01 2000 1.0\n", "src_f[1,27] 0.02 2.2e-4 0.01 1.2e-3 8.9e-3 0.02 0.02 0.04 2000 1.0\n", "src_f[0,28] 6.3e-3 7.7e-5 3.4e-3 7.0e-4 3.8e-3 6.1e-3 8.5e-3 0.01 2000 1.0\n", "src_f[1,28] 6.3e-3 1.2e-4 5.4e-3 1.8e-4 2.0e-3 4.8e-3 9.1e-3 0.02 2000 1.0\n", "src_f[0,29] 4.0e-3 6.4e-5 2.9e-3 1.5e-4 1.7e-3 3.5e-3 5.9e-3 0.01 2000 1.0\n", "src_f[1,29] 7.5e-3 1.4e-4 6.3e-3 2.6e-4 2.5e-3 5.7e-3 0.01 0.02 2000 1.0\n", "src_f[0,30] 9.5e-3 1.1e-4 5.0e-3 8.8e-4 5.5e-3 9.3e-3 0.01 0.02 2000 1.0\n", "src_f[1,30] 0.03 3.9e-4 0.02 1.9e-3 0.01 0.03 0.04 0.06 1608 1.0\n", "src_f[0,31] 0.01 9.1e-5 4.1e-3 2.2e-3 7.3e-3 0.01 0.01 0.02 2000 1.0\n", "src_f[1,31] 9.5e-3 1.6e-4 7.3e-3 4.0e-4 3.5e-3 8.0e-3 0.01 0.03 2000 1.0\n", "src_f[0,32] 6.3e-3 1.1e-4 4.3e-3 2.8e-4 2.8e-3 5.8e-3 9.2e-3 0.02 1608 1.0\n", "src_f[1,32] 0.02 3.5e-4 0.01 5.9e-4 8.8e-3 0.02 0.03 0.05 1650 1.0\n", "src_f[0,33] 4.3e-3 6.5e-5 2.9e-3 2.5e-4 2.0e-3 3.9e-3 6.2e-3 0.01 2000 1.0\n", "src_f[1,33] 6.3e-3 1.2e-4 5.5e-3 1.7e-4 1.9e-3 4.7e-3 9.2e-3 0.02 2000 1.0\n", "src_f[0,34] 3.4e-3 6.3e-5 2.8e-3 1.2e-4 1.1e-3 2.7e-3 5.1e-3 0.01 2000 1.0\n", "src_f[1,34] 6.7e-3 1.3e-4 5.6e-3 2.3e-4 2.3e-3 5.3e-3 9.4e-3 0.02 2000 1.0\n", "src_f[0,35] 3.7e-3 6.9e-5 3.1e-3 1.3e-4 1.3e-3 3.0e-3 5.5e-3 0.01 2000 1.0\n", "src_f[1,35] 7.4e-3 1.4e-4 6.3e-3 3.3e-4 2.5e-3 5.7e-3 0.01 0.02 2000 1.0\n", "src_f[0,36] 4.9e-3 7.5e-5 3.3e-3 2.4e-4 2.2e-3 4.2e-3 7.1e-3 0.01 2000 1.0\n", "src_f[1,36] 9.7e-3 1.6e-4 7.3e-3 3.5e-4 3.8e-3 8.2e-3 0.01 0.03 2000 1.0\n", "src_f[0,37] 5.8e-3 8.4e-5 3.8e-3 3.4e-4 2.8e-3 5.3e-3 8.1e-3 0.01 2000 1.0\n", "src_f[1,37] 0.01 2.3e-4 0.01 4.3e-4 5.7e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,38] 3.2e-3 5.8e-5 2.6e-3 1.2e-4 1.2e-3 2.7e-3 4.7e-3 9.7e-3 2000 1.0\n", "src_f[1,38] 6.7e-3 1.3e-4 5.7e-3 2.4e-4 2.4e-3 5.1e-3 9.6e-3 0.02 2000 1.0\n", "src_f[0,39] 4.4e-3 8.0e-5 3.6e-3 1.9e-4 1.7e-3 3.5e-3 6.3e-3 0.01 2000 1.0\n", "src_f[1,39] 8.5e-3 1.7e-4 7.5e-3 2.8e-4 2.7e-3 6.6e-3 0.01 0.03 2000 1.0\n", "src_f[0,40] 4.9e-3 7.7e-5 3.5e-3 2.4e-4 2.1e-3 4.3e-3 7.2e-3 0.01 2000 1.0\n", "src_f[1,40] 7.8e-3 1.5e-4 6.5e-3 2.2e-4 2.7e-3 5.9e-3 0.01 0.02 2000 1.0\n", "src_f[0,41] 3.8e-3 6.6e-5 2.9e-3 1.7e-4 1.5e-3 3.2e-3 5.5e-3 0.01 2000 1.0\n", "src_f[1,41] 0.01 2.2e-4 0.01 4.2e-4 4.7e-310.0e-3 0.02 0.04 2000 1.0\n", "src_f[0,42] 4.2e-3 7.5e-5 3.4e-3 1.1e-4 1.5e-3 3.4e-3 6.2e-3 0.01 2000 1.0\n", "src_f[1,42] 0.01 2.5e-4 0.01 7.6e-4 6.0e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,43] 4.7e-3 7.7e-5 3.5e-3 1.6e-4 1.9e-3 4.1e-3 7.0e-3 0.01 2000 1.0\n", "src_f[1,43] 8.8e-3 1.7e-4 7.4e-3 2.3e-4 3.0e-3 6.8e-3 0.01 0.03 2000 1.0\n", "src_f[0,44] 3.6e-3 6.3e-5 2.8e-3 1.5e-4 1.3e-3 3.0e-3 5.3e-3 0.01 2000 1.0\n", "src_f[1,44] 6.7e-3 1.3e-4 5.7e-3 2.3e-4 2.3e-3 5.2e-3 9.8e-3 0.02 2000 1.0\n", "src_f[0,45] 2.4e-3 4.7e-5 2.1e-3 7.0e-5 8.3e-4 1.9e-3 3.5e-3 8.0e-3 2000 1.0\n", "src_f[1,45] 5.8e-3 1.1e-4 5.1e-3 1.6e-4 2.0e-3 4.5e-3 8.4e-3 0.02 2000 1.0\n", "src_f[0,46] 5.9e-3 8.8e-5 3.9e-3 1.8e-4 2.8e-3 5.5e-3 8.5e-3 0.01 2000 1.0\n", "src_f[1,46] 8.3e-3 1.5e-4 6.7e-3 2.6e-4 3.1e-3 6.9e-3 0.01 0.02 2000 1.0\n", "src_f[0,47] 2.6e-3 5.0e-5 2.2e-3 6.5e-5 9.1e-4 2.0e-3 3.8e-3 8.1e-3 2000 1.0\n", "src_f[1,47] 6.7e-3 1.3e-4 6.0e-3 2.3e-4 2.0e-3 5.2e-3 9.8e-3 0.02 2000 1.0\n", "src_f[0,48] 3.6e-3 6.3e-5 2.8e-3 1.3e-4 1.3e-3 3.0e-3 5.3e-3 0.01 2000 1.0\n", "src_f[1,48] 7.3e-3 1.3e-4 5.8e-3 2.7e-4 2.6e-3 5.9e-3 0.01 0.02 2000 1.0\n", "src_f[0,49] 5.0e-3 8.4e-5 3.8e-3 2.0e-4 1.9e-3 4.4e-3 7.4e-3 0.01 2000 1.0\n", "src_f[1,49] 9.1e-3 1.7e-4 7.4e-3 2.8e-4 3.3e-3 7.3e-3 0.01 0.03 2000 1.0\n", "src_f[0,50] 5.7e-3 7.8e-5 3.5e-3 4.4e-4 2.9e-3 5.4e-3 8.0e-3 0.01 2000 1.0\n", "src_f[1,50] 8.5e-3 1.5e-4 6.7e-3 3.5e-4 3.1e-3 7.0e-3 0.01 0.02 2000 1.0\n", "src_f[0,51] 0.01 1.0e-4 4.6e-3 3.0e-3 8.3e-3 0.01 0.01 0.02 2000 1.0\n", "src_f[1,51] 0.01 2.1e-4 9.3e-3 4.2e-4 5.4e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,52] 3.4e-3 6.3e-5 2.8e-3 8.8e-5 1.2e-3 2.7e-3 4.9e-3 0.01 2000 1.0\n", "src_f[1,52] 9.9e-3 1.8e-4 7.9e-3 5.0e-4 3.7e-3 8.0e-3 0.01 0.03 2000 1.0\n", "src_f[0,53] 3.3e-3 6.3e-5 2.8e-3 1.2e-4 1.2e-3 2.6e-3 4.8e-3 0.01 2000 1.0\n", "src_f[1,53] 7.2e-3 1.4e-4 6.4e-3 3.0e-4 2.2e-3 5.3e-3 0.01 0.02 2000 1.0\n", "src_f[0,54] 4.4e-3 7.4e-5 3.3e-3 2.0e-4 1.8e-3 3.6e-3 6.4e-3 0.01 2000 1.0\n", "src_f[1,54] 0.01 1.9e-4 8.5e-3 5.3e-4 5.4e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,55] 3.4e-3 5.9e-5 2.6e-3 1.2e-4 1.3e-3 2.8e-3 4.9e-3 9.6e-3 2000 1.0\n", "src_f[1,55] 7.3e-3 1.3e-4 6.0e-3 2.9e-4 2.6e-3 5.8e-3 0.01 0.02 2000 1.0\n", "src_f[0,56] 5.2e-3 7.0e-5 3.2e-3 4.0e-4 2.7e-3 4.9e-3 7.3e-3 0.01 2000 1.0\n", "src_f[1,56] 0.01 1.9e-4 8.3e-3 8.7e-4 6.3e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,57] 0.01 1.1e-4 4.4e-3 3.0e-3 9.0e-3 0.01 0.01 0.02 1515 1.0\n", "src_f[1,57] 0.01 2.0e-4 8.8e-3 3.9e-4 4.5e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,58] 3.2e-3 5.6e-5 2.5e-3 1.1e-4 1.2e-3 2.6e-3 4.6e-3 9.4e-3 2000 1.0\n", "src_f[1,58] 0.01 1.9e-4 8.7e-3 3.7e-4 4.2e-3 8.9e-3 0.02 0.03 2000 1.0\n", "src_f[0,59] 5.1e-3 7.3e-5 3.3e-3 4.2e-4 2.4e-3 4.7e-3 7.3e-3 0.01 2000 1.0\n", "src_f[1,59] 0.01 2.2e-410.0e-3 8.1e-4 6.3e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,60] 2.4e-3 4.5e-5 2.0e-3 8.6e-5 7.9e-4 1.8e-3 3.5e-3 7.2e-3 2000 1.0\n", "src_f[1,60] 4.8e-3 9.7e-5 4.3e-3 1.5e-4 1.4e-3 3.6e-3 6.7e-3 0.02 2000 1.0\n", "src_f[0,61] 2.8e-3 5.4e-5 2.4e-3 8.2e-5 9.4e-4 2.1e-3 4.0e-3 8.9e-3 2000 1.0\n", "src_f[1,61] 9.8e-3 1.8e-4 7.8e-3 3.8e-4 3.6e-3 7.8e-3 0.01 0.03 2000 1.0\n", "src_f[0,62] 7.7e-3 9.8e-5 3.9e-3 8.3e-4 4.9e-3 7.6e-3 0.01 0.02 1614 1.0\n", "src_f[1,62] 6.3e-3 1.2e-4 5.6e-3 1.7e-4 1.9e-3 4.7e-3 8.9e-3 0.02 2000 1.0\n", "src_f[0,63] 2.3e-3 4.6e-5 2.1e-3 6.0e-5 7.2e-4 1.7e-3 3.4e-3 7.5e-3 2000 1.0\n", "src_f[1,63] 4.8e-3 9.6e-5 4.3e-3 1.6e-4 1.5e-3 3.6e-3 6.8e-3 0.02 2000 1.0\n", "src_f[0,64] 3.2e-3 6.0e-5 2.7e-3 8.9e-5 1.1e-3 2.4e-3 4.5e-3 0.01 2000 1.0\n", "src_f[1,64] 8.5e-3 1.6e-4 7.2e-3 2.7e-4 2.9e-3 6.6e-3 0.01 0.03 2000 1.0\n", "src_f[0,65] 4.5e-3 7.3e-5 3.3e-3 1.9e-4 1.9e-3 4.0e-3 6.5e-3 0.01 2000 1.0\n", "src_f[1,65] 7.7e-3 1.4e-4 6.4e-3 2.7e-4 2.8e-3 6.2e-3 0.01 0.02 2000 1.0\n", "src_f[0,66] 4.4e-3 7.3e-5 3.2e-3 1.8e-4 1.7e-3 3.8e-3 6.3e-3 0.01 2000 1.0\n", "src_f[1,66] 0.01 2.0e-4 8.9e-3 3.7e-4 3.8e-3 8.9e-3 0.02 0.03 2000 1.0\n", "src_f[0,67] 2.7e-3 4.9e-5 2.2e-3 7.1e-510.0e-4 2.2e-3 3.8e-3 8.3e-3 2000 1.0\n", "src_f[1,67] 4.2e-3 8.8e-5 3.9e-3 1.3e-4 1.2e-3 3.2e-3 6.0e-3 0.01 2000 1.0\n", "src_f[0,68] 3.2e-3 6.0e-5 2.7e-310.0e-5 1.0e-3 2.5e-3 4.5e-3 9.9e-3 2000 1.0\n", "src_f[1,68] 9.3e-3 1.7e-4 7.6e-3 3.8e-4 3.3e-3 7.4e-3 0.01 0.03 2000 1.0\n", "src_f[0,69] 3.4e-3 5.9e-5 2.6e-3 1.6e-4 1.3e-3 2.8e-3 5.0e-3 9.9e-3 2000 1.0\n", "src_f[1,69] 7.0e-3 1.3e-4 5.9e-3 1.8e-4 2.3e-3 5.5e-3 0.01 0.02 2000 1.0\n", "src_f[0,70] 3.3e-3 6.0e-5 2.7e-3 9.9e-5 1.2e-3 2.7e-3 4.8e-3 9.9e-3 2000 1.0\n", "src_f[1,70] 5.1e-3 1.1e-4 4.8e-3 1.0e-4 1.5e-3 3.7e-3 7.2e-3 0.02 2000 1.0\n", "src_f[0,71] 3.8e-3 6.5e-5 2.9e-3 1.8e-4 1.5e-3 3.1e-3 5.5e-3 0.01 2000 1.0\n", "src_f[1,71] 4.3e-3 8.9e-5 4.0e-3 1.2e-4 1.4e-3 3.2e-3 6.0e-3 0.01 2000 1.0\n", "src_f[0,72] 2.6e-3 5.1e-5 2.3e-3 9.5e-5 8.0e-4 1.9e-3 3.8e-3 8.3e-3 2000 1.0\n", "src_f[1,72] 7.2e-3 1.3e-4 5.9e-3 3.0e-4 2.5e-3 5.7e-3 0.01 0.02 2000 1.0\n", "src_f[0,73] 4.3e-3 6.8e-5 3.0e-3 2.0e-4 1.9e-3 3.8e-3 6.4e-3 0.01 2000 1.0\n", "src_f[1,73] 7.8e-3 1.4e-4 6.4e-3 1.9e-4 2.8e-3 6.4e-3 0.01 0.02 2000 1.0\n", "src_f[0,74] 4.4e-3 6.6e-5 3.0e-3 2.6e-4 2.1e-3 4.1e-3 6.2e-3 0.01 2000 1.0\n", "src_f[1,74] 7.6e-3 1.5e-4 6.5e-3 2.6e-4 2.6e-3 5.9e-3 0.01 0.02 2000 1.0\n", "src_f[0,75] 5.9e-3 8.5e-5 3.8e-3 3.4e-4 2.8e-3 5.3e-3 8.4e-3 0.01 2000 1.0\n", "src_f[1,75] 0.01 2.1e-4 9.3e-3 3.5e-4 4.7e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,76] 5.0e-3 7.5e-5 3.3e-3 2.6e-4 2.3e-3 4.5e-3 7.1e-3 0.01 2000 1.0\n", "src_f[1,76] 5.6e-3 1.1e-4 4.9e-3 1.9e-4 1.8e-3 4.3e-3 7.9e-3 0.02 2000 1.0\n", "src_f[0,77] 4.7e-3 7.4e-5 3.3e-3 2.0e-4 2.1e-3 4.2e-3 6.9e-3 0.01 2000 1.0\n", "src_f[1,77] 0.01 1.9e-4 8.5e-3 4.1e-4 4.1e-3 9.2e-3 0.02 0.03 2000 1.0\n", "src_f[0,78] 2.7e-3 5.1e-5 2.3e-3 1.2e-4 9.3e-4 2.2e-3 3.9e-3 8.2e-3 2000 1.0\n", "src_f[1,78] 4.2e-3 8.9e-5 4.0e-3 7.3e-5 1.2e-3 3.1e-3 6.0e-3 0.01 2000 1.0\n", "src_f[0,79] 6.4e-3 9.3e-5 4.1e-3 2.9e-4 3.1e-3 5.8e-3 9.2e-3 0.02 2000 1.0\n", "src_f[1,79] 0.01 2.1e-4 9.3e-3 4.9e-4 5.1e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,80] 3.5e-3 6.1e-5 2.7e-3 1.2e-4 1.2e-3 2.8e-3 5.1e-3 0.01 2000 1.0\n", "src_f[1,80] 5.5e-3 1.1e-4 5.0e-3 1.2e-4 1.6e-3 4.1e-3 7.9e-3 0.02 2000 1.0\n", "src_f[0,81] 6.1e-3 8.1e-5 3.6e-3 4.5e-4 3.2e-3 5.9e-3 8.6e-3 0.01 2000 1.0\n", "src_f[1,81] 6.4e-3 1.3e-4 5.7e-3 2.4e-4 2.1e-3 4.8e-3 9.5e-3 0.02 2000 1.0\n", "src_f[0,82] 4.7e-3 7.3e-5 3.3e-3 2.5e-4 2.0e-3 4.2e-3 6.8e-3 0.01 2000 1.0\n", "src_f[1,82] 8.0e-3 1.5e-4 6.7e-3 2.9e-4 2.8e-3 6.4e-3 0.01 0.02 2000 1.0\n", "src_f[0,83] 3.9e-3 6.3e-5 2.8e-3 2.5e-4 1.7e-3 3.5e-3 5.7e-3 0.01 2000 1.0\n", "src_f[1,83] 7.5e-3 1.4e-4 6.2e-3 2.6e-4 2.6e-3 5.9e-3 0.01 0.02 2000 1.0\n", "src_f[0,84] 7.3e-3 1.1e-4 4.9e-3 3.7e-4 3.3e-3 6.7e-3 0.01 0.02 2000 1.0\n", "src_f[1,84] 0.02 2.7e-4 0.01 7.0e-4 8.5e-3 0.02 0.03 0.05 2000 1.0\n", "src_f[0,85] 3.0e-3 5.5e-5 2.4e-3 1.1e-4 1.1e-3 2.4e-3 4.2e-3 8.8e-3 2000 1.0\n", "src_f[1,85] 6.2e-3 1.2e-4 5.4e-3 1.6e-4 2.0e-3 4.7e-3 8.8e-3 0.02 2000 1.0\n", "src_f[0,86] 5.7e-3 9.5e-5 4.2e-3 2.3e-4 2.3e-3 4.8e-3 8.3e-3 0.02 2000 1.0\n", "src_f[1,86] 0.02 2.5e-4 0.01 6.8e-4 5.7e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,87] 4.4e-3 6.7e-5 3.0e-3 1.9e-4 2.0e-3 4.0e-3 6.2e-3 0.01 2000 1.0\n", "src_f[1,87] 4.5e-3 9.2e-5 4.1e-3 1.0e-4 1.4e-3 3.3e-3 6.4e-3 0.02 2000 1.0\n", "src_f[0,88] 4.1e-3 6.7e-5 3.0e-3 1.6e-4 1.6e-3 3.5e-3 5.9e-3 0.01 2000 1.0\n", "src_f[1,88] 5.7e-3 1.1e-4 5.0e-3 2.3e-4 2.0e-3 4.3e-3 8.2e-3 0.02 2000 1.0\n", "src_f[0,89] 4.4e-3 7.1e-5 3.2e-3 1.7e-4 1.8e-3 3.9e-3 6.5e-3 0.01 2000 1.0\n", "src_f[1,89] 9.1e-3 1.6e-4 7.4e-3 2.8e-4 3.5e-3 7.5e-3 0.01 0.03 2000 1.0\n", "src_f[0,90] 5.9e-3 9.0e-5 4.0e-3 2.8e-4 2.6e-3 5.4e-3 8.5e-3 0.01 2000 1.0\n", "src_f[1,90] 9.1e-3 1.7e-4 7.7e-3 2.9e-4 3.1e-3 7.2e-3 0.01 0.03 2000 1.0\n", "src_f[0,91] 3.6e-3 6.1e-5 2.7e-3 1.3e-4 1.5e-3 3.1e-3 5.2e-3 0.01 2000 1.0\n", "src_f[1,91] 5.9e-3 1.2e-4 5.3e-3 1.4e-4 1.9e-3 4.4e-3 8.5e-3 0.02 2000 1.0\n", "src_f[0,92] 2.7e-3 5.1e-5 2.3e-3 7.2e-5 9.0e-4 2.2e-3 3.9e-3 8.3e-3 2000 1.0\n", "src_f[1,92] 5.3e-3 1.1e-4 4.7e-3 1.2e-4 1.7e-3 4.0e-3 7.7e-3 0.02 2000 1.0\n", "src_f[0,93] 3.9e-3 6.7e-5 3.0e-3 9.9e-5 1.5e-3 3.3e-3 5.8e-3 0.01 2000 1.0\n", "src_f[1,93] 5.3e-3 1.0e-4 4.7e-3 2.1e-4 1.9e-3 4.1e-3 7.5e-3 0.02 2000 1.0\n", "src_f[0,94] 0.01 1.3e-4 4.5e-3 2.3e-3 9.1e-3 0.01 0.02 0.02 1170 1.01\n", "src_f[1,94] 0.01 2.0e-4 8.9e-3 5.9e-4 6.3e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,95] 4.2e-3 9.7e-5 3.4e-3 1.2e-4 1.6e-3 3.4e-3 6.1e-3 0.01 1205 1.0\n", "src_f[1,95] 9.6e-3 1.7e-4 7.7e-3 3.6e-4 3.7e-3 7.8e-3 0.01 0.03 2000 1.0\n", "src_f[0,96] 2.8e-3 5.1e-5 2.3e-3 1.1e-4 9.7e-4 2.1e-3 4.1e-3 8.4e-3 2000 1.0\n", "src_f[1,96] 4.8e-3 9.6e-5 4.3e-3 1.4e-4 1.6e-3 3.6e-3 6.8e-3 0.02 2000 1.0\n", "src_f[0,97] 5.8e-3 9.0e-5 4.0e-3 3.4e-4 2.4e-3 5.1e-3 8.4e-3 0.02 2000 1.0\n", "src_f[1,97] 0.02 2.5e-4 0.01 6.8e-4 6.4e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,98] 2.6e-3 4.9e-5 2.2e-3 7.7e-5 8.8e-4 2.0e-3 3.7e-3 8.2e-3 2000 1.0\n", "src_f[1,98] 5.8e-3 1.2e-4 5.2e-3 1.7e-4 1.8e-3 4.4e-3 8.4e-3 0.02 2000 1.0\n", "src_f[0,99] 8.8e-3 1.1e-4 4.8e-3 8.3e-4 5.2e-3 8.4e-3 0.01 0.02 2000 1.0\n", "src_f[1,99] 0.03 3.1e-4 0.01 5.3e-3 0.02 0.03 0.04 0.06 2000 1.0\n", "src_f[0,100] 6.7e-3 8.9e-5 4.0e-3 2.5e-4 3.5e-3 6.4e-3 9.5e-3 0.02 2000 1.0\n", "src_f[1,100] 6.6e-3 1.3e-4 5.7e-3 2.1e-4 2.2e-3 5.1e-3 9.8e-3 0.02 2000 1.0\n", "src_f[0,101] 3.3e-3 5.9e-5 2.6e-3 1.0e-4 1.2e-3 2.7e-3 4.8e-3 0.01 2000 1.0\n", "src_f[1,101] 5.7e-3 1.2e-4 5.2e-3 1.1e-4 1.6e-3 4.1e-3 8.1e-3 0.02 2000 1.0\n", "src_f[0,102] 5.8e-3 8.1e-5 3.6e-3 2.9e-4 3.0e-3 5.3e-3 8.1e-3 0.01 2000 1.0\n", "src_f[1,102] 9.5e-3 1.7e-4 7.5e-3 2.6e-4 3.5e-3 7.8e-3 0.01 0.03 2000 1.0\n", "src_f[0,103] 3.0e-3 5.5e-5 2.5e-3 8.8e-5 1.1e-3 2.4e-3 4.3e-3 9.2e-3 2000 1.0\n", "src_f[1,103] 4.7e-3 9.6e-5 4.3e-3 1.4e-4 1.4e-3 3.4e-3 6.8e-3 0.02 2000 1.0\n", "src_f[0,104] 4.1e-3 6.3e-5 2.8e-3 2.4e-4 1.9e-3 3.7e-3 5.8e-3 0.01 2000 1.0\n", "src_f[1,104] 8.8e-3 1.6e-4 7.1e-3 2.9e-4 3.2e-3 7.0e-3 0.01 0.03 2000 1.0\n", "src_f[0,105] 4.4e-3 7.1e-5 3.2e-3 2.5e-4 1.8e-3 3.9e-3 6.4e-3 0.01 2000 1.0\n", "src_f[1,105] 6.8e-3 1.3e-4 5.8e-3 2.4e-4 2.3e-3 5.1e-310.0e-3 0.02 2000 1.0\n", "src_f[0,106] 1.9e-3 3.8e-5 1.7e-3 5.7e-5 5.8e-4 1.3e-3 2.7e-3 6.4e-3 2000 1.0\n", "src_f[1,106] 5.3e-3 1.1e-4 4.9e-3 1.2e-4 1.7e-3 4.0e-3 7.6e-3 0.02 2000 1.0\n", "src_f[0,107] 4.9e-3 7.5e-5 3.3e-3 2.4e-4 2.2e-3 4.5e-3 7.1e-3 0.01 2000 1.0\n", "src_f[1,107] 8.6e-3 1.7e-4 7.6e-3 3.1e-4 2.7e-3 6.5e-3 0.01 0.03 2000 1.0\n", "src_f[0,108] 0.01 9.1e-5 3.6e-3 4.7e-3 9.0e-3 0.01 0.01 0.02 1516 1.0\n", "src_f[1,108] 0.02 2.4e-4 9.7e-3 3.1e-3 0.01 0.02 0.03 0.04 1683 1.0\n", "src_f[0,109] 2.5e-3 4.8e-5 2.2e-3 8.1e-5 8.8e-4 2.0e-3 3.5e-3 8.1e-3 2000 1.0\n", "src_f[1,109] 4.0e-3 8.2e-5 3.7e-3 1.6e-4 1.3e-3 3.0e-3 5.5e-3 0.01 2000 1.0\n", "src_f[0,110] 1.7e-3 3.5e-5 1.6e-3 4.6e-5 5.4e-4 1.3e-3 2.5e-3 5.6e-3 2000 1.0\n", "src_f[1,110] 6.7e-3 1.3e-4 5.8e-3 2.2e-4 2.4e-3 5.2e-3 9.5e-3 0.02 2000 1.0\n", "src_f[0,111] 2.7e-3 5.1e-5 2.3e-3 8.3e-5 9.0e-4 2.1e-3 3.8e-3 8.3e-3 2000 1.0\n", "src_f[1,111] 8.6e-3 1.6e-4 7.3e-3 2.2e-4 2.7e-3 6.5e-3 0.01 0.03 2000 1.0\n", "src_f[0,112] 5.4e-3 8.4e-5 3.7e-3 2.5e-4 2.4e-3 4.9e-3 7.9e-3 0.01 2000 1.0\n", "src_f[1,112] 9.8e-3 1.7e-4 7.7e-3 4.1e-4 3.7e-3 8.1e-3 0.01 0.03 2000 1.0\n", "src_f[0,113] 5.8e-3 8.4e-5 3.8e-3 4.2e-4 2.7e-3 5.3e-3 8.3e-3 0.01 2000 1.0\n", "src_f[1,113] 0.01 1.7e-4 7.8e-3 4.1e-4 3.8e-3 8.4e-3 0.01 0.03 2000 1.0\n", "src_f[0,114] 1.7e-3 3.5e-5 1.6e-3 6.9e-5 5.7e-4 1.2e-3 2.5e-3 6.0e-3 2000 1.0\n", "src_f[1,114] 7.1e-3 1.4e-4 6.2e-3 2.4e-4 2.3e-3 5.4e-3 0.01 0.02 2000 1.0\n", "src_f[0,115] 2.9e-3 5.1e-5 2.3e-3 1.5e-4 1.1e-3 2.3e-3 4.1e-3 8.5e-3 2000 1.0\n", "src_f[1,115] 4.7e-3 9.0e-5 4.0e-3 2.0e-4 1.7e-3 3.6e-3 6.5e-3 0.02 2000 1.0\n", "src_f[0,116] 0.01 1.1e-4 4.9e-3 2.1e-3 8.4e-3 0.01 0.02 0.02 2000 1.0\n", "src_f[1,116] 0.02 2.2e-4 0.01 9.6e-4 7.2e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,117] 2.4e-3 4.6e-5 2.1e-3 8.0e-5 8.0e-4 1.8e-3 3.5e-3 7.8e-3 2000 1.0\n", "src_f[1,117] 4.6e-3 9.1e-5 4.1e-3 1.7e-4 1.6e-3 3.5e-3 6.5e-3 0.02 2000 1.0\n", "src_f[0,118] 2.4e-3 4.9e-5 2.2e-3 5.9e-5 7.6e-4 1.8e-3 3.4e-3 8.2e-3 2000 1.0\n", "src_f[1,118] 4.5e-3 8.7e-5 3.9e-3 1.4e-4 1.5e-3 3.5e-3 6.3e-3 0.01 2000 1.0\n", "src_f[0,119] 3.3e-3 6.0e-5 2.7e-3 1.4e-4 1.2e-3 2.6e-3 4.8e-3 9.9e-3 2000 1.0\n", "src_f[1,119] 9.0e-3 1.6e-4 7.2e-3 3.6e-4 3.1e-3 7.5e-3 0.01 0.03 2000 1.0\n", "src_f[0,120] 4.3e-3 7.0e-5 3.1e-3 1.6e-4 1.7e-3 3.8e-3 6.3e-3 0.01 2000 1.0\n", "src_f[1,120] 6.7e-3 1.2e-4 5.5e-3 2.3e-4 2.3e-3 5.4e-3 9.5e-3 0.02 2000 1.0\n", "src_f[0,121] 1.8e-3 3.5e-5 1.6e-3 5.0e-5 6.3e-4 1.4e-3 2.6e-3 6.0e-3 2000 1.0\n", "src_f[1,121] 6.7e-3 1.4e-4 6.1e-3 1.8e-4 2.0e-3 5.0e-3 9.8e-3 0.02 2000 1.0\n", "src_f[0,122] 3.0e-3 5.5e-5 2.4e-3 1.0e-4 1.1e-3 2.3e-3 4.3e-3 9.2e-3 2000 1.0\n", "src_f[1,122] 7.4e-3 1.4e-4 6.2e-3 2.4e-4 2.7e-3 5.8e-3 0.01 0.02 2000 1.0\n", "src_f[0,123] 2.6e-3 4.8e-5 2.1e-3 1.0e-4 9.7e-4 2.1e-3 3.7e-3 8.0e-3 2000 1.0\n", "src_f[1,123] 4.9e-3 1.0e-4 4.5e-3 1.7e-4 1.6e-3 3.6e-3 6.9e-3 0.02 2000 1.0\n", "src_f[0,124] 3.5e-3 6.8e-5 3.0e-3 8.6e-5 1.1e-3 2.6e-3 5.1e-3 0.01 2000 1.0\n", "src_f[1,124] 6.2e-3 1.2e-4 5.5e-3 2.0e-4 2.0e-3 4.6e-3 8.9e-3 0.02 2000 1.0\n", "src_f[0,125] 7.3e-3 1.0e-4 4.5e-3 4.7e-4 3.5e-3 7.1e-3 0.01 0.02 2000 1.0\n", "src_f[1,125] 0.01 2.2e-4 9.9e-3 5.8e-4 4.8e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,126] 3.0e-3 5.4e-5 2.4e-3 1.3e-4 1.1e-3 2.5e-3 4.4e-3 8.8e-3 2000 1.0\n", "src_f[1,126] 9.5e-3 1.8e-4 7.8e-3 3.1e-4 3.2e-3 7.6e-3 0.01 0.03 2000 1.0\n", "src_f[0,127] 3.1e-3 5.9e-5 2.6e-3 9.9e-5 9.7e-4 2.4e-3 4.5e-3 9.7e-3 2000 1.0\n", "src_f[1,127] 5.4e-3 1.0e-4 4.6e-3 2.1e-4 1.9e-3 4.1e-3 7.8e-3 0.02 2000 1.0\n", "src_f[0,128] 4.1e-3 6.9e-5 3.1e-3 1.7e-4 1.6e-3 3.5e-3 6.0e-3 0.01 2000 1.0\n", "src_f[1,128] 7.0e-3 1.4e-4 6.2e-3 2.1e-4 2.3e-3 5.3e-3 0.01 0.02 2000 1.0\n", "src_f[0,129] 2.2e-3 4.6e-5 2.0e-3 5.7e-5 6.5e-4 1.6e-3 3.2e-3 7.5e-3 2000 1.0\n", "src_f[1,129] 0.01 2.1e-4 9.4e-3 4.6e-4 4.3e-3 9.2e-3 0.02 0.04 2000 1.0\n", "src_f[0,130] 4.5e-3 8.0e-5 3.6e-3 1.8e-4 1.5e-3 3.6e-3 6.6e-3 0.01 2000 1.0\n", "src_f[1,130] 0.01 2.3e-4 0.01 6.2e-4 5.1e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,131] 1.6e-3 3.3e-5 1.5e-3 4.4e-5 5.0e-4 1.1e-3 2.2e-3 5.5e-3 2000 1.0\n", "src_f[1,131] 9.2e-3 1.8e-4 7.8e-3 3.5e-4 3.0e-3 7.2e-3 0.01 0.03 2000 1.0\n", "src_f[0,132] 3.5e-3 7.0e-5 3.1e-3 7.7e-5 1.1e-3 2.7e-3 5.1e-3 0.01 2000 1.0\n", "src_f[1,132] 6.6e-3 1.4e-4 6.2e-3 2.0e-4 1.9e-3 4.8e-3 9.3e-3 0.02 2000 1.0\n", "src_f[0,133] 2.1e-3 4.2e-5 1.9e-3 7.0e-5 7.5e-4 1.6e-3 3.0e-3 7.0e-3 2000 1.0\n", "src_f[1,133] 6.1e-3 1.3e-4 5.6e-3 1.8e-4 1.8e-3 4.4e-3 9.0e-3 0.02 2000 1.0\n", "src_f[0,134] 5.9e-3 8.2e-5 3.7e-3 4.6e-4 3.0e-3 5.5e-3 8.2e-3 0.01 2000 1.0\n", "src_f[1,134] 5.5e-3 1.1e-4 4.9e-3 1.6e-4 1.7e-3 4.1e-3 7.9e-3 0.02 2000 1.0\n", "src_f[0,135] 6.0e-3 8.4e-5 3.8e-3 3.8e-4 3.0e-3 5.5e-3 8.5e-3 0.01 2000 1.0\n", "src_f[1,135] 0.02 2.5e-4 0.01 7.4e-4 7.1e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,136] 3.0e-3 5.9e-5 2.7e-3 8.2e-5 9.4e-4 2.2e-3 4.2e-3 9.7e-3 2000 1.0\n", "src_f[1,136] 5.8e-3 1.2e-4 5.2e-3 1.8e-4 1.9e-3 4.4e-3 8.0e-3 0.02 2000 1.0\n", "src_f[0,137] 1.6e-3 3.0e-5 1.4e-3 4.1e-5 5.2e-4 1.2e-3 2.2e-3 5.0e-3 2000 1.0\n", "src_f[1,137] 7.4e-3 1.4e-4 6.4e-3 1.9e-4 2.4e-3 5.6e-3 0.01 0.02 2000 1.0\n", "src_f[0,138] 0.01 8.0e-5 3.6e-3 5.7e-3 0.01 0.01 0.02 0.02 2000 1.0\n", "src_f[1,138] 0.02 2.3e-4 0.01 2.5e-3 0.01 0.02 0.03 0.04 2000 1.0\n", "src_f[0,139] 4.9e-3 8.2e-5 3.7e-3 1.8e-4 2.0e-3 4.2e-3 7.1e-3 0.01 2000 1.0\n", "src_f[1,139] 6.0e-3 1.2e-4 5.2e-3 2.3e-4 2.0e-3 4.7e-3 8.6e-3 0.02 2000 1.0\n", "src_f[0,140] 4.1e-3 7.1e-5 3.2e-3 1.9e-4 1.5e-3 3.3e-3 5.8e-3 0.01 2000 1.0\n", "src_f[1,140] 8.9e-3 1.7e-4 7.4e-3 2.5e-4 3.1e-3 7.0e-3 0.01 0.03 2000 1.0\n", "src_f[0,141] 4.3e-3 6.8e-5 3.0e-3 1.9e-4 1.9e-3 3.9e-3 6.2e-3 0.01 2000 1.0\n", "src_f[1,141] 5.9e-3 1.2e-4 5.4e-3 2.1e-4 1.9e-3 4.3e-3 8.2e-3 0.02 2000 1.0\n", "src_f[0,142] 5.4e-3 7.6e-5 3.4e-3 3.5e-4 2.7e-3 5.0e-3 7.8e-3 0.01 2000 1.0\n", "src_f[1,142] 0.01 2.0e-4 8.8e-3 8.4e-4 5.6e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,143] 2.7e-3 5.1e-5 2.3e-3 9.2e-5 9.5e-4 2.1e-3 3.9e-3 8.5e-3 2000 1.0\n", "src_f[1,143] 6.1e-3 1.2e-4 5.6e-3 1.6e-4 1.9e-3 4.5e-3 8.8e-3 0.02 2000 1.0\n", "src_f[0,144] 1.6e-3 3.3e-5 1.5e-3 3.7e-5 4.9e-4 1.2e-3 2.3e-3 5.5e-3 2000 1.0\n", "src_f[1,144] 8.8e-3 1.7e-4 7.7e-3 2.3e-4 2.9e-3 6.8e-3 0.01 0.03 2000 1.0\n", "src_f[0,145] 3.3e-3 6.0e-5 2.7e-3 1.4e-4 1.1e-3 2.5e-3 4.6e-3 0.01 2000 1.0\n", "src_f[1,145] 6.1e-3 1.2e-4 5.5e-3 1.7e-4 2.0e-3 4.6e-3 8.8e-3 0.02 2000 1.0\n", "src_f[0,146] 3.4e-3 6.5e-5 2.9e-3 9.9e-5 1.1e-3 2.7e-3 4.9e-3 0.01 2000 1.0\n", "src_f[1,146] 5.7e-3 1.2e-4 5.2e-3 1.4e-4 1.7e-3 4.3e-3 8.2e-3 0.02 2000 1.0\n", "src_f[0,147] 4.3e-3 7.0e-5 3.1e-3 1.5e-4 1.8e-3 3.7e-3 6.2e-3 0.01 2000 1.0\n", "src_f[1,147] 6.7e-3 1.3e-4 5.9e-3 1.8e-4 2.3e-3 5.2e-3 9.5e-3 0.02 2000 1.0\n", "src_f[0,148] 3.5e-3 6.3e-5 2.8e-3 1.4e-4 1.2e-3 2.8e-3 5.2e-3 0.01 2000 1.0\n", "src_f[1,148] 6.0e-3 1.2e-4 5.3e-3 2.1e-4 1.9e-3 4.6e-3 8.7e-3 0.02 2000 1.0\n", "src_f[0,149] 3.8e-3 6.7e-5 3.0e-3 1.2e-4 1.4e-3 3.2e-3 5.5e-3 0.01 2000 1.0\n", "src_f[1,149] 6.6e-3 1.2e-4 5.6e-3 2.5e-4 2.2e-3 5.2e-3 9.7e-3 0.02 2000 1.0\n", "src_f[0,150] 4.0e-3 6.8e-5 3.0e-3 1.7e-4 1.5e-3 3.4e-3 5.9e-3 0.01 2000 1.0\n", "src_f[1,150] 9.3e-3 1.6e-4 7.3e-3 4.1e-4 3.7e-3 7.8e-3 0.01 0.03 2000 1.0\n", "src_f[0,151] 6.8e-3 8.0e-5 3.6e-3 6.4e-4 4.1e-3 6.6e-3 9.1e-3 0.01 2000 1.0\n", "src_f[1,151] 0.01 2.0e-4 9.1e-3 4.6e-4 5.0e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,152] 5.1e-3 8.2e-5 3.7e-3 2.1e-4 2.0e-3 4.4e-3 7.3e-3 0.01 2000 1.0\n", "src_f[1,152] 0.03 3.4e-4 0.02 1.9e-3 0.01 0.03 0.04 0.06 2000 1.0\n", "src_f[0,153] 4.0e-3 6.5e-5 2.9e-3 1.3e-4 1.7e-3 3.4e-3 5.8e-3 0.01 2000 1.0\n", "src_f[1,153] 9.1e-3 1.6e-4 7.0e-3 3.5e-4 3.3e-3 7.6e-3 0.01 0.03 2000 1.0\n", "src_f[0,154] 3.5e-3 6.2e-5 2.8e-3 1.5e-4 1.3e-3 2.8e-3 5.1e-3 9.9e-3 2000 1.0\n", "src_f[1,154] 6.1e-3 1.2e-4 5.3e-3 1.3e-4 2.1e-3 4.6e-3 8.3e-3 0.02 2000 1.0\n", "src_f[0,155] 4.5e-3 7.5e-5 3.3e-3 2.2e-4 1.8e-3 3.9e-3 6.6e-3 0.01 2000 1.0\n", "src_f[1,155] 0.01 1.8e-4 8.2e-3 3.9e-4 3.5e-3 8.1e-3 0.01 0.03 2000 1.0\n", "src_f[0,156] 5.4e-3 7.9e-5 3.5e-3 2.8e-4 2.5e-3 4.8e-3 7.8e-3 0.01 2000 1.0\n", "src_f[1,156] 6.3e-3 1.2e-4 5.3e-3 3.0e-4 2.3e-3 4.8e-3 9.0e-3 0.02 2000 1.0\n", "src_f[0,157] 4.1e-3 7.2e-5 3.2e-3 1.8e-4 1.5e-3 3.5e-3 5.8e-3 0.01 2000 1.0\n", "src_f[1,157] 8.6e-3 1.6e-4 7.2e-3 2.6e-4 3.0e-3 7.0e-3 0.01 0.03 2000 1.0\n", "src_f[0,158] 2.6e-3 4.9e-5 2.2e-3 7.1e-5 8.5e-4 2.1e-3 3.8e-3 8.2e-3 2000 1.0\n", "src_f[1,158] 4.3e-3 9.0e-5 4.0e-3 1.2e-4 1.3e-3 3.1e-3 6.1e-3 0.02 2000 1.0\n", "src_f[0,159] 7.1e-3 8.4e-5 3.8e-3 7.0e-4 4.2e-3 6.9e-3 9.7e-3 0.01 2000 1.0\n", "src_f[1,159] 9.9e-3 1.8e-4 8.0e-3 2.2e-4 3.5e-3 8.1e-3 0.01 0.03 2000 1.0\n", "src_f[0,160] 5.3e-3 7.8e-5 3.5e-3 2.9e-4 2.5e-3 4.8e-3 7.4e-3 0.01 2000 1.0\n", "src_f[1,160] 9.9e-3 1.7e-4 7.6e-3 4.4e-4 4.1e-3 8.3e-3 0.01 0.03 2000 1.0\n", "src_f[0,161] 5.1e-3 8.2e-5 3.7e-3 1.8e-4 2.1e-3 4.5e-3 7.5e-3 0.01 2000 1.0\n", "src_f[1,161] 0.02 2.8e-4 0.01 5.5e-4 7.8e-3 0.02 0.03 0.05 2000 1.0\n", "src_f[0,162] 2.8e-3 5.2e-5 2.3e-3 7.2e-5 9.4e-4 2.2e-3 4.0e-3 8.5e-3 2000 1.0\n", "src_f[1,162] 8.3e-3 1.6e-4 7.1e-3 2.3e-4 2.7e-3 6.2e-3 0.01 0.03 2000 1.0\n", "src_f[0,163] 0.01 1.4e-4 4.7e-3 3.5e-3 0.01 0.01 0.02 0.02 1091 1.0\n", "src_f[1,163] 0.03 3.8e-4 0.01 2.6e-3 0.02 0.03 0.04 0.06 1385 1.0\n", "src_f[0,164] 4.7e-3 7.4e-5 3.3e-3 2.6e-4 2.1e-3 4.2e-3 6.6e-3 0.01 2000 1.0\n", "src_f[1,164] 7.9e-3 1.5e-4 6.7e-3 2.3e-4 2.8e-3 6.3e-3 0.01 0.02 2000 1.0\n", "src_f[0,165] 5.7e-3 8.4e-5 3.8e-3 2.5e-4 2.7e-3 5.4e-3 8.4e-3 0.01 2000 1.0\n", "src_f[1,165] 0.01 2.0e-4 8.7e-3 4.4e-4 4.4e-3 9.7e-3 0.02 0.03 2000 1.0\n", "src_f[0,166] 5.5e-3 8.0e-5 3.6e-3 3.3e-4 2.5e-3 5.1e-3 7.9e-3 0.01 2000 1.0\n", "src_f[1,166] 6.6e-3 1.3e-4 5.7e-3 2.2e-4 2.2e-3 4.9e-3 9.7e-3 0.02 2000 1.0\n", "src_f[0,167] 3.3e-3 5.9e-5 2.6e-3 1.0e-4 1.2e-3 2.7e-3 4.8e-3 9.7e-3 2000 1.0\n", "src_f[1,167] 7.1e-3 1.4e-4 6.2e-3 1.7e-4 2.4e-3 5.4e-3 9.9e-3 0.02 2000 1.0\n", "src_f[0,168] 2.6e-3 4.8e-5 2.2e-3 1.0e-4 8.8e-4 2.0e-3 3.8e-3 8.0e-3 2000 1.0\n", "src_f[1,168] 5.7e-3 1.1e-4 5.0e-3 1.9e-4 1.8e-3 4.2e-3 8.3e-3 0.02 2000 1.0\n", "src_f[0,169] 5.7e-3 9.2e-5 3.6e-3 3.9e-4 2.9e-3 5.3e-3 8.1e-3 0.01 1506 1.0\n", "src_f[1,169] 0.01 1.9e-4 8.5e-3 5.1e-4 5.8e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,170] 6.4e-3 1.3e-4 4.6e-3 2.5e-4 2.8e-3 5.6e-3 9.3e-3 0.02 1150 1.0\n", "src_f[1,170] 0.02 3.1e-4 0.01 5.9e-4 6.1e-3 0.01 0.02 0.04 1528 1.0\n", "src_f[0,171] 4.8e-3 7.5e-5 3.4e-3 2.6e-4 2.1e-3 4.2e-3 7.0e-3 0.01 2000 1.0\n", "src_f[1,171] 0.01 1.9e-4 8.4e-3 4.8e-4 4.2e-3 9.2e-3 0.02 0.03 2000 1.0\n", "src_f[0,172] 2.2e-3 4.2e-5 1.9e-3 8.6e-5 7.7e-4 1.8e-3 3.3e-3 6.9e-3 2000 1.0\n", "src_f[1,172] 4.8e-3 9.8e-5 4.4e-3 9.3e-5 1.4e-3 3.4e-3 6.9e-3 0.02 2000 1.0\n", "src_f[0,173] 1.8e-3 3.6e-5 1.6e-3 4.2e-5 5.6e-4 1.4e-3 2.6e-3 5.8e-3 2000 1.0\n", "src_f[1,173] 3.8e-3 7.9e-5 3.5e-3 1.1e-4 1.2e-3 2.7e-3 5.2e-3 0.01 2000 1.0\n", "src_f[0,174] 2.2e-3 4.4e-5 2.0e-3 6.9e-5 7.3e-4 1.7e-3 3.1e-3 7.3e-3 2000 1.0\n", "src_f[1,174] 9.0e-3 1.8e-4 7.8e-3 3.6e-4 3.2e-3 6.8e-3 0.01 0.03 2000 1.0\n", "src_f[0,175] 3.3e-3 6.1e-5 2.7e-3 1.1e-4 1.2e-3 2.7e-3 4.9e-310.0e-3 2000 1.0\n", "src_f[1,175] 0.01 1.9e-4 8.4e-3 4.5e-4 4.1e-3 9.0e-3 0.02 0.03 2000 1.0\n", "src_f[0,176] 2.0e-3 4.0e-5 1.8e-3 7.6e-5 6.2e-4 1.4e-3 2.8e-3 6.6e-3 2000 1.0\n", "src_f[1,176] 4.3e-3 9.3e-5 4.2e-3 1.4e-4 1.2e-3 3.0e-3 6.0e-3 0.02 2000 1.0\n", "src_f[0,177] 7.9e-3 1.1e-4 3.9e-3 7.2e-4 5.1e-3 7.9e-3 0.01 0.02 1228 1.0\n", "src_f[1,177] 0.01 2.1e-4 9.5e-3 1.1e-3 6.6e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,178] 4.3e-3 7.2e-5 3.2e-3 1.8e-4 1.7e-3 3.7e-3 6.2e-3 0.01 2000 1.0\n", "src_f[1,178] 9.5e-3 1.7e-4 7.6e-3 3.7e-4 3.7e-3 7.8e-3 0.01 0.03 2000 1.0\n", "src_f[0,179] 2.3e-3 4.6e-5 2.0e-3 7.7e-5 7.5e-4 1.8e-3 3.4e-3 7.6e-3 2000 1.0\n", "src_f[1,179] 4.9e-3 10.0e-5 4.5e-3 1.2e-4 1.5e-3 3.6e-3 6.9e-3 0.02 2000 1.0\n", "src_f[0,180] 4.1e-3 6.5e-5 2.9e-3 1.6e-4 1.7e-3 3.5e-3 5.8e-3 0.01 2000 1.0\n", "src_f[1,180] 8.0e-3 1.6e-4 7.0e-3 2.5e-4 2.7e-3 6.1e-3 0.01 0.03 2000 1.0\n", "src_f[0,181] 4.4e-3 7.2e-5 3.2e-3 1.4e-4 1.9e-3 3.7e-3 6.4e-3 0.01 2000 1.0\n", "src_f[1,181] 0.01 1.8e-4 8.2e-3 5.5e-4 4.9e-3 9.8e-3 0.02 0.03 2000 1.0\n", "src_f[0,182] 1.7e-3 3.4e-5 1.5e-3 3.5e-5 5.1e-4 1.2e-3 2.3e-3 5.9e-3 2000 1.0\n", "src_f[1,182] 3.5e-3 7.6e-5 3.4e-3 9.3e-5 9.8e-4 2.4e-3 5.0e-3 0.01 2000 1.0\n", "src_f[0,183] 5.2e-3 8.8e-5 3.9e-3 2.5e-4 2.1e-3 4.4e-3 7.7e-3 0.01 2000 1.0\n", "src_f[1,183] 0.02 2.5e-4 0.01 9.1e-4 7.8e-3 0.02 0.02 0.04 2000 1.0\n", "src_f[0,184] 2.1e-3 4.2e-5 1.9e-3 5.6e-5 7.0e-4 1.7e-3 3.1e-3 6.8e-3 2000 1.0\n", "src_f[1,184] 0.01 1.9e-4 8.6e-3 4.4e-4 3.7e-3 8.2e-3 0.01 0.03 2000 1.0\n", "src_f[0,185] 6.5e-3 8.9e-5 4.0e-3 3.2e-4 3.4e-3 6.2e-3 9.1e-3 0.01 2000 1.0\n", "src_f[1,185] 5.3e-3 1.0e-4 4.6e-3 1.3e-4 1.7e-3 4.1e-3 7.6e-3 0.02 2000 1.0\n", "src_f[0,186] 4.6e-3 7.7e-5 3.5e-3 1.6e-4 1.8e-3 4.0e-3 6.7e-3 0.01 2000 1.0\n", "src_f[1,186] 5.2e-3 1.0e-4 4.6e-3 1.3e-4 1.7e-3 3.8e-3 7.5e-3 0.02 2000 1.0\n", "src_f[0,187] 5.1e-3 7.7e-5 3.5e-3 2.6e-4 2.3e-3 4.4e-3 7.3e-3 0.01 2000 1.0\n", "src_f[1,187] 0.02 2.7e-4 0.01 1.1e-3 9.1e-3 0.02 0.03 0.04 2000 1.0\n", "src_f[0,188] 1.9e-3 4.0e-5 1.8e-3 3.6e-5 5.6e-4 1.4e-3 2.7e-3 6.7e-3 2000 1.0\n", "src_f[1,188] 4.1e-3 8.3e-5 3.7e-3 1.4e-4 1.4e-3 3.1e-3 5.7e-3 0.01 2000 1.0\n", "src_f[0,189] 3.9e-3 7.1e-5 3.2e-3 1.4e-4 1.4e-3 3.2e-3 5.7e-3 0.01 2000 1.0\n", "src_f[1,189] 0.01 2.1e-4 9.5e-3 4.7e-4 4.3e-3 9.5e-3 0.02 0.04 2000 1.0\n", "src_f[0,190] 0.01 7.0e-5 3.1e-3 8.4e-3 0.01 0.01 0.02 0.02 2000 1.0\n", "src_f[1,190] 0.02 2.1e-4 9.0e-3 1.3e-3 8.0e-3 0.01 0.02 0.03 1779 1.0\n", "src_f[0,191] 4.7e-3 7.2e-5 3.2e-3 2.7e-4 2.0e-3 4.2e-3 6.9e-3 0.01 2000 1.0\n", "src_f[1,191] 0.02 2.9e-4 0.01 9.7e-4 9.6e-3 0.02 0.03 0.05 2000 1.0\n", "src_f[0,192] 2.0e-3 3.9e-5 1.7e-3 6.9e-5 6.2e-4 1.5e-3 2.7e-3 6.6e-3 2000 1.0\n", "src_f[1,192] 4.3e-3 9.0e-5 4.0e-3 1.0e-4 1.2e-3 3.2e-3 6.2e-3 0.01 2000 1.0\n", "src_f[0,193] 4.7e-3 7.6e-5 3.4e-3 3.0e-4 2.0e-3 4.1e-3 6.9e-3 0.01 2000 1.0\n", "src_f[1,193] 8.5e-3 1.5e-4 6.7e-3 2.7e-4 3.4e-3 6.9e-3 0.01 0.02 2000 1.0\n", "src_f[0,194] 4.0e-3 6.4e-5 2.8e-3 2.3e-4 1.8e-3 3.5e-3 5.8e-3 0.01 2000 1.0\n", "src_f[1,194] 6.6e-3 1.3e-4 5.6e-3 2.1e-4 2.2e-3 5.2e-3 9.4e-3 0.02 2000 1.0\n", "src_f[0,195] 6.6e-3 9.9e-5 3.9e-3 5.0e-4 3.5e-3 6.3e-3 9.2e-3 0.01 1532 1.0\n", "src_f[1,195] 5.9e-3 1.1e-4 5.0e-3 1.5e-4 1.9e-3 4.7e-3 8.7e-3 0.02 2000 1.0\n", "src_f[0,196] 3.8e-3 6.7e-5 3.0e-3 1.6e-4 1.4e-3 3.2e-3 5.5e-3 0.01 2000 1.0\n", "src_f[1,196] 0.01 2.2e-4 9.6e-3 4.6e-4 5.3e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,197] 4.1e-3 7.1e-5 3.2e-3 1.1e-4 1.5e-3 3.4e-3 6.0e-3 0.01 2000 1.0\n", "src_f[1,197] 4.9e-3 9.9e-5 4.4e-3 1.4e-4 1.5e-3 3.6e-3 7.0e-3 0.02 2000 1.0\n", "src_f[0,198] 3.8e-3 6.5e-5 2.9e-3 1.6e-4 1.5e-3 3.3e-3 5.6e-3 0.01 2000 1.0\n", "src_f[1,198] 7.0e-3 1.3e-4 6.0e-3 2.0e-4 2.4e-3 5.4e-3 9.9e-3 0.02 2000 1.0\n", "src_f[0,199] 2.9e-3 5.5e-5 2.5e-3 9.4e-5 9.6e-4 2.3e-3 4.2e-3 8.8e-3 2000 1.0\n", "src_f[1,199] 4.3e-3 9.0e-5 4.0e-3 1.1e-4 1.3e-3 3.2e-3 6.0e-3 0.02 2000 1.0\n", "src_f[0,200] 3.0e-3 5.7e-5 2.5e-3 9.6e-5 1.0e-3 2.3e-3 4.3e-3 9.4e-3 2000 1.0\n", "src_f[1,200] 5.6e-3 1.1e-4 4.9e-3 2.0e-4 1.9e-3 4.3e-3 7.7e-3 0.02 2000 1.0\n", "src_f[0,201] 4.1e-3 7.0e-5 3.1e-3 1.8e-4 1.6e-3 3.5e-3 6.0e-3 0.01 2000 1.0\n", "src_f[1,201] 7.3e-3 1.4e-4 6.2e-3 2.6e-4 2.4e-3 5.8e-3 0.01 0.02 2000 1.0\n", "src_f[0,202] 5.0e-3 7.5e-5 3.4e-3 2.3e-4 2.3e-3 4.5e-3 7.1e-3 0.01 2000 1.0\n", "src_f[1,202] 0.01 2.2e-4 9.7e-3 5.0e-4 5.0e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,203] 4.3e-3 6.6e-5 3.0e-3 1.9e-4 1.9e-3 3.9e-3 6.2e-3 0.01 2000 1.0\n", "src_f[1,203] 9.4e-3 1.7e-4 7.5e-3 3.1e-4 3.3e-3 7.8e-3 0.01 0.03 2000 1.0\n", "src_f[0,204] 3.3e-3 6.1e-5 2.7e-3 7.1e-5 1.1e-3 2.6e-3 4.7e-3 0.01 2000 1.0\n", "src_f[1,204] 4.3e-3 9.4e-5 4.2e-3 1.1e-4 1.3e-3 3.0e-3 6.1e-3 0.02 2000 1.0\n", "src_f[0,205] 4.9e-3 7.7e-5 3.4e-3 2.3e-4 2.2e-3 4.3e-3 6.9e-3 0.01 2000 1.0\n", "src_f[1,205] 7.4e-3 1.4e-4 6.4e-3 1.5e-4 2.5e-3 5.8e-3 0.01 0.02 2000 1.0\n", "src_f[0,206] 0.01 2.0e-4 5.9e-3 1.2e-3 8.9e-3 0.01 0.02 0.02 839 1.0\n", "src_f[1,206] 0.04 3.9e-4 0.01 8.2e-3 0.03 0.04 0.05 0.07 1384 1.0\n", "src_f[0,207] 9.2e-3 1.3e-4 4.3e-3 1.1e-3 6.1e-3 9.3e-3 0.01 0.02 1052 1.0\n", "src_f[1,207] 0.01 2.1e-4 9.2e-3 6.1e-4 5.3e-3 0.01 0.02 0.03 2000 1.0\n", "src_f[0,208] 3.5e-3 5.9e-5 2.7e-3 1.4e-4 1.4e-3 2.9e-3 5.1e-3 9.9e-3 2000 1.0\n", "src_f[1,208] 4.5e-3 9.4e-5 4.2e-3 1.3e-4 1.3e-3 3.1e-3 6.7e-3 0.01 2000 1.0\n", "src_f[0,209] 3.4e-3 6.3e-5 2.8e-3 1.1e-4 1.2e-3 2.7e-3 4.9e-3 0.01 2000 1.0\n", "src_f[1,209] 6.5e-3 1.3e-4 5.9e-3 1.7e-4 2.0e-3 5.0e-3 9.2e-3 0.02 2000 1.0\n", "src_f[0,210] 6.2e-3 1.4e-4 4.4e-3 2.9e-4 2.7e-3 5.4e-3 8.8e-3 0.02 948 1.0\n", "src_f[1,210] 0.01 2.0e-4 9.0e-3 2.5e-4 3.9e-3 8.6e-3 0.02 0.03 2000 1.0\n", "src_f[0,211] 2.8e-3 5.5e-5 2.5e-3 8.1e-5 9.4e-4 2.1e-3 4.0e-3 9.5e-3 2000 1.0\n", "src_f[1,211] 5.8e-3 1.1e-4 5.1e-3 1.6e-4 1.9e-3 4.4e-3 8.4e-3 0.02 2000 1.0\n", "src_f[0,212] 5.6e-3 7.8e-5 3.5e-3 4.1e-4 2.8e-3 5.2e-3 8.0e-3 0.01 2000 1.0\n", "src_f[1,212] 0.03 3.9e-4 0.01 2.0e-3 0.02 0.03 0.04 0.05 1235 1.0\n", "src_f[0,213] 5.4e-3 7.7e-5 3.5e-3 2.4e-4 2.6e-3 5.0e-3 7.6e-3 0.01 2000 1.0\n", "src_f[1,213] 6.2e-3 1.2e-4 5.4e-3 1.9e-4 2.0e-3 4.8e-3 9.1e-3 0.02 2000 1.0\n", "src_f[0,214] 2.4e-3 4.8e-5 2.1e-3 8.3e-5 7.5e-4 1.8e-3 3.6e-3 7.7e-3 2000 1.0\n", "src_f[1,214] 5.4e-3 1.1e-4 4.9e-3 1.6e-4 1.7e-3 4.0e-3 7.6e-3 0.02 2000 1.0\n", "src_f[0,215] 5.1e-3 8.3e-5 3.7e-3 2.3e-4 2.0e-3 4.4e-3 7.5e-3 0.01 2000 1.0\n", "src_f[1,215] 9.9e-3 1.8e-4 8.1e-3 4.1e-4 3.7e-3 7.9e-3 0.01 0.03 2000 1.0\n", "src_f[0,216] 2.5e-3 4.7e-5 2.1e-3 5.8e-5 8.6e-4 2.0e-3 3.6e-3 7.6e-3 2000 1.0\n", "src_f[1,216] 8.5e-3 1.7e-4 7.5e-3 2.7e-4 2.7e-3 6.4e-3 0.01 0.03 2000 1.0\n", "src_f[0,217] 3.3e-3 6.1e-5 2.7e-3 9.6e-5 1.1e-3 2.6e-3 4.9e-3 9.8e-3 2000 1.0\n", "src_f[1,217] 0.01 1.8e-4 8.1e-3 5.3e-4 4.3e-3 9.0e-3 0.02 0.03 2000 1.0\n", "src_f[0,218] 4.8e-3 7.5e-5 3.4e-3 2.6e-4 2.1e-3 4.3e-3 7.0e-3 0.01 2000 1.0\n", "src_f[1,218] 7.9e-3 1.5e-4 6.9e-3 2.2e-4 2.6e-3 6.0e-3 0.01 0.03 2000 1.0\n", "src_f[0,219] 3.1e-3 5.8e-5 2.6e-3 9.9e-5 1.1e-3 2.4e-3 4.5e-3 9.8e-3 2000 1.0\n", "src_f[1,219] 0.01 2.1e-4 9.3e-3 2.7e-4 3.3e-3 8.1e-3 0.02 0.03 2000 1.0\n", "src_f[0,220] 7.1e-3 9.0e-5 4.0e-3 6.5e-4 4.0e-3 6.8e-310.0e-3 0.02 2000 1.0\n", "src_f[1,220] 9.0e-3 1.7e-4 7.5e-3 3.3e-4 3.1e-3 6.9e-3 0.01 0.03 2000 1.0\n", "src_f[0,221] 5.9e-3 8.7e-5 3.9e-3 2.9e-4 2.8e-3 5.3e-3 8.6e-3 0.01 2000 1.0\n", "src_f[1,221] 10.0e-3 1.8e-4 8.0e-3 4.2e-4 3.4e-3 8.3e-3 0.01 0.03 2000 1.0\n", "src_f[0,222] 3.4e-3 6.0e-5 2.7e-3 1.1e-4 1.3e-3 2.8e-3 4.9e-3 9.9e-3 2000 1.0\n", "src_f[1,222] 8.1e-3 1.5e-4 6.7e-3 2.8e-4 2.9e-3 6.5e-3 0.01 0.03 2000 1.0\n", "src_f[0,223] 3.7e-3 6.5e-5 2.9e-3 1.8e-4 1.4e-3 3.0e-3 5.4e-3 0.01 2000 1.0\n", "src_f[1,223] 6.0e-3 1.2e-4 5.4e-3 1.9e-4 1.9e-3 4.4e-3 8.7e-3 0.02 2000 1.0\n", "src_f[0,224] 4.2e-3 7.0e-5 3.1e-3 1.6e-4 1.7e-3 3.5e-3 6.0e-3 0.01 2000 1.0\n", "src_f[1,224] 0.01 2.0e-4 9.1e-3 4.4e-4 4.3e-3 9.7e-3 0.02 0.03 2000 1.0\n", "src_f[0,225] 7.0e-3 8.6e-5 3.9e-3 5.2e-4 4.0e-3 6.6e-3 9.6e-3 0.02 2000 1.0\n", "src_f[1,225] 4.8e-3 1.0e-4 4.5e-3 1.8e-4 1.5e-3 3.4e-3 6.8e-3 0.02 2000 1.0\n", "src_f[0,226] 5.3e-3 8.6e-5 3.9e-3 2.0e-4 2.2e-3 4.6e-3 7.9e-3 0.01 2000 1.0\n", "src_f[1,226] 0.01 2.3e-4 0.01 5.3e-4 5.6e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,227] 4.2e-3 7.4e-5 3.3e-3 1.1e-4 1.5e-3 3.4e-3 6.1e-3 0.01 2000 1.0\n", "src_f[1,227] 7.4e-3 1.4e-4 6.2e-3 3.2e-4 2.6e-3 5.8e-3 0.01 0.02 2000 1.0\n", "src_f[0,228] 3.4e-3 5.8e-5 2.6e-3 1.2e-4 1.3e-3 2.9e-3 5.0e-3 9.6e-3 2000 1.0\n", "src_f[1,228] 9.8e-3 1.8e-4 8.0e-3 3.5e-4 3.6e-3 7.7e-3 0.01 0.03 2000 1.0\n", "src_f[0,229] 4.1e-3 7.3e-5 3.3e-3 1.5e-4 1.6e-3 3.3e-3 6.0e-3 0.01 2000 1.0\n", "src_f[1,229] 8.2e-3 1.6e-4 7.1e-3 2.8e-4 2.6e-3 6.4e-3 0.01 0.03 2000 1.0\n", "src_f[0,230] 3.7e-3 6.8e-5 3.0e-3 1.6e-4 1.3e-3 2.9e-3 5.3e-3 0.01 2000 1.0\n", "src_f[1,230] 4.7e-3 10.0e-5 4.5e-3 1.2e-4 1.4e-3 3.3e-3 6.6e-3 0.02 2000 1.0\n", "src_f[0,231] 4.3e-3 8.7e-5 3.3e-3 1.8e-4 1.7e-3 3.5e-3 6.1e-3 0.01 1398 1.01\n", "src_f[1,231] 9.6e-3 1.8e-4 7.8e-3 3.4e-4 3.5e-3 7.8e-3 0.01 0.03 2000 1.0\n", "src_f[0,232] 6.3e-3 9.1e-5 4.1e-3 4.1e-4 3.1e-3 5.8e-3 9.1e-3 0.02 2000 1.0\n", "src_f[1,232] 0.01 1.9e-4 8.4e-3 3.4e-4 3.7e-3 8.9e-3 0.02 0.03 2000 1.0\n", "src_f[0,233] 2.8e-3 5.4e-5 2.4e-3 9.5e-5 9.4e-4 2.1e-3 4.0e-3 8.9e-3 2000 1.0\n", "src_f[1,233] 8.4e-3 1.6e-4 7.2e-3 3.1e-4 3.0e-3 6.4e-3 0.01 0.03 2000 1.0\n", "src_f[0,234] 6.2e-3 8.6e-5 3.8e-3 4.1e-4 3.2e-3 5.7e-3 8.8e-3 0.01 2000 1.0\n", "src_f[1,234] 9.0e-3 1.7e-4 7.4e-3 3.3e-4 3.0e-3 7.2e-3 0.01 0.03 2000 1.0\n", "src_f[0,235] 2.8e-3 5.5e-5 2.5e-3 7.8e-5 8.9e-4 2.2e-3 4.0e-3 9.3e-3 2000 1.0\n", "src_f[1,235] 5.0e-3 1.1e-4 4.7e-3 1.1e-4 1.4e-3 3.6e-3 7.2e-3 0.02 2000 1.0\n", "src_f[0,236] 2.9e-3 5.3e-5 2.4e-3 1.1e-4 1.1e-3 2.3e-3 4.1e-3 8.8e-3 2000 1.0\n", "src_f[1,236] 6.5e-3 1.4e-4 6.2e-3 1.9e-4 1.8e-3 4.5e-3 9.5e-3 0.02 2000 1.0\n", "src_f[0,237] 2.6e-3 5.2e-5 2.3e-3 9.0e-5 8.6e-4 2.0e-3 3.8e-3 8.4e-3 2000 1.0\n", "src_f[1,237] 6.2e-3 1.3e-4 5.7e-3 2.2e-4 1.9e-3 4.5e-3 8.7e-3 0.02 2000 1.0\n", "src_f[0,238] 6.8e-3 7.8e-5 3.5e-3 7.4e-4 4.1e-3 6.5e-3 9.2e-3 0.01 2000 1.0\n", "src_f[1,238] 0.01 2.1e-4 9.5e-3 7.0e-4 6.2e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,239] 9.6e-3 1.1e-4 3.9e-3 1.6e-3 7.0e-3 9.8e-3 0.01 0.02 1158 1.0\n", "src_f[1,239] 0.01 1.8e-4 8.1e-3 5.1e-4 4.8e-310.0e-3 0.02 0.03 2000 1.0\n", "src_f[0,240] 2.9e-3 5.6e-5 2.5e-3 6.7e-5 9.6e-4 2.3e-3 4.3e-3 9.3e-3 2000 1.0\n", "src_f[1,240] 7.8e-3 1.6e-4 7.2e-3 2.0e-4 2.3e-3 5.7e-3 0.01 0.03 2000 1.0\n", "src_f[0,241] 3.6e-3 6.2e-5 2.8e-3 1.5e-4 1.4e-3 3.0e-3 5.3e-3 0.01 2000 1.0\n", "src_f[1,241] 8.6e-3 1.5e-4 6.7e-3 2.7e-4 3.2e-3 7.0e-3 0.01 0.03 2000 1.0\n", "src_f[0,242] 9.0e-3 1.2e-4 4.5e-3 9.2e-4 5.5e-3 9.1e-3 0.01 0.02 1323 1.0\n", "src_f[1,242] 0.02 3.1e-4 0.01 1.6e-3 0.01 0.02 0.03 0.05 1702 1.0\n", "src_f[0,243] 3.4e-3 6.2e-5 2.8e-3 9.4e-5 1.2e-3 2.7e-3 5.0e-3 0.01 2000 1.0\n", "src_f[1,243] 6.4e-3 1.4e-4 6.1e-3 1.8e-4 2.0e-3 4.7e-3 9.1e-3 0.02 2000 1.0\n", "src_f[0,244] 7.1e-3 1.0e-4 4.7e-3 4.6e-4 3.4e-3 6.3e-3 0.01 0.02 2000 1.0\n", "src_f[1,244] 0.01 2.4e-4 0.01 5.7e-4 5.2e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,245] 3.1e-3 5.4e-5 2.4e-3 1.3e-4 1.2e-3 2.6e-3 4.5e-3 9.0e-3 2000 1.0\n", "src_f[1,245] 6.9e-3 1.3e-4 5.9e-3 2.7e-4 2.4e-3 5.3e-310.0e-3 0.02 2000 1.0\n", "src_f[0,246] 4.0e-3 6.3e-5 2.8e-3 1.7e-4 1.7e-3 3.5e-3 5.7e-3 0.01 2000 1.0\n", "src_f[1,246] 5.6e-3 1.1e-4 5.0e-3 1.2e-4 1.7e-3 4.3e-3 8.0e-3 0.02 2000 1.0\n", "src_f[0,247] 2.9e-3 5.4e-5 2.4e-3 1.0e-4 9.9e-4 2.3e-3 4.2e-3 8.8e-3 2000 1.0\n", "src_f[1,247] 4.8e-3 9.5e-5 4.2e-3 1.3e-4 1.6e-3 3.6e-3 6.9e-3 0.02 2000 1.0\n", "src_f[0,248] 3.2e-3 6.0e-5 2.7e-3 9.5e-5 1.1e-3 2.5e-3 4.7e-3 9.9e-3 2000 1.0\n", "src_f[1,248] 5.8e-3 1.2e-4 5.2e-3 1.8e-4 1.8e-3 4.4e-3 8.5e-3 0.02 2000 1.0\n", "src_f[0,249] 4.2e-3 6.8e-5 3.0e-3 2.2e-4 1.7e-3 3.6e-3 6.0e-3 0.01 2000 1.0\n", "src_f[1,249] 9.3e-3 1.7e-4 7.5e-3 2.1e-4 3.3e-3 7.6e-3 0.01 0.03 2000 1.0\n", "src_f[0,250] 4.3e-3 6.8e-5 3.0e-3 2.5e-4 1.9e-3 3.8e-3 6.2e-3 0.01 2000 1.0\n", "src_f[1,250] 0.02 3.9e-4 0.01 1.5e-3 0.01 0.02 0.03 0.05 1309 1.0\n", "src_f[0,251] 6.1e-3 7.5e-5 3.4e-3 6.6e-4 3.5e-3 5.7e-3 8.5e-3 0.01 2000 1.0\n", "src_f[1,251] 9.7e-3 1.7e-4 7.6e-3 3.7e-4 3.7e-3 8.2e-3 0.01 0.03 2000 1.0\n", "src_f[0,252] 0.01 8.2e-5 3.7e-3 4.4e-3 9.0e-3 0.01 0.01 0.02 2000 1.0\n", "src_f[1,252] 0.04 4.4e-4 0.02 6.4e-3 0.03 0.04 0.05 0.06 1184 1.0\n", "src_f[0,253] 2.3e-3 4.4e-5 2.0e-3 6.8e-5 7.8e-4 1.8e-3 3.3e-3 7.3e-3 2000 1.0\n", "src_f[1,253] 5.2e-3 1.0e-4 4.5e-3 1.4e-4 1.8e-3 4.0e-3 7.3e-3 0.02 2000 1.0\n", "src_f[0,254] 4.8e-3 6.7e-5 3.0e-3 2.7e-4 2.5e-3 4.5e-3 6.9e-3 0.01 2000 1.0\n", "src_f[1,254] 7.2e-3 1.3e-4 5.9e-3 1.7e-4 2.6e-3 5.8e-3 0.01 0.02 2000 1.0\n", "src_f[0,255] 2.2e-3 4.1e-5 1.9e-3 5.3e-5 7.7e-4 1.7e-3 3.2e-3 7.1e-3 2000 1.0\n", "src_f[1,255] 5.0e-3 1.0e-4 4.6e-3 1.4e-4 1.4e-3 3.7e-3 7.3e-3 0.02 2000 1.0\n", "src_f[0,256] 4.3e-3 7.2e-5 3.2e-3 1.5e-4 1.7e-3 3.6e-3 6.2e-3 0.01 2000 1.0\n", "src_f[1,256] 4.5e-3 9.2e-5 4.1e-3 1.1e-4 1.5e-3 3.3e-3 6.2e-3 0.02 2000 1.0\n", "src_f[0,257] 0.01 1.0e-4 4.6e-3 2.6e-3 9.4e-3 0.01 0.02 0.02 2000 1.0\n", "src_f[1,257] 0.05 2.7e-4 0.01 0.02 0.04 0.05 0.06 0.07 2000 1.0\n", "src_f[0,258] 4.1e-3 6.5e-5 2.9e-3 1.9e-4 1.8e-3 3.6e-3 5.9e-3 0.01 2000 1.0\n", "src_f[1,258] 7.7e-3 1.3e-4 5.9e-3 2.9e-4 2.9e-3 6.3e-3 0.01 0.02 2000 1.0\n", "src_f[0,259] 3.5e-3 6.2e-5 2.8e-3 1.3e-4 1.4e-3 2.9e-3 4.9e-3 0.01 2000 1.0\n", "src_f[1,259] 4.5e-3 9.6e-5 4.3e-3 1.3e-4 1.4e-3 3.3e-3 6.4e-3 0.02 2000 1.0\n", "src_f[0,260] 2.4e-3 4.4e-5 2.0e-3 1.1e-4 8.6e-4 1.9e-3 3.4e-3 7.3e-3 2000 1.0\n", "src_f[1,260] 4.9e-3 10.0e-5 4.5e-3 2.0e-4 1.6e-3 3.7e-3 7.1e-3 0.02 2000 1.0\n", "src_f[0,261] 3.9e-3 6.7e-5 3.0e-3 1.3e-4 1.4e-3 3.2e-3 5.6e-3 0.01 2000 1.0\n", "src_f[1,261] 8.7e-3 1.6e-4 7.2e-3 2.2e-4 3.1e-3 7.0e-3 0.01 0.03 2000 1.0\n", "src_f[0,262] 5.0e-3 6.8e-5 3.0e-3 4.1e-4 2.6e-3 4.6e-3 7.0e-3 0.01 2000 1.0\n", "src_f[1,262] 0.02 3.0e-4 0.01 1.6e-3 0.01 0.02 0.03 0.05 1675 1.0\n", "src_f[0,263] 2.7e-3 4.9e-5 2.2e-3 1.1e-4 9.5e-4 2.1e-3 3.8e-3 8.2e-3 2000 1.0\n", "src_f[1,263] 5.6e-3 1.1e-4 4.9e-3 1.7e-4 1.8e-3 4.3e-3 8.0e-3 0.02 2000 1.0\n", "src_f[0,264] 4.0e-3 7.2e-5 3.2e-3 1.2e-4 1.4e-3 3.2e-3 6.0e-3 0.01 2000 1.0\n", "src_f[1,264] 7.2e-3 1.4e-4 6.4e-3 2.1e-4 2.1e-3 5.3e-3 0.01 0.02 2000 1.0\n", "src_f[0,265] 2.7e-3 5.1e-5 2.3e-3 6.7e-5 8.4e-4 2.0e-3 4.0e-3 8.2e-3 2000 1.0\n", "src_f[1,265] 6.5e-3 1.3e-4 5.8e-3 2.0e-4 2.1e-3 4.9e-3 9.4e-3 0.02 2000 1.0\n", "src_f[0,266] 4.8e-3 7.9e-5 3.5e-3 1.9e-4 1.9e-3 4.0e-3 7.1e-3 0.01 2000 1.0\n", "src_f[1,266] 7.1e-3 1.4e-4 6.2e-3 2.8e-4 2.3e-3 5.3e-3 0.01 0.02 2000 1.0\n", "src_f[0,267] 5.9e-3 8.4e-5 3.8e-3 3.3e-4 2.9e-3 5.6e-3 8.5e-3 0.01 2000 1.0\n", "src_f[1,267] 8.2e-3 1.6e-4 7.0e-3 2.9e-4 2.7e-3 6.4e-3 0.01 0.03 2000 1.0\n", "src_f[0,268] 5.9e-3 8.1e-5 3.6e-3 3.3e-4 3.0e-3 5.5e-3 8.4e-3 0.01 2000 1.0\n", "src_f[1,268] 0.02 2.7e-4 0.01 9.3e-4 8.9e-3 0.02 0.03 0.04 2000 1.0\n", "src_f[0,269] 5.9e-3 1.3e-4 4.3e-3 2.2e-4 2.2e-3 5.2e-3 8.7e-3 0.02 1086 1.0\n", "src_f[1,269] 0.02 4.0e-4 0.01 7.3e-4 8.5e-3 0.02 0.03 0.05 1393 1.0\n", "src_f[0,270] 1.9e-3 3.9e-5 1.8e-3 5.0e-5 6.0e-4 1.4e-3 2.7e-3 6.6e-3 2000 1.0\n", "src_f[1,270] 6.2e-3 1.3e-4 5.8e-3 1.5e-4 1.9e-3 4.4e-3 8.8e-3 0.02 2000 1.0\n", "src_f[0,271] 8.3e-3 1.4e-4 4.5e-3 3.6e-4 4.7e-3 8.2e-3 0.01 0.02 992 1.0\n", "src_f[1,271] 0.04 4.0e-4 0.02 4.4e-3 0.02 0.04 0.05 0.07 1599 1.0\n", "src_f[0,272] 2.2e-3 4.5e-5 2.0e-3 5.3e-5 6.1e-4 1.6e-3 3.0e-3 7.4e-3 2000 1.0\n", "src_f[1,272] 0.01 2.1e-4 9.2e-3 2.6e-4 3.2e-3 7.7e-3 0.01 0.03 2000 1.0\n", "src_f[0,273] 3.5e-3 6.0e-5 2.7e-3 1.8e-4 1.4e-3 2.9e-3 5.1e-3 0.01 2000 1.0\n", "src_f[1,273] 0.02 2.4e-4 0.01 7.5e-4 7.3e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,274] 2.5e-3 5.2e-5 2.3e-3 5.5e-5 7.0e-4 1.8e-3 3.6e-3 8.3e-3 2000 1.0\n", "src_f[1,274] 7.4e-3 1.5e-4 6.7e-3 1.6e-4 2.4e-3 5.5e-3 0.01 0.02 2000 1.0\n", "src_f[0,275] 6.6e-3 9.6e-5 4.3e-3 3.7e-4 3.1e-3 5.9e-3 9.7e-3 0.02 2000 1.0\n", "src_f[1,275] 0.02 2.5e-4 0.01 5.5e-4 6.2e-3 0.01 0.02 0.04 2000 1.0\n", "src_f[0,276] 6.6e-3 10.0e-5 3.9e-3 5.0e-4 3.5e-3 6.3e-3 9.2e-3 0.01 1530 1.0\n", "src_f[1,276] 0.02 3.0e-4 0.01 1.2e-3 0.01 0.02 0.03 0.05 2000 1.0\n", "bkg[0] -2.76 9.2e-3 0.27 -3.29 -2.94 -2.75 -2.58 -2.23 880 1.0\n", "bkg[1] -9.52 0.01 0.5 -10.54 -9.85 -9.52 -9.19 -8.54 1510 1.0\n", "sigma_conf[0] 0.07 1.1e-3 0.05 2.6e-3 0.03 0.06 0.1 0.19 2000 1.0\n", "sigma_conf[1] 0.09 1.6e-3 0.07 5.1e-3 0.04 0.08 0.13 0.27 2000 1.0\n", "lp__ -6863 0.82 20.08 -6904 -6876 -6862 -6849 -6826 600 1.0\n", "\n", "Samples were drawn using NUTS at Mon Mar 19 15:17:35 2018.\n", "For each parameter, n_eff is a crude measure of effective sample size,\n", "and Rhat is the potential scale reduction factor on split chains (at \n", "convergence, Rhat=1)." ] }, "execution_count": 28, "metadata": {}, "output_type": "execute_result" } ], "source": [ "fit_basic_PACS" ] }, { "cell_type": "code", "execution_count": 29, "metadata": { "collapsed": true }, "outputs": [], "source": [ "priors=[prior24,prior100,prior160,prior250,prior350,prior500]" ] }, { "cell_type": "code", "execution_count": 30, "metadata": { "collapsed": true }, "outputs": [], "source": [ "xidplus.save(priors,posterior, 'XID+SED_prior')" ] }, { "cell_type": "markdown", "metadata": {}, "source": [ "## Create SED grids" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[24.0, 100.0, 160.0, 250.0, 350.0, 500.0]\n" ] } ], "source": [ "from xidplus import sed\n", "SEDs, df=sed.berta_templates()" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "(32, 6, 800)" ] }, "execution_count": 3, "metadata": {}, "output_type": "execute_result" } ], "source": [ "SEDs.shape" ] }, { "cell_type": "code", "execution_count": 4, "metadata": { "collapsed": true }, "outputs": [], "source": [ "priors,posterior=xidplus.load(filename='./XID+SED_prior.pkl')" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "/XID+IR_SED found. Reusing\n" ] } ], "source": [ "import xidplus.stan_fit.SED as SPM\n", "fit=SPM.MIPS_PACS_SPIRE(priors,SEDs,chains=4,iter=10)" ] }, { "cell_type": "code", "execution_count": 6, "metadata": { "collapsed": true }, "outputs": [], "source": [ "posterior=sed.posterior_sed(fit,priors,SEDs)" ] }, { "cell_type": "code", "execution_count": 12, "metadata": { "collapsed": true }, "outputs": [], "source": [ "xidplus.save(priors, posterior, 'test_SPM')" ] }, { "cell_type": "code", "execution_count": 355, "metadata": { "collapsed": true }, "outputs": [], "source": [ "def getnearpos(array,value):\n", " idx = (np.abs(array-value)).argmin()\n", " return idx\n", " \n", "\n", "nsamp=500\n", "LIR_prior=np.random.uniform(8,14, size=(nsamp,prior250.nsrc))\n", "z_prior=np.random.normal(z_median[prior250.ID-1],z_sig[prior250.ID-1],size=(nsamp,prior250.nsrc))\n", "SED_prior=np.random.multinomial(1, np.full((SEDs_IR.shape[0]),fill_value=1.0/SEDs_IR.shape[0]),size=(nsamp,prior250.nsrc))\n", "samples=np.empty((nsamp,6,prior250.nsrc))\n", "for i in range(0,nsamp):\n", " for s in range(0,prior250.nsrc):\n", " samples[i,:,s]=np.power(10.0,LIR_prior[i,s])*SEDs_IR[SED_prior[i,s,:]==1,:,getnearpos(np.arange(0,8,0.01),z_prior[i,s1])]" ] }, { "cell_type": "code", "execution_count": 358, "metadata": {}, "outputs": [ { "data": { "text/plain": [ "<matplotlib.text.Text at 0x19613ea90>" ] }, "execution_count": 358, "metadata": {}, "output_type": "execute_result" }, { "data": { "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYcAAAGACAYAAABGG67GAAAABHNCSVQICAgIfAhkiAAAAAlwSFlz\nAAALEgAACxIB0t1+/AAAIABJREFUeJzsvVuMJPd15vlF5D2zrt3NJilRpD2z5motD1YrezHQg7BY\nYwgBhiHsiy0OtZpdjOFXAwvYerCxQg9tC4QtP+lBDwQMA5oRTO5gL9yx4QcBBgQJttdDuamhRyNI\nok2yyb5Ud12y8hoZl3345y/+J6Iyq7Kbzarq7viAQt0yI+N6Lt/5zvkHWZZlqlChQoUKFQzCs96B\nChUqVKhw/lA5hwoVKlSocASVc6hQoUKFCkdQOYcKFSpUqHAElXOoUKFChQpHUDmHChUqVKhwBJVz\nqFChQoUKR1A/6x1YhDfffFP/9t/+W2VZpt/6rd/SpUuXznqXKlSoUOGRQnAem+Bef/11/czP/Iy+\n853vqNls6l/8i39x1rtUoUKFCo8UziWt9PM///P6yU9+oj/+4z/Wxz/+8bPenQoVKlR45HAuncP3\nv/99feITn9DLL7+sP/mTPznr3alQoUKFRw6n7hzeeOMNffGLX5QkpWmqL3/5y/r85z+vL37xi3r7\n7bclScPhUL/927+tP/iDP9Av//Ivn/YuVqhQocIjj1MtSL/88st67bXX1Ol0JEnf+ta3FEWRXnnl\nFV29elUvvfSSvv71r+vTn/60Pv3pT6+0zclkojfffFOPPfaYarXah7n7FSpUqPDQIEkS7ezs6Od+\n7ufUbreP/P9UncPTTz+tr33ta/rSl74kyRWeP/OZz0iSPvnJT+rNN9+8622++eab+sIXvnBf97NC\nhQoVHhX8u3/37/QLv/ALR/5+qs7hs5/9rK5du5b/PhgMtLa2lv9eq9UUx7Hq9dV367HHHpPkDvCJ\nJ564fztboUKFCg8xbty4oS984Qu5DS3jTPsc1tbWNBwO89/TNL0rxyApp5KeeOIJPfXUU/d1/ypU\nqFDhYccyOv5M1Uqf+tSn9O1vf1uSdPXqVT377LNnuTsVKlSoUGGOM80cnnvuOX33u9/V888/ryzL\n9JWvfOUsd6dChQoVKsxx6s7hqaee0quvvipJCsNQL7744mnvQoUKFSpUOAHnsgmuQoUKFSqcLSrn\nUKFChQoVjqByDhUqVKhQ4Qgq51ChQoUKFY6gcg4VKlSoUOEIKudQoUKFChWOoHIOFSpUqFDhCCrn\nUKFChQoVjqByDhUqVKhQ4Qgq51ChwqOEK1ekIDj6deXKWe9ZhXOGM52tVKFChVPGlSveEQSBlGUf\nbHtZ5rZT4aFDlTlUqFDh7kEGEoZV9vGQosocKlSocPcgA7kf2UeFc4kqc6hQoUKFCkdQOYcKFR5E\npOlZ70GFhxyVc6hQ4UFAWWVUq1WKowofKqqaQ4UKDwKsyghUfH+FDxFV5lChQoUKFY6gcg4VKlSo\nUOEIKlqpQoUK9wVZVvwC5dJIhQcDlXOoUOFBxCnVGhZ9TBA4sVQcS01Jw+FRh7AMOIgwdDX1Ws33\n0VU4X6icQ4UKDyLuk3PIMmfok8R95/dFxj6O/RdTM56Ucw7W0Nuf+Qy+2DbbAbWaVK+7r7Aiu88F\nKudQocKDiCS557fGsXt7S9JgcPT/NrrPMmk2c184Cww5RrzTKb4/TX0bRhh6h8F3Mg+ckv2aTt3/\nGw33VTmKs0PlHCpUeBBhw+4VkCTOwBP1S845EOVjtKF4kkSKIvcdZ9BouO+1WnHb6+vFbAPDz1c5\nS6BNIwzd9lotn00kifseRe4rDKVm072uop5OF5VzqFDhQcSKtNJs5oysjeQx8pLU7RZfn6bSZOKN\nOca50Tj+c46L8K2jgL5i+1HkvuOAmk2p3Xb/x5lNJj6baDYrJ3FaOJfO4a/+6q/0Z3/2ZxqPx/r1\nX/91ffzjHz/rXapQ4d7xYYy1PoFvKTsFDG856re7SLQuude1WstfbxHHRQdg6xVlH2ZVSzbLwBlA\nQ1lHEUX+eKLIO4mKcvpwcS5P73g81u/+7u/q137t1/Sd73znrHenQoV7x5Urnqu5n+MtlljGJHEF\n4snEGd1mU1pbc3WBZYY+iqR+XxqN3PspDEMt2a/p1G3/8FA6OHDvH43c32cz9x58IfRRmboqHwZU\nVZoWt9/vu5pIljlH1W67189m7jXjcTVi6sPEucwcfvEXf1Gj0Ujf+MY39Ju/+ZtnvTsVKtw7rlyR\n/s2/uf/S05KVzTJvoCUXXbda/mU2Sofa6Uq6dctTPK2WcyblGgF1ADIEEIbSptxnYvwpItvi8zIs\nqlGwb3wmBWpqHhyTVU6Vj7XC/cG5dA67u7v6wz/8Q/3Gb/yGLl68eNa7U6HCuUaSuCg6y5xRbred\nYbYF3nKEnSTOOWSZez2ZhW1Ug/OXfHTPd5uFdLueTsI5AdvTUC5mW1WURZYVFUzQSsOhy1JwBo2G\nL7TPZs6xVTWJ+4dTp5XeeOMNffGLX5QkpWmqL3/5y/r85z+vL37xi3r77bclSS+99JJ2dnb0R3/0\nR/qLv/iL097FChXOP+aZSBQ5gwn10mq5vx0eOodB3aFW8xy+NdLb29KFC845oAoqF6VbLUdNbW87\nZVK36z9Lcu/t9dxrer3itqzyaTRy+zUaFeshZZAptFruszY3pa0t99Vque31++4rjv2xRJFzIGUH\nVeHecKqZw8svv6zXXntNnbkw+lvf+paiKNIrr7yiq1ev6qWXXtLXv/51/cEf/MFp7laFCg8csiRV\nIEe7ZJkzkFHk2SvL5aNMyjJv9InWm02/TeoK1AxQKd1N4dcWlPN9NZkA2Qw9DainGo3lEb/te0DJ\nNJ065zccFv8fBO4YZzNfo6hwbzjVU/f000/ra1/7Wv7766+/rs985jOSpE9+8pN68803T3N3KlR4\nIJFl0mjoMwfJR+HNpoveez0XZWOk09RF7HHs/mYlrHHsjOx06n5vtfz774dxtZkAGQYZDEXowcAZ\n+5N6+3AEa2vSxYsu62k2nTMYjbxjgIbimCrcPU41c/jsZz+ra9eu5b8PBgOtra3lv9dqNcVxrHr9\nXJZCKlQ4c6Tp3JAeZurJy1OhcRbB1iSaTU8HSe7v0EenxdnbSJ/mtyjyBeZVG9+or0CloZqyfRFs\nnzpMhdVxplZ4bW1Nw+Ew/z1N08oxVKiwBEki7e05Q9gMXebQ7R5v9GYzZywlZyBpZotnmerynP1Z\nUTDWUdjiMgaefofj9i0IfA3EylynU/fVajmnWqma7g5nysh96lOf0re//W1J0tWrV/Xss8+e5e5U\nqHBuMZ1KOzvOMXQ60vam45GOcwyTiTey3a53DJOJNB6691P0PQ/cPE5qbc1nN3fb09BouML1pUv+\nuCYTaX/fZRb0clQ4GWcapj/33HP67ne/q+eff15ZlukrX/nKWe5OhQrnDlnmDFq/737f2prXC/aX\nW7gs8/x9GDpnwhC9/O9yltYWpHnvsg5nIu5F8tP7CYrh9FxYymnV7uhGw6mrUG5Np+4cUq9AUVVh\nOU7dOTz11FN69dVXJUlhGOrFF1887V2oUOGBQBx7RU6t5iSdeb1gyeC9NPVRdr3uInGmoCJ5bTSk\nViPNN4N6iF6FVRGGUk9edfRhDMejWxuF0t32NDSbrmg9mXgnceeOk+T2epWi6ThUBH+FCucQ8OWj\nkR+BUYh0FzgHhtSVC8/lgnQYSuODRF25vwM7LdVmCRblrmbJK6ak4noO99NZlJ0EjXGono5DELhM\nodXyoznotyATO2mw4KOIyjlUqHDOgIKI+gJjLQooEefMPZJKhee4SDHlhnzmaaVlc4+WwS7aI/k5\nTBSUJd/9TEH5uD6GuwFOguMdj71M9qQMIAxdxtBu+7lNt28757C15bOsCg6Vc6hQ4ZzA1gTi2BvV\ndnvJi1WcqUSETJE6jl2EDA1DraDRkBrzzMPKWpftkx1lUaae1lUc7x2GxTUcRiP/uTi5Vae9Hgek\nrtOp/6yFTnQBGg1HNXW7Tv2FBJYO8IpmcqicQ4UK5wAUnu2IbXT8CzHPHHhPreYcA5HvdOoUOmla\nzD5yo9xfvlgQM5KoR1jYVd34rPJKcGyDAXrQQKiFKDhD59xN1lLel07H02k4yVV6GnCkzaabLntw\n4NVg29snU1WPAqpTUKHCGcMWi6FopKKxLyOJEtXk9fs4kSxzvHq/797LLKQj0fCCAUTMQFq0tnPZ\nIUjKX3iSIe12fTMaRhxaCNqJQXr3YpTrdVdcxjnY4XwnOZ1azWUR7bajmPb3Xfb22GOLnd6jhMo5\nVKhwhkBdRLGYZTyRny7CdCrNBonWVKwvJInj0YdD915GSyzdyBzUN3BKq8w7KmxjhcWMbLPb+roz\n4gwGxGEw7uNe1o8OAn8uGKFBZ/QqDqfblT7yEWl31znW69ddBrG19ejWISrnUKHCGYEaQ5r6aaMs\n0LPIoFmZai1xkT+OgbERo5Hb1ubmCUZxLlOyTWEnrRa3bBuKopOLFyXYrmgG/iFT5W923epVUau5\nLMIWrMsjQ5ahXncZQ7vt5K63b7ttXLr0aNJMj+AhV6hw9rA1BorFjLIoG7LyEp6NhtSqz/L/oW6a\nTv347OOMWZZJ072x2vIrv93TkL3RyH+/S+cAqJU0m27/ywsLMWvJDhFcBTi5ycRTZcdlYyAIpI0N\n93m3brksYjqVnnjing/xgUVVl69Q4ZRhMwYUSax4Vi5AMz4iinwBtt2WgpnzFET+UCidzvGafbaX\nHhxKknqNaCWjuRCDQfH7B0Ct5qgdWzy3SimaAZf0/h27zUbDneu7Weuh1ZI++lFHK0WR9N57vkv9\nUUGVOVSoIK3Em98vTCbO4FE0pRhtu3VnM78gDoPlbP0gGU7ygjRdz2QAi2DXcgjSRM2pcw7h4YHU\nfuzeDuTQbSPtDyQz98iuJne3KDe7cXx0eY/HPrtahf7C4dbrftZUkhyjAjMIQ08z7exIN296mulR\nqENUmUOFRxtXrnghPlbtypUP7ePQ5TNkjkIwiiDWNphMvBKp1ys6hjiWJvtu1CorrSWJez+8PQVZ\nis30O9TrUi8+UL02b1Y4ODhxn4ngKR6PRm4fR+/vS5LGNw40HCr/Ggzc51Ech9pJktXHc6BAgnLD\nQYSh285otPowPrbHBNs8e1rhvdBMH/2o28benitWPwrD+6rMocKjjStXvIO4m8FC9wCyAeghuxxn\nEDiDJXllT73u6w2Mq5jNpFE/Vvtgop7y4F3d7uKFbezIbqSdo3duqz6VWpKi63cUPPNf5Q1sRMRI\nT/kqI5yMVEsctdUY7is1VJYd3mfHbOTvLa0pbaNwMgUuBWtVULBmxIfk923VgnMYuvOEmmk0Wl3N\n1G5LTz/tHMNg4PbnIx95uIf3Vc6hQoVTQJL48dmsO9Dve6GPNXxB4KN/C5xJfXyYa/BZF3qRkWLO\nUqvlKassk4Lbt5TMDXZ8846SUZrzWRjcLPMdz3YxIfoddLjvvIukZjBTGo+UdboF487ypdREcG72\nNYzYWOQoFoGMiv2iR8RmGifVT2iSm0zuTs1Uq7kM4tYtl3BduyY9+eTD2w9ROYcKFU4BFJUbDU8b\nDYd+cqo1jDTDYZwx6pOJM4CdYV/Z/MntthJ1ekXynddKvkidG8wokiZ70tygteqJktGepmsXcz6e\njmvbDY3TgHlL395VMJDW5Jzc7B/2lT7RLSRf5SzAwq4pbZ0E+4t6yp4TlhmlL4L9lPygQhoCyUw4\nj2XQmU2vRZIc33QIgkB6/HHnUHZ2nIN44gnXu/GwoXIOFSp8SGAMRVNON8/AuFrND9Xb2PAGbGEX\nsoqNcp2OFNzeURRLDUnt4R1p7XLhM5nPZEd257h588i2Z+/vSM9ezJVONL9BCdmlPPOR2dd3FUyd\nc0gSKTjYl574SKEYjeHG8ZXXgcDpWakuqqLx2Gc8tVqxIa/Z9JkYWcTGhjf0TLJldAdNfWVHYWkm\n5kCtqtza3nafcf26+4oit6b1w4TKOVSocJ9B9y/F25+SM3CM3WYQXrnQvAgYe9RMtSDV5L2d/P/B\nndvS45cLr8UxLKQ7rl+XNC9gS5rFUrBzU61/9vEjHdEUf6GCMPKtWqxG0pe67nWtlpQM9hTMrUmZ\nWlqlEE3mAPVkR2HQ+UwmAAVFnYXXdzruazr1n804EjILHA3jxJmxZOc/2eGFx6HXkz72MSdzvXPH\nvf+JJx4eJVPlHCpUuA/AIWCcJc+5S46bxlBhaFcpZhId0w8xubarLI7V4Mm9dUv62Z8tNNUtneQ6\nmym9uaPZVEpSZ9troVSf9JVFE8VBO1c/UcjGMRD1h6EU7B4omWRS5tip6VTSnQPNokxhLShkCJYW\nst/tz2QoOBEcBed0MPCNcL2eN+4cJzJVjH+n46miNPXnAmosSYrjPNg2S4riIFYpVLdarlD9/vte\nEfbRj37wqbPnAZVzqFDhHpGmPtqE42e9ZuYkYSQbDT9eW1pNZ4/slf6FJJGSt95WLTCNboeHyg76\nGjc2jjgG222cJFL01k0lN1NnlAPnHOhfi//zTUVPPqPx2H8u+01GAS3T3NlXPfPH1mpLYZCoUx8p\nXO/lEXn56yTYSa5x7NVd9CeMx54yarX8sD7qFHRCTya+o5qxIs2mew1UHzQWdSC75gSfteoI8Hrd\nZRA3bjgH8c470lNPPfgLCFXOoUKFu4A1LlARkjMkdPhKfjS1VcHAqa+iqIHjZ2x3lkmTg6mCmzeO\nGJ3Jj95V8l9/Io/69/aKg/RwSvUfv6964g2+5LuHp9dvabjxjCS3fyxJSmRtI+Hg7X2FJeeWZlK6\n25davSPF7FVpFtRa5ayKMRqDgfuiT8HSRBj/RsM7CHobbJ8Fyi7oPVtHwQl3u8qdpM08Ttp3ssO9\nPendd53UdZX3nldUzqFChRVAJMt3S2FAdQBmBFkjTJbBWgbHAcmq5BU006mUvf2OmrW0YKhHI2n8\no/c0uPSzajS9FaaLGHqm3UjUyXbUedI3zkleidQa3NHFC5m6veDk9RDifaUtTwtBcSWjvmI9eaQv\nwi4dmkth7wJh6NeC3t7260JQiyEDIKvgnCGfbbe9A2AMFNcGZ0LWQd9Ep1Ok1VZRMkmuo7rRcGzf\nu+86iqnbvbvjPS+onEOFCktgswQoj9nMGSuKy+VF7m3Eb7MGSyetouW34zSSRIomqerX/rEwhbUl\nF6WG4VTt/i01nno8j4ypb4zHc+N6sKtWOy0MtevKR8zt9kzNzkDqnaDJnFtYa+DzLCTqK+0WlwyF\n0qJuUViNruHP391kF72eN94YcK4PET8ZDzOaGLcBzZQkvilw2frUdiDiaOSM/Cr7ubXlPuvGDVes\nfvxxp6Z60FA5hwoVDBatgmYNAtH4IiNf7i8oOw2098dhUdYxnUrBe9fUTCaazIu0s5l0Wc6AbWxI\nzfHbCi48nm/Hdka325Le2nHF7UxKE9+1zGC6MJTzNCcJ9s2QvTR183fyDu7bIyXD4ssxvFBDttgt\n+cIw0fyq2QUy1FbLS1FZBS6OHe1ExmXXjrYd0vQ28Fl2fWpoQ7v06XC4ZOGkBVhfd8fx/vtOPZym\nzmk8SKicQ4VHHhg5u7aB5I05Rg2qZlmh0XYkL6JlTuKfmV9ks47ZTEriTOkPf6z+oVf2sP2LF+fG\naueW24F2OzdsUFhRJAXv3ZLmNFAYSuH8/YXO4N1dJ705bh8PR0rnhjXNXPYRJ1IgKZyOFTaMqqlU\njLaKJVsUZpGisoIIRdJxFJddv4G+CcaTTCZuu2nq1mZot52B7nZ9drBIukpx2o5JRxp7N1LXbtcV\npt97z9FMSfJg9UJUzqHCIwe092QIkrQu7wAwSjRaIUm1U1PLgLNmwRz796ZOLkIvyjqybD7E7ofX\n1TsY5gXuMJSzxjLbzDLpnXc0febZ3KAROWsyUWt8qCx0EtaldY/d3YX7Bp02m0m6PVQYu4+voVbK\nh+PNlGaxMtULxXD2BUAt0ZdAVoETnkw89cRYkZNWh4NKgzKSvEAgHxQ4V5WtrbnJqozQsL0Udh8J\nBNimnTN1tzOZ3n3X9UKkqatLPAg4187hr/7qr/Qf/sN/0O///u+f9a5UeMCxbJCcVeL0esVRFbzu\nJEljmi5ejyHLXK0A53AcrJKpVnPvvXPH2ev1t3+cq2iiyEXszQXZS/STdxU9+aySxFMhtZrUHOwo\nyZxjqIVH6yQ5kADN0wlbhOd4aqOhwsCfJ0maRn4Tyd5YWl8vNMEtGqHB55cH4toeCRyDHUBo5zyV\nAdWEYIDj39hwToK1tff2nEO4fNkrk5aN8mabiAnovaBIvYpctdFwUtdr19xnp6mrQ5x3nFvn8Pbb\nb+sHP/iBpotGTVaosAKOcwi209b+HcOySrYAWC2zXGeYTKRs5j74uEJmmU6KY+cYDg6k1nhflxoH\nOc2RZlJ9Qe1iNpPi0UjR7b4aFzcKq6dNbu4qO8kxcM4O+pptPZbTLkThZFTBaJjXLfLzFrj9UiZl\no7HS7np+zHwtan6TfNZgwettYZtMgr9TbF5knKGi7KwoIv1u1xnoft/RPRsbLovgeJcpk2xmEgTe\nQZSVasuAg3jvPXddk8RJX89zN/W5dQ7PPPOM/vW//tf6zd/8zbPelQoPCODjbfETLJuvY0HNwS5W\nfxKIUMtrHUND1NKTlx6zdNJk4iPbTkd6ov92LreME2eIy1mI1eu39m4ofHwjd1SjkaTBSI0TOrIx\nwqPrE83myh8oMjudtT4bSg2vDpLmjkGSAld3qDWOZgOLivd8t9eNv3EdUAvZwX/QSzjVRU7CRvy2\nEa7X86M3dnZcZjaZOKqH+tKyGUtskzEio5F7/cbG6s1y1CAGA1es/shHzq+DOLfOocLDBaKyD2Md\nXmbnlBdgOWkyp+Spk46OGVa3BMtkq5JZQyGIjr7RADqp0XDG5vDQ7cfamrTRmanxn97LOf9AR40Q\n8stZ7Lj/+u4NNbvPFsZptGajpcYL45nLQYeTI+ohzl08y5SMIyWp1Pg/vqnWv/9TSVL385+TJKWf\nf17hf/dxqXfyuVsGOqRx8DgMOqXJZujfCALvIBatM11eSzpJvEKr1XIZGsuHXrjgnAcOYlldgc8J\nQ2fk9/Zc0+AqDW+1mnMQ16+7z333Xff7PS3T+iHjTJzDG2+8oa9+9av6xje+oTRNdeXKFf3whz9U\ns9nU7/3e7+mZZ545i92q8CHBFltXkXOeBBtl2k5gu97ASWsD2GU4warzdKTiMZVpCGvwa4fjY7dB\n8Zi5TBRq63WptfOesjhxfRZyxr9sRIhe2+25Smp8oGw01ijruBpGI1MzKe4DzrQrv1gQ3cH17lS1\nbX88FIjjWNIsVm1OT+lfvqD0f35B4f/0Oem11yTNl5X8gEukkaVIbn9wFmQx9G5ARdHpbEdklKlA\nMgWOYzh0r1lbc9eo33dO4tYtlwVsbHjqaNlaDwxSrNV8HWNzc7WGtzB0GcP77xcdxHmbx3TqzuHl\nl1/Wa6+9ps58zsC3vvUtRVGkV155RVevXtVLL72kr3/96/nrv/rVr572Lla4zygb4g8y+54lIi0w\nHKs8XHZtYsk3YrGdVWEnpVpDhMHPR2fgQRaAoXoM62s2nXHh5/DdtxXNHG3TKNVHkN+i7beL+Yz/\n8abSj/2UM2yJ21HqL0TQknMOOJX82OOJFBy9ZmEoNWqxGidlVYuWjfsAwFlQb6CDmUF7ZA/Mnjo4\ncAaXRjlb+O50vCPB8OOIm01HMe3ve6oor/OkiyfcMkerVnPvs+89CUHguqdv3HDO5dq18+cgTt05\nPP300/ra176mL33pS5Kk119/XZ/5zGckSZ/85Cf15ptvnvYuVfiAYJLmIqSpi05R8xweuoe9dw/U\nA1GjVDToqzxQjKQgsMUp3Es6D4WF5LX8P5xGEMjv8IJjmc2cQYHK2tz0M5mawz3Fu33FiYvU7ecg\ncd3Q0cV8okjKrt9Q45845zC7MVI69Ya0839/Uxf/nz/Nt9X7l44S0vPPK/uXLyg+nGg6MKMxGqbX\n4DDOJbTlY8mXBR3GSsd+P8tS1rKkVSr2RRw3i8lKWtttd0yjUXEcd6vlzsH+vvtfuR5QXuSHYvXm\nprsO+/vOWJdrCdQhFu1bq+WK2nfuuOuSJK6fYhVq8okn3Pd+32UQH/vY+XEQp+4cPvvZz+ratWv5\n74PBQGtra/nvtVpNcRyr/kG5hwofOpBwMn2UqZZ2/WAKiY2Gi7IODoqLtNhmp2Ww83Ok1adlAqtA\ngj65V463PBDPoqyskeTTnNmscJDjsV8AqN12M4NsYTp9746ieZ2hfG4YDS0VRzrk6yz3+0pTZ6ji\nWyNlQ9/b0PhXL0i/9oJ7w+ccJcTcp+hQSqYTzUb+mlCTyTIpvRMr7Bf3ZWN+LDTVZdNEqUke2Lfy\nOtLHgQF8diZT2dBCv+EkOCc4ZoKB27f9okoY3WWL/Kyve2HBwYGninA6xy0GVKs5B7G76zPB7e3V\nDD1rQBwceIrpPJi/M9+FtbU1DYe+5z5N08oxnBEWadMXadUx/GVJ4iLVsZVUQplg2KyyiDHL5Wmc\nNF/R+dpuO0M2Hp+8dq/NFqAVPsittWggnsXCcdzc26ORszRy+3/7tvtzr+cKoThRjOFk50DS0eyG\n4qkd6Me5jyIpCKVWNFU0ijXL6qqPR7nyivegBqrLTzll9lEtmKrV8l3MFIfdh8dqmGU9g9DvA9Lf\nWhar1Tm+5lNe28GuOGfvCYtl8mOUZe22O8X9vl9Tem3NnRf6GNbX3fletsgP27l82b3/8NA5iLU1\nP2qDGUuLHEQYug7ogwP3ut1dl0Gsonqj7wEH8bGPnb2DOPMa+ac+9Sl9+9vfliRdvXpVzz777Bnv\n0QOKK1cWD9G/i68gDBTWAtXqgZL//UrO6xKR2i5WyUdv6+vuASKS63TcA7S25qWDljZotYrv4UEj\nAhyP3XfWXZb8KGW7nvFx0SijEaB/er0P9rCVV2QrGwcK44VxD0iGpNxJZJnjmaPIRbPb2/7YJS9n\nzfYPjtQZWM+AZjnJNaBBqwSh1J07rXDinEI3G+XNWhSixxP/eTYL6vWkViNVGEf5KGwKt5ub0oX1\nmft+wRlXXf5hAAAgAElEQVS9jXW/zzSqzSZJXqDFUJfvHQIN7gc4/1bLT7nl3qCWZNfOYA3ucu27\n23WGvddz/2ONbrKrft85Ze4pyS9FyvWl0e7iRXdt1tbc53FvQmUtq7sHgTtXa2vuePf2FgdNi/D4\n4+68zmbOQdzn8s1d48xD9Oeee07f/e539fzzzyvLMn3lK1856116MHHlinTlSqF5qKwfB+sbgQ77\nLmwrd6bmv0tqL9CpL5ugSSdrGbagKbkHr7yoPMPOiGB5KOwIg/L2JN8MVQYKm7vpVzgJ5RXZLI4U\noYHV186dw507bltkDEgx2XYcS/EkVnMyVL3pryXGSXJOhd6CWuga0jCkceyUTfVopFZ3Q2Ey9pNR\nidRNNpB3ZMt1UEtSGE1UX2vmcs38egexsrAY3Xc0bwibN8bF/Vjj/lHnbUdklykj6MXyGhDcG5xj\nO8KCjNLSkmxjc9OdDwINggPoxd1d9zsd8by3vIbD9rbPVHA0FMVZz3vRPR8ELvhB6trvO2exikT6\n8mX3GtaEOMtFg87EOTz11FN69dVXJUlhGOrFF188i914aGDnBC0aU1B+ACV3s55G880y50BEDxh/\nLRW7cpdtr/yz/Rs14FUHpJ0E6ipwz2XYEduFc2roUo1GuSa+0fA8s13nASOU7vbVyFyELzmjOxg4\nXn9z46gyK6w5JzGbzR1DTWqkQ8WpFO2OlJlZSEnpnIVzx1Cz/H59Pg98jvz+2o+VHrpt0CHdkXMM\n1EZa7UTtbT9qAoNsa0aFmoyKhWbuVUshsd6zdRb2nmfbVrXG+g+jkTung4HLIHo9d70OD917GL3O\nAD8m3qJQWl/3PQ1kQXZd7GUjNILAU1gsUpSmq439fuwx95rdXa9iOgsHceaZQ4V7A5wwN7LkH6BV\ntP6n1ZVZdg58Z8gd/Lndn+MMernOYX9m+B2G+n44BgwPFFoZGChomAKM5jY6GGtnxx3nk0/6fbMz\ngHZ33bbWDveVZs5gh6E0mPru3iNF8FRS5o1+c34ux3eGSh6X6lGUL8ZDs1wYmDUY6t742oPifGLc\n41gK+7Ga8z6HVss5Ick5LGmeUYSx4oaX47Lftn5k13HmXsWpU1vif3ZlONt8xt+J5C11xbVoNPx4\nCwbvNRpe0oqqCdmr7YdgtTmGA7KfFLGzzM9JYlnYMpC6BoHb1mjk3rfK2O9Ll9z77tw5OwdROYcH\nDPahBQW54SmDvoFlKo6ylJF9RJZaXgT+JFiHYB0FXDS0wv14kOxM/0UR37KBe4WdmqN/c6z4SffQ\n81qoIii2OHaGqhv3VWt7o5Im0vr/+001/88/PfIRdCdLrkM5/pUXFCdSNhi5+6IpTcc+u0HCSwRe\nPk9JIkVjadr3dZR63V3fVmem+pqvAXAtptN8GriUJbnjt9mqpSMZe2GvJSo3gh2cCVH6dOquL/Ou\noAtt1sF28zWzI++gNjd9oyHFZ3ojDg/nFFnH1yDC0NcXWEBpe9ur7eivwEH0eouzSgrfkv98abWs\nlvHeZ+UgKufwgID02RaD7eLvZwUiX5qTyihnDkSEtqB3N4W3RZnDdDo3oqkfi/BBYddEWKZvL6/Y\ndgTGOcSH41wtQzYC1QDnvbY277AdHkiBnwnUaEj1f/WC9L++kJ+DyUTqfP5zGnzztTwwmE6lhE70\n0UjjsbR/K1MCJTbfzzSTopl7+Edjl0kQgSeJNN7LFMyNXa/naZckzHI6h8vQ0PyaIjhopKqd0OTI\nvWsDHTKG9XXvKNkfKBwUTYNBsdhMlsiyrXa7NP1xLIzSoKPaZgTUNKjf8Heuc7PpCsbUMqADbfPb\noiCBe4jaFNtbRT138aJ77e6um8n00Y+enoOonMM5xiLqiOLbWcvcQD58bYlyCIkkChXUSqORpwV4\n6FdxcjgHHAwLxdiHjcj1XmEdwzIK4LhGuBzjsQYDaU1STYnqQaQoaubXFWNGdN3pKO8aRG1Fw6Dd\nB/YPlms28wu0NRpSvSFN90fa283UlV/XYKH8MvDbY7BdlhUdRj46O5KC1P2vbmYuFQziXZx3VFIs\nSIQx5x5hVTcbFDGfi/06OHDGmlXeMOrl7Y7HPuuo133xGYoKZ5XPo2r5jnUa7chw6ZlAtRRFfibW\n1tbx3dT2+nHuTjL2ly6576ftIM6JiXm0YJvDUKlYnlXy0aXtVL3Xjt4PExiTZc6B/bd8a63mR2hQ\nrCwXqJch1+PXvGOYTj1vjNG+F+eQZb6TGGO96Hwf1whnMd0baTqdO4eapMlY6jXzURCW68+zk/6h\n0iTLzxfRLsARQCsS7dJMR/dvmmTqBmNduLB47QeQZn5f8mmnHSmSbxzkfAeJ1ApX70pfFScZ8273\naM8Loy+gJ0cj973V8kVmu12c33DoGzLD0Ncq+GxUS9BZSHxtMbrT8YIOHPhk4rPX7e3FM5asg6Dm\nAVZxEGnqspTr152D+LBp5Mo5nCKWTQ8t66Ap0Fkp51lSR8fBNjIt+p/VtEs+Ygb8vGoHrTVWkp+R\nQ3Rt5ybdLYgal9UYpKJMdhndJEmzaar9GxMlyHJDqReM1eht5rwzx1KgpQ4OjgzT47WzmbS752oQ\nOCVbrE1TZ6DoSN/qjVRryhQE/LaiyAmShvM6TThXBYU1KWxIrXVPueTqnLorfCfRXP1Uc6vcrZr1\nnYTjjHmr5aN5DCvP0caGj/otZYR8FEefT7A1DoG+GYQRUeS/WwfBokC2oxo1Er8zsylJnDE/zkEw\nJgUnj8M7Dpcvu+/7+z6D+DAdROUcTgF2zITk01jmx5PO294EHojz6hSkIv9fltBKRcrJ8qz2uKx6\naZXPoxMX+ohOWLIOzuMqKESS8lncspqFVdQcV4CPIun9f5ipOcvyB359TaorUjTz0T7ZoI0aJ8NE\n06nn0yVvzAaDeU9DV+rMnQPbmM2k4cj3PHQ6UqDkyL4RlY8n0hPyBV0MZa0mhT0pWDRdtCslpvci\nTpxzGE9czeGDZBS2O9o6GzqccaIsVtRuezkrtBcD72iS2931DZcU4empgdqxUlkchH0eaY6DYrIO\nAmls2UFMp27C66VL/v8W1kFIxZX2TqqXXb7szhGLFX2YDqJyDvcB3KRIEm20xQ0meZ28vZh2rIHk\nOzTPy/Ct41B2CETd9nfJ02etlnu4rPSP169SlObzkCViWO0DZfsoTpLE9vt+bAfc/LL3EJnyAJcp\nMFsEPTyUkslM3a4rAkvu9WkU593MGCu773Es9Q8y1QPn8KBS0kyKpl4V02z6hjbokNFYUnZU7pok\nzmFwj0Ljsf/MDio4umMCEntv5uKIwGQUiRROj1/vmfOVN+ctaNQEDNKD11/0DNkV4xoN331PR3MU\n+Z4FMq16vRiw4SQJONg/q4Ki5kD2gUPAiU8mPmgYj91iQlm2uKeIzJMMgs9A4HAcyCD6fUcxWWn0\n/UTlHD4g4rg4eLMctdqC1yqc+t0MlDtrrOoc6GRuNPzDao8TGu0keoIH9tYt9/7HH/fUDvrzZfSV\nhV3gBrpCWt0xlOc/WWkxWcFGZ+aUM2aO0ORwpsmmj2DLRmB/39cZiMwlZ6sZzdFoOpbI9i6Mx+5F\nON3cWA6lYOp2IDZ8PaMppA9W2OR8MeguSaQ488bc9htwrsiCyjJW+heWTWclgucY2Her3mPmFs1w\nGxs+46KobDujoZrIahFMAOgtJK9ScfgeUlccRBAU6zTDoXMQSeKccPnehr4kgyCzIzNdhjAsOogb\nN1xT5f12EJVz+ABAXSF53TKRkG3weVjBQ2qNu4WllehAHQ7dOTODeHPd/ElFaTuqyBbx7eIvZGyL\nnIwtOLPfzaaUxcnRF89hJ7pax2A19WyrXncPa6MhrSvOG9nYzmQQKwh8MdXuIx273fnQuyT1Xcs0\nWmNk7RrSLBBEd/ZkUiwx1GtFAwqtd78NCYa9UZPiTrEpDSUVTZm223nVZ4SOY2o+3C8Y6iTxWcZk\n4u4TDPfGhm9qI1tcX/cZIF3TNLdxv5IpUMOABbBD+qgzQOWxrzz/LCQkLXcQnY5fkxqF2HEjwnkf\nFNNgIN286YKl+3ldK+dwl8BYSMWCIg/reZGYngYsXVamBrjJueHR4rO8o80S+NtJzgHOn+0gN01T\nHy1SzCXSlrxuHiNJMTKP3MsVYvleArIR6iQICuyID2iKft8dR68n6fYsPzY+Io3iXFZqH3ookzR1\nBWEW96nXHZ/PSPRaXfnaDuOJr5PU62YukpGZ1nrSdB6NJqmjuForLor0QQCHb4fZoYjqdlfrEF4G\nuphx8sOhd9pQTr2eb5pjIisSVDKt3V0/HBJJsX22KUxL3niXjwsnj1oqr/UE/l7Z3HQZ4e3b7n2L\n1nng86GYJK/COslBPPGEyxwGA/e6y5fv3/V9hEzZBwcpqI0MPsjaAA86rHPAuAN+JhKjG9iqTcp0\nzkkqI+gbag22eI/CBAoAGsEqj2om4uazajUpHc/TkelUarcLzVM4trKirLz6HI14GMDpZKbGPKOq\nzc9HrzlTu/SwI09kzk8t9Aac+oQ0d67zTGc8ns8Kkqcr7agJMB5liibO2bRbp3OvJok0HfkMmuY+\n6LfBwN0H5fMHlVQewrcINiCjAIy6y/aMUCCmQM2qeYzIGA7de9fXfb8BTXIYd84t7+EeCwLvQChU\nj8d+KjH7OZ06aevenssgssz9vsxBUHyHhaDwfZyDePxxt10W0rp06f44iMo5rAgcg/TBIp+HCdbw\nE8ED6xwoCEr+NTQ7DQa+YHdSURo6gdHgyAzrdfegwxvDNdteAnhm9hc0m9J05Hib8e2h4s12HpWi\nXLLTQvleNvBMTN3cnB/HfD7RcChdEOOwj66k1u+71xCFdtqZwpqRa8aegmGNAcZISL7xr2w8cFa1\nzCmbPmzlWz4tNZMmw6POGOrLFncnE595ISm1sPOVqElYlCmh0ejoFF8UTmQQ47EfRY7SaX+/mEV0\nu74HgUyRTNOuJYLCydJPVpUHouiog2Aib/l42A4ZoVVGLbt+tZpzENevu6bAMHTb/6AOonIOJXCT\nSz7ygd+UjhmV8AiCaEVyNy/RPA+NpXOs3E9yhgsuHYUGdE35pibFJpJjFs6FC3OKZeyzGD5re9sb\nIMk3OJUzgFpNakduebPxzb6i+sVcHrtqjwnrTrBmxGAgRf2ZQkMTtFo6Yv3GY2cwJEc3dLuuHwLl\nDeMZkG/2D10fXb3umwgXFZTh3SW3vgPv/7AwGruCdxxLtabPCMgG+Fny3+ktsBkc9RyeNzuimyzQ\nNuuxPVtYxlHYCbl0mVNgpmDOeSG7iCKfRdhjsA4BtRLrVFPvmCedeSYjHXUQFy8654CDuHjx6HWh\nQZJ+nUbDK6OOcxD1uqeY9vbcfm1vfzBb9Ug7B25MO+66XFTFKfCQntVs9fOIfMZPx8sIMUrQMaTo\nu7s+giJFR8LH+gY4gbI2nFk2qJ64XvDAdAijWKF2QS2kPKhQ8kZ/MJBqtw4cRTPuq7lWHB9+ElCs\nkGXs77vorTuZqWE6wSUVdiKKnJIlTZ2R4MG3I1PIfCTvHJtNr9tfBCixNPMzgu7aMSxqWjF/p54U\nRVJPrpEOR5Cm0mTklWUIBMrg9WSfPF/MSrJOwM5ZWqaEKmcRw2GxFigVKTg7wXVtzVNMSVLMIuw8\nJqa04nj4jGbTByKtVpEOtBRTFLlx3LduOQeRpn48t0Wz6TNu9nsVB9FouAzixg33vEkfzEE8Es6B\noqg9SRgbC+SWpOm2g/FBkpieFsrdz9YQ8FBC0UAN3L4tPf20X193MnHUChE/g9UwtvCukudh7eIs\nFJVtsRhnIfkHzWaARKmjkZQlqYKBS3860YHqRkV1EmYzt+/0bhweOudQr0tr7VjdjdKDOc8cZjP3\n8FKw3NryL8G5Ue/AkM1mrhaxbDw0m0fuiSLJSj/LaMlneHwdZ0iyzGUIFGBnM+cciOolKZE0mq8z\nbbMFrm35/PFskimhCsNAc60tD09wIPk5TET65Wi/3NRIpoETZZ/W173KCUfE56OIQhlnpwjb4YsE\nOqimrINA8zCbOQN+65aL8LPML/BTuDZmqVZ6MFZxEEi8bQaxuXlvDuKhdw7WuJRBZLlIcw4qp7Ac\ntq+ABwRKiCUSkQVKnrMdDDxXTmSLoYRqsovDYNytuqnd9moUqCWMqL2eFC8toshTQdleX92aSyHr\n48OcS8xHRphs0o4DYdTzYOC7tSl4XrokdW7NpFDSN7/p3vy5z0kvvKD4f3xO+/vunlxb88uEcs5m\nUabx3EBR77DHVL4f2RckoxRMw1CKZ5nCE7rFZzBdttt9KAWjYoA0GknTd6XZO0UpsOSUUEHg1FTN\nptTcKhbJy7DnkSwE6qjfd8exu+uNMLOMOH6WEyV7sSMzyAihZqCRyo1oFJ8x9nQtQwseHLjtI3nF\n2UKPJomnleiBYSLsdOo7rRc5iDh2BvzmTRdMpKlf/MmC+xYHkTc8nuAgWi3ncG7edOeRWWZ3m0E+\n1M6B5iVJ+RJ/pLHHjUmosBrsynPQCFJxCNn6ujOiQeAeCFbhYh4OSh26UtfXPV1FbYHiMDWgRsOv\n0Uv6TcaHhHHROGQiMR7Y6VSq7exqOJQ2JcVRqvhWX8n61rHKKbIbiuDdrtfM53p3NvDCC9Kf/qn0\n2mtKslD7+z7j2djwtAjHnNdW5ioY5MDo6i1nX5eTtGapl4zSkFWrSUFHUrN43/NZ+XVLjhrq0a4U\n1b3RzdfHvi71iMbnslhpPhpkTusFdTe4r5yN2N/LX3YMxtaWd3Q4cDIB7gOkyK2Wz7pQy3GPkP1z\nHw2H7nzbHg+UbLb3hfsGVVUUufdRT7LLfx4euvuQdaZtAyMO3QogrINIEl8j6Pfde598crGD4LpA\nta2SQXQ6jrLa2XFf0t07iIfSOaASAagT7P8f2aLyMo7hHkDkRpre7/sozGYFrNlLik5kNpn48cnQ\nRHD0NlvAsXPN4KqZpQO1gBEZjZzT2dz0+2P7HGw2E+7v5k4tmknp7X1lva3CzB3eY8c0sD9ra85A\nQVct62xNEmk08bUZpsgC1m44OJA6gbS16Q0L46slUx+Te3hroTSbU3IU0TneeCyF0aK98aIpqBqO\nkXOPYUYtk2XSets7P9tZ3u4UN2yzSeuUyiCyJkOzdYQLF1xWBdVDZkjWx7nm3FAL4NqQydKBPBy6\ne4Ksw9LHZLwTc31YP3owcPUBMgUCkzB0zqHfd/chdQvUdwRLqNuWOYgnn3QOAmHHMgfB8XN+mJF1\nXB9Er+fOw+3b7ovC/KoO4qFzDmUaibG/Fo+sY5BWG2K0AohmMJLQHfDFRE1kDVAd6+s+3WecAhHq\n5qZvJOMh56Hd3PTOxMo4y3p4to8BgauW/O8HB95gdca7+XrJzYYUTPYU9H4qdwREowAngVyQguVJ\nM7HGY0fh8HDb8etQVPv7bh82N93fWegnHzLHHCD58RlsGwEAzXCB5hG0UQ1Bt9iGRcvhE32PRlJ9\nyytnMJSbNalZUh1JvpM7COSaOhYN7VMxOzk89AvsEOmTBZIt8EUPAvcLWSS1D2SyRPaM82Cw3tqa\nu05kAoOBVx3a4YfQTNTItubngC7n2cxvH0rp4MB94SDIKIjSOT4cBPQTNspmEMscBHUS6jzs7yoO\nYm3Nfcbens8gVnUQD41zsLJKsMpKS48cVh1ZegJQAWF8iSRtNMyoDBtRt1o+4ucBe+st97q33vJT\nM1GfYHCJvMp0YNkYdzruod7bcw8to5sxdGjIJamVjNQJp4rm25jNJN3aV2yyTjIXux889Bh6IsEy\nTYmxa8kZ9mZTiuv+fPGavT1PUfW6mVqtecdr6JsGM827n40KS/KcNVG07cVQJ1PWKDoAHEOSuP1i\nNTorLuh0pMaW1/dTHA5GkgbFOoFUnCcUNiSNi9u058IuskMUXlZV2YzDOjLrOGwh247ixiGQSTQa\nvo+EpULZdzuhFYWapZkYdNhouHuJwIUFfQhO9vfd/3o9d2/3+z6jQE2Ho6OOtoxiIpgq1yCoiYxG\nvq60qoMgg97fd06ObZ2Eh8Z0jkZF1Ud59awKc9wn50B0TyRWplR4uFEhYQxt9yqO++mnnWNAlbFm\n5KQYOmgnDOMyugKqh6hU8kVjW29qNqXazf2CoZakYDRUo5YqrIdHMgG4dzuug+yiPK46jqWZmXPU\nakoKPXVCFL+/741RryetlZY8TTOfKdgiZ5I4pVCa+sjYZiKTiTTZl7IDV5PAeNv6AteJcwzVkm5L\nsZGT4hSzsaSxystD5PdDHEtpIA2v+/diENH/c1xcf+4jPp9I3tKSFN0pyJaLyMxY4n6DehqNfB2I\noj0UEsYaMQE1Dab8krFS6H7sMUePjkYuAt/e9utGX7jg/geltLnpM4rNzdUcBEXp69edY5EWOwgy\nCPoqOPcnOYitLXceDw68gziJYX5onEMZlWNYgvvkHFCBEIFRIANQTvyfEQd2QicP/fq69Mwzbnuk\n8mUKxPYA0EthswhLOdRqfmlFZumUDX2nI9XjA0n+XnHOLZPigdTdOHLayF4wLouyBhympk6sVOD2\nM686oahNJMvaAOP33Hjuet0Vpes1T6nQv8D+SF7FQ48I1FCWSdOh1E78/uLYklS5hUcqansKDg8y\nRe2jKw/WD6WamSCaZY5Bgoap1eUOuldsfsTpQMNBC7E/NtDgHEM1Ef0z3pyV3hghQq3Hjr1AmYTB\nt6o2zhf9CCjM7D2NFLjX84X+et3dU2QQTFslK7140TuIbtdnEFBORPmrOAiK1NJRB2EnudJjxHOG\npHoRgsA3hvb7LlstN4SW8VA6h+PG3T7yOGmA0QogoiKi56a3fgcOm4cBUEuwHbBWKljupoXPt7JZ\nuy1ANAnFYusSGD56HXIncXCw+ADhBOaAjpJ8ARfVDAaQfSQaa9alWsMVuS1wIszigQZinw4PHd1j\n10OOIl9LqNfmBeP5g434guF6yryx73UzhQ1v8KKZ+78t7kOTTSaO+koTKf6I1DYRfE7NtiXNHZUN\nOsmagsCN7KbGAc1DTYoRFMuoXu4HqJ44dpeiXBtgnpHtSI5jZ8xtAZ2CNAEFRX8WAGJMBrWdXs87\nKehQOqKh5AheGIURx14FdemSzy6SxL3WZhBkPtzHqzgIKCYLO8nVOgQcxDL7FwTOQaepr40ch3Pp\nHL73ve/plVdekST9zu/8jjY2Nk54h0ehI7XCUdyjcyjLQO2CMUwNxSHwNyI5VCFET2VDT6TGg81D\niQFbVEO30Vd5fQb7cPC5oFCjWOYczFOTZT66h6POMvegHxx4OigzWUGzKakpTYxjSFLlS3ESjdqC\nZa3mFCVNOWNjm6qoN4ShFCfSYd9fB+u0uh0vKU0S6XAipQOfgYWB21aj4fZF8tRNnEgNSfW21HxM\nCjeN6ml+/huBc3i1kkNbW5OmkTSLpCTLcgfMfQFtg6ySOVLW2LM9q4LCUWCcoS85x5aeou7Btu1E\n1k7HGWfuX76I8HFkBBY206X7ndeQITcazjnQD7G15a4ZGQTXh6msBwfuNWQs4CQHcXDgZeAWPCPW\nQZBBMIV2EcLQ7WOWue0fh3PpHF599VW9+OKL+v73v68///M/1/PPP3/ie1gB6ixgO2/PPZ11F7QS\nEb4dicF3hplJXkKImogGJM4HBqvV8hQEwMmgzSejQG1UjjKhmJjCivwTgzQeF5cNXYrJRMk4yj+/\nIVMnuXOoeOQjWSJ8nAMF49nMFz7LNYdppMKiPJKnoaBTLO+L1v3CBak99NlCOs9M0tD9fDgvdqIO\na7b8eG9zaJowBXfmMzDoGZsNbG/Po+JM+TjwpCdNguIaB/W6VEudwWC/Kbbv77tthaHUaEq1teKY\nbLp9GTWC7JmMAseA4bdZJCPOCTygfqgFWCdBTQNacTTygw2RBK+ve46eaa3r674uYUdvY2iZy2V7\nDNpt12h2547bfpL40TA4CLqnGbq3v3+yg0DFZB0Ei0CVMwg7qA+nhRzX1vnKqNXcPr733vGPyLl0\nDkmSqNVq6bHHHtNf//Vfn/XuHAtuVlBeKezcoTxkqASrRLERO8bRcrtWqSR5ekLyUlaaeHioyt3S\naOrX1opNX3Dn1pdRPMSIRJGfIYN0kMVc7GJCC49zbz9XAc1i5xzG833Xbj//XOoYRHbIGOnJWLQE\nJNlRPfTBQi30x4OxZWwIx3zpktRNsoJapl53qqU08Xp9nKnkRnFn8tsZDj3dlaVZXoDF6ObNavN9\nTpKSY0iKxoqoPstcYxwRNfTgR+QLpc150X1c87SYNVC9nnN+1shT5M8b8EY+28T4ocyhWJzTZJFf\nAxzHRwZLZrC25rl/HHqr5aXRk4nyxkSWEcXQophjP3E81H8oVNdqbtu3bztHsLbmjnNvz2338NA5\nhf197yAw6oBnobwynJ22Wqu5z7Owg/qglGxmuswW1evF7vyFrzn+32eDTqejKIq0s7OjS1QWT8Bp\nRewYLsk/7EQVpMBw0ss072eKBVUoMgQ7s0byDgGngCGXPA2ExlzyRovz0un4B5lomXNi6RB+pwtV\n8sYfw1nuFmbbkl9Ahr4KHu5l98R4LCU7I4VpcR9qc2MeZhMF3UzjSZBHkUniG65obrIdy/ZcTqeO\nwuGe4DbgfFGMtkPkMCr9H0npXGXTaLp9Go9dJjA4dIb8wrbU7blt0v8Qz3zkDCdduyR17xwtLFsk\nc7opCObUjPz1xfBQMLbjRGxtCNVRkriGvNnI12R4VhYpY8gOrIyW7BK12d6eVz7hgGyWgSPEieMg\nuA4YwV7PGVgWVYoid/0Y2TKdukCDTFDyGSFO1SrgJO8wLl50+0M/BAoyjO8iB7G9fdRBEPHjILiW\nH/mIcxC7u54WsrCD+iYT/37qScuGhZ40RPTUncMbb7yhr371q/rGN76hNE115coV/fCHP1Sz2dTv\n/d7v6ZlnntGv/uqv6stf/rJms5lefPHFlbZ7Gv0MjOOwNzrRDdGO1VETofFwlvXktgP31GC6b+Ks\nliMlcc4AACAASURBVO8rxwSVw0MG4N6hlLh5cRw8RDw8/A2Dnssve/7vPPB2JS3JZyZkJUSIebG3\n6aM6mqQkr+RgHLh1WlYZk6ZSGE3zLIRr4HsPMo0HsdKwkVMcLMICDw9NUwZUAoqcXF00rzkEdU9p\nMPZ5c9Nt784dKZhKvaZ7bTyTDoZ+v2nyogNX8g6U+812L9e3pWAJ9xxFrr6RpZ6yyiWzPSkOfZc0\n1EpzIDUTE6Wb4IdsIAukZHJUXLBohIZUnEfEvYOggL9DlUBF4aS5Ty0VSVBCxEzg0+n46bcHB17A\nQJMcNCl9BNR8qC9AcZHVlceRbM3nSSEVpQ7Bym+jkXMQyFz39hY7CBvwWIqJDIJO53LU32r5rmzq\nLCiapHubJn2qzuHll1/Wa6+9ps7cCnzrW99SFEV65ZVXdPXqVb300kv6+te/rp/7uZ/TSy+9dJq7\nVgB8sFRszME40mxku28l355OWssNBDe/COiwTwvZ/oECSYP3DpRtX5BU1JgvizCJmjAMNJNRb7Ca\ndIw6ETLGC37fjj2WfLRoR55IRwvRdJeyvUXnjcieh2QRwlBqa6K46Yx2uQwTRVIyjtTYauRrAEju\nGNnmooIfmVetJtXCTJOZM7rS3PA2pPHMRYCHhz7jgWJJEmltbtSGA891Y/DpJcFAcfi2mFu4jksC\nDyiZpvw1aNS9Mqp/RxqpODIaaq3d88ovwLVOU0mhq1dAgVEXKAdC1klwjGQpktsWNQKcIw10dvop\n54baEH0QzNfifuS5JTgZj32t5ODAvZbuejvXi+F73N92BToCBWwDYzVoisNpsHY0QcvGxt07iCxz\nndPXr7uifhAU+7ok7xAIFKzklWD0bnCqzuHpp5/W1772NX3pS1+SJL3++uv6zGc+I0n65Cc/qTff\nfPM0dyePRHOONvPfQS7RmxuqVWb924IfKSzyQZwKNzyp94e9TkSaStEoVvr+nrqSgju3Vb98IY+K\njoNdSznLfKco7yN9ZQY+sOOnJfcQUF+wNyrRIw8yNILl6K300nZml50ZzVOMk0ARZCPZWk1SPNWU\nyG/+XlLzJJXqyVTtdi//G6obGxxYQGNwnGQoNtthTMadO0VVDfTd5qak97M8O6UOwzgQaD1bbCTC\ntsXZ40Dth6iX60XEnCTSpJ9JWz6izmc77UjJbUdjYaS35RevsRSkrVsx4sIunsTn2voH4H08FzYb\not+EYvJ06v7f63kpKpQKWRxZBa/BQTQafjtIs+36DRhaHAR1HrJWO4aba13umkb+urHhjpMBffRB\nHOcgLMUkeVnr9etu5HetdlSEg4Pg/fyOouluqO5TdQ6f/exnde3atfz3wWCgNVM5rNVqiuNY9fvM\nEUFtcCOGoTd4ZfCg2iYtQEHsbmA5+UX/Ixr6sJwDxjmOpeDd91WXswrd/fcVtJ+V5KM+2z3L7xS6\nuFEpHPI7PKmlpuxn03sA7dTvF7s7Jc/fl29eMhqQU0KmE7hspG3367LzniRSfOgseSDvHKZTX5xt\n1ZxHs2IDsoJFwQGZYqEZblYs1k8n0rvv+owLHfv2tjMWSSJNZ56qbLddrYHV4ijyMjtI8ttauD50\n6YJAz3GeJC/F5G+ttrR2Sao/UaR2bt+WdFuq9f32oJV4LlotKaxLeqwYeNkCO9ln2UjxXPKd/hYm\nqiIEsD0OOAmMH6O9rWyV+gWGeTRyXxsbvqO41XKfQwcxGR2d4ajhaNhkf3Hc+fU2QRDrROPUt7b8\ne9mPZQ4C2pltWwdRr/v1IK5f90GZPY+2i5qaGZJX2wN0Es60IL22tqah4RLSNL3vjqGsJrLIlSQ1\nn4ovimKIiu53fQBe30ph7wVQNrY7EsMOPxooU+2tH/kI/Pahkn+4pfTS5aXbhRIjoiLzQRGCoUaC\nWm6hsLVvy+/zYHA+Oe6TzgGOBg7aGmnbIU0hGGNevm7jsRTOu8jIUCTnGBhToSjKswacJQ9eGRRE\nkWYS0TZqXso6mUg3bkoHF52ShdT/scec4UDm2Qh9F/F47IxykrjzRacto71ts9zCe3NuobmOhwPX\nfc013FCx0J5nuzXfbY3jCALXGNfqumMiO5CKctVUUpz6a8WzA2XFNkejopNgn8g8GDgI3YhRx0nk\nNNfcSSBEQIywvu5eR1GaZkteG0XFbmlUSnSaQ6VZB0E2g+GXius8QH3RL3HhgldJkUHgIDim4xyE\n5LNyDD41TMZxX7/uCta9nr/sllIiYyg3za0i4DlT5/CpT31Kf/mXf6lf+qVf0tWrV/Xss8/et23j\nyTFYSCqhKlahh6QPv9CNMWHxl3txQDduuPc/84y7WTEeGPBWS6q/946y0Uix5oXITAp/8iMFj18u\nRG32Z3hURhgAHi62bWkEzinSSluI53VWFij5G/Wk/jwKblZdhVGyHdJ2Bo9UzEiyzEk8iRgwSJLU\nseqjKMrVP2Q+y2bXWDopSeZUkTzXLknvvy/t7rnzidpkfd0ZBAxbreaMRW2nuODM9rYvbOJEgvk5\nK2eyqTHM8UjKhr4XhPHqODHJG7pkPlYjiaXxoZRt+WItdFC4k0nzvsHZzDXONeUz8TSTFEjJPBiz\n95Mt4BOw2etF9mnFCGSbyF9RFVEwRjZOloUqCKPIWgvUCGxthhHeHB/Xj8I/hfi8uF/3SqckcfvE\nPYVKj323/T/UGw4P/cpv1kGMx0UHceFC0UHQnW/Hj/PcXbrkgof335c+9rFipkwdxzoItnvcmA2L\nM3UOzz33nL773e/q+eefV5Zl+spXvvKBtmc7BC3O83RWu18nDc9ahp0d3/GIgSLC6HSk2rCv+o/e\nVGAKzp2OpPGutPO28yolUHCmwAmsgebBt9MtbSs/0bRUzMxsDwUTMakNHAceTGv0JS/h5HMpdhN9\nYUwkZ3SdY8jyrmNgz3s6iXLemgdrUVaDhJOIFyO82ZLCeR/GRfkZOxf+ic+4GFFOF+7WlpRcz9w4\n6zlNtX1B2lj3PSQ4hjUjZbUOIa+fpK6oncxXVguCOZXSnQ8BnB9rmklK/XXlWtU6RQlsHEvBTArm\n9bnR2H0Gs5UUzKXAdZddLMrCAfRkWebMVFSksxgy6kgUp+l85j6C6oNCQRnE2uMbG35UBvfs+roP\nIBi1AXAg2BKc/Oam2yb7u73tnSzROseNEac7mx4cpuhCBUGcsCjW7q4z+oschKWIoBO3t9173ntP\n+uhHF9O13DcMCiTAWCQvtjh1k/nUU0/p1VdflSSFYbiyVPUkTCbzB98gCO5ucYuzQBC4G4OUlg7c\nVWAVVCg9UGTgEMNkJv3N37r21kX4+793OaoJJeykzPK+kLqjn8YoB4Gn71ApURRGWcRDzENvjS1Z\nBU6nfJxlIwgnjYGxjmc28wYII1K4N6bTnBpBQVXOsqeHkUYjT7ksqgnZIjQPHQ/7dCr1b7vjvChn\noC4/IU3nx4ahGY99U9Z4LI0PpFriDG2z50ZiQG3AO3c7/rxPOedp8WGH65/Om+Y6Xfc+6A/OcTwr\nUoJIVHmdRTCV4oHfDzv0MDT9Cjh56yDKNS2uM70K0HcUda3qL4r8fUd9AzoQ2oj6E+uJdDq+XrG7\n667h+vrRLMJ2FBOYEXygzEN1xbM6HheLzZZqtGNfeDY7HT+mg8F9CA6kooOgV+LiRW/YuTYEjzjA\nLPOjW/b3fQZh71XbJAflBgX7yAzeK0ed6JIfFHQ6Xle+lEOeAwUUygzogq0td1Pl700S6fXXly+i\nzWv+7u+kT39aCsNcJsjDwsOOkoUbam3NG2ce6jj2kdV06o+DqJAUnVoItQtbyC0Xq6Vij4MtWnKD\n2/4Divv5eAkjPyWbqCfTPNsJX/mmwn//p+4Fn/ucOyW/8rwG/8v/puCn3QO7TCxg5ywFgSsS7u/P\nDd5Aaho9/6VLkrIsHxCX1w3m61swC6hVl+oNT9ExsoFu6l7Pj9VoyUtlw3BONWVer7+7K63PBREs\n6Zk3Rc33i/WfoWjCUMo6ckuMmnM2m0mztKgg4hxjgNJMSmMpnnj61qqi+FoEahLDoRci9Hp+2Vho\nHpyF7cdhH8kqiPyZUXV4WByLjhxY8jULaK6NDfd+nkXJO3L2nfdDM21uFoNQzmMY+gyCOkgQ+GF8\nZQeB80HRdumSf17s8dkaAtuAznz33aMOgp4bsjH7XB+Hh8Y5lPEgOQbJ65Btmk0R1DoKW0vhZ6Jb\njHKjIdWyWPrbv53LTLxxzTIXJRdujJ1dpVf/Xukn/ll+w8PLlgGX2Wj4UQrMrUEfLrkb8sIF9/EY\nUDvfx6qiGHXA8TGzyL4OUMsg07DnDUdki+XQWQWjdDB1IydSKfmVFzT7lRfU/fznlPxfr3neexbl\nEzgXIZe9zmsf777rHmhmfG1sSNHQvD/w59Vet/V14xjowJanUqZztRINWWkqZUZGHNZch3OaOUdB\nodMVmrNcgrlobIbkxm8c6eZvKLcM3FOcV/h9e16o+ySJK0Zbx8A9bNV/dsaT7SNC7ouCj3uZz6MB\nkMKqHe9NLQV6krUcqFnQ+0C9zK7gZ3tH9vfd61stTxEyhtuKEwgICFygisgabJPmcOhXh+NvZBBp\n6h0gGXmv595DBmEdBGyBpZiyzDkotvHee85B2Gtq16LGQZwkgHkoncOH3TPwYcGmo2UQJROJ2R4A\nxgFjSDSbqfl3f6PGYM9FMKWboCtPR+T48T9qmG1q9uTTeZHZqpP4Yjw0YGRIq+X4T6I60mt4Xubq\nW6kp6S4Plx1IhmKkXO+QfFRNNgI3S+EYg0a6X34IpqNEyTybwLBqfk6gZ7rtdKEUFiPJesHwy7dv\nu897+ul5o95/8cVNSVLm+PjpzBsXlq7EOfZ60gTlU82vhY2EstXyziCv5dS9s6FxK5wXkuuXpXWz\nXCr3TRT52sSiESCSd35W6ddsupEe5ecrn48kSYEv4NrxGNyvOG5+t30t7Af9Ctxr0Dq8hiI0mUYc\n+/Wh6WjGEKJS4u+sTpgkbhvQWtyv06kzypubzjDjUNgHHApBCXJ0HCFyW6mo8hsMnDOgd0Vyv9u+\nB8krsig+U4PgevA55SJzkjjmADXftWvOQdiaWrvtBx8uoozLeOicA5HGgwh7IZH58QCQUcDhS8Uh\ncNyoYRxJ//GvlfYPlGRz2iA+OhKjUbryaSq1f/yf1H18Xd0L20tVOeXucVJVCqqWfyW7sb0Jkn8g\nUaVAjdF0RXRDFgF44HFUPAj2/3yWHQ63SPLK7mBIJKlek9JA+fKcvJ4mSb6IMCXPW1+86DpYkU0O\nBkelmokxVkSHRLF5QfK2VB95pxeE0oVNH5VyHjkvjIyACmSN41pNam3O+w7k3zOLHaNkaaYy0lQa\nm9k+OQW34Lw05VRLYeDOX60hhaWsHUNKJG8NN+eW2oHNMLe2vIPiepIlck7paeBcYjRR2ZGBzGZ+\nSizjXzh3fCZ0EE45jr2aaX/fByEUq7nnGPHC9NRut9jf0u16xRIZBH9DkCB5FRMOAsNPBiF5R8zr\n+CyaEi9elG7edOfh/fddkdo+r4yXsYHmMjxUzuEsHAO6bYqv95q12M5sHh4uouTT6ijyRTmrjpCk\nVjxU8z/9jaShtFU0aJlchBxkfnsgTZ3RqAep2v/5Pyq4/D8c0fnCOxO124Fpkk+5C4qf1NM9GEkM\nDrp6KAfrBEjJbScvRiofT2F09jgKDDUPJo6Dz8z3xxwXWQ+fSwEwSaVR3xsvK8dlu52O57E3N5V3\nUTO63GYsRH5IYong6FO4dctFibVppk7TnyPGOtj7Iopcgx0yUupU+bA8zQ0dF3t+fTDixw7iS6TJ\n2Gc3jcbRAjRORnL70LK01Ar6eeoeNsIvz4hCIcQ+YOB5P+eaa7u97ZvimFu1uemcATU6CtpQKnRG\n0+vBMdDcxkpzGxt+FTjkp3Rr46yoDRE0oFQC0F6sL83a2dJRB2Hlqxj+3V2/DgPbtxkE91ccu1Hi\nN2+6fb1xwwUt9tzbsRrH4aFxDqfpGGwEab0vf7OKhUUg6iLFLkvKrGKCrk+Gv2EAONb8vXt7Cr7/\n/0mZ5wFsATCPfo3ygWgO6qDZlILpRPre96R//s8Llp6U1tZAMJb2nFhprq0PHB76G57xFnDMks+M\n2B7cKze8lfCxH0R77D9GA8PGPpZVN5IzaGRks5m0KT/SudGQxsNM46E38nDM7CcPJNfbUglZ5qJo\ni9HIdR83zOpj9Xqxy1eaj+2OfPSIY4hj5xBmkc8gOccUYOt15Y18tq+DkSC18HixA0YfhU29XlxV\nDaOVSfnUWe6ze4V1FLabn0yI/3GOcd5IOTH8ZDbb227fUf0MBs5Y2qF50EjUHVDykHFBXzEdIEmc\no9nacucPlRlZLo6B3/f3nUPhPNqGOeTL0Ek4CPozJF+kpjbAMeIguFach0VL9DKor993x3TZ9LpS\nozkJD41zOA1QDLLFXMuFcvMxcx9agZsDQ2Tfb5uEcCjo8hm0xg2AQS1zhcGN6wqvfs/JVZdkLnaC\npaR8HQM6oAtFyZ0d6cc/ln7mZyT5IiHFOx5Son401GXnYDlSZtcMBl4xYrX1pMVlQ2ObFaEWWEjl\n8ce9Y6A7lQyOyJuCtz2/Wctvy+4D2Y8k1eruAacobqNPol07KRVjSpExS7N82J7kDfho4hcy4rpI\nnr5ojYpd6VZ4gKO1TX0YyXrdOwA+s+wYjuOYySwCSZ12plrdR9X5dN2p/OTWBfcZgU4685+/KPAp\nf9lJBXYAH0afbJk6DXWuycSrmni2MNaXLvl6wbVrzmlcvOhrd9S0yL5t0xvPI7QUGQH9Ejitw0Mf\nXOHcmBbAIoM4AI6x2fSTWXEQBHo4CCSqki8+cx/TSc09yPPM6zjfceznMO3tuf2yo765H49D5RxW\nhHUMdsBYueBDnYDMwKaBUjEaKqs1bAEQ+oEoCm6z3NWd/eQthX/39/k2TgJGpd3y1EatNtepG/WH\n3vyhtLatZPtS3riD6oXj4liJysrSOFsoJrIj3bbzfHKlS3z0+Dh3dhjbcOiLf8wk4rN46On5sFES\nmd3oUMoGPnOz2Uq+qltLmgU+u7AZHg6j2fTrMEi+OQujSD1lQz5CZeF41CYYEwzMZCIpO+oYJJd5\nNOeO7/DQZTs461nsKSPuhcnEFdjrteOnAVjKqdWSglqx3gPlWQ/9OYXSach0R0tSoLzYfzegnsIz\nhTOws5nI6qCcGPFhi8tIvFEPdToug9jddcb4iSe8lNi+l8/N+15Cb7iZNnBw4AMB6ij9vr/fqAdy\nn+eBQlZUB1FPYZU6ni3JZyWS/xuG3/YH0W/B9eF1ZLSSzyBu3nTngMwKnNQYXDmHOTBieadp5iMB\nvLR0lL5CcUNUR7GRC2kHadn0mc+jkczOU+Ez4rhILx25mD/4gbIf/ljJPIKo3cXo7yRxDoHtwrNL\nfM+U/fX3dPjf/6LSsJ5H4/Y8oNrAwFn6BoNnpYUUAlFscE54aJB3lrMHJLVwrDhatOE2Y4BLbTT8\nuAIWIMr7MWaO15/Fvl9CUq7sms2kYV+a7vt9ZE6PldGurfkIj2vF/ROGjgKiZoSqiREZ9AmwVkKu\nuoozdU3PB9lJre4i9ixzxzWLnXOQfINfvg25GUpRP1N75rIG2w/Csdbmn1GmnHC2eeAw/19YL9IZ\nWeacA9c5CCSFxedI8vc/9zevtQ6X19hM2hax7fmAwkFeSkZHVo1yj3rX5cvO6Pb70jvvuKziwoVi\ngx3jv+mXsRmTbUaj34T7d2trvhxr0xfVuf7c99x39hnOp/Cq+IxTpLYOwspXkeQGgbv/zPIs+bZw\naNyXjz3mHMTt2z7TXQUPjXO420KwHeFgm3XKsH8vOwZrrOCjoQS4uWmdzykN44SYKU+EYEcaY2xo\nRjvC6/7oR476kY8sT2pqsSDSbJlRE+wbhn46mkpvvaXGf/NsYUEd+Gei4EXOgYeYiBn5HEVAUu3D\nQ39u7EA2CtCWH6dwyUMfRc5QQhuRWTC0zso3oc142ONE+RA6K3mdzB1N2PVNVBwf26cGwsNMlF6e\nqDk+9PueH/Omb6xjJLSdOdWY3yM0E9qAADkwxyh5KbCtc83m9Fg++nzJvd2VlxczVygIpOGhNO54\nZRH7nw0ljX3NwWr6896GRJosGc3A662Tss6KTMmKAAg+yBgIUIigKehbVRMD+WyNgoDk9m33NRi4\nQm2363smLJVEtmqH9pFpQAfhINbXfXGXZ8Bm1vwuFetTtZpfHY4Ap9v1s5as0+AaIEfluSkvCkSm\nhegBu3H5sjvumzc9ZXkSHhrnsKzIBleXc+2lKAbkUtDQK4BsBy8XlDTf8qkYdDTUdJxiWGyncJJ4\n489FnU5dumd5ZKuIOeIY/uEflP3gvxxR+UBN2GMrH+dsJq3Jq3TGJQogNYX2IJB6N36i2n/708rm\nq6JhrHgQJXd8tjmPSIcIilR9c9Ol9/2+P4c8iJae45hsez+Z3HDo59XQSUr3KdeYYjZZGqMVJO+s\nMMJWVYTjazSk+pYUmFHI47HPYFgTwGY8dtBhkkizvhSmfgZSu+0ccW/bOw8KoTjJJJE2Y58RNZvu\nPSxfisNjoJzkqSZ7XepzNVtrO8tXBOJ+teoyyWezNNFNJ9LBvhQZ48L16UZSK3AZjH2GuKdrNUdh\n1dd8ra2srsHJLgrIoGrKwxtxBjS22W1bCSzn384hsjUKsggKwu+8435fW/NjVui3sVmvVclxLJYO\nIrMhKLT1OJthl6XqvAcHwTOPg2CtCe4fjheHdnDggxsa6KxCsLwWBHOYbtxwk1xPwkPjHMooF49t\n1EKzlB2atcy52MgN/h/wPhwIw794LYbJNhIRZfIeoj6rLrEzWXBQeSr/zrvS1TfzJqbYyPuQpC5D\nPPMGvdVSvnYw4xh4WIk4HeUTS9d/In3840fOb1laSD1A8g8VkT4GlZk3zMhnLWXOgR2aZzvBycyy\nrLg+79aW72ilQ3sw8CMNrDPnWmBcoLS4N+zYaqt3tSObNzaKa11TkEfCCH3UlM8EpTmN1PKGigwA\n3pqxGtQ9CC64L0djnzGsr8+zMjlDzb7MZi4jgiKysNF6HCu/fxjpIPnsx0a7KKM4V2lWzJB68p+5\nqAO7vA9kAOxPmc5lG2Telta12QGfj8MhMMI4M96CLM3WxZix1O+7SHo69VNWKXSXexnIjrAdiDSI\n9q2DsI6c7AOHYWk0a3/KDgKVonUQVkpMBsF61HZiKzU+WAerOEMtxVoQx+GhdA6Hh8XfFxVyV4GN\naOFhJZ9OoubggS73DthirORpFbIUsge6YEmt+dxyo4pTJb3hUnoe9swbuDR1Ek170a1BkLwhaZTq\nDGHNS19ts5wk6a23pJ/+6YK8gQfWFqd5YO3n8PDyAG1uuhv+zh1vjHEQW1ueipI8hff++57vZTxy\nve5ogYsX3b5aeolu4XK0lqfhiZTFvshfbxT32SLLXDo+GrmH0M5aSlPnNHZ2vFaeKLcpV/S3dGIU\nSbOJzxbok6BW1elI3V6mZqeoJJlOHd1F57OVJLMvcVwsSi978JPESWL5t5VD3r49d/ip1G56J0Ug\nMJtJtZkv4vMZNXOOCXigBaEG7dcyWBUYgZXks2/qcLZJkufMdv1ub3tHxxKgtoaRJL6Qz3Kd0+lc\nRmxoJuhNgiCOhfuMayMVm9a478gAcVwETlaEYp3K1pZf35rgcG3NMxJSseGNfd3bc88BjoBtky3h\nOOLYj2BhJPxxeKicAwUgi1UcAxESnJ2Neni4MdLMMCIardeLK3OV3wdfmmU+WoQyIG3m4sMbQx1Y\n2iO8s6Pwv3xPQTsrPGA8GFkmBaFPZXFMcJA0wjWhx2ggMwXApXr1JHH1jU98Iv+T5Yd5IKxxhYrj\npk4Sl9Jarh5FCM7wxg133Hmxs+FVKZLnUm0DEoogPqdW893HGDfbHU7kHs7piLpx6GWkqW8m6vWc\n0cG4sJ2Dg3mfxHyq6p07psZhsjimncZBsYhNxoFzaLVchgFmM08ZQFHhBOx+YvCPcwxQrHHsj3s8\nlgZDaX/P/X9rS+o8LtUueMfO/je6UnO96PAk37eSSZLJCHAoZSWSdSwWVrRRdhRE4jSA2hlVtrBM\nQZYs1WbpFqiKWE8DVdrFi0U1U7mXBuqRya5WTUitg3uRuVkUq1stX0y2GYSt57EutF0TwnY1c74J\nHNk3xmzYeUuwFHaSK5lTkrjGy+Pw0DgHBo4BilXLgHHjAbA3jzWS1lEgWbPZQhy7k4yyCcqhbMAH\ng+LFpXBGGkv6SVdsocN2f1/6u7+VlBbojixzESSyzTSRZpobfvNwSXPVh+mM5eeTUssc//iP0j/9\np/mdjFFnlDKUCIYeI4BjYswxIwygTOgS5mEjKiUTovuXVJ1rAgccRW67RKq2sA6lxToAllpanyuQ\nauHigm0USXs7XsvO3CirKqPQjjIKI/P4485Z1PtuFhHXPIqy3Cmmqcs4JE+5Ice09x6D3ZjRM428\nE+A62CbGcvOlDRIGA3+fJakrSN+544ubRJ/TWaaJiXLp5ak3jiqe7OdmmZQFUtb1zxWZiRWAsN2l\nmaqKjoJn1fY+QE/ZOUsoBKFibAMp2QwGnQZEJNGNhnvfzo6vAfKZ1ghLnv7knk2SxRmE5O49Mgbo\nqn6/uBIijoXjtg6C/xHwlB0EFDD9P3YtCALW8iTXOHafcf360fve4qFxDmWUOwYxWlAf9iGX/A2+\nSCFTfg9RLa30ko9kDg+L3DWOgRtpc7OY4tIUY2/4I80pf//3R0hcaxRqNUmBf5A4XgrjRM/2uO66\nqzVNHe/w1FOS/INPYVXyabnk6z1kWNBkcTw3nOamZtWuXs9xvzTzUNRGqsn8IcnzuXsm4rXFbx5q\nnApUFI6MzM0WabnWUSQdjqS9Xfceeikkb2BmM/fZBwde6TObuULfk09K7ZtSMPFRIc1oZB63bvks\nb3PzaIaL400StxaDHT1unUAUqdAVbYOd2VBKDn13dRJ7Q8+9Q6cvE2g5TnoJcLiSlCaZsrToNy5g\n1gAAIABJREFUTOuSJsh15eSuio381WTetihtHQb0h30uytRoOVvgfCN1hbZEbURdazJx9xbPhuSl\nzVBGKAypSxwcKO+KxtASpHBf0YdkVXF5P0qraKCZJJvXo5pF6hvpadlB8HqOv+wgqLMxkjuOF4/6\n5lmyg/qiyEtpl+GhdQ5gNls+QwQjfBylQoTBhUelADDu1tDZaIk0stfzSxbarICbNgyLioM8ktrb\ncyHBHAWuX+6BhCLgoa3V3YXFAN837O9LTz1VKCLaojHyXKlYc5H8w8VDmauC6j6DsUqr/5+8d4ux\n7Crvff/zsm51r65qt7GNvVEklOQhQaC8REJEXEQEHASHsxOnd5Q4KEQhiSIeECHKC+IeMCKCBxT5\nCCGZsAPn5HKME0jEJUpCHBQhGYktYHM2wcZpt7u77qvWfc55Hsb8ze+bs1atqraN8XGG1OruqrXm\nmmvMMb7L////voHcztcWMHcYNK63vGwbnjmiDw34PkYpywKRmyQhw+q45070ORpJ0bpBE/T4lwzm\nuXLFiqJI+7e2rMWyZHBLJKslKCLDleM4aNB9FTj37+sfuiWRXajeGkOyZ14JGSSphHRG/UKdMkho\nt6TOisl8ySi73bItRCfcX5JIybYUuWraaixLRfek8ilN7FlnmapjQqV6hgBE478nRp4Mk3UDTNnM\nKprEOs6CrAsn0SmLPDl+E8MoGeTIgUJkDey7JLEsizbbdAjwCjjQiaac3QtN4CX9uc2owA4PrZcS\njsY7CIy3J5Q9JwJ6ASTNc/VV1L5LgW/Uxx5dNJ6TzsH3nWky/SxgL8s8bRDV+AiUFBPDRkpLBTAR\n3v6+PUCMFw/LR/xeScEf33Mo+R/fVzw2p1FVosohTIUZDL8Zn/ZRAuRekugjVTIENjb4O9I/yLXh\nMBhR5oqIDJnq7m7dWUDYIi0Ep9/aMtmfn0/gC54HkSbGrNctatfD2PjjF1srUrFhxowNSa0BCpft\nbTv6cWMjbOjZTGon9rx7MvnnzoHd/8WLxotUj7IkEselIYK0zvJghD0BnarEstuqWl/wfNJUWl0u\n1Fp2qhuZIoY1iNKlFq0vgBrnkco1gx9J+ZI9dy9H5f3+WhgolEZwfgRBBBPsN76fZBJTL3MFPqH+\nodMxBRsyUF//gB3odq22gL5jCBvglOAhuA94LyJ6+BUPMxHBs66AXKkv8RnEWQ6C6/E6YCo+AwcB\nEb+xYQ4Yp+urqM8KHJ9zzoHoxE/6WaS0j4SJCpDDkV6TMbRadtoaOnWpTvbxMDicBAIKw81n+gik\n07FFDq+hwUDZo49r5moKJCM30SMCK6Wn4LdP2yj1p3keV5CRdw600oiiYIT6/ZN1EUjvMNaot0aj\nk51YibhQmwwGYY5RgVy6ZPgsG8LDIM1zKSrFzE7IGjD2SRJqP1B2dLvSoFSZ+OI3L61cWTE4EBL0\nwoU6zp45VRDRKBW2KJ+aEOJ4VIRAIzKhg69gpthwMJAuKGQE1NmgYiLLai1Jw1k9OsehQ4qfBS3c\n7IhUnAhOWBu+CyoDzsA/K96DU2Htw0che2YPeWPJITqsGyDE4+Pw84MD4xjY91wPR7m/b2sMaCbL\nTE1HJoviMEks8OH1kv3bOwgvGOj3rcaF9TkPYuIgH6ApJPPsB/8ZZLFkJ2QmPHfJMoj/NO0zPHHm\nTzDz6ocml4CB8o6ByAGj7SGeNA0LBALZDwwQaiQUAtwbfAeG1Gu0h0MjJMkeWi0p+3+/r3xSVNEz\nKo88l4rSUSWpqgNrZplpzv3rn7ZR6kmLpY0qOoJY5/CbGzfCdwW37fWC4md1NSxy+rzccYfNbZ5b\nMzkiI29k89yMCs6DXje33x5+9/jjpsnv9UrSedWMiM8Uj4pQRQw/gYH2J3INUmk8sDXFGcC+VUWa\nWhZw4YLdZ5XxuHoDlDRwHpubJ7sIE9FjsKLIlEnAm1keKrujck1WtRwlTETjvTyXDg6l2aDe8oIo\n+TwVsk/HwDGRAUCsS7b3CBJ8PcUi5RLZnq+ZQEXIPKMAJLLmrJCDA6vC94Q3NUWdTiiMOziwjJC1\nBw9BxkKwh60gECQDpZhOsgyWABObgGMAYpJO5yAkI6nZJ76VOZ+3vGxNB+FSPNzLdf7TNN6DjPQF\nZz7q91i2VHcIeFUKR8CawS2LwgwND8enxGDurVYwEp5T4PqSRa5NYhwDBoY5mUiT46l6Vx9V0lAu\nNZUiUr1txGwWDEiWS9F0PsH3lMb+vrLORq09BtJSIBciPDDdLAsL/pZbpH//dzuqkcgYnNcbcHBe\noD3EAkTzWWbqIOArnD0qMgy572JKhBnP7D5ZG9OZqqM2tVpUB+eQfg8GdQ6JzydNp9sqBW+J23xE\nzWQYTeMMrzWbhRoDOJHq925dey7Jd1Mla/IKscJV59JCxOPOP4rh1UUVL5HWoSGG5x289LXlMqLz\nKpeIlKl4Bgqczez3m5sWWbOXWaNUvROtt9sBv2cdYic8x8j6JRvCwLPOgJ2l+nt4flEU1lFRBGeE\nE8BBECQ0HYR0sucUn0EGD+fiq6h5PtLpXCzjOeMcmDAGXS0x7gwWLFEmRt47Bd+D3Z+b4NtmkwEw\n0RiReXJC3t800BgEny7y7+XrP1CnnZ2Z+kkhWs+yYHw7nbrTm85Muve0OIn9feUX63gwke7amkVP\nvV5Q5IC9ciDO8rLd73gcMgnJ5KaSRYgeTqK7JgVIdHblaEyM/9GRO9vAEf0YodFIKsZSpwwOdnfD\n69cUHMO0JCg7K9JS2RcLLT2YNMVT9JbiO6P6SVMF1lulgZBVZq+smBKF4RU4HecY8jJCzuOQEeAc\n48SMLOvZO5PYZaVRYWoXhADncQxN0lmSipkUlUawgujce7Iyc53MkcGeBnXyGg+ZAYF5w++DImBi\nqqa9cgkn4BsbMr/AbexpZOQoyOAW2CcEFSifUA+hQCKQ476wCchUcUBkstJ8B8G69Q7C82DYIxwE\nmRYZBJASQSi8Gw7m4MDmBIEGNnDReM44Bz+8o+BB+EpEipR4mCwkNpBkkweu6Pv88KCJyKRTuqa6\nMc8os+jtQPiycjPJ1Xni3xWd8+nwkFFeAHGxEL2TaLWe4kPf368MO4QcWVO3GyIzVBtEWxilySSQ\nsNeuhUPQ0XyTniM5JEI7PjYsGtgKR+eJPamuGsFQMK/MDf/uqFwHjQ0ax8HYdbtSt9zQEI1eNgtJ\nXBTh+wApNUUOo7IaGvSo1ZI2tk9mff7chEhFBR3xPYm4USwlccnR8MxL6CpNDAodDKX+YaH1ROp1\njaxvcm9eIVQpjo4KFf2Tjz4eS9Gk/rMl2XGbeS4pCk7EZwnN5nPNf1eOJrK1QnDjswNEBLyHbILX\nsd7gHSGLcTR8Pz6jgmidLHxnJxhg7AXrL0nMQXiYidMZJYOYJhNzEGQp9HhiHXhJLIP17R0EASMS\n8SiyHkkIXnCuXniBqgo1095eWKdkFE3HP288Z5xDntdJaFItPKuPPoAm2HxsahZJs0paMmdBVOGL\nYs5yDPMG0RGZCBhgtyu1Hn8sWIebHPMiATYpG2cyDQ8dI3vTn7F/pOHRTMfHaRXBHB5aJM8Gx6gC\n1RHdUGi1t2cR92gUXn90VD8FazSyDpgYfckki8fH4bM4CpKI0EOEPitkLRxeL/mGxOSmvI+/+33p\nuFQQAy8CN5D9oFYiiPCFaeNRvb14FNmBPv55+T5FUoi8s6EZPt9Ge5aFbGJSOuZlGZkKHDKdBuc7\nGkndJWmthDm4P09OdlSHq6SQdSSJpLSuTIoiKWqrshj+eWDUiiJwIcOdukzSF0XipPg3vztt+CwY\nObR3EpJlxRhmFEzwSfS48mQ4DiJN60a/1QqGd33dDDK1LnADUWScV5aF3zUz6fHYICYCm5WVxQ6C\n60+nwUHwHbEPnoPAQeD0aMzni3SBTHGgtNkgozgLRVhoHqbTqR588EF95Stf0Q9+8APFcay77rpL\nL3/5y/Xa175WradVRH9yPPTQQ3rwwQf1vve978zXesIF/oGmYjxkj4MSXZCe+ihTMozbk6Jg/61W\nvVXyzRhZT3BJRtBRsj8aFmr9r/917utVWOeDn9HK3/z53NdEklrlH0b6v79+8X3+8t0q7r5cbXIi\njclEGj6+r6LYVrcbYCEIehxylplUj+wMvLTVCgeu9PvhuUynYZOhQjo8NEeMcaf7JHNNlrK0FCL3\nLDOJLIWI6+u2mZaXrdkaB8t3yu/lN2y/Hyar3ZKikiRHpkiavrERoss0tXbskhl9MoHJcSG56Kzr\nBAo8N89fwRVoJHXTk726xuN6p9veUv1zgUUo/FpeljYvSdmN8HuKEPNGtJg6A10Z6Z6qbq61NZFI\nmQyOybKg8iJriuPgHNJV+05+7fBvLzaolFUtcyC+ZoJ7R6GFAZ/HmwCdsMdmLlv25z+gHPI1RzRW\nxMnt7xvMxLVXVy1bBYHAmFNXQDCCgyCDgCD2mQZBG0GnFD5vf9+MuT+cxzuIOA7Byc5OvWYFB0Gg\nRiDLz1ELNsUQ88apZu0f/uEf9IlPfEIveclL9MY3vlG33XabWq2WHnvsMf3rv/6rPv3pT+utb32r\nXvGKV5z9KU9iPPLII/r2t7+t8fj8ETT9SyQrm6eKkIXGZAEX+aI2oiuyA59JSBax+NqJ8/rHZo0D\nUQ1kEYZt8OgNLR/2q/dwz019OQsRp3j0usuavOlyrfX3vHvIcyl54+t19GcPVFFF1fqgqNSxYUxO\nXiPPpaR/oO7WdpU27+9bT3uaCCL3RBniu62S3koGA0CkPf54kKj63+/uGlyC0eSeZzPraurnCeKV\nZ7+3ZyR1IpvLo6P6eQ5Vcd6qlG6E13No0OamEe69nn1nImCIy9FISqMwl6ytZVcE5R0D3xtlyXKn\n3g4cCePxcYDBuh2TYnItRAjDgSnftrak8aRQXooG4La9kk06X98xijsnO1K2U689kKzdfBQFPiS+\nNH/d8AcBBYbRwzLsC2Ak1gB8AnPR74ffczKbHyh0fMCCYIP9jfNg/1GURut0D0dubprzXFkxlREB\nDHuXzq5esDIcWpB6eGitM3xbG+bHzyfOaW/PAivJSG6+59aWOQgydDJI4F6CWJwrDuKsZ3+qc/jB\nD36gT3/60yeyg5/4iZ/Qy172Mk0mE/3Zn/3Z4qvfxPjUpz6lhx56SJL0ohe9SG9961v15je/WW9/\n+9vPfQ0fSVBSDkNPhECK7pl6b6gZHvYhapUMXph7zsIpo1lMN68AD7JoOhxpNJay2UlSEIOGES9y\nuz+MJ1r/ZtFQUVjUSGcRv4AqeV3DETXx4EERvhAR4Gxm3Uh5PZEdG4jNgaNeWzMsN03DBvA9qXxF\nKPMlmUHCMBSFHcWIgaaamUiZAMDjq3FUaGsr3B+xx6rCeyvHU/IcNNbz5xRT60LggJNkrlutYKwL\nJ4P2xhzHQHq/u2tE6epKoXjP1g28B9W6rLs8l2IZLFTkVpeD3HpwHBIAsuCbESSwd8i0ZjOpNw4V\n5UTtrK9aFBrVr+Hlql4xyPvJIoAgIXwxxkDCfBYwG0HJ/r7BPsyNh7F4bl4NRrsNLwjpdq3txO6u\nOa+iCBDi5qbtEWp5cOitVrjG9evBQfhKf5w7jTQ5kc6fxkYGwdohENndNQ6iObyDaEJMzU66vpcb\nDoIOx4vGqb++5557JElf+MIX9MpXvvKEk2i32/qN3/iNxVe/iXHPPfdUn/lkBxg4hKFkGKAvpuHn\n/hwFRhP28QV0GIDzOgZSSz6XyOW0DdrpSDMVGg4s+vUOoYIEysgkbTUI1SRg0kBkRHIdFzFhrCj2\nYp4KGd582qIBy0f5waA+AzyY6IkoG6eA4edwHu4lScI1X/CC8Hs2MYQ0sk9Sc54JUlqvEqP4J01N\nATUY1OG/rqTUSWD5Lr6Kfjyy6lgCByAzit+oyiXwSBKrU4kLcwCSBSUEKxD0nO1LUV30mGWZWW6c\nBI4ByHSWBSePiokOK77lCFDKeWBPD+X0d6XDyIwjDmdlS+rMTlfj5XlYo7OhZY+LBhE6fzz3Q4BA\nUMGaobEdZ1ocHobvS9Eljot79DJpoDfPRySJ8Vu+z9W1a5bRLS+H5wRUiYPwHARZsn+dn5vh0CAm\nMhQcBDA3c0JTva0tayfuzwvhb9ZrmtYhJtARyRwj398XyTUVns1x5rL5x3/8R334wx/Wy172Mr3x\njW/Uz/zMz5z1lhPjm9/8pu69917df//9yvNc73rXu/Td735X7XZb733ve3XXXXfd9DWbgwjHp+Re\nY+yjiSg6GUUtgn1wOlQ4znMo/gE3nQJwxSLiTQrXHpQGvdet67y5R6n+M8+TJGWk1cnq9Ru+OKvZ\nT4qoZerqI7z01Q/qGLRl2QL3Ajzg+8+QGlPPgCM6PjYowvfBmc3CIpeMjPak/96e4cDb2/VjSimc\nA6bxUbY/0EYKEAu9csKEut+VkMcoN9gKowLvgJOLonBtHzz4Ded7Jk2nYY6jyJwyzfc2N42/mM2k\n6aiEpDIzzjQjHI3MkfMZZECsbaLjlQ1JTyxec5CiRJmjkTTckOKtYPCo4k5TSVcU0hWZI2mVz8pz\nGdnM9hr7zq9XT96S1XjlH/BjdT9DM2idTumoVqy4zbc0ASoic/YRtGRwMo4eB4rkFQn1HXdYu3YP\nPVIPwXPE2M9mwfgfHRlngOBCOukgkELT+oV74zMQcAAxIUmV6jUy8xwEYgwCUXgWHARFcv05ijQ/\nznQOH/jABzQcDvX3f//3+vjHP66dnR299rWv1Rve8AZtbc3rzlUf9913nx544AH1ytn90pe+pMlk\nos9+9rN6+OGH9cEPflCf+MQnTn3/vffee+ZnSGFyULoQLQEdpelJXNKPJoTkU2YealORwvuqVhcy\nQwnO7CV15xmtlrS2WihZrmcEDG/g/CYDVvERtN+MXkc/nQaVSr9vxhNYCQOYF0HVRGSOkYTs7HUK\njeNgrJkXNsnysqqaEBqe+dYCHgtmo6IuQdEh2caDqIYbiuNgHMhWeLZJYs4QzBW4xmO2Usk/7If7\nTNNghCV7zuOxNO0GmIAInM8hMoVHIYXHeDHvzGtVjzALPghSlIruW24xgzEaSdk4vC5NpOOxQZjw\nCpFUOxZ0WGY4eS4trxgf0u3qROjuCz+n00AmAxlRSNdqScvbUu/2egBVFMHo5yj9/q/PqPV/BwFE\n95eCuCH7pbuly/9NccMoeufK8MHJokp+sn5avo9G4dyPJAnzBtyzuWntbLzUnGfngyWyQK5NCw/2\nCY35brstGNu9PYO7+D6e01xfN/hxY8M4ESBVT7IPBpYx4CDW1+vkO/sWB+H7K/lMxTsByYpwd3ct\n48SOICKAsOfvReNcZqvX6+n222/X8573PD3yyCP6zne+o3vuuUe//Mu/rF/91V9d+N4777xTH//4\nx/WOd7xDkvSNb3xDL33pSyUFbuFb3/rWeW7hzMGk+rOEJdtc8wbcAwbFQ0gYUyYQY+CjDvYeqalX\nMFGufzODaERzHAODKK86wa2EzbK8njUx2IRox8GoaRPiyc08D1Fp5oqLMN5EcRhtFEac58xnEQGy\naIEAjo+tIMp3p83z8Pv9/bDpOeuB70kWRhbHd6ww+lWTFfP5wFRJYhwB0RbOppUbZATvMBgEIz6d\nSJPMNujFi2bokQXi+Hkf6iyeCYaVxnu0tZhMQkSaZSH7IXIECkyj0BTw+Dg4rU7HnjXtOLwhPTww\nXT0dW73U0z9DX7jp63niWOq1XK3PWliDPgDJsrLOoXQixd2XNbt8OajeHngg3J8UfhnN3yc+oj8r\ni2YQkNH9eDIxo7q3Z2KIzU0L6mhDwt6GzKYwluyCQIA/Kyt2QBCZNtLPJ54wCTxOgr0D7EZTQxwH\nsCTt0LEl3kHs71uTPKkuqGg6CB90SeFz/PkO/L2xYXCUh9VwEOyvJ01IMz760Y/qwQcf1B133KE3\nvelN+qM/+iN1Oh31+3294hWvONM5vPrVr9Zjjz1W/b/f72uF8FBSkiSazWZKn4zo3g3UI+Ga9nP3\nUdVowj6+wIboAYeBcQVGATYAmoJkYhNgALk+BuW8ROBpQC3RO1WwiTNAfA+MHa9vFjcVhSo5klfB\n+GhXqmdNkmp9fMDu/UbnvAMiOK51cGBzAYSAQ2JzQiLT5mR319JxjCyQCrJE+vVTc0DEnqZGhEOK\ne0I1jk2lUjj4kO8/Hof5TVCwbBp57h8LpB+k5NGRZQr+M5LCrp2mJXa8Z/AZ1a5IVHF4k6mDQxNV\nh/v4dT2bhc0L2YnzhIifTqXxdSkuoTfmk2fmJbj8vIIHh4Vm/fp3TpJQbBfPgVUZBCnj/kmHsKhK\n+mZGux2cNbDi3p5h+PSsAjkA5mRvsj98RTb1D/zh4CUvy15aCj28rl4N802mVhT1THJz07IM7mF/\nP/wMLuM0B0Hhm+fA5jkIyHjk3RDrCEEkk1wDR5FZewcB37JonGmR4zjWpz71KT3/+c+v/XxlZUX3\n3XffTT1Y3nfsOuPlef6UHYN08osS6ftBegv+yIQBSaAo4v2kvGxgMHaKeIASWCS8VrL0EyyeaNor\nf8BkzxpEYWDNfD7fic+rGvY5gq8isst/R3EgMpFsjifSzOGx3FPzPqk6Xl6Wxsvm9Phu3IuvUm61\nzLDTUpiIzj+vTifUPpDNkA4TCfrol/n1Sh7JXscGgcRlM/nDVvp9ab18z3AUZKa8p1tWqU9ahZJe\nnQSGBCdoODiwfkpEcWjguw4ykWyex2MzYkgdCSo6neCcOE52ZUXVmdB+nSDNvSj7HRCqD0LIRMnS\n4liK/vtnpD+3epiluwMkNP0/7tb0v16WJOUzc7Y12KclaY5B8XJanLivYicY887G7wXWWa3W4owR\nRcFYrq2Z3JjnvLRkpDBBCBApTph9Tw+1btdaew8G1lsJ4UG3GxzEtWv2OtYjPEWannQQ29tB7USG\nwxnOUt1BkAWRQXixBlE+XJpk31kyzoRnJhlsRMsX39jSn0+zaJxqlf/t3/5NkvTzP//zunr1qq5e\nvaokSXTHHXfolltukaQnRU6/+MUv1le/+lW95jWv0cMPP6wXvvCFN32NeQODz/A9kXAI8+oZsswI\nPV+U450Ig8V9fFzvsEjki+aZrEMyhyIZjIWBIdL1hS5+B3kIKVKADTwXAdHMvTCiKDiBBBK+JLn9\nQfDI8diYHnJoJi9EM5VGvDBME66Hw2swCkRlnY4ZzNXVcEiOr+CULMpHDUU7E4hJDvfx5KaHm1AJ\nAYVhzGl3ARRF1MRczTKDiSRrmojDWVkJ64jsyhc50XQP2LLsZl4Z5KUlKRsEp+Clw512oa2tqFaj\ngqPOc1uLnEfQTP0pjjo6Cs6B66St4Ni8jDnZlmTnRIW5fONlTV93WVkubf7a6zX4bICEIlkNRLwk\nxWd0bWVftVWvFUpcQOXrBW5mEKCcxUdIJgqA10K1REYF5s/z8yIDIn5qHbpdU8Tt7YX/w/fQweDS\nJVVV1Th2f2APxDAOYnk5BD7XrtWJaxwodRBSyJp96wy+N6IYghMya8hv1FPeCUjG/x0d2b2Q4Tab\nlM4bpzqHj33sY3N//thjj+ny5ct6y1vesvjKp4xXvepV+trXvqa7775bRVHo/e9//5O6TnPMq/jz\n1ZAoE7xW3itLfDSBAYK4kmxCeY+POnybCJwEn4scz+OvPDyPbVbwV2mZyTgKqTrkBaMIVorkE7ko\nsk82Q/OPH81kbV6KCYHJIsrz0LPnuF9o2rV57/XqVag+Uut2TYuOAQHflSzab7cNHgGSoxEijoAs\nBUdEVEw2goFttayRGZuXrGYwkJZc8zm/bvxz4ywAIt40NcPN+QCQojQz8yTrZCIpN1UR2RkcA5mM\nl9gCjyy16lwQhnYysTMhvKQRKGQels96ybKQJeUNYQU8Re19C6L3CqefhGshSSGbjRNJnTr3NG/9\nedlqJYN198oakmxOF3EVkLRo+ff3LWrm5z7wQfmFsot7ReWG+AK1nWSZ+fZ2+JtGkFwPB5EkpjKi\na++lS0HgALHtSWgcRFFYBjGvmNVnBjgIoDU4EBwE8wTP0u+bmtPXPy0apzqH+++/f+7PB4OB3vCG\nN9yUc7jjjjv0uc99TlKAqd797nef+703O1ho9Fki3ca4e3knEZavimaBSoZxY5DAtsGhWTw+w2Dx\n+QcAJIMzwVAeHIRoYXfX5HF8Lv35W6k5qWbfpzgxklyy9Pg8w8NO3HftjyQVZiwhRotyQeFo4VhQ\nexBBe6UG/8dp+fMyfDaAsol2JkTIYOG0GeAZN4lyIlY03DwfCgM7naAOyg6M3IaQlQL8hqCgU7Yi\nIIjAKHqsmmyHdQPRS1aUOnwevBuMm+/LZw8GAX7oJtYSmu9MTyXkvThdKazFplS3KiwbSBqHZzaZ\nSCpFF75O5zwV/sCCo30pK/X2OGfJOKSoJKN1DiFGk+dqjuq7O0Ic7soXbTYH0mWyAM5lwGiyz/nT\nzCIki/5R0CGh9Y5sfT3cCy29Jfs9GQS4PxDTrbdau5k8N45BMplrURgHQWU2ASbzzpzRKp6usTwL\nPs87PBR1/X74v1fSnTZuGux/OsjjH8WIY3MIKytGSkJg8hAwzBg1HrZPsbwctSL3xkaedjpmMIh8\nvXQPQ9WUtVak8tSMI9deWSkN43EhTYNiKEntteCbbEpPfBMlN1N4H5FVC7sIMEez4Vr13cvvHyk4\nqDgOhrJTbngwWwwhESPEmN98OB4IM+AlHJ0/AAUnwXej8AinjDH2dQ9kDBRGAbPFsak74Cu2tqxP\nErwRPEjFM5WyVorVbvzA+BEMCM4J1ZbPPimiarWkqCOpPGinJcN7R+OS93GOYTIJsIMkXdgslJSt\nzqvzoXNT1LCp2YIEFTiE2azSHASjIiPQ2Q/nHRjkqhvuROq2jNQ9y8A/lUEWRl8g9ppXGBHYzfv8\nVsskz9QqHB7a+iILAVomi/DnJ3CkKAcHwU0SWBG9kyGw3ySbI89BSOYgxmPrnURwNxogWdbsAAAg\nAElEQVSZSAEHQdV+JQ6JzGGgwiOD4He04/HQMc0pBwNrcPmU1Up+fOlLX9I73/lO/cEf/MHNvO0Z\nGTQm63TCpBLN+AZwGFTJNpKkSnZJ2uZJNLqCAnFkWUgPgRrYdFQ1QpSyuL2BbPICZBP7+9Ijj4QH\nuHwotUuMfTatG+FmlbMUDAiOilqFyik0uANwZUnVmcYenvDyxskk4Nh0LmVUtR2t+nxB/vEz+AAO\nXEFKi+yXmgicJWQ17Z/RmR8fh/beOAb6LGHoiNLoaQTncPGiZXfHxwb1pKkkJyvEYUvGh7TbUj61\nNh1kGDhnom/aLuAQa915i0JZJvWPpU2VmdXsZMYwm1nh0saGFF03x82zGjiI0mdI3L8vQoukqnV3\nluSaSVWV/HmN+GwmjfrWMwhVzMoFKT3jgJgfxfDkOM/Lt+j2GWzzfUCeyIMptiT7wshiDzjH3GdW\nGGgcSJYZz0LFdBxb4JFlZuQ7nfkO4tq1ML87OyFw8RmEdxBUUnspLPNBwSmiDxwE37t5FoSXw/rT\nMk8bN+UcXvayl+lf/uVf1L5ZAf8zMMgOwH9J3fPcDuYA4pAsSmXD+83qZa4eT4fk9D/noTHZZBqe\n1CW69sQ05DeRK4utPSm03LII3W+MeWn0dFJX4iwvm/wRQtpDN/6e5g3PdfhjLiVzONNJoUlqRppz\neXnvZGIRGnpreh4xL5yVvb9vB+Aw9zg3MghfCwDZjQMma7txI8zhxobBBxSpeUx9PJaGU6kT2Xvb\nLitqt0MxWbQidS+ZhHkyMdkiTcyIWoG7fELNJqTALi+jeO8Y8twMgF9LaWwOz/eFwgGzdiTVjgf1\n6qiqzYlOj67nPfvZTDo+lEYrpk6rcOpnAWBA1gfs5iu7CUiaaxvRBMHY4aFJXOPYomiCGmAk1gXO\nEaEDa4+MamkprLsksa7C+/tmjDnnZHfXHMSlSyGDGA7D2t3aMptDZXQUhfcABZGxs48JfpBVA4Oy\n1+ndRRNLn1HTN2vROPNxf/GLX9Sf/umf6pBeBeX48pe/fNZbn9Hhj86jv45Pp9mQvlhknooIToKU\nFVyV1DSKwoP0OmqpjpsT3XiFhFSHtySr5oSIxShizH2W4GsW+D8FXb6gZTqTVm+yjThzgBxROqmM\nksq5QZpbbii4ATB8Gh6SCXhHC3aMI+O79fsGx6Ae6vfrva/4vtynL+C7cSPcA5kKGR4yYwrggLN6\n3aJ6Nt2uRPuM5z3PAoZhIrWWjW+C8KcyG8PiFUp+0J6D+49Ul6QS6d24Ea5BEVenK0UtU1ZhDFln\nqO4o7Gw1AgeyvswFH4vUPv7Ze1UfJO7NwFDP9PA1SCjVUO81m1v6zC5JDK6UwtqBp6AIjmfsYSac\nM9CozyZWVqzSnWNwDw6MR+j16hlEHBtJfXxs54P4KnJI64MD6x4ADEagi4ADMQgOgnv2e4I5W183\nqHnRONOE/PEf/7E+9KEP6bbbbrvZZ/eMDvB7+oVcuFDv3wMxjOKFCN9j8lKd7KKvi2+R4SNcyWAG\nH9F5p+M3HdGIl1USjSZJWYX5H0VFCPszhKvheIvpLGQJFKfFcTDe/X5do+4NUlEEDBweoJKvMo/x\n/IIlD7NlPXNcqJKGQzvIh9cjs8wyi0A5oAejE8eWRSBhReaHAADHzet9RfPBQdhg9Nmh0hhc2OPJ\nONZ2YnJCj7z5Pkgq5w2ij0aFZBF+Tv2xslKpjR+aQ+DaPnrf37f2HNvbYa2mqTTNCs3G1iup0wnX\n4vtjuJm/prR5MglZShJL7QWOAT6CfeAPoekuS60lg0gq+DEvdIaf+bEMjCDQLs312JveSVSqqthk\n1kVhFf84CWArjqjlefumfuz38Ti8H+ksHMAiB4GduuWWsA76/QAxeQcRx9ZrDMkq1dfsERzEaFSX\nf/sMQqq3+oYsf8qcw5133qmXvOQlis9bnfJjGnh/KWzkCxeMMCKKIw0lokUFADxBeuajdNrgApPw\nO+R1EFIQoZ7olmxj4XSmU4v2ebhJYpzGGJVTVle+sFEnrkfNUrloZ1OLbIiiIO2k4EDAoRUF55C5\nqMHj1N6AeVUQWC1cy/JySHlxpJ6Mk+y1RL8Y6qIIm4U2GXAC9H0BvgHuQ+5LFAyBnyR2doQUOAae\nD7yBFF5HJFmRkUOpeMKqob2jyvOgDiqK0PIaZYonvHmu8Dze+AAVKQvkLdbUFy3uH5jx2NoK946R\nmU2k3FXWT6fhPvjM5WU7U8APDweS9eWFTrR+R5Qwm4Zzsw8PLRJNWwbbzeZ07IwHUjRU1dZdCn26\n4CXC9yxOvvEZGmRwQMA4CbhB7hGYiACJNcae2dgwSThFcB6u8gpG9uh4bCci+joE1HJAo/McxMWL\nFoh4DoL74yAhTqwDNvUOgr2ELB5oCzKa7+37MPmmf/PGmc7hzW9+s37t135NP/dzP6fEWY7f+73f\nO/dDeyYGEq9ezwpaaL5WNNYrjsD3XPItIzDovuDKS1zBmal8JKrz/eSJ3DEecWz4clEYhgnBhcGd\nRkWlxOBzfUsPHFnqlFZU1NK9k0gWtQ4OLcuCAkoKzdv8ZuE1/vV5YTCSV2FE3UL93DBaDiTxOnKM\nOAV/ZF+QeXfeaZsNwwikRrpfSUJTOzUOMpEzeWezkJ6vr1sWg7IJR4Yz98NzT97QTkulWO54Bghp\nip54/kSfDHTq02lZId0K88zvplOpf2DBytaWYdVU4Cu3tYyjmc2ki1/6jJYfsMrmarw+VDgnkpI3\n2el9w2EowoubhZx5PYsiO/FOLk+Lmhy12j9JUFo1xQ7NDLc4tu/QDDieieFVb55EbhYVklWQydJm\nhdbXVFnjPIjSJVPoAWf3eiaKoUZHsgZ8nOHA3t/cDJ8DBLS9bdJYf34EQRMV9Sgy4YGaGQSKNrgF\nWn1vbJxss3EWZHimc/joRz+qn/qpn6o5hmfjQH+OnvfGDfsdZe0Y46I42ZKAgQHDKLMxfCS8v2/O\nAq9NsQn3wOtJ9YGn0tTUD2DrXCdNpVZaVBkL98B9JImqw+TzTCoiM1qQ2lWPnaSOc1eGv3Rwxy4a\n9aolySLMLFdVNeszhIkse0GxA/yCASUK860UyLQ88YziAkcIpkokDCSFrBEC7sKF4EQuXgzPFmeE\ngmXRwh+PpcxxRf7ZD4ch+o6LoooCJTMORNZkan7e+n17Xa8ntXIzuPyc57q8bJCiP38jIiApQlM9\njFRx92UN/9vlOofw+lDhPC2hJI43lUJ0nyZFWAeRreEsr98zXAqBUBQppAOuR1f1d1tSy17H7zou\noy4KaVrYc2D4AsFnypSQIbA2WB++fT5GnuyU+piDA3PgOAGeHc+A6+OAgJ/gKwg+eb5AWFL4HR1U\n4TIvXAh/7+1ZPyaQj6WlcC8eMkJk4x0EVdSefCaD4BAoRC5njTNfMpvN9IEPfODJPp9nbGCQJpNg\nMDCmdEj1BA3DR9Tg+L4mgCxCCsaGakRUDxSyoIeGR4DU5hpEu7QYJpolEkZ/nWVhc3PvRDR8nodn\nWJxEyziAOA6RXF5CSryHKLxpDKVgkIAKqiKbKCyOrLz3KA7OhoiZjU9UhhMjnSfy9d8DXJjGYb5u\ngbnwCi3uvXmAE0V36MjZkJVxcteaN6ZThSLgwr5HImug2O1KRRKK2MiOvMBAqhsYHDSR5/q6fe/x\nONjZQi6Dmdq69E33wrMtFOVm0IAbC9XnhNYVw0EIBJAmKzy6kPVNC8VZyBYmLjBoDhwX2WJ2Q8pX\nbT1UEuWBFI/tfZFCx1mPkc/bY77qmU4Cvur5LML8qQ72EJksHYK5Txy9P8sFqPPq1RDVA0M1eQje\ni+2BP0QuSisVYFmCJzgI7yAkUynt7JjiyctScRC+dUvTQZBRxLGppHAQ6+t1BdOicaZz+IVf+AV9\n+tOf1ktf+lL50+CebQT14WHYbJubZuyJOPHYPgriNX40U2Fv3CGsVlaMJALjJNqFdCVjIA2EDKK1\nBMaPFg3esEdREU54S23TN6Ng/u+L47zEze81rstCrkhZVzPh54b3AB0kqWUgRE5eMcU9ELGQqqdp\nvf+S1+nTNAyS29dBeA6ICBNslusR6fI5HH2Is4OEnteR16vFZjM7WW5D5hjSVMpiqd2pK9K8Y/Aw\nJA0DgaEgBn2hYVKKBQaDcN21tfoBUlK54WdSO7LCP3i0SCa6QJGzVa5Z1oofSSzFaXjjtMwAWw6q\nxLExH/PWQMVRlNlIPpHS0kF7g06kCo+VuVoI1p5vBQKPxf7z8OuPavi96lvPeEUcooHhMPxNI7+r\nV03gwnrAQfBe1iQZyOqqZZLAnKwRvw9xEDs7lkHQW+n69WDUgaJ8BgGczDXIaLFhBISzmXEcqApX\nV81JLRpnPo6//du/lSR98pOfdBMdPeukrEwKBDIRpW+45xc6+nbIXk8YEv1C1PGzTsf0+pLJT8HI\nvcLEE6FgnTgaFhj3wD1PJtJSWsIDsWqHunD/QFD8Ta8WFFkUxUi2CQuVpLO/lkq1UwNS8solyWod\nvLLHS+m8GouFiCG4cqXeOwmnC6HHvGGsmE8f/XtYj3oOqsI5J4L7YTNgsH1LEsZgEL58nln6D3Hf\nWwoQyXhiPIznQnjmvpASNRZGAP29yrn1jnw4NIPPusRJ75WtvFfbRnqDK0+n4QFW6rny2lKQvnK8\na7OeZRxJWengaaEB9t40iLwvjiVtS7pUV/IVhVQsSWrrRHFlnJQLqjhpcOZJJj0s5Z+1F25Itl+9\no+LnHgr1HKH//vMGsJY38j6LgM+i3xF1PDduhPuEPB6NzEGwrzxRjfCC0wzjuC6T9d/fZxCHh8E5\ncEbKjRvh84vCMk0cxM6OZRAokVirrBvg6/X14GgoIl1ZsXV26lwt/rX0la985ayXPCsGEaqHKYAh\nMM5EJywyr15CTsmmJe0FCtjeDu/BQ9Nwj4eBUSAaBdvrdE6eFctmIOIibez3pcleofbUVEg+JWff\nRap/B69HHwyCwWi37PsSpWFUWgpGsKprcBs6joxn8A5zOnOvKwqri8hM4gkvINVTaOYMQwp5jdNh\nLqhgbrYBoW6FcXhoG4CT5XBUtOWAz5GsjQAOfzKUliPLeCrlTbueTQIj4BjoniqZIoy1xkbnta2W\n1Orac8KxeUUc65IK6ZUVU0SlaVg3rEtF0nhkTrRXGoNet64WYy7GY2m0KkV9u1/JjGCV/RWBfI/k\njPZIisZmbHG8eVkI5422pOo404pjm6N04to8R2/gWd+IFzD0OM6bHR4e5Y93GDwHslucJlAhiiB/\nkuTBgaEHt99ukTw1MF4dx35Gdkw9k5edApWSDUNSAwFtblrdxPXrYc3nuTV6RJHpSW2yb+YWjo7v\nzyFAN27YGlw0Tp36P/zDP9Rv/dZv6QUveMHc33/ve9/TJz/5yWcNH+HT+osX69ib38g4CaIwj9+T\nDvpiGTY+kSSLASPCBmfxAXFAXIE/kjVgBDGuQCoYuXhmEW0VtZXfMWlIWwsZOQbuiEEbunSeyN0X\nuRFVdJK6cqc5yJqkciM3OBnJ5smX5NPWnIzJtzBARtfths2AUSPrwYDwfXxLE5wxBpBMAYUKmQQO\nifn3vEg3KSqFGM+p+r55aewye9ZwV7weCIt1Axm/tWXfMy6dyHgsdWXOIG4VyvOoWjd7e6ralHc6\n0vWD4KA3Nw239tkXfaR4VjgD34eJqHg2CZXgwH1IIP2gRUclQsik2ViaHtUzB0lq70tpv65yk05C\nWlHH3udrTvzwkCROxavmWK+o7/we87BME/5qfm71PR3H0SSj4SKaklX2Lz2P6NT66KPmIAYD47vm\nKZny3IhjlExAsF5KK9UN/v5++DeB5RNPGDy+sWEZhFc9cc/ziuRwtmQQKLIWjVOdw9ve9ja9733v\n0/Xr1/WSl7xEt956q5Ik0ZUrV/T1r39dt956q975zncuvvozONCx81Boq0snSwyQXzBsNN6HQ/DE\nL1pzjAJRgi8w4/BvIpJ22x5q0xlgVCCwqaaUShy6KKrDRcgIUB/5U9w4r8FHRES2wGJE5SwONohk\nkYwv8PGjwoXL+UoTUztFkWG2nrfwDQD39uqRIhuTdJesrDojYmTHJXqcX7LrUz9CNOgj5bW1cK3D\nQwsEMKxEdWRxWVx3Hhia6VSalO/Nx/YsccBsaO4higIeTSGbb4csWQ1HV3aNQmboyTB9o8E8K7Ra\ntgrf3QvzTbUyz4qApyvVTgaUpLGvoF6V1JaWlk/vrYTKD4MaxZaVYahZY0lLNfVTtfZcFhBFUtKt\nQ1VSuGdfT4DD4HU+wude6AAAZk+BWlNdN2+wDpt/5nV2xfFzf2QRUh0q2ty0cxx++MPQ+8tzCXBq\nrFl+B5QHlEqWzf2QTUhm8Pf2QuC0tWWFdY8/bu1UNjfNQRRFyAaAaRFvsMe4PgR2UVhjv0XjVOdw\n6dIlfexjH9Ojjz6qr371q/r+97+vOI71/Oc/X/fee6/uvPPOxVd+hkcUGUa4ulrHwn166ruArq4a\nhMTrfZTD7/g/qSiY/nQaHtjOjmGmVOqy0P0f3xkTCadfeOOxNI2LahMAQTRTYr85vbOjnxAQF8VO\nfC823ZLqEBrfx0dg1RnVLivxih0fObMJMPBZZi0C4EKYN4w6kTuGkqKwo6N6ZAdvRObFz+Fqssz6\nzuztWRttCHqMHO0pokg6knEJ3a5h6PsHkgoLNFpLNpf+kCAcy8FBuKcLF0ykwLqYHhcaud41lUNJ\nTb4K6Qz00O9L3chgTkXB6dEeejYzkpsl0WlbxO2dYasVamaS1nzHkGVBoTV0uHOkEASkHSlZnYPf\nr0vFgSOoc3sePmqfOi7JR6cEJ+wjru2zk2ZGQEbKudHsbxxxEzKqvktkwQjXYw0TMPnOrkCUviMC\nztjzENSlHB1Jjz0WmujBBbBOmy03cBDUMqFqq7ihsRWxSdarCY6Agt7nPS/YG+DarS1TtOEg/Dkh\nPnOnz1IUGXz5xBMn582PMxG9O++8U7/+679+1st+7ANpKcVvRJrgpihXvMSSSL6ZUUi2uDCARMFI\n3gYDO7yj3Q5l8FFkC0GqF9hAxCJDk0xORkHX8rLUuSglAzMGZxUSedwQOMVzIKid2By+MtrzM1Xk\nhmF2qofpLMAVFewwLZSsmKPAKdFEjHn2xP3BQT0yxFF4LB6Z4PZ2vT6A9NzzGVL4XrQBePRR43B4\n1hQdEQwAkY1GUpyZg6i4lZk1aUx7UhYZJEUUzfrBWayvh83ryfk8l7JJHcKQytS+Y1g1UNhwGLp0\nDgYl1j8xp8H5FjTYi6N6rQDkKpCDr5KPVHcM3kAWCkECzr8mc24VmnccKNdg3dX+LVUeCxjXF1Ti\nGNgL8/gAD6XyOxov4oyHw2AwDw4sk/DXPS2j8GQ3Tsdn1+zP5WVr10IGjx2AIyAY2d8PxvriRash\ngGvz3VBxOnwOSiYfqHoOQgr/XluzM1+2t81BXLkSrkfL7yg66SDYd00HAarA6XmLxo9QPPbMjm7X\nGkr1+3VFhu/Zz9+Vxj+qq5YwrvzOcwtSiF729y3y4KB40kbSRRyUN95UUOLZ2TRAI3kuddqFEkda\nzrLwJ9J8XTgQA46hBgM4dRCRC98bDJL79DAZ2CkGKVK4B0/yk23MZnX5KkacGgZPnGP8cQooKXwR\nHM7TS2+RArNxmFei0Mcft/siIuO7Q3LyHIuiTOWdU+AZbW8bzDIaSTMXDXoD6iNmjLt/zmQIcUvV\nCXBwEaNxmFfmBrgF4766KvVcUDCiBUpUl/cygK6ICCEhC0ndTlE5eAQJPM9WufMXHQ7lVXFZJhXH\nwXn50Va53gp7rYcQuWdgHda6XxOe8/OBjBc0pGnY356LoQU3DR953bx58oM9z7MGIvWqRLiG4dDU\nTDgI31dtby8EiVlmkTyOBSGEZIafdcqxpjgUYC0yDd6zuhqyFCCmlZUAZ/3Hf1iQiTKTzsh7e9bO\nB5QC+wWsO5s9De0z/v8y4jjggJB729vmIdGe+8XpU85F+KVfZPv7diRftxseFr/3BTRe1eKJaGov\naJ0B3sz7BwNpI2oQpA4vnTqFExFsRWwBOzgC10etzexjdbXe9wgnIxkkVEkzc2k6MY4gcxseiAfo\ng42Fk/IwkpfwYdAg8KXwWf2+OfdOx4qApLp6CDju6tV6Mz/O6WVuuA8CBOoriiIY0KYGH5hlFgV1\nkDc0OBsK3rxk2BtENmae1RVzw5HUP5IGo/p7CBhuu01aHxXKDkunFpeGfE4NQFGE3x0fBx5gZdl4\nrEKqurVWkmDVs455a75SPI2lqavmZaROueQhpygK0FxcrrHOimXt/rrMO8GTz9y5Dhk7cKUXbjCv\n3W4IysgCMci+wSbBz1ktIkAD8rzej4m17FvXABfhKKRgAzjNcTYzBMHXQni1G78j2mcP4CDgEbyD\nKIqwJzzEhIPoO4EAzqQojPNjPuEgrNjyKRDSjO985zv6yZ/8ydrPvvjFL+oXf/EXz3rrMzp2dw0r\nBqemUhUCjOjtvIPFPJkEo0NNAaoa/s1CJEWFRPMbicjdtz+gnS71EzduSMNBoS6RmlNiFAqwB0dG\n+uHhi9lMtYNfcCRNZ5Gm1qDLZy6en8CIs3Ap2JtERRX54gwgVTmohOaCy8shNUbLfeOGqVCI4Ejf\nqTSH/EWRJFkGQa/7bjdEVL6ylOKmwSBsWmSCKDiIRiUz3r01i6KLIsBneS7JtR0h9fe9c4Cf/IHu\nzP9sJkV5nVSHDxgMQu0Bz3x31zLQixel0XeDU+p0VDs7vLkuBwNpxT1H4KUsD++D/FQpU23WzDBq\nxC3Z9dTWSA3W7IV58fBUT6rarFRwV8eCgaZqiMGz9/fgYR5eg2Mky2UOub9er64C9NAf6wcnsSgI\nxOn4pn2Q1zxXnw349jtbW8EY08Tw1lvDz2mb0+zqyu8kux7qvlbLsiHWKijD8bHJXFdWgmLqypX6\nmeIQ93leb9QHTM18ejj1tHGmc/id3/kdXb58Wb/5m7+p/f19vetd79IjjzzyrHMONNsDp6R9NFI5\nFh0LbV6xDNEDiwMP7+EUqY6l+5STFM6rbfx1vCqBwT1BSk0zS6c9rltBRWU06fXMPGicRCRHHDty\nGWfRkeGf3LefRx+t4dTgBCqH4QhLXs89cD/o9IG8eA33zXPh7ygKRhJohPObeR4YNyIkz93gcIrC\nyPFezzYd0IEU6jyITKfOgHvHmPbMoPA9ZzPbzKyz5hoiuxkdScXIGrBleYisWy2pU0IktGNZXQ0b\nfTiURkOp7cj75sAxjMfBOfgWzsCPUiCu8yJ8VhOKlOYT0lUxXU9K5uDReR7ksbOGsad1Bw5huFNX\nOjX5Ba9Qau5D1oKvYvaV9hhvYF2yCQooyRbB2XkmGF4viZ03vJNonkXC2ufZeBLbF6VduRK4AWSk\n/kxnyewFgQ9rii6uvuGezyDyPPx/f986x8JB0B4DZ4CDoOoafhN7Q5a1aJzpHP7yL/9S733ve3X3\n3XdrZ2dHly9f1kc+8pGz3vZjGWzYOA6T5yNlr4vngaNo8SmlVyv5RbS+bnALUBUL3Q+wTKIGjJ8/\ndMhHIzgfcHcVRVUElaZGEDO4JRZCnpt8kwWbJAYjxJFFwD46nEwlTVWTw1YOyX0eqpC8xOqVm1bb\na6jJ1phLNNZHR3XnhZFgs7Ra1tOIDU+qnyRhzvf3LUJHWdLtWpsBsg404ByOItUlk9WRok/Y/WK8\neR5Eo3FPipfMmQ0Gdv9koU2jxgHux8dSeyYtdQwiLGH5av1A3nc6ASLgrIx2bAa/Obxj8EVXeV4+\nz0IqomC84ygUQyYNWIX1z1nicwnp5OR7RiNpdiipjNrB96US1pmpag8+PK7XFDQVbk2jxFr2DoOM\n1DfM8wSurzkBRuLnBFs95+BBAHzNyFlOgkCJgI4AkWwUdKDpIEajAPkschB8Po4PiPLoyJyGVztJ\npsSjvQek8q23Bnh1d3e+g+BcFIIogrWzUJQznUNRFGq1WhoOhyqKQlEU6dl4tgPqjuXlMFke7/TY\nMxEg0USzMtMT1H7Boehpt88mcjzuubJyujbbk5tSuXGyojrEnc3nCfLm8EVE9ELKsxClFkX4WZaf\nVLm00rqzqO6pdChZJqUtVUeN5jOpW0Y8aVwn/DmjGQcH8Y0Blkz1UUW5MzP0aWrPAvzdF31Rg0K1\nJ07lwgUz+pzlsLZm7Qq8bJgDcrJMOiqsXoGMTjIYUlJgWlPLRIhGWSu+9TORLL10pFKOWMIFHfes\nV1bCNXZ2wnUuXTLIjOLAxGUzDIwU5CKRIEYvg9hNTKHmjbx3ClKAnngu8z4rmxhEyly1x2Faktjm\nZUmml4dQ9oaXTMyvf/aVX8/e0HvCHwURmSfOHqiKiJoMER4tjq1LMXAlawQn0WzhPW8QcHoUAQEC\n687Lube3w7Mdj4NQ4tIlE1M0+zGRsXsHAb/gzw3xYgw4BaqiV1ftZ48/HhwEc8v1mFvJvstZXIx0\nDufwute9Tr/yK7+i97znPTo8PNS73/1uff7zn9df/MVfnH31Z3C02wGzpeTcF5754bMCj/+xEL0h\nZhGT3sZxwPsWDQwcUtpFahAIxCSxe4ld8Rup+bz0j9/hHNK03LR5fdNRHJXlwcBPZ2FDe0KU6/sI\nS5FlKVNw63YJKSVFlZbiaJlbFh6SYqJFfteMiP2cz2YhC9rZMR6n3bYKZN/UDHWGx9H5GTwE/BPP\nAAM7nRRa7RpZx5qo3VtRVAYQBRbfg397spLvRobU6UiHN2xu0zTM6SST9spDinBuOJxuV2qlDRZY\nlvXSq9/zHNwDn+GdtvK8Cn68U/AclVcjYXzHO9KgY07WZ11FLk1mdfk3Trji2BoGF96MNevbzngl\nGfdV7YW4zvvw3fw1UDMtL4efoTCCRyMIxChTP8TvILLn8TF++M4KiCEQmBD80XIDkno8DhLlixfN\nwMNBnOYgcPoomaSTkPTqqmXHqNSYo2vXbP94B0ElPvfJnl00znQO9913n376p4za7LwAACAASURB\nVH9aknThwgX9yZ/8ib7whS+cfeVneGAwmodmY+RZoJ4cY+GTwhJtYjCIErLMTuA6jcTxBJxU77ey\naPDQcRJxeZ7DYE5/mnkDI899RbGkIkgogVNaLeu5X8kISy5iMlWthcJ4rOqYybRlZCMY7mAopRtS\nlFpGhoEhQsPwYDTJDNjQHLQEUY88kJSZ70QXXKJljK439s1NDfdEPxs2A4b98NAw+E5HUqQTjeS4\n96ETIOAYfVTqI1zJIDSyA8m1Ro7CM9nft0wGY0gF7bxAIs+DnBXH4LuISvOjWJ7lZBIyAE4VxLBO\nJgYrAekxikKajIsKXmMNZ5kUR0UFOXa6RuRfvGjvjyJJm3Wlk3cMlSJqVj//grWKeMAXgZL1wP2R\nuREE8n6CCYQeBIg4YLIOziAhAJt3Wty8gbFljXNMLU4CBw93trsbvh8OAogIiOmsDAI4k+ErndfW\nwlqmaJR1lmXBOVy7Ztka2dXubl1mO5mTofpxpnP4yle+8ow333vooYf0N3/zNxoOh3rLW95yQi01\nb+DR/WACDlxVJx6VRUTU7RuSYchYsKhS5i0cinPgCYgkzlICMCr5YWmY09wIPyCdecMbYAxkux2c\ngMd2iSyTRGq1AzQkhb+Jrmi+x+IkEgRS83LdyThcZyb7HFJ+T3R1OmGRsmlxIMh3gZnA/YkkPcHv\nK1Xpm4SWGyiLgboELmI4DJ8vWWsNDDbGWFGY4ya0Np1KU5ljoHiokhRPzeikqVXwQorz3dpLrnBv\nagaLKJw1x7+ba4a1SODgJdJ5LsUykpw58++ZrEjJuDTiUfieRe6cuerPuFBYB90NKdo0klkq7y2R\n0q4FUdzviTU6B0LltVVmKjtzGWfNfZNBAi9yGh/r2WerOFiyH4wh64WMi8yDTAOIDodAJnQeqMkr\nxPp9c7CgFlzzwoUQsY/HoRZie7sOMZ3mIKT6eQv+ZMR22ziI1dUwTzSi7HbtxLi9vVABTfYFJwcv\nAYy58Hsu/nV9TKdT/dM//ZN+9md/9mbedtNjOBzqPe95j7797W/rn//5n8/lHDyxKFkVIouMh4lH\nngf5oGrxWHSzylWya0yn4fooacA0fZuH8wza5+Z5gDxaUT0KPG1wD3xWXtQjXYjT6TRkCMNBUMNc\nkDOQMswb43PaoqEz5MqydG1iET2bazazOQWv5t4wpBQaeQUT97GxYQesU68xHodNhzzYdzX1wgLv\nYJeWrKqW/lVkhEkirV+QotJxpKmUO2VZFWFGhq33+xYAYPiBrDwnsbFhJKCXX7ZVb63efD+vbY7K\nMcT1hnDc05pMWYNx800BK3LdQ0hx4Iyw3bRSqNR4TujA/PA8UVvNUz+dZ3B/cBD+XAzJWs9Uqqey\nCHF/3w6HWl425RyOQqpDUPB9a2vh3/2+cUKcfMdeJWvgOwHVznPWfpCRtlrh3pAqb25ats4cUZS2\nsxPW93kgJskMOmuM79lqWT3EykpY3/Ql40AghCqPPx6I8bU1O24UB/GUM4fmWdG/+7u/qze/+c1n\nve2mxqc+9Sk99NBDkqQXvehFeutb36rBYKD7779fb3/72891DW/Q0tRSOulkqThRH2OeUzhNF+07\nvAIjUdjGz7geaR3X8oVAnuzG62eZlLTrxTynjSriVyChSfGnJa/gVSitltTNDZOVwsKBrJtOVTWE\nm+cYPOGHfI8omk0ETLC9HV6/v281HEAaS0vWbM5nZ2RznoxOU1MIHR1ZVra0ZIsbhYc/uASjxgZB\nEosx8s89iU1JxZywflKnlUdS2+1aywa+E1LBXs82M2uoGEnRf/+MJOnW33q9jv+3u7X/mtdWEJmH\nUk5bZyhjvCPHaEqlomeiqhurIoPe0nUpL8+0rtZKIxv0v2M0ZaOo6jqdADU+mcG+kCw6n7e/cGo8\n7yyzPlSowXAivnitWUhHwJCmwSCTaQ6H4ZktLRlsRjBChuihvrMUPQgjaO1x40b4P2sYuOnJOgiC\nXg8xLS+bg+DAMAKYzc26gzg6ChCTZAWlNPZ7ykVwzXF8fKwrV67c7NsWjnvuuUf33HNP9f/d3V19\n+MMf1u///u9ra2vrXNfwmcD16/ZzJs8P5IhV9WhhKdsiiRsLnHQbo0CaKhlpBr7OIm0O0nXwZ6mU\nWaqo2h+cNXAAOIZOR7XTvvzB7/RKQmlFUdd0Zr8jkuf7c408k44HRvxls6KKhNnMyPUgj+keubZm\nrTJQHbGZvRqLZnR7e3asKy2RPbwHLIF6CcwdGAxYAtgDyIZNN5lIWWxwEoaxLXtdkkhRV8obKpGt\nrZNQVr8fPg+hAphxHBUaTaTdV13WbX/x57r2fz5Q47X43s1zqFUUtRoTHANR7XAkHR7Zy+FLvFya\nFhTjiZSN7fl7pwAsBdTke2p1elLUsbmFkI5u2lqYMyNTPC/kSgRPFkZzQtpm7O6Gn9P6XbLsiaCI\nnwG9LS2ZEe/3rYMChtyrFoGieAaLsniEKlTo37hhhZqonYoiBEyjkVU6I3M9TwYhhXtm362tmbPr\n9cL89PtWJOedCg6CbIpWQ1evLn4GZz7ul7/85YrK1VsUhQ4PD28qc/jmN7+pe++9V/fff7/yPNe7\n3vUuffe731W73dZ73/te3XXXXSfe88EPflC7u7v6yEc+ole+8pXnKrhrtew0LQYZQ1PHT9oqmVPw\nWC6pHEapImohczNzDj47AN9H1kl02Ex9uRcMWVMDXcgM9mmOyhPt3DfzwABbJsvIclMrpWkw+Pk4\nnICWtlQ71pJBV9ckltrd8Lppbq0wkOsyryxoNiQRjucJ2IQ4FRwBzcSYW682oyrdfy59acjAcCTA\naQzvkPJcinJJLpJm3onyiiIUI45H9jzZjAw2O6S5DzD4XuDN3ANFgDgtXy3P8JJOT8qiV+8fhwVC\nQNFKSwefWGAC5JJNCqVRnR/g2UympWqtlD1HsjWbyebyPNHzaaMpMJj3fZuvJ2CbVwuBKASnTBfg\n42PrK5UkVmPk6yak8O+tLWu3MhgEQ80ZLr46v7lmfIBx2gC6ps0O3WPZI5Jl1Lu75kDOchDsDy9L\njSKTXnOUwNJS+G6Hh+F3S0uWyff75iCAPp9y473777/fPaBIa2trWjnrquW477779MADD6hX5v9f\n+tKXNJlM9NnPflYPP/ywPvjBD+oTn/jEifd96EMfOtf1/djdNZhBCpODvA08kHTZp41sprPwNwYV\nv8ABRH+QqUjcvEMg8sPYAaVgMMgi0lTK4iLAROdM39mA0+nJQ8N9BOVVRbxPpfOLFHTy7baR003n\nmCSqDnWZzQJh650djoxGdMBtkIVgvtwLP4c74OBzYCDuHTiD3k1sbJwM0ejenuGym5v2TJutG9I0\nQHcJvbayuny5kn6WTh81W5MTwDj5wj7+9PvS4MB07ZI7C6R3upKNKBsuxxPzqK8k69Yq1WXGZE5Z\nXv6sVajdgKymU8sGpfBMk8YaBabzBPjNDt/mguCLtd+UZwPD+mfFvHquiECM1iPTqcGUQHBLSyaj\n5hQ9IBm6lC4thVqovT3D66fTcE2Ia6+Eo4UMcN0iB4eB9+00UFL6QNVXOp/XQZANHB4aBLu2ZnL7\ndtsUUTgPL3OlkzQc7CKZvbTAOfz1X//1wje+4Q1vWHxlhXbfH//4x/WOd7xDkvSNb3xDL33pSyUF\nbuFb3/rWmdc47/CREW11mUSvqiEzYOKBUYgwfDbA76Uw8agSwJclixL5DN9cC4PcbJnhBw+13y8f\nWKcI/R1uYoxGAV5YhCESqTMwqkgFIYorZxYH2IG5iOMSwihMzcN8gRG3WvVeTBDJKLqIRFnMqMUw\nCrffbvpu+AxwYKJn4Ami76UlU4ygWyeL80Yl9Q63LSmx+ZrNwpRjWHmueWr37A0CahOUVmSM9MUZ\nDqXRQSB+Ga1WCWGsSNEpsAqtvNupbVyyCL43hOx0Gu45jkyFAxxZGfvGOiISJoOR6j2XssyyR382\nMiPPpcJlo0URDhzC6fOz4yv1ttFk0F7eKpkAwJPfviiSOWH4vUmAQFZEYEHGRdQ+mZhqCRgSYcGF\nC+F7clAOhDJwKfYC401W0+yn1RztdojY9/ZM8owqy8fVfLeNDXNcEM0ELKdlEPR6AyoiqAFe91XU\nZArXrpmyCVu1aJzqHL7+9a8vfON5nMOrX/1qPfbYY9X/+/1+LetIkkSz2UzpWRUo5xhZFjxxkljq\nRWuHpaXgRZs4ZjPVxlD5wi0yDfA+DBJRGmQnOK9v8evVE5I9FKmOnY/Hhj/ebAYPIefhq7PmKZEt\nVN7HNbi3NHabFGdZ/n4yLpSltkGzzKAl9PgXLoTNub9vZ16QOVXnDURh/nBMEI0rK8bvAEFJdS6H\nKHc8NvEBTpnnRLYxb86KzIjIOKk3kGu1gmE9doED62Y4NFwZEh3IiwxrMAiO1cM5W1vcy3w2ieaO\nraio2jZwZKlUN5xwQS055Q5BTOukUZcsgMFxc19NxxDJjAYGEaMY70nRQd3Id2VQn888yKiBajC2\nZO1kfbzGF7g1n9Vpf5Be+7XtDwba2AiGc3PTMonx2JCE4dD6E3HU5vXrpvohe4BHwtFkmXV6Pm0k\nSfhcAlQcRLttDsKrkLyDaMLMFYdUSpp5/+GhKQLX1szxIybwrdzJiq5ft4Z8Z9mLU63y2972Nl26\ndGnxu29yrKys6NgdNJzn+dPiGKRgIFjwwAxgyBghXwhE+i6dXJA4GH4OLyCFRYJ+XrI0l+v4ilmc\ngVcr+XYCXlYrlfUI0+KmVAI+IjvrYWOEe7Jo2BPxkkWpWWaFeEulKqQoI7zDQynaqkf+rVYo9AEy\nokU2kAFkN98XQ8+zaN67761DkZev28AYE/UtL5sR9/UWGGw/xmMpGxq5l4+lTQXDyrMfDqwnDYaV\n1B+FElABbVtQVuW5tNSVemmddD9t5LllVt2ONDsKLiRSXaKJk0SNJpVwTG4ZhOe0itIJjifGHbVa\n4cLclxdNEBQNDqTJdVtXVaQehxoX7on72diw9TWdSp1b5kfXGDjJICPf/vpmRsWlZWYUycKBbDgZ\ncHs7BAq0ViGy9i1P1tfDe/f2wrOYTML3gtNin5OlNKuj540ksQBlMAhrg/cAMe3snM9BkB2yl6j7\nIIOQwmcRdFHgBwxLx+QsC3uGYsxF41Q79Nu//dv6q7/6K0nSJz/5yadFvvriF79YX/3qV/Wa17xG\nDz/8sF74whc+5Ws2B9ppH5Ew+RiuJuaJgQR+8JASi8i3/eVvbwQ9/MT7PMF1mnHwDcIqQvsmvu8s\ns6h2kXOoMozy/6elxahdBkNZh08XdRaFNC6M0EJySfTclAjTtI3sDW4I3oZ+R76wjEGEi2IGR0Nv\nISIn+l2x6Xm+vqMlxpC6h2hoEARGEMee59JxIR0fmtNhcK0oMsWJV8s88YS1ZGidI3WXwkal14+k\n6jyGLDMnwcOgqR4BhW+XXfEleXhfPgyOhu/l+YPxJBDSBwcGl7bbQRatqXFqviAy3pRksV01cMrw\nN73lk+vdcxk3o1qaN3CUZFKeMGedIivt96VHHrGzmSGfUWABgx4d2RktkMZZFt5DAOQ5EIhfnMSi\nYlXOgEZtBZ8Dh4CDACI6zUH4dj8YfMkcBFkFECdoBOjG0pKdWrizU1d1zhun2qHChdOf//znnxbn\n8KpXvUpf+9rXdPfdd6soCr3//e9/ytdkNI3T6mqY6H7fNjgGlMiHaNRzDJLp8D2/QHoJMUQUNE+m\n6h0I3l6yxUUkQtoKgRTHUpEXleNqZjTNkedBUYNhRf3UTMa4h0IhOj5r8J2QWaLRJuuaRnXsFAfQ\nNO5eFYYuHUdJREUFOw6oaTCAdST7nhTEkRlSHIWhAAbB2LLxqoNhBoXaM1MWcX1glSyT4nahCxes\n9QYBAkYDCSTGfzIJnTgHg1JPvhRgn7MI3aOjemM/OB+a5KVJMLpFLilWdSIgxh3YKXNRIM0Tp5lx\nFSjHPOwquYyl6wKgpSKkl7LoXJKiwgIGP7IsqJ8izW9B4WuDzttWxkO8nuOYtyfYO6wVInY6KV+/\nHub5iSeCPYC0Blr1QUy7HSLsnZ3wc+oWyHyBmeHTgEVphzJveDJ66DJWL7MH1pLqFf1wENgn35oc\neTgcBE4AroXnOZmYyKPTMQfx+OOLn8GpziFy1rI4y0otGHfccYc+97nPlZMU693vfveTvtaiQYsI\nDHqSGOZGJiHZYif6804DZZOXT3rFjhQmHAll+E517bjHKf3GIqLx5DTRLfc2mQSDMprjcE4bkMks\nXnBiNgncSF6oOh3stIETqfiHkg8pZBHMcBheyPfxqX1TGTSZ2PeFT0BySuTI88G5LLo333/JV4iy\nQThBDp7C15/w3slE6rWtbTbBghTgM3iL3rK0dMFUHnxPiG5kpsw3NR7LywFeS/7n6YWUjOHQIIyt\nrdLZdArNcssIisIpi2TzNyslyXEiO4fBwT3jcVCgxUmAqjAqBDTM9fJymAsvmc26Ut4240xwEw+k\ndHxSIopTrWCtMoqCJEf0cdoZFQxgQz7XDwK4eVCVFzX47BlO7Lbbwn2A/1Ob4hVmZLAEZhcvWvO8\n3V2L6Hn+kp1XwjrCqM8bRPpRFO7F91Ei0LpxwziE9XVTMzaPHCUg8Q4Cuao/vwEeDweBxLXdDutt\nff30ZyGdE8GIFq3wZ8nIshAhABOgOaZcnsEGwhmwINkwRFleRijZ4mxips3IEKfgo/8q8nI8Azgv\nVctV1DsuQovnORuhOeJYGqf2GVEUVEZRpOrsaQ6z8bUc8wZRynQaDEqnHTb9dBr+jXPoH4dah17P\nelbxPYDIeB6oRyDoiV6RZcILYJBPg8XAk8nmgA0kW/z835NxQC0oN8B6031L3YtCVS8rNj9tInAM\nrBPukc0I1gtnAL6Nw0sWwHyTiRHp6N07HatFiWRQGhkV1cLcqxQM/7xIfTCQivVCS2VGMBqHLDPP\nS+Ne7vzNzZMqtrilmjKiCgTier2MZNlL0/D7GoeqiO4UMzJPdowazasIzxpern3CscWmGPKiE8kc\nEtAy4okLF6y5XZZZhbGX5JKx9vshw6ZNxbyBbeEZIb9tOggygLU1e+4Ekd5BICbx/BrH7ALdIaHG\nQRwdhe/R6ZzdYfpU5/C9731Pr3jFKyRJTzzxRPVvznT48pe/fPbTegbHaGSem41PnxbODQajjGNb\nEL7IZXnZahZ4+MA/GPw4PtniF1UNzsjXFywaHAVI5DkcSsuTQr1TIqTm/8kUSHfZCB5fx+EVMnil\nI3N6bCD+7xdSXm4YyvX39gJR27lF6qwaIUbGgQgA/sRDFszL8rJ9Vw8XSJZZNXF6DD9wEQVfcAbN\ngkbmhO/Os62gvrRuiIjMmVMMMwf34OgPD+skKgECc8BnAA3pFAkzjmEwCGuWKNFDkHw/f853lgXH\nteyUMk3HQIEY8EJSHqVKbyQgUZbTPAgyz6TCGUC/F1C54KCXZA4Ugz49CJwV4gOvvfcQEBk78+sx\n/ScTjzbl2pKtA6+OAvdnbUgmdeX5YIh5Njs74ZltbFimiqCi3Q6vOzoKfMVsVq9p8AMHQUDEviNw\nKYrwWbSd9w6C0+EYzOtsVufO4EOQqwKJsr6OjuqV5aeNU53D3/3d3y1+57NseMMMYekLslDFsMmI\nXKW6sW+2/Gaw4X3a6KtZiZB4UOcRYUVROAzk2jV3wtf0fEV56PG9nl+SjvvStF03Jq1WgBiImDoy\nMsqn1p1uwLaBUcBkgeh2d42IHrro2nMrR0fh34OB8RQIA6SwKMGAqe70ODipNJmOd4pNJ1xBZrmp\nnySL5JDxgRkz9oaShhYBsomHo6DqiePwXfevWUYHHr21FSLQiqcYB4OQpoYfnxY58h0O+saF+ZYc\nVffQ0lEAcTJ3tDo/LfBg/oEVxpNASEthTcL54Ch4T5XNlnOdD6ViTsv4OAu8A8aK/dPrhewry6Vs\nLB0dhOtTteyzZ8m4KH7G96palzyNQIUnrb2TGI2sNmZlJRj90cjqbOi1RJ1AmoZ1u7MTrgNExJpr\ntUIkDsFPYec8ohonJZlUWDK5q1TPICiiwyE3HQSFuc1GfTgIemQ1Obiz2IJTTdjtt99+nrl/1gwc\nAwTyxka9qItolq6Q4KzeiPuopqnNZkP6mgBfT0Hkx9+8xyuhfAZSyQPTUK15fBwIs+GgEK2g5hXl\nyf2O63iiO2vIR7u9ukqLDYlhb5f9mKIoQFBAGDQlo4CNw0KWVwIen7UtmkHpgXHi58BERPJHR+G6\nnY4RZL4tiW9FATbO5vKOGOOMCieOrZ4Cx4HDovkfhgyxQZqbgeM+hwODS2YlT0UBERkQsk3JstIs\nswhvUTddcN/+wJqjsf6AOVulo0YEUJ2glwZ4b5FjgGPr9kpcexg4LCr56ScUJ1KH9QzkqQBlVmvF\nfYdqL6ThD3JJIk+gEqSTaRruwVc5s15ZFwQMlerK8QxeifQ0Kd0luSCoYxny4aFlcRcv2mFRtOUY\nDEJwwUmCV6+ag+BnXnDSrG0g82gO7yB8R4WisJPddnbMwKN4mpddk0F4B0EATL0HmSjZHcqpReNp\nnPof70ANg+EgLaNwhOhyfd0M9iLt+bwB9kem4M8/oJ2DP7jHVwMzvIwWB7K8HIzLaCSN2tKkr+rA\nHe8UvPMCGgMyQqqYJnVCdjaVJmOTR7JQKQrM8vAaWi6woVmEZABZJm1eKGseWkUFy/maA7ImFuBs\nZt1fMc4YZE9WQviTlZCyY/zZaB4KIBoiYwD+OTwM2RiVxL5wSaoLCXDYjOEw8CntlrS6IXUuWTFe\nu21RHc9xMAgGt9s1A3xaHyKcHRub4ESytYSjp8V01a4hthqM5iBjY46iSDosuaBkqzQipVHJchNn\nsK7oPlvLHFxNix/xTMpL5xonUlpeg66wNZVbbJke65z74zyPJkfhhQ1E1D8KR+Fre5aWQmBxeCg9\n9lgw7jgDWmBcuRL2y/a2dMcdwUHQxw2CF4ipKCxQINvGOJ+Yz7hu2H2HAxpk3rhhzSyBqpgX1g9k\nPxm/zyBQA66vWwsT5nE4Jzv04znjHDhQG6NEFEOEcJZSYt7wkAMEZLM/EEQrBvXoyBY2GQb4KgaQ\nqBYy6bbbwt+rq1JWngQH0UjEVWnXG/xHqxWM+mwWfj/LzMD79B0CrtWS1hUWnYej4ljiQBiIMjKd\ndtuOtEySUOfA/fN7KWwsnC+yPXq4rK2ZQaXlBYa3KCyCJ50nq5tODc5iYRN1YjiuXq3PaZ6HqLzT\nqffeIdvgeUq2YaTgGJaROS5JAwd9NPsM0fQN5dJpjiHLpETWmiNNg8zV98EiyIiiUH1OhTeOYZHK\nbDgqM56prTHgtM6GlLjKceYLEr4lyxyQv8axVLSlqFvPWKMoZIvjqN4pVgpBzHhq91qkYS3huA8P\n7TAusvrmYK37TIKI2jsKX3fxdIx2W7qlLNq7fj2steEw/Iwg4/p1q3245Rbp+c8PDoO9zlpjHY1G\nVvvQ71uTvXnrwzsIvrdkTkYKn0/bC+Asnid7DygRB+GrqMdjyyB8oHzWeM44Bx8FegwuSU4/xc0P\nDCELEmPj4STONOC6wEI+LUTJQiTnNd5E1GwqYIk4lu66y6LTODMIgYgqL1UiRV43bF4dNS1J5Gxm\nTkiqKxu4Tyon/cEn1WZPHAkZS71uXRHhCwi9lJCIX7IiQJ9BsRFQeFBRvLNjLQ6uXrX2x8ByzfbJ\n1BdMJuH1s1npWDMzIpDRzaAgTaWBDFbDQUvSxW3Hfzi4q6nNR6LbdGTegOe5NC0dAn4gie2UMtaj\n73fUaoUsr1LpJCGyn6eIm0wCd3TcL7O/mUEma2vle9qF8tgKOT3OzJx02nPUQG2d6O9VFNJ0UlRK\nNj+nRVEq2ErHrdUQqLAmvGy5KGzNk1Hyff01PQSEoyDgou1MewHMdrMD5OHatWDQr1wJARFFc9eu\nBSP/wx+GDOL228PP9vfD35zyxneGPE4Sg67olNocpzmI4dDaXuzshHnDCbAvcJhSPYMoCrNFcCtk\nEDj9szKx54xzACv3ja4kgykwFmwCrwwh/fWqDP7tX4s6xrfjhmdgkfIzfzgLWYaHhKLIqjcp819d\nDTr32JFn/nzjOAoyQzYasI3XXtNxM88NIsHJdbqqzove2gqFS3lmhqUJtRClAxvlRchSJtO6M2Eu\nKFCTjOth8WIMSeX988ChENk/8YQZOTInoB2vgCEi5ZpkJlyPLI9oM8vKw2La4YzkwTBkaGwusr/p\nVCq6Bhdw35JlN0dHZtx8il9p9UeSHDzDHCm1a8HNADVVTjYvDUtcd0o4eKDNjoyoBL/3wcl4v9B0\nx+C3TtfWAsuKGoUavzUtFDcCgMFAUia14/r+iKWqhqbpxIhuUQGyZml+B9Tmuw8QQPkgyjsKOL9m\nH6Gnw0kkSeD/MObXr4f7W18P/ZdWVkLh2LVr4Tvcemv47OvXw5rd3ra9gj3h6E7acuS5Rf9+4CBo\n2cKzpqgSDgIH4RszekNPdkZTPtRpZNAosM6TPTxnnINkPINkDwG82ZO3cBIeb/bkGe/3qa1XKzGp\nGE80/mfpuZuDpmCoIKJIWppIckVwnOtAREv0hBOAeEYrvbZW36hkG16KKFkEq6gOVfE6FB5pGn4+\nngTnlEvKplbF7bMCIDYWdhMbZayu2gl0UojGjo6kF74wbEopXOPgwOYXw8BzoPEZi50MEdmyHyh0\ncCxR6WBbrlhRqre77nSkmQzykoxzIrPku5F5QbxLUqoiCATKe4jjYETbDbKcgkBqNbJM6rYt4/Lf\nwRcock++loA6CRz+ZBz+jUzSZ88EPpGMO6pw6h0pu2r7BahuaSolpSJJCtffUOCsktiyk2xk3V19\nexEprCffMZX6BrIB1o5UdxTcO/8HMmV/erXiUxmsp3bbJKVkpktL0n/5L8Y5PPpogJ5uvTU4jOvX\nVVXVe96u0wnBmG/jzXnTfnjDzjNizeEgdnfDdaiNYQ34Xlbe0aCiYz8RbjNbBAAAIABJREFU2JCR\nLBrPGecAacofXwHLYdrNyksMmW8rQFpIJM3wBpM0mQgNGIsN3zwYhkUA2eaJN8jJ8TgsxmQUiuBa\nqUWFELf+3uOk7Fs/q/fAWV+bD6F5eMpuzK6FtJGupF4l5NUY40HgHPh+nt8gkiYrAE6bp6fG4W1u\nho24uxs+57bbwu/RakPM4hCuXzce6fbb6xXYREr7++FnGCCfmUSRNMutynj1wc9o6f/583CN//p6\nSVJx993Sb7y5hnOzSSWLiFFb+VFlTC1pkldTXAkM0iRYZc6tgFtg7SRFoXanrnDzRhTjyHOcTMJ6\n83LHOAkRftGW2qt18tevcSlkEDx/goi4q1AlnVukjjMscsvmGO22SatnM+lwL1wXB4ZTB4ZlbzWr\nzP3akGyvEHj5GgiCAeaHKPvpchK9XuAXOCeEoKPTCeuu1wtO4vHHA5Z/662Bx+N1vt6HOcJBgG5s\nbJztIJiH4TC8HgfBiW9enurhcwJVfwojGQToxX+azMFvXsgYFjc1D5JFtOCBPhr3RK+PtDG8ROO+\nkd9waN4Z1cj163UJH4uEz4Yk5jP8QS3H/ULLbYMOGL74jg12fByiN5+x+NYZfuGxORk0v/PKqSb2\njGNA6QThHm2FOebgEHgXjJhkDoPNetpot8MiJ10HMqJ4ByL94sXgLHx2h4FLXaa0umotmyHDcf6M\nJwZByprnUvZLlzX4lctauvv1yv4qHOUZKThdInQqk3lmtF/AILNGeC6sJzIQhu++i0SRWoCdneAw\ntntS27X8IDomimbN7uxKKwqR6vq6RdCFDDqEuMdpZJlOnBedOjixev7rksrWIZzZ3OlI+qGk2NYx\nAQLcV5ZJgzJIS1umwvJBDYM1CqSEbJo/GP8KpnOBnYeSWPtNJ1ER+ufM4ucNzmWAjN7bs6yCyP3K\nFTuPeWMjzBdnkfvaEinM0YULRnoXRXhPM5jzDsILWryD2NsLfzivGujPQ1bMgZe+8kzj+D+RWomF\nxqI5Prb2uDRYI0vodIxcxiFgdME+MXreQfi0HsfjjU/V0XRgskWv3SZjYHHjXOK4LCwr24gfDGXd\nNlsmY/RE9sGB1Wz4ni7VuchTze2505yz06KH6dQ0/8Av/X74vG5Xai9ZREjbCcmMEYoKb8znjSiy\niIrzdZPE5vXChbpx8MWKOA6fmRCNEplD4DG8trtyGg7bluqqJ/BxvjccDwfUI1tkkOmlkcuiZJlg\nlkn7B6aB73at5QFZaTG0Mwci9wyTNNzqwaE5ANpQ2+lvJVk5sazFn0nuYUqe17zB2kRjn6aSlqRp\nWgofcnM0+/suaymzN+AzDB/OAydFRoeB8g6WIAeOr1kw5qEk9px3EjhUOvaep9HfaSNJrI0G2Sxn\nl3Q6QblEUSdIQBQZv0AW0XQQzfOk5zkIIn84S5wtnAFtyVESxvHJPkwIL+DsPCe16BAy6TnkHLzB\nBVZiMfkWCOC9ki0c3ynVqzk8vAQePJnYYiTD8PwFGm4kkmwGcGGiWS81bbXsbNzhrNB0Vqalvhq7\nUNjhRb2N+NKyNCgNXhQHgtWrm/KZXYPzkhfY6uqeIZ8hZft9qyrvLhUaZeZscQi+apZ7BALiGcxr\nb9zrWbEQhyVh1FGASJYVeWluk+PBmN24Yc8KZRbKjXwaYBcyOg+h8UwGeXmaW2nUKYZLEuuN31RC\nQbZWEsOSG2rJnNr+fpCP0jBwOrWqcs7Inh42nEJixnMwCGo0374ZyAojOCorvaO8qPo0IYc9bySN\nQ/SB1WxqcJyPytO0rpxp98La9VAtUKNXsHnYin1KdsbearfDvFArQIZBluD3JNdmXsm8cDJPFmqC\nh0hTK3DzWestt4TP3t9XVW+0umpFiUhLfb3Txoa12t7Z8YdB2cDhIU/1NoMM4vDQHAT3BMTE8J1c\nm0Vyi8ZzxjkURcAAafcgWXqKEeFnHvv0xsYPb5AYRP1kEyhXJHsYqIzAnsGTWeh+U1ERTEfPdltK\nVgLx12qpVgSH40KNQwaE94ekIwJN01AFWzmKzLKKlqwZHZEFc0CESaSLmgaD0G5LUVJvGcLZCp7U\n9G2JPekLuewHVdNJEjYaERKfy4bzRqQoAhnojR0peK/3/7H3LjGWpdWd73/vfR5xIk68MjKzqqCo\n0rVbTNxqIWYMmBkhc3UZ3ImRB1c1smTJQ5sB7VbTNI0YMLCELQZYCAmr1TDwAOnK0hUSEyNGyIXN\nwNxB9wUKqioz4/04r/24g7V/e62945wTkVlZ5XJQnxSKzIg45+z97e9bj///v9bnPXSKwjYSOH2a\nGqlOL6pYpDitCdzLS6kceHZAvy0OeYL8i7xSdAw4jVlYO0niGeXG2Os+UMbQ7beaVeplgYRN3LDT\nUbTXcw18VylEx1pev0xFdNPA8HKPVKbPzyTlDjM1cth6vSWpOaLJRDq/8IycbJx5iMq4OCLsSg0M\n/YoePbJ7vnfPiw4xeMjFcRIEfDgtepfFvljPMmj9z0E5qJGSxOXXQEyx7mBz02Wk3WK5JLH1dnjo\nGUAckTtgH3DPOAjmaH+/LYONbTainB2C+reGczg7M3yQLADdOAuRzYJ3xuhgtDD6EdetKi8II5PI\nQyRO1E/aDZQSox8ewDIIh6Z2GPjFQhr2KmWlREEaA6M1nTk0gGoG8ov2CBGO6A/aBiIaaYqv4rxw\nnXGjYuSJDKvgdCDpqUZGPgqJGBcl0X4soGIe+FzwUzY214jRI7OAY8IpY8DAWWPUzc9x2FXmDoF6\nCUnNaWm9njUWHO37M8Ngcf3RwUW+C8eAMwb+gY9CrcMhLG+95REdaX8asgHWMyoTYBvWRqyHmc6s\nIC6tDUp/VK1PE5eMGJXj0FgvWSaNxn7vRKoEXJUcKpovPDhjHcS24DjyyHfEA3CIkGm1fXpq+P5b\nb9n80QCPZ0HGC/RLlkEWH8/ifidZBAcCHR35PgOxgBA+PXUIjUaQw6E7iKZdy8QdxMWFZbuxpQoj\ncgfYNeA1HATFdvfuuYPgcxndPkzLai5an/tsU/T+HNFwk7ZjwEhTY/sEJq5L1kq+wWnRC0zCgytL\nPwSIyCVugtsM8PKDA39ojbKjNp5ERzRhGw6thUWvb2QiWvnFwuWKldzQ4dwij7Jfv68SNVWxaeqK\npbIy6IKsCPyY1H1atjkXNiHwGs4Zop7itjT1atIYzfLese2I5C0ynjxpk6BE8shAoyKJbI4oCvIY\nkrAopGGQRXL9zTrIDLffGksKBgRJI2dSxOy06xgkdzjc5+mpGfRh3yGbkxPX0T94UAcgup4N5Lkf\nKjOqDRC+FUce12BsDPg0gzqV6WWlQeJOupGRhqp1Cr125Jr6+Cw3t9rXxnvHTIJAJfIRUSDBPO/u\nuiwdscHpqR/RynqKUC6OmMxva8uzC840v+0+7Y5+33kynjPQDR1aLy/bwhMM9cmJn/eseu7om0RB\n6DIHwVrAQbA3JOcgIM1Z+90qaqkNU8UDu5aNO+McWMiST1qUz8XDfvC+y9JLjBCLFeOMYSbSicaB\n/6NquW1XVsnhElLQLK2kygwEdQzNaWrb0nirkwEFjXiWWWovmfPASEfeI27Ifq8dxbNhKVACcwbW\nIEJinojCyB5i1oLz7PcNEqBi9OjIfx4H0fTjxwYX8Xn9vsM5YP9otGczcxw8+/HYn1+ELlCvRGXM\neMevIWroORwnDowKmHm37gG+IK6/qjLHS7HafF5XhvftC9hsNHLHkOfmj2IFMuqSRe7PggyIz+Ko\n2Jg1Pc0ACgW6GA7NCXFNONjNXKpmbuwmE3MOBB5kgHldP0NQguOPMCHrDciR70nSzipifRHR7tWV\ny5xRI0aoJLZioc1JhAh5nnnugcbTjl7PHUTsKQX0QxYRD5kChjo9ve4gMNQ4CFRIcZBVc984iDT1\n40zpEsx50cuqqLtS2ZX3+PTT8v4cpGaSwUtMdjdCiBsrDjZH9PZASZKrUkhbSfe7MtLp1LHnCFVF\ntRIOJTquprlcfUxoNOIbo3YPf36OE4zKBDIkyQxJ5DjgFpgHiunSpO2MwOYx4lHGu1jYh7ORcYzj\nsS3seE3MGdK5wcB7KnVTWs6Xvry04zY5oYxaAjYSxHC3YAonC07Oz8nuWsWLT6qlODwRe9dYkBHR\n9gOnu+yMaoy5ptJGaffzQBZJb28bp7SozAnmudV1cL1AK+nUnzFQoSp/jkBlQ7nckfWK05Skciql\nM38e8UsyRzSZWLYyn7l0tx+yMTIWuId00obYuM6y9Gu5fGwOCzk2a74p4AwV9mSdQKORF4jBG0ES\new7Z6OWlGeiLC3stcFO/79kCXE0sOJQ8m+n2zbrtSFMz4ijtqsphMYIu9ll8LqjetrevO4gksd+R\nQXSviwCNbAyICd4DuIv3J9jDDrEWblOse2ecA9Hh/r6T0KsO3JDcsLABmsrWnhsU3ofvLDB+TxTK\nwDgTlQB1dFUBREdE9fR1mU4Nq12UTjBDvnVllmjauyfGrZPtRVkpio5GSZUYFMU9EVF1o9CYgRCR\nsMkfPGgbcXBS1CLb264D7xYAZZk59cND+3uqOZGDwu/gSHHKRIoRK4fLkVZEhWHDkRkO5Bh/HLT4\n5l6JSruOgc/HmI97shYa9djb9ef+5ptmlPb3XX7J/VRhji8ujUOILSZYX7OZ4mFtjXNA0lpJVtTW\nqWsoQ4ByIDf+iAuSRLo4lmaHHiiRMZellM/bkbLkgQ+Z4+FhHWyU7riiso37YB1Ry8DaRl0WnXqU\nufKZ9CpCtjydWhsLeBkyCmAWgj9EEaAIZMjPUheRJC5Nvbry6mMyOfYJ104QuLlpf0u2K3mdgrTe\nQUT1kdSGmPb2vGMs1wL0HGFPApF14844Bw7sQD1DMUhM6Zqq0Mqbp/EzUs5uwZTkWcXVlbeIWBVp\nsMmJ/FmAQB/AHZJvchbFxoakQaV+4QsWVQjvE/vvU3/AYKHfJk2mroOob7EwuCNLV2OxZalWW2fJ\n5pgWARGLRwJJbUTUsWNAiYLYkBQYsZgxXBTxkG0wh3wGP9vY8CNI0yWGvjtw4JXMOXQdK5F7zBqA\nK2L0RSU+ii8gjLOjdrRWVa6J5/xrHE+a1kZxUklzc9ScLwHhT78wCFfJ3icvVqiSNiWNPGMFgqJd\nimTOZDb3wGA+lxZXVgkPlEqBZ7mQioU7aZ5bFy4aDiW6ssb2Kt0eSDgDsonIB0bFGnsnZhY4GNYA\ncBF8zuWlPZfLS88iCOp49rwezf987oWNTzuwPZwFERvcsUcJVoF0xmM/9IkRC9lOTx1i6q7NKPQg\nOIscBOeM4ICigIP7u+k+74xzwDgxaaRy3UWHHh/jRGsGICSMEa8FLoob5TYpaHwAq/gHsFgirMFA\nqgbS4tw2MPUVy4i6NPMiNSL8qnI1Ez+7aQHgQFHHrCPpGrlvVTW4PpJeojWMPVg1c8i8AhOdn/vB\nKmRO4KGSP5OTk7bOHZksz6N7LxBu8ayNZdFgWVqWhpPl9XGATfOswHT5HCJlyecfJw/EycavKjNU\njx5J09yzKgwtTj3LpLRnjgFnOxi4dHU+d9JcMmOfJtfXZFFI+azS4sLhxMbIhqCiyO3/kcsq96Wr\n+vNw5rOZpHOpP3MnOV9I9+QHN2WZ7FCioXFfOGgMOfPAXBO9cv8YOl5HjQ3QEE6EPcPcUDMheSYG\nxBXPX+FQKtYW+xLFICTybY7QXDaAQU9OHPdHdEKdFOQzQRP1EBFmjYVsJycGFS3LIOIxocxX5CDI\nICYTz4pwELfJkO6Mc5BcmQPp0+jaA34PTMRGYQFFPiBG45K9B6qIZ1U4xEFKGNVEHJFZzColhV8b\ntQcs5uh0GlyWSK3+XTwEPlbELlsQVEKnyfXopDti7UdRtFsz8P5AQMw5c02G0uu5rpuMDtw3Xh81\nHDhwJIAYCjZxl4dJU980UfvO3JWlNJ8YsSr575Y9I7iG2AIBAx4rV4EowOYvLqQirzQKrblPTp1E\nHYw82iVSbXT/Q+ly7g6733PD0TSzG7Sdfr/fhvt4Pot+pTRUqVPTQhX3tlxRhsFMU+kiyLlRyUlq\nnSuR53Ydkjc+ZG9tPzCFW6wJivdINM2aiHU27AngSFAAMPv53LMCOhAg6Njba1dWR9kztUGxEyzr\nC8gTWPDoaHn1+20GkTkN8vb2PECJHaOzzJVXNzmI4+PVEBP3SbAbCzt3d10RFzOYbpHcqnFnnAOL\nAl1xlvlh9rEPjOSeFmcgeUROyopBjZDIuhHhkVUj4uIMKngl3zgY0SSkzesWacwgiHDZbLGdRo/o\nLs5Z7RhuKg4qCjVV08BkGH6ilzRtG9GuzJQDX2IGgMoJw8rgb9mg8dowjJOJR+ZAdHAASGgREETe\nJy2lVA6tLZ3ThWeMGCnWA9kQRCYyQq775ETaqtfNfG6bbDazudvYkPYOnG/ozjlwZ1GaMSYjnncc\nw2wmbcgyzNncvsfKcbiYjW0XKTTFbGEuYm+ePK/J3YG02GvvDcmhuyR1CbRkgommVUum+sCqpFVA\nyugS4xFy4jqJ/CcTc9BXV378L63tcf6np+1qfPiyxcIdLyca8vkgC12F4XhsvBfviTw8nr9xmxFr\nIcggCGLgN4GOTk7s8/b3/T4ZOIi9Pfu7w0O7vrhmY7ZMBwMyu17PXxtbZQAF3zTujHMgupcckwVa\nAnOMqp0YgRMNxsj8tqOrvlhG4kq+cSX/LDBe0r2qknpppdGW44g3RS5VrTJCmio5ARYVPUVRSx4L\ng6JRqZAx3OTYcGiVHObCqEhuTIncmUcIwPncfj6f20bAIKCsoO89m5V5otI5Oh0GxCh4Kn9D6k4k\n1S14zPqmyFknVri89GpzsgueH1AGr7+48M+Prduz4Biz1OW2EUaLoyyl8zNreQGHQNdSnCcOq3EO\nZTtLI5hIU1NGlTVUQvU3UtWYcQHZTKbSYu7kMOuIZ7hVO8de2nbY/SDeSBJJmZQsWbeRnOaau4P9\nQ8ZA4SPQFrAQRCuQEIQwPAUZPuQz0fnlZfvaqcvhvOiYgSCZJRO5zT5hDIcusDg5sSieawJuxSYd\nH3v9A0pHBtdUVc5BdOsgooMgQJI8YNvZ8bNP4nsvc95x3BnnAFwRKxWJDnZ2HNeMMtVnrZIkhcf5\nsIlierxsEM1F5REbmlS/V1XXlBk3jaZYbQksRNYD9BCVETjUmxwiGQg8SFVWrTR1NrPN1++3sdoI\nEwBdYOhffNHe6/jYIRzJFz2ZXBQNQB6i7mH+MeRkZVGltjTrG0jqGIc41ZOpdHVZNdJOYCOyBRwF\nQgXgJyLr3V0ropsfBSNU80qbo6pxXt1xeloHNmFXXlzavA8G5phVeXbQzFfizieu6dlcmgXehzmN\nnw0RG3sVJYnNAYQ5ECJKPtYs83qtmGpTlprdMCKsFOGlyOUkiWeBKJmAiCLRDEpA7yOiaJwr9RAR\npydIZB9K/vq9vXCue+Agn7aGCQdBbQP7A3UVturw0D57Z2d1BiGtdhBIz8m4cCiSmsLIy8u2g/g3\n2VvpZz/7mf72b/9WVVXpz//8z3X//v0bX0MhUpraxBOhRYVCLB571sHCYnT7tcSini4U0tVtg7lL\nLhccDKRecnvHUFUGDeULK1xaN2LEhCFZ5G7YunwG7z+bmaGByARewdlwZm7X2UapIJkSaT6GPXa5\nBSPG6OD0IKqBU05PPRqkOy1GrelfdAtCEfVOlhptg2E6O5MKuUKJ+YpOHPiDw99pg4CMFqNKoJDX\nESxZU3dMJnV307mU5AYBQi5GEjVmEZJDoPE9aaVxlTq3wnPNMlOlMcgKplM1GUuWWSEiBpmsbutI\n6uftdfROBvDXsnXD3LF+gIAozCNAw1Eg+d7asv1/eurcBHaBojcKLsnayfbK0iGpJ0/sedFgkfUK\nV8l+vWlQLHd05B1dMfTn527I79+3z0Tp1IV9YgaBzPX+/fbckbXjIFBwMbq/i3Zs6bXffHvv/ZjN\nZvrCF76gf/iHf9Drr7+u3//937/xNXnucMTWlj2EZQbrnQwcA7DQsoXNgl81ohqKqBbCcDaTiqpq\nokzej6hvlermslbGLOaSRtf/hgHWuiFPafNc17q3Sh5JIzWMNRJcG5s4nr3QX2J4IOC5V/oKSR7N\ngikzVs1xjHYoOCwKb6N8dHQ751BVLgumT9FsruYc7mzQ5nykNm4NFEHlLtwDRHpVeFbC/XQPgWIO\nJxOrfbi4kB72zQBLDv9Eee9kouagJ+l6VkTdznQqLVRpWLYrvymgu7qyAJ+OsFVliqXRSNr6UKXT\n1OtJ7t+v73Gk98RiEMTFYjUgEuYhQpvcN+TycGjr4fTUHC7wYJdDIjPF6FJkh7BiPjfpMQo0lItc\nU7cNzKrR6/k5DlHFhlyVTOHhQ1OzRQcRg0xkrmTaZBBxfwBpAsdRP4VTgweMSryV1337R/bujW9/\n+9v68Y9/LEn62Mc+pj/5kz/RP/7jP+pb3/qW/vIv//JW70EEwEH1UhvbTJ4iGue1bG6UEhHblRxL\nJ3Jbl26y+Li2bsbBNUomEVx6j/LFy71FCAuVBwY1RjaNvLc27LE+IKb3LVy4cvKezXR1JZWJK3Uw\n+GQJccQmhPE4TbgQjD+nVSFDXsX9oIRCncI8smG4j4uL9Xr1+VzK68gsyjqz1JRCeW6KIqAR7ot5\nhRcpS/tssHGi2jyXktJknacndijP1la7YV1s03J4aK/f35e2x5WqvC0DJcOhELAb9EQJNj2gkkTa\nGFbaGHn9SlHU5xJcSVVpldtcE+3Rs8yUVcd1zc9LLz2brFNqr6moGIzXLS0nqON+Zd6B94bDNr+A\nrBn+bzj0Tr/jsUftrFFgKwJIYCeIbj6z37f/ozLjPbnu2K34JtsSM4iuzBkHsblphaSPHzsMFU86\nlOx6uq02ug6CzAZ7gLOI8x6hu5XXvP7X78147bXX9NprrzX//6d/+if93u/9nr75zW/qr//6r/UX\nf/EXt3ofFg0SsO5JRyw+vDHf+TepKlFJXMhE+qSYcUSjCHwSU+8IRQATLMsuskzK6w+ljUM0elWl\nVqfWRBYRYkzT1Ax6mbuMFQM8n9tre0s+d1l6jzMbbrR7/eS5VKbtttC0Q8YYoFpC1YRzgJuRPF2P\n1a07O+sjMTY2xoMqbBwk90FkjNOITgIDwl6OTvRq4nLDjVQajtxIA0vwerKV7e12n5pGyZVK04lf\n2/Z2vSnn3qpC8qBjZ8c2eaVaqVSvIQ7qgXfoihRwHPM6GytKaVQXDFYjKZuZI7i48uaOKHokL/xk\n3s/Ppcs6i3vxxdvj6zHAWFxJpa5Lwp92AIPFYAfpMMaPli1krQQe87krkICSDg9d1RMdAvsRBxD7\nkfF8oxoSR0/mjRT7prnKsuUZhNR2EC+8YJXeFxdeAR7HZOKtMS4vvQ4irvPYZoMiUgKY2CNt3XjX\nncNPf/pTfe1rX9N3vvMdlWWpL37xi/r5z3+uwWCgL3/5y3r11Vevveby8lJf+MIX1O/39Yd/+IdP\n9XmxAhDiEGNCpM2/uxFcHFEXL/kmihlClJ42iqDcnUVMQ8EDb2pvEatLVw0cFe9P9N/vm2ForqeU\nirr6FTz8ploGyR0DOnuupakFSavW/DIHQCQY0khwEq3EArEYGcLBrNtgkKY4PGpEwOCjggqslXlp\nakYqKa2qpqPt4aG9dl/SSU2Ob2+bPHM48jUS1TWQpLQgiYohfk/xURqyjzyX8pmUDNy4nJ3ZZ+zt\n+T0Oa9KYIj3qV9LE5zzPjSfJC2lWSzWTxKAhDH1ZStPaYeQLl3fTrVhqO77ZzD5ze1vafrj+WRBI\n9eXKt/i7tOd7iKAsPvMYaXdVTPGrS07H4AsngSgg9gUjm2XN7+/bvaMeQtaLgAEnAs8Dv0R2SLYY\nG/YhskCYsAwN6A4cBP2gqsozARRXo5FlbG+95fUPUcVE4Lu7a/+PDiJ+dmyzEZt7VlUbLl013lXn\n8M1vflPf//73NarDlB/84Aeaz+f67ne/q9dff11f/epX9Y1vfOPa6z7xiU/oE5/4xFN/Ho6BgjUM\nIYaBf2NUgUwwNt32Fssgn2UjOoxujx2pneZF5cgy+CdLK2mNY+Dz4oCQJWOK8AebIM2kXu001j30\nCD/1snYkjxNlLjc23Ajy2VF1wmsj7s5nwN9wIA9RUFRZRFUF2ReQSXSObGQchNTO/KJxie95eGR8\nzWhkzqE5JGnoHBAj8iVgt0niUWh0ukUhTetNSGTIiWzDodSvIbEnT+pitG3v98+zKSs1lc9kqtQ7\nxOxxNqvnsHROARg0H/r74RTS1EUIzBPzYWoqaThe3kokz6UKqJB5qb9TlZ+mUjqWlLZhym4m3q13\nWBUMdclpnEV0FMA9kK38nn0B7DQYWDY0Hhu2T9M+oEoK1rhWDD/rGsUP63Y+t4wPVRf746ZOr1nm\nTfI4LS7KWtlPL75o10lGQQDA4DwIaoY4zyH+TbfNRmzy+a/qHF555RV9/etf1+c//3lJ0k9+8hN9\n8pOflGTcws9+9rPn9llEKejHWdwoMZYNcMWugX7WQaQDDonsL2YqXcme1O7q+bQDHJ7oL9ZwSEaq\nch15YZFhT678iAPHAPzUrT4Gw9TAnSopK5XIpOVsFowD0TSfSRdNHAMRztlZO0JC28+9Qkpyn7E/\nU8wWiJJxIGQNk4kd/6lTcwzMHc8v/ptaEaAKoi4gBAjiuH6IImcTOzdiUGPFzTGdtYz2/Nz7/qBv\nn8+lvipz5Jk7BowqXFSa+M8ePzanE9u6kEn1NqRsaJwD3MoiN4iqWR/huTCfPPeYCZellE6tej+R\nF1RK3viwWdcXupWUtTtizVH83iWnI7FM5tzvm5FG7hz3RKzoR+U2GtncEcETuO3vtwM9gjoCkPHY\n1XaLhQsgDg5cfUdx5zqIFAdxcuJFsAQSR0fuECCpIZdRYjI4D4S1Hdt2MGIVNXLsKN9dNd5V5/Dp\nT39ab7zxRvP/i4sLjcOdZVmmPM/Ve1bLGAa4KdWxUSkjtQtYgB83hSj+AAAgAElEQVSel5IJg4Dk\nDlx01W3hJDCi9D7p9/VUQG1MvyNBDRw2n3u0mqaeOUimzOHc4ajOqKTWecSMLkzC4s9zP3glYrZA\nX41uvk79cdwY67K0zUY/+osLh1iiA42wEOQ1z5EAgOxvsbBrIgqMKpeiNm7jbSNm+32PgpHRjkZS\nbyQlI78OihS577Jst9doHE99ctl2XXxED6RoKOZzJ0g5+/f83MnWgfw+YvV4VT/ny5p4/h2Zo6Da\nWolzE1km5QMp6auB0KhwZ80yr12p92wmLc7bz7/Xk3oDczbMSZ5bkjsNGVaiOiDK2sRyN/OOire4\nfiMsK/kzbQr7glPC8ANfRsI+Fgz2+9choV7PoJutLcP3z8+9jTqN7oDwcAzcD7VKOAgK5R4+dB4N\nReK6djuxgpkarfHYPv/w0DNpHATFfTTri3O6t+ewrmRronkmyfUq6ttwJO8pIT0ej3WJm5RUluVz\ncQySHx2YZe6JJbU08s97sKl5sDyE7sHz3RGhHwwpC6o/qVqo0qpKUtREUSVUFBYZEoVL3pZAakdg\nVSnNc48mkkTivOJlEc/pqafnM1UNNEZUBcEHn8D9R0godhKFw2nuu9+O0mlZUBT2nsh+4xy2igd7\n7YgyVkzzPIiM02GoXA6y0PF2uP9648XMM/b9Pz2136Elx7iDc+/tSeMla6CqvN8NxZlvv22f8eCB\nCQB6sd4i1DR0G89J0kc+4g6yKN2Y5rk940Qu2aV2IsJgZLtNxXouVYVDpS1jrLbijdELEX6a6tZF\ncMsGQUD3i0wg1suwXiI3ERslss9wCIuFPSeqk6m0Ho3sCNLTU4P6ZjOT76IKIyCJdRWS3y8CiF//\n2p4h6jWI8nVnJ+AgIKQlb+Px5ElbxfTkiXd/AI6KWTZOhWyWZo38vltFfRP/+J46h49//OP64Q9/\nqM985jN6/fXX9dGPfvS5vTdpfhxZdrsGU087iG7OzjwlH49dKQN5RKQR6wOIklhYGBcMfJfcXDey\n1L4gZhkobvp92+yLvP26TRncVBW+mdBHL3OipN29vkf9khO9ZB9E6Rj64+N2NtPredRDURmZxXzu\nxF9Z+vkcUdnF53KWMnAMaikyMSSPqL2IHnmvK3iXqj3XaedZTSdBFrrhjuviwlt5k6ESsfL5461K\nWgJnUoGL6gWjMB47fsyZF5I7rmZNZX52sqSmvQUZH1zJYiGpNBvNfSH/jEIJpNjxnIVsU0pqiIOM\nsShkBXq1Eis6jduIHG47gBJxiDw/sgOEC0BJXDOcQoQ0MZ48N7J5Agd4mH5fevVVM75vv+3Hfz58\n2D5yFYgYA83aRXCR5/b6e/fM4HMdl5frA8Zez549faQIaHEQl5d2rUhhgXBxELQKwkE8eeIHbEUI\nCntDDcS/KqzUHZ/61Kf0ox/9SJ/73OdUVZW+8pWvPLf37mp2n/V0p3UD6ICogDQw6vMxUlEBta4S\nMUn8ARaFVGSVkpCOLyPH40AtQ4M9DAHGeBVK1e/ZJqetCDLZooaiolrr7MyN8WzqZHO8NjB6cFNk\nk0ReSDxJfR888MygKGyh37tnmzEWOpGJNPNTuIyWZwJMAIG4teUa8asruwZIX64DQpwD2qV2QVUO\ned9zXgPZLUQiDmNvz77i2bzLNh4FamXl9TjHx/Y72iYszqTJqa8LnGvsuBnXDJ1a4TQgSns9qZeZ\nKitJvJkcRhWnSMvsuFeqqmr1DJPq1w2Nx7hJ0/88B8EV17cKSiJA4W/JsCIhzr1TrwMchAO4f9/n\n4vDQMoEXX/TixSilxUEBMZFFz+f22jx3eSlntqyzSf2+n9cB8rG5ae/x+LFLs3EQ2BQO9JG8+yoZ\nBPu2W1wKB3FT87133Tm8/PLL+t73vidJStNUX/rSl97tj5T0/B2DZA8IiIO0DEODIaRCc9jBZrvG\nHuiHym5I42wgE4nfcpDqSnYGQFndTrK6bH5iGr/IpSK3hSjZoszrtD0vXbJH5gG8wzXFanKgDIxX\nmrYlg0AJwDRkfNExSF5ZHU+CQ6fOfMYCHyInjCHP6fxczfGZm5vuxEnrq0qq+lVT5QxWixqGQqT9\nfcengceo0l32nC7qvkC7NXkJjvzCC054lzNfQxhn3vOiQ1xK5siZQzLZNFPTIiMvbF0AvcWePbxX\nVJHluTSf2HVgbBtosifpPXQMy8YqKIlommvFCfA7jDQ/39nxZnt57u3ft7ak3/kdm/9Hj8xBQDjz\n3kTrsaA1SnZnM4MO53N7trflIXAQSdLuE0dhHBwERDbr/fzcHQsCkYMDb8eBvYpzyJ5ZO9fv/HG9\nP0ZLDvoMRHNXTSQ5/EPUCCFLZMjCAzbBCMI7LGv/EN+fLKNVY/GUlUMxYyrL1ZzBbQbXyv1Sbbs1\ndqhnsZDSftVE5lHNAtQmeWbF+QuDgat9zs48VcYAxWyL9J0eOLHxGYQbhUi7u07qI+M8P7cNRGoP\nbMd9LRbSZuaVtBHTB6fG6aPmwVD3erZZwaQh3Yn2VjUyvLryWgPmEa06hVZFIW0MKvVLjwJxbhcX\nRjZHaWxfzrVMpnWPoLRtCPL6ujc3XVVUVe48WJtN0WL9Ooj39zJLeJoRi+FwELFQjUwiypJRtFEg\nR7NI6gS2t70TwCuv2N/8+tdmmIGZgCYbjqZTHIeDIIh48017HbUK1GKsqqoGnpR8/Y1GtuairHV3\n1zkp9hSnz1EVTQZxcuLzFT/nJjtxZ5xD5LVjGkXqiaEnPYxGuavBjgN5J6k6sk3UQES8pK2S66BJ\nQ6kBiFXDLCLgKE5Ee9q92JzlkLUJ52cZEd8lir53YIVVl5eSEsffRyOPfHFQqHckJwJ5n8HANh8p\nMdkCh7PjXDmjgY1DBIcjYkNSH0BED3QCpo5h6N6fVDdpG9l9FaU0qI05Bwrlual80i2PztLUD52h\naIoByQfJuWwgrySyp9XL/fveaZTok7VGVM/vm6rcov2+VEkP+nZfVNfnmTQra66o7/cSa4Ca9Vsr\nmfq9Wqn1FDwC0E3z71xNy+5VaqXnOSKUxF6FByLaR0XHOuNcBTgHjvdcLCyLSFOL+jc2pF/8wons\nF19sF8TCc0DyQ0aj0JvNrJiN/lSsY6Spy+YlyrMJhkaj6xwEZ7JHGfjurvMqm5tekX18fP2woPcV\nIf1eDDBrDHgkHKOyJw6iVww2WDgPMUl8wVA0w98sFp4h8Jk4HiIM4BY2UKzYjmTa1ZW0WbfDvu2Y\ncPZB6vj0bTKniMVGB1eWJk1czKX+wCtQwe5RH1FoxT2B5xK1omCCsEaHz7m5NOqL5OHRkUf/QEFw\nDDybwcAiIRzwxYWT3/TA2d/35wDZCmn46JGaCulFLqnW/Y/ldQRZJhUBLuS+eNYR1onVsV15oVST\nl3JYp8ykrOfw2empa87heDinnAg0wiGsLeYdUnRz1OYOosoqqw2iEqugj+0TupwFqrVVoyufHsqy\nljiKiVQteQ8ywm49w/NyHF2+IfZaimo4DDuQEvJRKpRjvcPurvTv/p05iKMj6Ve/kj70Ic/EUIeR\nlcTWJMBDeW7ZB5xaJKpXKSljYMNzHI2ucxDjsQtQ6FjcdRDrDgtaN+6Mc+CGz8+v/y6e2EX0FBUR\nDCJnYAwklcAM9GUHeuj1vAUvUQEkV4RoMG5sBjIIimleeaVdm7AKk8Sg8zVfONQFdg7xxaaLCinu\nb0vWXK3qZEzNxq/lk2PI5YkbZhYlERnZD0U9lPCXpW0mfo8j4JowtDGLyjJbxJGfYWPz2XRC5f9s\nAuYY6Kco7L0k2yxp6r1qZnVWQcFd3jfnQHFYnktF5lkCVdtRmcXzQLXU7bhaFIbdn5xIL8kNQJa1\nu21i0AhGtkbSqO+ZJl1YUaQQmKR1ABDVOhEims2kRSalpbSoYc/NkcMwi9xUayicVkm9Ix9UXUma\ntoOuoQy6imMxbzuHCNkyopNgDm7T0uE2A0dAJkF2y77gc8jKTk5sTd+7Z2vi6sqNOY76d3/XXvf4\nsfTGG1YjATyEwwHS6fe9tYrk0f/hoa+VSFSvUjLFJn/AYl0V03hc175cOowLB5EkDkNtb9u9HR3Z\n628j7b8zziE2P5OczMFgolWmQIjIijSeCI3ImJSLyUcGWBR+0AZVuKSHwC1Ri97tLxT7v7CY3nhD\n+g//QZpNrV03cs5o1LuoV0lRV+kthYkcYqbS1UIniTkHaTmmPJ97+2wMar/nfWfoU6PMDRhZB33x\neR5kaYtFe4FCTKMPn04Nl6WLJo4zwkMbG/7MyETgRU5O3JDz/GKrgeNjj7ZRN12+6RAYGyU+q+Gm\ntPewXdGNMee9rq5svlkrRJ3TqZQdS5Mn7Uw1Tc1QY1QgEfnc8VgabVRK6kgQHqPf83YsVPlCeqeZ\nrvW/aooyB6WqwmCl7bGvN1pzSKsDEeBYoLCylHoTqbdwR57U89brW7LRSEdHBitFJxq/4wgRP8RG\nlpFLiA7vaQekMbU0ZJpk6XCHg4E9Q+Z3f99/dnhY95natp+9+qq931tvWV3ECy/Y9QP/MZc4/1hj\nxHo+ObHX7O3ZM0RRt0rJFIlj9jXw5uGhS8Ml562whXAqQLVlaX9PJ9ebxp1xDjFqJ/pGQx6NMUQQ\nziBCK5HAkuz/VLKyiHd329WFRWHeGLnh5qYvOiJ1NixkNVnLfO7X+L/+l/Tyh80JzMJmYdOlwcAT\nIVSVGqkieKrkjdCqUs15v2QtXDe9cNjgiRyPpi8Txo6NenJSq4Q2Kp0tXFMuuSGhMhr+AQNBdkXj\nvUaKOXOnfO9eu7skWL5k83Z25tkHxWGcJPfSS/Y6joKMx0SyucCDZzOpFwwy15im1u5iOJCykVQm\nbuzJUnivsrTorapqie/MSXgymCwzaE7ytVHUih86xhIEkKFwLWx0yc9cQJcfe0jF2gxEAzjGspBG\nQzcMwGb9JVkz1zGfSxePrDMrzzJCMQ2HkPqa7Pfa3MLwKU+CY3+QGcVMEEiPdfm0EBSELgEHNSAg\nAoOBrTmkvmQM9+/b2oJrAGZ6+WX7/uab5iQODvzZSL7uYrFhlJqSbZal2RKI6uhQuoMKfN5D8q6s\ntP+gRgZHCI/H+qaTK1kG+2bduDPO4fzcClAkj9DZqJDQEFFguDxIyMZYABV11ODA29vto/7AGTFA\nbEw2U+yrhF4e54CBf/BA+uUvDQufTyu9khsmHXvXYAgiBg8ZDsfAZ9KOgXvnfoAHonErSjVtvcvK\ncelhKhV1xe2wNi4sJhYbGRDvx89icRj8AVEV8t94whowB/eEkkRyXBcnhZGMp3lxVi+dRskKcTZE\ny2i7Ly6k6Zm0Q6QelD0EDsg580vfTFwrTpYMiIiPzJR/X2VWE8D8gDVPJ5U29/wzyXCjY8BhxrMF\naHHOeprP7Vyn2EMMfBvnur0tDWtJcayBwflnavcJ4pkuxnbRXfgwq9txMKiU7hZZFueWOcTeSLH/\nFAOoFSPdKLEW7aAhyp6Z76cVXnTb6lxdOTyZpja/CEMeP3axAIKJJ0/cQbz0kn3/zW/s59gKnEC3\nKSOqOk5+A2quKldIEQgRoHVHXKcEZJyjfXrqR4yy3lgPkgditMXHVqEsXDlnTzfF799BEzPJC7u2\nt710nopGFlokoWPTMAxMbCom+RGEW1uOo0NE8v557q2DqW3AMeEcJM9kBgNzDvO5Xf/5uXR0LL3w\n0CPWqAQpCtO6z2Zq2jeDr97/f/67tv/v/3Hr+dr7vz577WeBZ9X8//ycen/4Rw0hDZa6teWKHr5i\ntEzhDXOX536Eo+TQDx0wz87MORKhLeswy9m3Z2deAwFufP++8wBZ5vK9iwvbuBTFUXdB0dN44nUp\nQD9RBYQhZf3Ee5hOHeONBDxr7PDQZKaIFuIaxZHDMdGgEcdAu5CzM4OMhkPp4F7bGC4WDjMSLTJv\nZIP9nr0eeSpVzShr8lzaUa3aKSQF2HXjQ1Lv1SUqoy01Jw3GdTkctLkwZVaqs0z8gaPAWSyDjTD+\n47EXRMIbxKI3svzb4OeSIwdATexTsghgmONj+9re9qzi8tIdxHBoMGi/b1LXoyPPgmiCx1phTeMg\nJIe5o6AjSl3j6+O1xwwCPgPxxfl5m2uQ3K4Q/EreqI8Abt24M84hYneTiT1UHgayNqLgKCvFGdA6\ngs3LAo7N3hhl6ZuRhYrHh0TiIWM8pTa2KvnnffjDtkl/86uqObSFbAGjSwEW17Ixaqew5//HH+n0\nf/+ja8Uu0YE0m+izn5W+//3W3FFslSQGayXy4i5IeLo9xsI+rgcoj806Grlxjn1caBnB3wM1XV7a\nz9PU/n9+7gQi0B7qDjZ3zM4kuy4yCVoIZJm9PjbVGwalSSxKGgTFWjKUqqHfJ6qzxcIbtN2/7xg2\nz4mWIb2eRetkSJzbELMLricWRp6eVo0ufbPWqkcDuqgzOmz2bK7WeR1dWakqSYnzX3luET9nRGQ9\nf27Mpwa6ERaKjqNr4Ac1rARcFCua2Q9Ruceew+HHbANeD4IXo3556bANX7flJ3hPMhOyCLic+/fN\n4AONov6B0N3Zsdfv77uTOzz0AJPGkWR6XPfGhtciYLSRoJalBzEY/mUOgiyDOZVsjbA/IgeBIouG\nl/w8Sezaf/3r9fN0Z5wDURweliiANBuFDFBM3JgswkbKF0YXm0XeyvuRoqK6IAqJqWFUDLGA4vXk\ned04cLdq0vvRpqTKMXIKmWKhDooHoljIs7wwg4ExaCSN9X1uyytK0bijrJovjKvIahKURby35wZ+\nNq0amCrPzagT/VJjgmGAsGNDMO/IMtFsA8nt7taRd038wlGAf3MPOAUMAsGB5JyP5GqVwcAL1IZb\nNr95bnOFJLOrNjo/9fbLPAMa7B0c2AZjvUAQ5rk/+yT1zILahc2xz3f3RMAnT6Tjx5JKe++dnesF\nlBgFrhU+KTptfreYS7163prmez27rqoOPjaCzPN5jKKQFlOTAkd1UszW4TeaavyFQ4tk2xGajc6D\nOhfgJpwFfZOeRvHEa3gP1lu/75AS3A+w0/GxrXeQiZ0dUxtmmT0/7u3ePfuMWMsQM4gk8eAFyJT3\nJAiJmSkjZhCx39T9+/Z61IvRsYBKELTB2+3tae24M85BshumV3us3I3RneRRcvzZbQbkM86ARYhT\nQWpJ11E2djRiOAkeflyY06m02fNoF4kg5f5UZgNXgGnysKdTaXPLIk6FBUQrjEggU/3cq+GHLPX5\nQqWEE93ZcYOX59IiceNOBoUBB8PFaeLUaBKGzjpiyWQQyA/BRYGCYqSJQYVjIGJHGkttwva2E7E4\nh4ZQ3ZKUXlfR8IzzXMrTqunhRMSFQ6VCtesYIO+R0o5qPmUg52uqxDH2mI2enlokt1FKL9y3v+0a\nOdp4NBE+6z6158uzxfD2ktJJ5b45kgbqSn0+n5bk7Q4+j/Uzn6jpABMlq2RIXRiIdZqHNYp0E4Mf\nnQTwZjxACwI21rbchpdgLUUuAsHJwYGJMCYT2/e7u+2soix9X778sl3v0ZHXrtA2GwfBHpXsdQhe\nEBjEIA/oj2K5ODDyOC44qPv3vWBU8mcbeTOgtdjZd9W4M85hMHCvjcGQXGr6rJ0jec/Fot1wjf43\nLKzYY+jszBYPBFqMHkkZIwwg1RF8UTW4Y5KY0mUzwEfdXkN8HkavKKwobjb1TZXW+POg75kLnwfh\n2S0AzAs1bRi6vXeurqRq0xcYVaZIUpkzNNxsaF5/cWGb7OjIjdLGRjsVp1Ot5NJcjHI8DY6IFxgG\n2R7S2qryGpDWqCe9qGs60OQj85QMjcHJIzyIGWeshqfqm4xoOpVGAympe+xsye6535fmup5Znp2Z\nnBmoajO9DmM2Kqteu+VHWVkWEKv4mxobuVMAykKxxDkT78QxlKX5GE7zY76TpP3+rKsoqY6PAoiN\n9dnltGIPo9j0DidBYBBraTCYq85rjwODSQ0K7V6GQ88YLi7sWcJDHB978dnurl0H9UpHR9ePf40G\nvusgTk/t/9Tu8J5Rlt2tpgYK5xwZ5u3hQ1NR4SzjOkKldP++r+l14844B3gGFuNsZhMFrsxErCv2\nifAPkRAkHucZbG8biYziCIiJTUmLA4wl5e2S/Q0OhQgTqGg6la5OpWmd6ezs+PkUXB+GoMFrM8su\nqDDOaoeQF24sGgK0s0EiDxGvj43cjbzoH0R0XPW8OyqkNTAU7Qgg+9gwwDG7u96V9fy83YKDKmyg\nIeobkIuyceE5Tk58E1aV48RkYkSaccznVsXL3ElmwMHiez1pXklV2q59YG6inj3WWHDtrIXTU193\nGxv2XDBEPNOLC1PZzec2N5tvSf1AYsdIuteztUL0zyOFIGdNNYKKOiggU8sL55K6mWwcSSl1mz8m\nifMczO18Ycer5kW7wjrZlLJ+2yE8zWD/ATkREBSF4+fwe/AOm5u+X6PwBP6HA6/WDTKy7lkMPNuz\nM/ui6SJZRVl63cJHPmLXR1fUOLdReICDQP1H8Sc8n+Sc6ap2G6jlYtEuDuLtt70VPH8XZawQ2evG\nnXEOkk0+UALH9q2bgKgCioVnvAajAPxCR8Qo++OBgB3SIwevHUk40koMXJTSVZX04H6l4kOuxolw\nilSTiPUC5xxhMgf4A6mO2vqulOF+kKxK/proHIDKWICxpUZsMDbeqnSc+wakcRwOCdXWYmHPAQiN\nA9739lxeB0aMYwJTjc+T+hAqmoncmdcoAuBZRccOPMFYLKQy99SarHJj6JBYXjjhh8FFKSO1D2cB\nYop9pej4iSPgGeAs2ahHR7YmMDjDoZROHXrkOnCUvBYp66xWcQ2HVqMx6Ae10kDS1CWukmWj83md\nGUmtU9yafTGRysvOzyqpOqk0fxyCkdrBjDbaCqTbENrrRuQdEJGgriEzpCFjzORwEuxPnAR79DZQ\nMplmLJyjKDRJXBVEdH9x4ec37+3Z9UYHAcQUVUnRQbAvksTl4tHgIwIh0+86CDKuCBOVpTfqOz/3\nrJUBLL5MTRbHnXEONKJiQCwRPZD2YvAhSxlMeCz0QZ6KzG04bPdA5zUYtvE4NELLXUKGYSJNppKZ\nKPuVVxw2Ua2VjooUBg4sOgyMIwaOdDIS4I1MtzIY5X+TL4yIB1e6rlmXLMIuSofIooZ7MPAOkZI7\nkeNj+9v9fft3JE2JviR/Rl3HgNxPatc6gM9Wld8zTpjPwKkxeB3PYDaTqg6uLXlqfnlpmdGg70qe\neLog/EK/b/eO8yRKvbiQJqdVI62VbO57mWec6MzpoEn9TJZWDSSCI8c5xXtgCRwd1VDTpl1vWUo9\n+KOZtDj3uRkMdK2okiLKOKq+VIUizkZifC6lC8+QG2l2Zc62WTtXUtpriz3eyYjOAhgJAUNR2Ppi\n/6C6Au6NwRlr4aYjMlmHrHGcPAKW83NHBMgqLi7sOhBuvPyyPx9a+nQdRJK0G+tVlZ8SCHzGe3Lt\ntMOIz4xAEkfIoA/T2ZmjEGQQZOzrxp1xDnEBfuQjbSNDhMciA5OM3AQYJvBBVMRguHgfDBoRMfhf\nhAxYkBgOlAdAULF46ezMrrlQJQI5Oms2xr20iDCLEVnlkS8LF4cHnm43Xi+eabsGIZb3x8HCJXrt\n9aVB0s5y2DgYCo46PD72DIMFicT03j37m9NTa14WpYlkEFdX3sIAiIjNFXmjqCABOiLqAmqK9Q28\nx9WVlORSL3EDj1GbL0zhw/tsbIZMIvfzJCQPRiImLjn0sJG06xMi7s+5ILQZp4aGltrzWc0X1JBo\nKTdmRWHXO7myyL8opfGGrQXmvVavNgHKYOhZUXcs4+LKnrQIa5iAajyWhvN2RXa9vJqK/KKQJmeV\nqiDPJUtljxG9x6+nGThlMlYyI2psKN6L7bpx/GnqcOhNZDzwG3U+iFtQGsE5EPnTymV31zMIyX6G\nXDU6iHjKHz+D1K4qh8qAgQjKljkIsue4Fnu9dttuMlyu4fHj9fN8Z5wDE/3ii94gK8I58fAdIryo\nJsIJRLnpYuEOoimUCpE1mwPsGMKsC2MMh8570GYD2ekvfuFdTwdl1Rj/GB1K5hTidUq1MRiaI4EY\njvfMF0T45pY7F/TykfCO2UZTaJWYkYp9mMqiajiV/X2H23CanMTW69lzwDGyYScTb8URR0y3x2NL\njScTkwhGPoTPiR0wGTipx4/dMcXnJ0mD1Mk8SY2ss98zhzoY1FLi1KO5szNbY2RKZJVkHzgg1FK7\nu9JmDeFk8vmbTKWruROnwHIUbgL5QOjmhVrV8ouFOYbDI+lA9vxwjlH6CffRG67unxRHlEYuLu2r\nuZ6qTXJDalelIUixDY10vaiU7/E54yTgvrj2mMnexFmQrdNn6+KirvmpeQmy/Sjf5Hqk9ml+qwZq\npu5ZDBSbwTnCHeAgOJv6lVfsfUAKmCeyk1hYKXnn1cND5wzIxAmaVjmIjQ2/P5wA0lmqqHFcMfNe\nNe6Mczg4sM6JEHxxYLiIHiSPyqXrXAMT261wpQKVn2HseT8MVpQ5Sh5l47HZvDygszPrrXRvU9pe\nGHmcyLOHuElIk4tg0BbhniK2CJlZyTOFKAklEqblR5apwbISOQyyTHoY02oqoWPDPvrPUASHQd/e\n9gI1qqQHA/s/pCHRN40To3Y/tjnpYqZkC7u7tgaIzCFyGTO1GzXGdUAH1LKUJnXHTsheip9YO+Df\nCBMgJ6lRKC4dGuKZTyZSIV831K3wflllFccU3SXy+53PvRCLCJHXx+c+m6lujVLd6BiifLTJNmeV\nqjJwWDWW3xuYsqvL5TVEdGoZ0mhPSurnxV4iqmUvIIPmGQF7kV2w5uA24ld3YGhRudG6/eTE3ovT\nAjmRLToyuhwQ1C0b8BBkoaiHEAcAgRIUnZ87Gb25aQ6CLgD8bcwgGFGCynGg1AHd1kEQ9GCrkJLH\nynscVzew6o474xzK8rpToJc5ixnjGT0+I7a5oCAsyuoiCQ35G1UTkhdiUTgVCVGiJ/6N0SIyyHMp\nX1SNXDJWiUrXnUIWrhXnEN8fjiGRK1YkX0ik3rOZvT6vX+QhRrYAACAASURBVAPkFTOF7qAtsGT3\nSY0DCw5imjQcSSHkIsdZwhVEmCKqKn7zG4+IWcixYCs6B+TEQFyRoEOLzmccX0lZbSR6fa8n4f2m\nU9PqT2oZ7eamZaTwHTRMpOCNzwZ2o0X4NHfeiPWzWBhkQ1QXG6NJ0nBQKZu7U+/3/P6Oj/14SO4H\nA6XwOfTMGg5l2tnOYC0N5UYszeoMcUMqNqRpMLgYo6JQg1nFoOHamQSbcinVikF2ilKNNcuI6589\nKLWdxbLAZTj0jBNc/fDQG2LSLgWn3sCwRbtavTuSpC1bx0Hw/Ag2UB9CXEueQfzylw4nSjc7CCCh\nJLF9AwexzkHgKJHEkj1zzg2QZiwUXTXujHM4PfWmc72eybnQnPMwIiQjeSQdDTAnRHUJXQZREtFa\nxC0p9jo9Na0xJCXpI46EzYS+G1x0VsvZitKdQFm4Y6NYLUJiLeI1koK6Dgd1R2zlwD0XZa2QKdQU\nTTVwUv37y8SNx3RqEA4Ok+h/PvfNxBkEGFA+8623XJGBEQB/b7D61FU6TZHV3NUn8bmRyREZEdGz\nSVERlaXZrqKwTXIy8TXU4OEDnx8cHLgzGw+eiaCiquyzNze97iVyS11oMh7KIrnqpizb809r8rNa\nHkwxFvPTPP+FPf+05odi9APcQDBQFl4VTiDDMyjka5W5lWzOeksi+HUSUS4hQp28Jn5GbLMBvBWL\n5rpBEpAec9/tscSeozoYO7C97U4CSJC9Hlt6rxqsbwJBaoFwEPyMDIJmkWQQv/qV/S2iFEZ0EHE9\nADFJdt0ECbd1EAR8rBuyRIpS14074xxiIRpRGvpvyR0BmyQSVV0FUOQiJJex8jfL0lA2Hmoh4Ac2\nOxE5WnSMCT1XhkPp7KoyieKozVHweo4CZROwqcDMY0sJ/t0dVeVkZdy4TaobsOfoeIC6KkmLzIlU\nIj8yAYw5BgXnEhVjo5Ffu+TKJv6eDOCFF9xoYKiB46I6g46WSIV3dmzzIEc8P/ffz2aGk/NZEOfM\nA8+7N5TOaiOOAYNbiN11afWcZe6UWFNRPIDqbTqVytRljxFrbtpeLGyiK1nvpGkNWRV1nQ0dWuOA\nqE7ka7NSrTQr/BkRDG3UxohOonxuhCi5tqbuZVM+eZ01FfdRfiVVaXv9xBEdBF84KaJ6nAC1KgRl\nrIMmkw41PSADBESQ6KORK4woqgSOi1Xlku+5dWQ174/DIeCTHF6El7i4cAh2a8tUTG+84b2hug6C\nz4wOgqM+ySBmM/v/OgeRpm0HQfB2cGCwLhXh68adcQ6RVBoMLP2GCI4VlizCyAEgW406f94vqnP4\nnNi3BOOEYgLF0sGBR6HAU91eMpDF9P2Z9N0AkfZyzWVlxiGeupVlhvMSZXXbKkQuhQ1cybL++ZKF\nkcgjOkZ0Is1cpA69Md9kUWwG0nSi7VhTQC1KmrpUkMgN/TiOlJYlKHFwMrTaIABomgbOPANhg0cy\nl0h//56kyh25ZNE495TXGSjQCiqXuIbgRrhW5uHqSkrlxWcj+b3mi0qb+96dFmVUhMowjv2BmrYY\n1MYQ+UbDRTYl+ZrPcylPpWrm9w2/swyOoUiurAvlWFMEM3FEZ9DXkmNCC5/3GM1GrB1IJ0JJrLHI\nLwDlcQ9wFzFrZ87IJigYjG03cKg4icND71AaVT5k0TeR1QSMBCasazIIgj6O8SRI3dy0RptvvKGm\nPoETCyN3IrUdBEd94vAmE88gMPxdBxGrqAneFgtzNk+eXD8g7do9rv/1v50BAy959AgMQSQVW1dI\nzu530+SuJIyBsWAgQ0XSiXKiS5oReTEaVUj9GU2GUFSaT91oEIkT9eJoovwWI7VYWKQdG5tV6lxH\n4vp2OpAyH6skhTgKNnZRSL2qaq4dTJr2A/AeGDA2NbUOu7ttIprIZmPDT48Dj+ceFx2HSCa1WLSl\npTgHHK5k6yA6zTyXBpdSOrOoHAL02r0WbcgAko/gAF07RojsD6fe60mLaXA2NeTHHJCZxUr0qpKu\nListZrXhY42dW+a2t+dHTDIIXKKzRVaa51JSuqQzFjjGgUPl/pRch1eqOjgpZg55SuYcspABJImU\nbutGzoERA5gYPDEiMS25M4lOAocX6zKAniC6ceg8K9Q7s5lXN1PNzlqPbTSWDQILCkCBjySXv8Kz\ndR0EGYTklf5JYoZ7GcREAIMjiQ6C/bSsUC4Gw5Hf2983WHfduDPOIWJxNG4rCq825hwCIot4ohbR\nZPzOz8GHY2UlaSzdGaN08zYjVgTTErvfl9KF48xUvCYKUX/l11BVFulNJlYJiTPZ3vaIK27abqR4\n22tl4Dwi5hsVSmCa8An8HVwBWOz5uWu8UVPg5O7f9zYctNDotr7gGUGm57n/HUoUomj+Pm624VDK\nVTWn7S0zlsiIMY5EXgQHV1e21sgSY8FlPMu6DKqY6cyicipeieSi4Tk9lYqFV/JOp9KTQzP0+/vr\nm/GRRXI7ZL+94XU8Pg6cKUKLLJMGI+NcpDbHk8zM2cSTBZnTZx3L1iZOAofFiHuVzAaSnzmLsBPX\nTadSfo/C7uzM5vzJE/sZmHz8zNhGY9laYX1F5VrXQcCjgTBEiOlXv7K/RY3Ee8YgNDqIsvR6Dj73\n5KSdQXQdBBk33RvYU1HBt2y8b53DkydP9Md//Mf6u7/7u1v9fVVZugbpuLPjeCpEH0boNoMF280o\nMAzxuD4ME0a5a9CWXSsORvKoZZRW2hpfJ7rj62KklRUmRiE6JWKKGcEq7uFZR9PGIPX7BReO8Ibk\nCxGDORrZs+FMW7IENjjtI+jhdHTUNhwYBTYcm45NApyCEGCVQexeYxxEn0nfyWIiaqSSJyfulHBy\nkT/AOfBvyRzDqHaKZBCxxxLtNjYzabPmco6OzDFQcIez4hr7qjmuzEnloqgLJsHnV+D+DI6UHQ6D\nqi0J8tbC76PfN2ezjoB+HiNKW+MzZV7hFyRf+2Dosb9UrB3pFlz2+77e6KQ6n1vkDo7PexeFt9FY\nJ6WNXYQx7hxUxHqFp8CpkEHgXHAQBwfLHQRHfXKmOdAWDoK1QeU9AxUgQQk2Zt14XzqHqqr0N3/z\nN/rwhz9869cQgQAz4L03N995+T6TenLiB9LQ9weMt6uiAK7oGmceHHUUbPqtLWnyqFJRStsb7SyB\nEaOmopSUuIEsy3bNwWTqxXGR0HsnAyhkPq80zxyu4F5i5Wuv19az7+zYvZ6ducGVnLsASqATKs4B\nIxvVJ8w3RhP+iPnBsC1b/EAGiSwCBprA3pE19OqW3UTUOPCTEy9OYvMBT8aq+F5NCE+n1tSv37eC\ntflCSjbajgGVC1Ht/Nyb9vX77bM0II3LwpwDa6ch6GUZ42AgJb1KTcl9Z8xmplaqZL2RYoXt4koq\namNEsNPr6R33THqWwbqi6JDol3UVpc3UisTqZwQSGPzoJOAE+n0vdMxzm2+UdpEnoY3GsuAvZhBd\n44yDGA7dQUTpa4SYWPdJ4odJcQ3AyyAjnLWCYzo+9nYtZExdB4ETIphYN94XzuHb3/62fvzjH0uS\nPvaxj2l3d1ef/exn9a1vfevW78HkQPBhLKOWeRWuLvkDaJG3lZOpnMTW79tDA4tuiLm+/32EXSSH\nkOBApDam27RNOLRNP5lISpwgJkJvFCdSc0woeHjUTEe1BwYdJ3FTVrNukKpfXkjzzCWoNPJKknZm\nxvVizGNbZGAw1DMx2kcg8PChw4CxhTFYMHAWBgOSMCpGuoNN2YODKCQtzFCWpRveyAmA2UJmbm35\n2optP3i2BCqTmWeY/L3UbqAHLAR+nedmpJjTgwMPQDD+cQlTQIfAoH+LZ8wBUUNJW5teoNdwCVXV\nRNfvdpbwNIMgh7mA8Ockt0jqI1Jgj+Ek4hkQFH8Ohz7Px8dGVk+ntr6jrB2FEjzmsoEIAyfEGmQd\nr3IQH/qQk9RlaVAXDiIWr/KeZBBUPfOeQOsxg+AaosQV0n7tfD/7o3p+47XXXtNrr73W/P9P//RP\n9S//8i/653/+Z/393/+9/uAP/uBW70M0QB3BTWz8uhHTajz27q5je8AbXble5C14QPTixyCyocFN\ngX+2x5UmiS9GFkTzt5ltfrTWGAX+jsio4RyytpPAUd6QTS4dRKYU8fTve9MxsE6Kwhh0z2zkkxv+\nPhS2sckhIuPriYqIfnBOR0f2nVbnkkMISJRR+OCw4EvK0oLfSHS3YLmgiiFKBAqghQaGHpgyFkri\n9KfTqqUlT1MzvpE8hYyHgE8S6ey0atRbZAwEBInUNNdDbIBDS+TqnHUDx8CgpkJSc850NpKSd8Aj\nvNsjZgPIm3nm8fyGqFyLxDbPld8jT0a8cHzsLefv3fPAjhHbaCwLNvk5cvplDoLama6D+M1v3K5E\nBxH3BRkBSqvTU/t35MP2990ecE3cf3QQ68a77hx++tOf6mtf+5q+853vqCxLffGLX9TPf/5zDQYD\nffnLX9arr7567TV/9Vd/JUn6sz/7s1s7BqJNWH2pHflEQ7vq9RiF2I6biA64I0ouGRhdXk/kSL0F\n0QeeGuUC17y/75HvRtSvV77oqaouaz07B8iXRfvaYwEdBXM4Ehb4hjwlv8mYRAdHgR+cwc6OR/sx\nU+J1sSYBOSgKJaK2szMvvqK+YdUAssORUOm5seG4MEqhiFPz3MkgWRdlJTtKs34uV1eSEoNZ+kMp\nyZz/QBoNiRdJQ+pbcAw40aqyflaSPZM0cZggZhpAI4eHBulUlX1Or+9OoB+iZgrkpHbR201RPq0l\nitIyBklNt9iWYu85clTv5ug6CaJxYCUgWDoWxIyKnkmsKfYpFdaomR4/btcTSO09sYqoxtmzNjDO\ncI2orKR24z0cBIHNo0f2uwcPrisyNza8K/DZmTkyMggcBllSzOoJum4a76pz+OY3v6nvf//7GtVX\n8oMf/EDz+Vzf/e539frrr+urX/2qvvGNb6x8/de+9rWn+jwULGyUWGG5TBURBykYKSGEVkyviTRI\nMfke6yIke32MzljALCIiefrTI2HL0kqo+LLUpWdcA4oDsoEsZAwYP16X59Ki/n2E0zBIl5dt0q6S\nRJfXCKnxRdSTJNLGsGrkf+C0bBYOKCGTYGEyl9vb3oSM6+aebirKIROhTiRGimQTZdk+xzoOnFNR\n1g3wLqXLKzO8W3IocjCQ8lKa1kEAp/pR2IizQ6rLM2TdHR5K5UzaGUnjEKwAD+AYcGJJYnNyciJt\nFN50bziw58n66+rxJXc46/gksHgKrhBRSOYIn6dg4V9jYOzYJyjekK1WlRdEdqN9MmyMNtAxDuHo\nyJ4n9SU08CMgRIW3zLaw5yPnIHlEz97mcyVbuy+84If1pKk5qCQxBxG5KhwENRBHR05k87z39pxj\nYY1KbUHEqvGuOodXXnlFX//61/X5z39ekvSTn/xEn/zkJyUZt/Czn/3suX0W2CGkHgYtDox4dBY8\nYBZPIyMN+vOo2uBvMLgw/8AUsRgODfwyGSnX8eSJ/2w7sdbKDYacOHGEjA94JPbqmUykrDY0ENW9\nvprmaeDJnCK3Jz9/gQyiO4DHMGA4ElpEJ6ESGFiJQjckumQSRHgQu6S18axcZInLiHjJcWbOrOZ1\n/f710+RQSUWehtP3JGmWS2U9b1SESy5emM2kMnWtOxsJOCiqVuAMEBa89ZZtygcb0ngUsoP6eU+m\nUpk538J7HB/X5HVmTp8WIvHZ5Lma0wAhhlc5hqKQirlUTj2TkaS9/drpdLoA3IVBrRGKN8hhYOZV\nxW1E1WQfcc0QeNBLC7mr5AEUDmJZFs7zm04dUpKWO4h4OlxZ+nnQaWr/zjIz/jg8ye6RM82Pjx1S\nihnEzo5/PjaL+Vo33lXn8OlPf1pvQMNLuri40JiOYZKyLFOe5+o9reh+yaDhWswWIHolTwXRItPi\nlwcNBh57/0TJI0YyNugj6iAyw4jSKphobxkhjr6fg3LSVJpfVdqqi5jKmmOgeCoOjG2SWOTLsaCz\nmUWSRDZl4kayC/uwSDFAvb7DC7HWI3aPnc0skk1Szzgkv2+UEDgHMhA4BUjC2CH24sJes7fnPE43\n5eV9uw3acArn536oCREeS4r7J2IiEEhqA0A2IKnVjhpIAPKRNRHbXCBUgEc6PjZDQjTXK9TUU0Re\nJhu4THYy8RPD4HC2hu3rYr0scuNEqGHhOiXnU1oFkGmpYiFd1dEwlefPPLBI7/MR75XeSgQlRbG6\nEysqRLIISNv79+35cL4IhC98EdngKiVT10HwDICyEIpEB7GzY+9/eOgKLIrWosyVAIYmozRnvHev\n3ZYeB8H730aY8p4S0uPxWJcBbynL8rk4BqndEiC2FwDPjuQTDz9JbBOiQY4ZQawVAPrg/YAUkJfF\n1hBdiViEnKLmGkPBaXAnJ1J1VGn0pi3sLLOHA1mN0eYaGdOpGfVC3kqiKYCqDT5pN5mS5GcyA0f1\nemoa7g0HboyK2qEwb1VlUMl5zWMg7cXJXFx4lEY2kKYOP1EsSGaHoyYjgoyNWC4OhA2J4+d4xidP\nvEr88WPbPAcH3roABRD3kJVSWtWcTenpNaeiVZV0GeDFBoIJjgEiEH7g8tKiuyQxWGD4/1kjRQZO\nHsfOSXCcFEZAsbNdabwk21wsjB+JbSUkf4bRbCf1vVQ9y5IG/dt14bxLA2npYNDOLFEZEmgsg4QQ\nDUQ0gSaJdLHl/8DMkqvwls1zdBCxgh+7RACDU5LMCbFfifrJIPb3nQOVnP/AQSBrpf4G2TyFebfJ\nGN9T5/Dxj39cP/zhD/WZz3xGr7/+uj760Y8+t/em4pmNzsOnwVUcROzb2+30EuMDbNMlr2O0QTrJ\nw41ViDGiwNFEvJysgfc/P3c4Y6PyyAYSuqrUtN+OjmuxMAOFAgND1jg5tQ2J5P+O/YLA1XndRehi\nGvHaJKlbjGfudCcTw0IxWlxPdGiQchj23V2Xo9LKADgKYwc+DDQktWGs4dCrW09Pver6f/5Pc7S0\nMYlZHaMsKmWJGc2oRCGan06lKvPCNwx6dPqoWYg0Hz2y/7/0kp8QV0lNy+35wp7HsG698fixF15B\n7nPuQNbZuIs6+sdRo3ziJLg0uV4NXxTSWc1t0J79t3H0emYwUZudn9szRWUGzNSNpMkiYkNPoKOT\nE5tXOgJEHpKAZ5mwot936fkyBxGVfwSvDx444Uxw9uab9rvYgDFyEDs7fiojdQ9XVx4Mx5Pt1s7d\ns0/7049PfepT+tGPfqTPfe5zqqpKX/nKV57be9NLCWw1SlEhE2MPG2ACyOFuEzCib4wx5BIPARIp\ny9wQdUnVbhsAogOyC96Hvv7DfqXJ/9tuLUEkweLD4LEg89wXO/BNr28GA+4CbD4aN9QasQo4Vlgj\n9aPQBi6n15NmNdPNPJK17e/79UHyYXx5z9NTq2QnCj86suuhxw3pNWdGdzF3WiW88IKrvoZDPwHw\nrbf8UBU2WGwDniTSac+fD89UqpU8NTyzsSlptBx+AE4iSKAwbn/fMenpVEoLczK8pt+rHdp5u1Mn\nRGOTpXTqU8icgLdi64plhDKBS5Fa4d1NxOO18W8EPrrtiFnE6amvDbB9Apdl88S+wpgCWWF8qTGI\nQoHYULE7CDiig+A18HzRQUhW71NV3l24qmydRweBXYoO4uzMK6clRxWoxQBiWjXedefw8ssv63vf\n+54kKU1TfelLX3pXPodCMCJ0yYtFIsMf/z5Gk3Z9bS6hO2IUyoMFkpI8ciB74GHDY0TVEf1ewMj7\nfUkLaXRP16SERTAWwCt8dp67oerVDm9S/z9JJVWeuTTVrnJlT1lJ/YEbdeaIhYhDI0K5uJCuCjf2\nREL8DdprFh6wFZuF4qODA39G1KRUlRPHGODI+3D/9HN68MCd0osv2ufs7Dhs1z1wXlJTPV7WGeV4\ny+7pQC553BpLSU/qBxgpqraIQLm36dSMPO01rq6kbG6S4asrKyzOamd/dFhpEYQGHBcbJcHFxGGi\nWW24RpvS9pLeSl3HAAY9n0vDXWn0DrsD3KXR69la4fzn01M/LImMfpk0lUCKvU3VejwSlOJTye0Q\n8Oiy6+g6CKkNXRMkRQcRA4Y8NweRpv75ktdUUQjMqXTIzgn2Iqm9cr6ebZrff2M+d8IGz4lHxfB0\nB9AHX+twOIgsFhGpaK/XVkbgEHjAyFghpyPpREEV2U68SI6KJLLF6XEUI/BRPNt2b+gFWiwsDFhU\nAr0i5zqaWpCecyhgtGUl7Wy7AY/FdNtjj+6ZfxYv/AE4KRnOeOxtIagHIevg75kXHA/zRcRcFH7c\nIbjvSy/5sxiPDeKJ8FVRuDE/PJQmZ9JmXSuAQ5JccZSmUjpwoh+nyWc/edLOBHd37Ws89p9vjKRe\nyCKHQ++Hw70NBmZkyA5HIylZVM4ZVL7WaKh404D07PdrfP2GQqfftoExHQy8ZQZZxboeShG6pZcY\nXFNswBmFAQRuyxxOdBBkw5JLv1kfBDpJYgHQG284zIvNSxI/hzwiG4hGkK3T/A8I+Sao8c44B6SR\nkuvOYyo4GrUhilXZQXcQLUbDGKuP0eyTDhIRxlJ+MhRK6kntMKgQRbmcbI28QoNf971fO+97ceFq\nDK5TiUlbN9I21AUsI7mqJqa+3OMi92MVqQSm+CxNpe1aGQEZzVxQhNSopUp3mPFAFKC+LveS55aq\nHxx4VB374NBriWe5t+dQFIODUY6PvbMpBh/sNs2NjJbckEp+TUUpqaxU1FEbThrli2T3cnDgmwx1\nEYqsjQ07pId7w5GmqZT2PQOKCpbh0Irvsr4T3kAit1mrcDsUbqbJ3YKHnufY2DAV0vGxt4qnfclN\nyiPUeDwbFHPAhFJbpbiqWK7rIKJ0PqrtgJykdidXOL+33/bsJmYQXB+qQMQ0V1fu0NaNO+McytIL\nXwYBJgHOIfped4BHHJGzkDzqJiqI2nHaKIwCRh0rsjHQGEV01/yMPkCXqpoD6Yn+4RaInDG6RPko\nHTDQJycGQUSp43BoP+PIUckNJwYaIpN7AaMnO8FBXF5KW6OqmU+MIxwMPV9Y1Kg9WPjDoWc78DqR\n/8lzi/zHY69+hjw8PnbnwL3xvhCHbJDHj/3ZxI0+HErDsXQvsQyA9hSSOYVENbnbl4ZBH//kibcS\nHw4tzafClswzZkSXl9Ji6tEZTluy90FqSYTHudPKJNXRHmqa25DJeW6ktfR8mk0uHR/7mC+g//pf\npf/23+zfn/2sff+P/1H6T/9peUXY+3AgUz058QwTiG9dDyUMMQgAtoHsFLU+e1K6fhBPvIbY0RXb\nBAwMhByr/T/8YXMQBG6Xl5ZBvPRSu91MJKEJNvb3/Thjap1Wzs/TT+n7c8Se7hTCHBy0lS4YMIxg\n/B4lq0BHqIUk5xOQxPEajOp87uQoGxpJHAaGzqKSq5niASP9XqVCfp18PlW9FLIhn2UxceQkmKiu\nPFvi85NESvq+wDiCE4cVew1x3U0hYZ3inp75+9KhFLgK2Scbg0yiaftRzyeN8eKZGltbZszhCBYL\nb3K3t+f3SsUon8Hc0d7i6MjbnADr8fxwgtvb0mhXmh1Z9hA362bEhzMpr1xZRGo+HvsxpHw+mxcF\nU68nae6wFdeYZrWR2LMMB6feLZQEZopcyboBdFCVDpG8KyOG0l/+sn39Gx9J4v3SON9hZ8chTWC9\nrlEn+weOjgWNVeVy+q6DWCadjQ4i2hzabCCTZ70liXdypfKaWqmXXvLmfvBPZO1l6Qqm2GZo1bgz\nzqHXcw391pa3cYjrGQVOhFpicVxMs8CTo9MA4mBiLy7UtEEAtqAnC9EkUSlGgOg/Ko+ITpKFpMLg\niKgE4vMx/kSnPHQ+a3PTsG6MaSz2wRCxyLm3RV11m8/ahHy3A+zRsRVg7e3ZEZtn/bYENLYMYWNd\nXblqCbgtGsN+3ww6G+DqSvrd37X3ODuz96NyGIcCeY8zo8fSo0fOd1AnMhp55rW76yn2UU0YS3VE\nFjZrsx5m0ulj4yioZUBQQEERHILkQQOnwfVlnU0pQqKD6NaWdP8FPx0MbJlRFFbYSMR304BTQ/rb\ninTvmOro3Rwo8Y6PvSARmepNLTIIvhDFUO8QHQTZPhnEOgdBIENmiaydZn187ksveaO+jQ0LkHo9\nPxEytg6JsG4skls37oxzAD5Yd8MUg8XitViXEIvMKJzqwhZJ4ukYkE1UJfH/+dwVPxhyCFrJ00fg\npcVCqk4r6cwNtOR4JNEHeDbGFtkkEMvWprXgIPqcTLyKFy5kR344Ub/nc4FDwmAmsmj0SX240daW\nV6EDB/H3kleRjkZ+nCFGEcyV9tOoKLg3CoxwJMAuFLlx7zwrNs10apgrm4tCJ54PqqV42ElRWBFc\nkbvkT6oLEeu1MS+kJ2969L615VkSmV2ssObewJp7lXRxqUZ2xPpMd9rv1ZXJXl1WKovbQ0ORgF7V\nBO6DcbuxsWEKuKMjc/xANCjsVrXI6PXc8CZJu+PpeOyOoAsxLXMQtL3oOgjWfrM/66DixRfNQSBo\n4ICshw/bLVrigUNV5RLydePOOAfgBKl9/B2bNc/de0OUksIBLUVuQGobbh5klLBGNRHpI0Y9RrBd\nKS1GCgeCIZhPrAgOZRMLLJ59GxcnsA/RCRkJ8BUZUazK5hqIWoHEwM7LUs2B8WXhvMvOjhOwqqrm\n/c7PXfmU5/b/83Mz6Mw1PAb/hoiNrU6IfB4/doIXgg99f1Rg8WyI7Dn57+23ncBmM6F2gpgr80rV\n3OeCzqmcwpWmUpU6hMR5vdR6sDFxOufnvkaABvp1cVo/ZAUoZVhH3awBLgZDf5sxmRhc1W238Y7G\nb3HG0evZOj8+9mc5HrcdxDLOshEBUEh64QHX9vZyiGmZg4iV1Kxz1n50EGQQ8F+PHrmwgcOCHj50\nvjUWyQE3nZxo7bgzzoFJRWGD8ScqjsRyxHrhIiR/EGQXZBBEZ7wHpDYPjyh3sbBFBZkIdk9kHaM6\n1C+Hhw5Njbcq9WqjPqgdQtbzKttY/AZxjUPKMoOI/8JL8gAAIABJREFUFrlfF5kS9QVFqSaSHQ7t\nb8mecDpAUrTOGAwMk93fb18/BX7UImDQgbNiawyuESe9u+t8Ag4F3PTJE9s0pPYYeZwC8jyuhWZm\nDx/6fU0mnjbDi0QpL/LVSq4Hl7xGI0lkZy9/xH/PuhkMfONLfrwnz6ZRUw2kXtI2JFtbdUFVcPpx\nPk9PpcEt4aSiMO5aslqNpVnGb7GRfycjy8xBQFQjm6bJ5U2nweEgTk89gCKDeFoHAaKBQwBiihn7\n5qar9FA6HR054R4FMrEG4qZxZ5xDLNKSvNAstlMGiiFLwGBEchmdf+yaiLGNskIMbyyioZ0CET5E\nNIYEWAdye2vLnMnFhfTqq1JxubzxXLfxHooayapg4RJ6tWImUVstFf+9WFjbhaOjNtmepmYsgbTG\nvTZ8hLa717P3J6PAaEoOnRFF9XpW6j8e2zwRfVWVKS76fYv089zL/Ll/VEScwBfTbCCc83N7jw99\nyDMDei7x/NGM88wlu7atACuyGbe2XLE0GEnZyGsbwG0RHvAsad6Ic+Bek75BV5hnuJ+ikBYhIlT9\nrM7O7D1uAydVVX1OupzE/2A83wFRnWX2jKmGRmiBimjZiIcLAZ1y9kh0EOs4CNYztoP1guAB1AMH\nQaM+HJLkhwXFTq4EbLFL8apxZ5wDsrL53KJxyU9cigVUSFEj1s3r4nkNkdABC+TB0BJXst8fHtYd\nSzOvyF6V4mO04A3QHL/5pnRvUbXaKMQ2CfE70S9wkOQqoLLwz0HdxHVKHnHzWnBVjF2WGUzBQUEU\ntJFNIE2NHVIhYnd3HUPv921DbW0ZLgo0Rp95UvbRyOYPohfjiDqD58EG4tmQ3nPACdkiWRIYLCQy\n912Wkjal9CSIDYKUNU2cy5lcuIOKfW/iuQEcMERbBSJMZLoXF+aMyQZmM0n9dn0JDnA4lIaDSroh\nqovFh0/dGuOD8VQDkcvJiX2RXdIDbNX8c3aJ5FzaMgdB9r3MQcTeS7G4NkLAUfRy755n4ti6w0P7\nG85fiSrJ3xpCGjkj6pB4YLrUju5IyyCbgD6QwUZCOBrCLPNeKrwnkT/6Zh44EWsc1DSQrYCp00Vx\nd8PqEaR2z33J8fsI+3AKXL9vMBO9YuJoZKyda9nf96gZZxZrHeJCJYNg7uZzP+c4NhPEMaJcov0G\nOH2S2L+plyAjk+z/H/mIN6PDCZGFHBzY59H1lQpgFniUAZJJwVvM5+2fT+pny/UxZ1UplalU5pKC\nMAEl2HzunVjJIsgIWDuR2OewIMk3cVFIvUBsElWytm4ilKkYf1fqGD4YSwcBC+2wd3bcLlTVaiNL\nwAPE1CWpo2Ff5yBYwzgIyfdOF/6mzQYZ+mJhGUSWtbtGNAWza8adcQ6QiZLXGICtRU1y1J1D+gyC\nIY5FbnGAqZNmQuqQpezsOBSFR8cYxbMLiDhwQA8f+oY/fKvS8KJ9bm38AiJikZB9cAZBhCpWjcXC\nsGrIM84PRm21yjjhhPp9qaoJDyAknO7jxx4tcS1RIYFsF4IPA0vUX5Y+HxwlGjM4ID6KlNgo8Epw\nH/AOOJK46fh5UZNx0chGB1nI2nZTEQ1/BfRDs8Mo/40KpDxkVFI7UOFnqLbK0iPUdQOIi3YJH4z3\nblA3dXhogRFB5LoWGZL9DU7/5MSVhbQO5z2k1Q4iBrpRfBIpJbLg2cwy9V//2oOI6dQhpthm46Zx\nZ5xD1P9iJNi0EM9NJWwgUoFOiOZpIMdrY/sHNifYOUTq3p4tFuCBGN1Sah/be0e1S5ZJH/2oPby3\n3qqa6llSQ6ktlYUDICOQ3Dnc9MAXC8s4+nL4J6l/xtGZ9G1aF5lGUn808nMTLi/9HAXIeeYzVo9S\nd8GcjkZO7MYzgYGhOO8g1oc097PwuUUt1K1DAD5EuTWZWEO6fr/mQup1gUOez6VSVdO7n7MWCDp2\ndlxiHPkcAg1w6ahUm8+Nf8ChSH7wEI0E1w2CC/Tzt8ocRiOrllo3fud3rv+MNp4fjNbo943gPTy0\nZ0ErdBzEsgpoyVVqSWJcX2xtcVsHEaFTXhOFLjgHydbaiy8aVA1XSHZKJn6bYsk74xyQZEoOA+Bh\nUawwMAC0iMgyP/QnSkIjpsgCAD9ElXL/vj94MpAG+lk41hiNBe95cuJG/8ED6XLbjPTpqePuscp6\nVVS/qGGY/s7y35OWgqlL/l7cP5BHWUmzuXMOy4wQDemIjB88cHim33eZLLBLv+8HpRPJo2iKkdDZ\nmd8z88K/ez1veBeJOpoEQoCfnbnunwwDKIhrGm+0pZ+Q+/AHaWpqMZwCPZ7IQKM0GuxX8sh/NpNU\ntVu1FKV9TsSRkQAjdVw1IKCXFrqtG+Ox9Hu/1/7ZF78o/Zf/4v//9//evv/n/2y/+2CsHSiADg8d\nGu3WQizjG6OD4LXS0zkI+iLR4wwHEQOgCGnHGojBwKuou3Zo5b2+8+l6f4wIKdA+l8Z0FLTEZlYc\nsBKroKMSgRGJTM4JoCiKqlkGuDGSN6ARejqhxY+aew6s+fCHpa3NSmeyHjnDcF1AVPELmAYDCOzR\n5QsaVZbaximONPy8aR1SSsUSJ1FVxnUwvxsbFmgCAeEYmfvtbYuWfv1rn8dXX233NCKziO1HIsTC\nxsGBxfN+IashfBEOAOWRapOJbG9Lg8fS4KJNRvNaqtLnuaShS2epY+j1nDeSnJNg0wFvbQ1sc1WV\nmg7sQH50iSULaMFJS9I/YLPbttNYO774xQ+cwDscWWYOgiyANci+X+UgIhyIg4B37GYD6xwE/Bro\nBFL0qGQi6KIGggaUBJ5NzdKacWecAxOLEUPGSvfL/X2HkCSHNJpzDUp3EAxwPUrj0QgfHKzWosdi\nl6pylQBpXIwQSfc4mWlrS1oE5ZCCUqj7GZzVgJORnOMAN5fq2gZZrcRtJI/RgOW5O4lEnsEURdVq\nTAaOSb+kLDOHBz5PdJ9l1g/mwQOPyilQo19SJIjJlsBqgbHIDInaeB8KHmN0PR77Z8CPpLXjiOok\nqd01FnK713MlXIQnY90MTgNyvlHI1Y5pWM8/BCJSaeo41g0MDoVuH1RAvz9Gmho3SHsXHD182TLD\nLtnzI4N4/Nj+VvL1H+sXlr0P2StybbhAIHLUdNgMoLBHjzyTpwYi2rpl4844B8mjTo7RgzgEYqDT\nIU22UACA40U1ABsZp4HRp6vhskEUj2adfv2riMbh0BbK8bFFEvfTqjEANKWT3FjlhRWm5YUZa9pO\nY1Bj0Znk0NSqqs51gwwFh4lCajGXZguPXoDjOJcCB0IL9Zdekn75S3eqb7xhWcRHP+rRNq8hQ4hZ\nCpJRpHlANdSsdJ+f5C0zeB82Hu85XVSqQjuS7iZmY0UikCgNQ4CT4DlFSBPZ6/w8OOfa6V5dSZO5\nz9k6Yw9UIVlTwKdWKH1QBPeujjRtV1Oj2Lup3YbkGURs6ojqKTqIyeQ6l4F9iA4C6Xe33YZk63h/\n364TB3F46J+xatwZ5wAB+vbbDjNQpAYmBxFNERoblo2PMY28A832kGEu29AolyC5wRejUVo1trcd\nUtmcSbvb140VBmcZf8TncR9pMKx8UbC2ikNYN8hCMNyTKz/XIM+9MGdry5ziL35hr7u6ssiK9sAY\nUhwz/YyoPN/Y8BYVEY9PU3c6wEWcuU2fJ4xxbJBIFsNoHNxCSkqpl3oRUb8vpeHvilLKeg4TSZ41\nQIIToSFpjM6J5nt54XyG5NWyaSieXDWACYvCminemmf4YLznA/4e8QTKRSCmdQ4iSSyqR/zAmo0t\nMpaR3TGDwFZRhIpzidkB55rT763f/y1qn/HoUbtd9va24ficlYp8iwIpunRS89BtgIYyAMMIidN9\n0MhZKZTa23Ne4TZjY8Nec3Ymnb5daTjrtI5eMbg+nBfXON5qy0spUou9pJ7FzsSsijnAicI30D4D\nSeqDBx5FIQXmkKNHj1wlRpEaEBGQXITcYr0JLSy2t9sOIE2dPIaEJrKKQfSgb4TzbFZH9gufE6Ip\neCEMP1kDRYwxs4Kz4TrL0jK8NHEuB6VbVVba31u/PnAMOKCNDxzD+37QXgbRym0dBAHk2297wMSa\nJguQljsIxB3RQcROrnAQBDX37nkGzvd14844B4zL1pYbJ6JIurWiQad0fJWUCweCQYlYt+RVuxwR\niPIJGabkD+s2g97+x7+qdHlhxiC2veD94veiNGK4KKRe32EWjFWU4kYnURRmCIkebiKl4udfXta8\nTg1/IYnDSUDwx6/jY/vM7W0nVCGVY3YWpaAsbKSiW1t+xCjPAOkrslhgwF7PPuvszDcHDggHmoRn\nFL8vFqbWgh+YhboFNhiS3EhCxwiOTK2XtgOOWM+wLgsoi8qq9eftAsUPxvt/7O3Z8+YgHRzEuoZ9\n0nUHgS2T2uc4LDtRjjY+wI8EKrEPEwHLfG78A/3Pbhp3xjlgQGDq2ayxeyZjleFGehpxvFjMBnxE\n90yKnuAhgK+QPWK0uu0bIDHjNWxvS+c9JyCJnldda1XVWcBQ0rk0m5rCCQJZMkiDxYIyh/YaSFsH\n/Zv5iLJ01VUk3NHsE81Hg48R56wBHDKFiZubXqXNpiAbYiM9eGB/f3bWru94803nd2IBHN1jKbRj\n7rtBQFlKVS3blfz7InfiPWYNZAWx/fn+vgcY/3971x5cVXW9v3PfCYEkEEBBpFMr0NYqoo5BsSoO\ntVp51Vad8YW29AHqqK2OUqtOUYqWWkfGWqUFH9iOWv1ZlVIrilURtNKCdSxOfZQSlZAQEvK6ufee\ns39/7Pudve7JTXITE/JgfzMZSO6955x7Hmvt9a21vsX90wmFw9rBO9mmuRAMddaZqB4rq9JprZMV\nLeDaWAwssOGNlYilpbkRRGcOQilDMYVCZhFBuogIOgguUGjwpQ6TX4QRMvf02LH6GeoKQ+rWa242\niU+2tbNTWiJobCmOxzCLq97g+8gpkl9mgx09NLdNzo8UhewklpDGy08yZR1QOKINhOSy5bHL/oAM\nE0uONvakUzg9LvuSdhZiW6nsDReUnZCg5IcU1NtTb+Yu0BGHQvpBkIOGAEO5sRkwHjc13kyey0Yx\nhsqU6pZaMcFKJq7qOWiHEioVFcaZs5dC0jhtbYCSHfCScspei3QmN2rYt09XebDpkX0SnIhHvphO\nEo6JQEsAf/RqRyBdxUR5PqdmMThAWXY6CE4z7MpBMEldXa3vqfJycw/wPgdyIwtCzoIAjG1g5CBZ\nCNfVzMru3Z1/jyHlHDIZ7Ri4cmSbej6QJiDlQgqCSUpZ8cPOW0YjTNLS6DCRLZOepuzTRABSooP/\nUt8nFNKia8nshQxlOX5OKQs5uY4ByG4b8JVEPVd3SzNiIG/OZLwrnBMrfADjRJx0bi+F6xoqKR7X\nye5MWkcpdL6ZjH4PS/vYF8AVPed6yyiDr5OHp8FlQrqpyeRwyL+ySkmW7cpEMIsMOMuB9BVpNamA\n6mXPl5sxkWIxNJ3Eh4r9Hp6nV3MNDfr4y8v1Q0z9J+pqDR8uJEkyQKZVIdNmOOPO+hMYkbou4E49\nQTcOFgGO5Kl/8Qvgl79s/2HObwaAH/0IuO4687vNYvcbpIOor++5gygrMz070vgD7R0EizJYQCPl\ngri4oi3i89oZhoxziMW0UgBXoUH+n3QHjSUHtNBoy2Y40kOA6abmQy5pIZmg5sqa/LDsTaDxCtYV\nkwrhijwSVjkNMX45bfZHrnABEw2kBRUWDhljn86YJjY6L9nNm0ppQx+LaSfEvIQsX+WxxWLa8TCP\nI5VqadxYIUQelE6yrExHFVSAra83zoHGFND7oYOg8WWeQp5nwFQSJZPGQTGRyx4KynLwdToUUviM\naBjh8WFqbdXlum7aqPyyZ4U9L7x+kYgpmWbE5HlASJTeAh3nDRgx8JxHxo9FLA6Eg1HDihX6x2LQ\n4LM4CC5KGEFwccOqPkDfi0FWJKjDxGeJ975sDu2qcnFAOocdO3Zg6dKlmDBhAubNm4fKysouP8Nq\nGCC345e0hIwGCDYrybwAG+W4upV6NnQSTGozKgBy29+58qZxpwFlApN/dxwj98AyT5Vd7AWTxbI0\nlaAxkw1gvDlYNcQcRMgxvD2QNbgRPa+aq5FQWL+P312eF0ZNTU1Aqk3lSGhz36zJBvQ2uKomvReJ\nwE9k07BS9oTOWUZcrMSi0yW/z2iL55VltbLvgTShzPXQMWYyQKrJXBPeNw0N5rsjpCMpOhXShyxM\noDHn92dEw3tBObpQINZJVRJzOdwGr4+lk4YORozILV4p1EFQGrymxjgIvldGECxhlZA6THyGmaCm\n/ZLPQ0cYkM5h+/btqKioQCgUwpFHHlnQZ+RJplQzOWiuQCXvLMXOJE0jh8uweoarbjkDgo6AK2g6\nFNmExn+5X7ki5z5pHJuagBKlOmQCgrkHgvQYbwa+V+4zk22c48qf0WhxEVCUMDpJgJGTYGJXJknT\nWRpFyp3zHJDSYfK4uTm3q1ne2BSuYzs/DX5Q7y0Wy02EU8JEJuAaGvR+OBBeRj50XlJmoLUVaK0H\nhjm5tCDB6xsvAtrCpmKopMQ4MI53ZSUVV2GsEOODG410/PCzDJnOnjSAnc8w9FBaqv+VDoIFDp05\niLIyfX/U1hoHwcUlHQTtQnBBEdRhYlEFHQQjiM4wIJzDgw8+iM2bNwMApk6dilmzZuHss89GbW0t\nfve73+H6668vaDuMBJTSF4HlXUVF+gL5khKu4dQBU4HElShgKoHoCNgvwR6GYFcvcxaUdaDBplMh\neDFlJMD3p9pUj3oQZClmELwxosocJ2DE9djjEY9rTSeVMseYyWgmS2oKRSJAogTIRExHJpPIcgXN\nKID0Hp01aaJEwqxi9u3Txpa0DUE9fFaR0UmVlBhZDhYhjBkDf74Gm+XIv4bDJrfAaihew4hYMFDN\n1XV1FCXvEzo6CjAy4iC1yOPmAxmP6HOeD/wugLl/SMVZDE1IB0GKqVAH4Xma2ty3zzgIRgySYgr2\nzgRlNuhQZINdZxgQzmHBggVYsGCB//uzzz6L0aNHo7S0FG5XAiBZyNpeCloB2oiMEGqlXEnu328M\nAcMrrtxk8rStLVf/REYcDBdl0pZyFbLaSVbYSHD+sU+VpIBwpnvlizx+T0QO+cCbhzeQn5to0//3\nsn0TPHZy4Zw14ZdYRoBYVPl5Bybrhw0zCS4eEyMiVvUQ/M40rEz4VlS0T9xyVcTGNzqMkSP1A+O6\n+oGRUsaywEDOkqCTU9kVvRO4HoxiYjEgrJTv0FjgQFqLORgZ5cmkMnM8aMvdvlI6x5OOmGNlVNTR\nPACLoQNSRS0thTsIx9H3OivmpIOQEQTfK7fBCkjaw2AXdb9rK23fvh0rVqzAI488As/zcOutt+K9\n995DLBbDbbfdhokTJ7b7zPjx47F06VJEo1EsWrSooP1wEheHswBG9/7TT82qmlQD+WJSDlIjnyWI\nNLa8COzgJb3EmQ40CMxPUG+HxlPKftNwsuOYq4BEAki2KERS3XMOclSorGToCr7EQ8Z8X7kaYaKX\n2vMU2YtGgWSb+Z7UHeJKhN+VDoVVXcz7cN4D8wiZjH5ompvNwKaOKnsYBTDS+eIXDY0UpLhocHm+\neS08D0jFFJysw/Jcc76ZDE8koMuCY8bZM1nOfUjHIJPKkUj+CIAij5k0EI6baIYPsG10OzhAB9Ha\nahwEmYuO5oc7jl44eZ5ewOzfb5gQ5sNIMQW3IXWYgl3UXaFPncOqVavwzDPPoCj7tGzYsAGpVAqP\nPfYYtm3bhuXLl+O+++5r97lp06Zh2rRp3doXNXeYGGXSc98+0wwnKR7KVtB4+T0DmdzmOVYz8YFv\nbMxtgmNDVFGRGepDQwHk8oHcdrC5raLCGFKWYgb5wGAZq6y64t/JqcuBMp1BDiNiRMFcgefplXVR\nMXypb6W0YwhlIwx273K1zmiAPQeS9+fgnfr6XFFBSl6wKoz7lrMQeF1I7VCSg/M4AJMbYTUHS2H5\nPRnJJJMAkgBaTFNgOg2UQjst6t0khaYShw4x6S2Nv6SIgtEEjysETePxPSpkHcPBCsfRdgcwOTPS\nmZ1JbTiObgpl3o36bYDRFpNDhOQ9JbuouSjlM9EZ+tQ5HH744Vi5cqWfM9i6dStOOeUUADq38M47\n7/Tavvbvz23qiMW0oaOcQlmZ4Y89L7caiJIHUleH+QaCBo5jQSMRY0xICbC+nuWeQO6qnH0UNJgs\n/9yzR3PmLRkFxzV0V2cJIyZdSe9EY9oANTYaoTopGcHvoJSWz6ByLEtKARMhME9AaowJbc/VtAgj\npZIS7XzpWFMpMwBFJtB5E8qGNRpRJnKpgU/ZElbvJBJmm9QuIvfvurlOhj0WDQ36M+yYl+NbASDi\nAiVFQKoh9wGhlDLfy4WDLERgZCSLD3jt5f3iukAmq91UDFNSnMwAXtocr3UMBx/oIFhpyEmHXTmI\nUEh3N3ue6S1iX4RU/QXaO4hgFzXtUGfoU+dw5plnoqqqyv+9qakJJUKqNBwOI5PJINILGgHNzblN\nHamU6TDkQw/knhAmaPnwSwPOv9OQU8wN0PshXx48dBrV4GwA7puem8f86ae5xplUDo0gESxjZQ6B\nRoayFDSa0rmwRJXbGwdgX72ZWMZcRCQKFCdyZx+wF4PnVO9X+YOOKBkhy2eZu+GkO9J3MrqicyCV\nRSfHiKi+3oS/1FQirVRfbyIkKWvOBHciYfhZVq5xVR+NAk45oBpz8xA8FsqM5Ks4Y0THyiygfbWa\nr/zaBsBDzuS9tpSpgLP9aQc3HMfIaHMhWVJiylw7iihDITPhjQ6CtobPT3AMKRHsou7K7B7QhHRJ\nSQmaqZ0AwPO8XnEMgDYa9LqxmOa2KZ1BbyoTNk1N5gGnTIKUfWYpK1eODMmoutpV8pCvM/eQDyUl\n2ng1N+tyteGOQkZpY16UyK/cyYhBdv/SGZHmoqMgjZJsFU1yWQfhZrKSDsWmnFPqPUkHE4lqI+f3\nakQBt8QYzkQCvrotu4TpVMiH+l3WIX0uZdkqjTxXNxzaxDnQ0jlJSQtO+GO/AK9nUZE+nyw6GDPG\n5JSUAqprAFWj3xvsJ0mnDdWUTuXOvGZSnk6X543Rl4xCYmHd4cz3Zlx9DmNFQMQ6Bgu0dxCOY4ZT\ndTYwKBw2+kiU8yF7waIJRghBBxHsou4MB9Q5TJs2DRs3bsTZZ5+Nbdu2YdKkSb26fTksg5w+a8ml\nOikfWDY2BVefdAw0xGzkSiSMsFZvwHG0E2O1U309MCJkBrv4+1c6kcmVObu0+S/QfjVO4S5ZrSOr\nE3xBwiJNechkPJ2jgpHNaEvmtuMXF+sVvUxiM28CmPOeSOj3SfqH55jvlZVd7KJWSht3Umes8mAk\nQrVLvi6jibIyPWSI+adGESUw7xQVzltqYLFkOSIa3jhRkOebDl/qZ/G888fz4OskAVoUMRwGEO6i\nuNzioAIdxN69hjHgVMXORo7GYjqCkA6ClKcUimQEIcHF1YDqc5g1axY2bdqECy64AEopLFu2rNe2\nTR6urMzIJ8jGMDoBljzKTlcmmGk8yddT2RAw5Yu9XW6YSGjZj9paIOkqP6Skw5COgBU+oZA23Fyt\nk26RDWuMICjlzRuMUZTfKJgCMk6u82CEFYlqx8Eksa8/Fc3t8mbFhKzG4mxdUnSkXvwcRsZQRVS/\nZS6I53j0aNO7wBuZ15TNaLW1+lyxy5xlpIxmSE3xOra26q5llvRxv4CRyWBnearFiASyX4ShO4+F\nkL0rgHY+Mt/TlVSBxcELLhI5V5qGXlJM+exOPK4jiN27cx0E7RuLY2TFJNHZjAmiz53DYYcdhscf\nfxwAEAqF8LOf/axP9pPJaKcg8w6SRpKNa6QkpBIrjSmjCVIssoM1H7hyJb1TaKWQRHGxdhBV7ymk\nM7mzCEJhIOwYWQ9y8mEHcLJ5Ar//IKari6BM6MjtMJri95HJYVJOfB+/A4XlSKXQOMaLgJQyn+M5\na2sz5ahUW2WFFm9wrriZNCdVxMRzXZ2JzujU6Li44uG2WSHV1GQa0jggiMNXHMeE2OT7eT1ZzisT\n9n6HdBxwRdczz32+TnVZlswchhNXgO1bsCgQMoJgZR8XNvkG/RBFRbkOQkoHyco93u8SXeW9BkQT\nXG+guFhzy4CJECIRQ8PIJiyugmnM+ZPPqAcvCBujaEjYJMeyTTm3ujvplFBIG8WGbHMKaaxwRNsY\nmdgm9x+LmWqoRNzIQnN1znLbtjadDM1knUgJDAWTY/RCgPKApuxK3KVWVMSstocNA5Jt2sPQ8Mtm\nPhpbVu/I3gU64JYWU2pKh1VebiKAmprclY2M6JgMpiF2XV0KzEYhFg6QnmIJM79nNAq0RXJlBOg8\nGG2Gw5pucwP9CtIByB/bvGbRGwiHTQTR2KjtQSEOorhYR9l79pjPcSFMFgLILavn751hyDgHGhI6\nBiY2ZRkijT9rhLtbY07qSmr9kD5hJQ6F9NjxyFVoIQYkEVdIxs3x+d2+WTkHwOxLNtBxYI+C0UYC\ndFQRieq5DZ4HRALVVXIanOtqgT4/4apyBecYUcgeDUZNlOUuKzN5HzozWc/P7TCKoYEmb19ernMH\nUpJECgU6jqHFqJVEaRQ6yuHDTaUS80vBvEs4pHJUdnnvkCqTIoB0BvlmXVhY9DbCYb3Qqa3Vixwq\nsrKHqaNO+pIS/bzQsQwf3t5BMMItdNE6ZJwDky6MCPbuNcYsHjcdhVI7qTtgcpMnmatzzhxgBzVp\nGK6YqcFDbltSOEGZDRpYOiw2TpEmCoXhTyojX8+VLqCF3qKR3AY7pQDE2kdHxcW60UvqSbE81l8d\nZ0tgZcWVlOjgOdm7V9/QzMvIxD6rlHijMqpgKTAjn1QqV/qaSWilTAUUO7rlzAnOkWYvBJN5VIRl\ndQadQyoFhD2gKG4UX1ldze+ZSGSdsdU6sugHRCJGHqa+Xv9fOoh8CgKyd6KuTj8Pw4YZW8EuacfR\nz0wh9m/IOAfSJ5GIPjkcu8dy0c5OBikiWZ2VRvNKAAAaY0lEQVQEmFUlDQurVhgJUCacSSBWByWT\nRs+krc1IQeerDigqAiZMMAfCBK4nKGvlaGMVCQshuCxN5gT6IWT5K+k0HquMkpis9r93oFsy6BTk\nNgETOTBvwz4TCn3xWnA1z33T+dABcTKcvOkjEX1eyb3yR9KF7F5nJzyPy3V1iM1rRt0q0lzsUKZT\nlXmlSFTTc6EQui7lsLDoQ7Acf+9ebc9GjTL3PyOIIOggMhlTSciFDyldVjCxea4zDBnnwFWqLC0s\nLTVVOeSd+cNkLV8jBcFyUa68acSYdKZ8Mz1y0Omwc5gzAujtgwnWdFpfQK68hw8H0i2Aw8EzIVNO\nyslunmeiiZDTXjwrmJdglRGrrvjdigC05tFhCjm5NEq+c+x6mpZJi/2SYiPNxMQv9ZgkrUZtJClQ\nx2OVEQ9vYNJOxcWasiOVJCMCOfmKlUxjxpgFA5t+mKuJJ4BQxKivcoZ0NIJu0YwWFn2JWEzTSnV1\nmokYNUr/vTMHEQrp91FmQ8q9kElhBDGgSln7EkG5ajoGSllIwwOYTlYp1QCYrmeujGXpJCOFzkY+\nEpIq6mh4i+fpsLGqCvj854EQFKIR03inYDpsmUugDIOs2ecqWCnjPFJtptRVwUQG3F44lOssmVzt\nDFKIkGWrdCR0vqSu6MyYtyBkNCIb9/hdgueK54+RG2DKc2XOR4ob0iEywgj2t4RjQCQwbxfI33Ro\nYdGfoAZcfb1eRI4aZWxSMpl//gcT265rom++jz1Ezc0mf9cRhoxzkIafXFtzszY+9fVmlS8b3oJJ\nRlmNAmS1cLIGhAlV6a2D3dTBz8tVMGkOfobyznQ8TU3A2LiCCz2Ux8saXg/QyWFhvDMZY+xZeZXJ\nZIXoIoZLZzWWdAJEd+UbPM90+fL8cSXO3gSWrNLI1tebnI+8TkxEs4qCfCgHAAXB1yinLXMndEBS\nSIxOkWhHj0V1tKCgqTo7ec1iIIMzYvbvNxQTKwPzlagC+v4fPVrPom5sNGXqmYzZ3kHjHORqlKNB\nM9meAdIQpJAA0xhCA8fVuN9kpowhA3I5e65yg9EKDXVHYA5CCvyNHq0veG0tENkLFIu50hCr/GBe\ngBRQOKS/I49LKZ2HiEd6t2lPHjMrwJgcJk3EyiaCdFq+aIARDw06w12Zn+DfGxrMakmWCZNOosNm\nWWlXOvXyPrAVSBaDASUlpj9r3z6d32Pzbr5nDNB/q6hoP0nOdU2RR2cYMs4hHjcOYfhwbXABM7O4\ntNRU0aRSxsgA+RubiKAyK3MP/JycBEYDJpvNfG0dUZrJ6ibHMeHivn1AehdwSIsZMM7eAzcr4BYR\n+kd+rkRoJqVSejUcjWi5ht4yfKkUcw36d09U/nDmMVf2smqMrwfzF0yUMUfR0mJyD7t3m3JXOmn2\nlrhubokeezok/IS+1/HNn0wCSlBkFhaDASNGmBW/nAXBopN8tGhRkWmu44hSPjPMi3aEIeMc6usN\nF016gr0MpFZILxSSMwhCDq0njx6kpfJdIFb0sK6fHDrVE+nMUilAecqfRUHO3lFGLiOdLypRuYYU\n0P9vS2mHEmzY6g6Y7KVjkENCUm0KnueguNiIffF7Ama4SGey1DyPpOMYJgejMlJ3paW5ye18zo+h\ns5QFD8LzTCWYlbWwGEwoLTXNnvv3axvX0mKE+/L1MHAhtm+f+QxwECWkaTwIznDo6cpQVi7xX6Bw\nuWWWUTLKkNLOpLs4n6C8PNvh+LEC9mnD5tfaQxsyxzF8P2CMvRTjY7Kc5anME4BUWjZCisNQV/kM\nLCuPZBKcSWHX013UpJTo7Fi2yjwCvxsHAnUEOuxUSguJUQqEjokSHhzCA3QeEUVEQj/fdfKjPtiZ\nzRaDD1JmgyoDxcVdT5MbMUI/08FZJ51hyDiHINj0Vghk92yw14Eg1dHVSjOYVyAnz89RQdTztOGU\njSruKKDx01z+UM4DkPSX52nj3SZKbLlvJt4ZTUhnwbJNVjXJRLev+JrdtwPD75OSU+L88Hywhloq\n2tIx0Fh3BFJzFBkT4z582e4RI0z+RCq/dgQ6KlZQyfe3tgIhpbolbdKrsP0TFp8R0kFQT0kK7eUT\n1WMPBBPblPzpDEPSOVRUmPBKVgkBAb7ezc0PEOTwpXxCV/w9V7qkXdjgJY+DU9rIuUsZDACIxxRS\nscIMIJHOmO5sv2QTOmJwkFulJWuboxFT9SQT3Q5MuazUNpKqta4oFaVz4PZ57mRfQ1fgCp8rHzo5\nqalE6gro+lrQOcipWIwmiD6nk6wTsOhDUGaDuQQ6CBlBBG0IWQrX1dFDZ8UzwBB0DuXl2tgU4hll\njb9s/uouFUUJCFY4cXAQQeEsSjyUlOj3sUyWOYZwSPmfo5aRhF/ZA23EUykh9yCqm5SnE9mAdhKZ\n7Hng3IYIcjWO/OR3IDEvcw6ZtDH80Yg+VsDxnQ87nXle2btQUJu+6NsQs6AA6O8m50QDBUgNBxxh\nsGSvK6rLwmIwIBIxEUR9vS5xpUJDR1LfdCqelztWOe/2++7QDyyGDTNid5ISklEAYAx4R13A3QGr\nbciNc4a07EegbhCNHqttyKtnMtp4ceJYOmbEsjpaIXNlHY1l9ZSyxpOVOi60A2F3td/BnP2JwEQn\n+agyf9Jc1qmkU7mSF7KhUMpUszLMcYwGVaH0zYgRpvSVzkLSa3RihRp1TohjlRgg5NhtEtpiiCAW\n08a+rk47idGjjUJyR0qu0ah2Kp9+2vm2h4xziEaNrAWgT0i+UsfeAqUZyLNzlc/WdMo+sDubxrOo\nyLxXKU0zsVQz6hSmeZJK6dxBJGzmKLie1gViJRT7EEgZRcJANCwaxbKOIpMxBlcpk5Mg3ExuboEV\nWzyvXKVT90W25nenz4LUUb6ISc5sLrSLWYrzsRHPViZZDEVQWJRl8RUVprKwIyXXRKJrWzOknINc\npcrEZm+CSqRcvVOSu6hIXww5HMcf2BMyq2ppoJiM5WjKUEahM/uVr7QUMA5AqqsyOuHKmfRSJLuD\nRNyUiPLzDkz5K6MQRPS+4nHTR8HXZHc0u56pd8TzUijoeJjbkOXGdAx8X3fAKOyA47DDcnnNww/X\n//ZbJtxiKCPYRV1RYRadyWT+yryuqvWGJPPaV8aASU5SHOTti4uNnHQ8bpLNZWU6fDvkEE2b5Fu5\nSlqnLanaVUkR7JcIOgaJfDlQ5iRiUW34SRWxIa+oCChKZH+KDMefTpt9cWJaxjV5i3Ta0EkEJbf5\nb3cgKShqwkg9JPm+QYGjjgKOOQb4v//Tv0+dqv/fXd0SC4sCQcHPdNqMLOACMZlHaLMrDJlljJTP\n6G36QFYiyUYz5jPknGFWyrDhrRBbQAG6tDLzKAifN88adZljyD3IzvfBSIKLWUYS/uB7sb+2NqM7\nJGmrULZNv6lJn5RgvqI7OYZ8YPTFiKalpf13PaDOIajW2BPceqv+sbA4AKASBCcilpaaUQMd6TB1\nhCHjHIYNK4yv7w4YltEpSDtBVdC0qOKhEwFyq2wKQSwGuI5CxgWiyjgFqaaaL3mslFFgLcQwy8FA\n6YzudwiLCEBKcChlpL1ltOLnWQoYUt5dsKmOssQHtPzUwmIIQDbJhULaLra0dK7DlA9Dxjnkk67t\nKagbJA1TPJ5b+UJunZ3DshO6o3nUXSEcBjIweQWgfc9BEFJEriNKKh8ouUH6KJM0yfNYLKsKG5gE\nx7Z9UlJy9Gpvg5PyeExsqLOwsOgcjmNGjTY1mS7qlpbOdZiCsI9bFowSSGkAppySonaMIuiIEolc\nddLPWj/vOJobIoVTaEc20R3n4DfDZfMLTdlVek4+QQGImPOiYCTG43HAyTPsqDdBHSzPs47BwqI7\n4NAfzqLm0B+pw9QVhswj1xOjTKkMGREARvucJZmkN5JJ+EJz8bj+nQa1o8Hf3UEkpOBlvwdX9oV8\nB/l/Gm/AdH8Hf3ImwSmzmhg+PHe/jI783hAHUNk8RMZRgNP3VE9PBAMtLCxMw1ttrRbdq6jIldno\najE5ZJxDIStLKZ9N7R1CymSQPmFVEvMIlNpmDTFX2L3hGIDuJYxkLwNgup1T6Y4/QwE/wDTHscu6\nkOS5T2FlO6lZ1jroYKUtLA4SsOGtrs6UuFJmo6sKpgHpHN5//308/PDDSKVSuPzyyzFp0qQeb4uZ\nezniEsjtlPY7iAPzmKnJRHkI0kaU2mY5K/seCpkEx+3KngTfuXRhtOQxuQGvn07rUja5ypaSGEFp\nDDq4ULjwaWj8zuGQ+b6DprTUwuIgRSKhq5YaGswkOQp1doYB6RyeeOIJjBkzBnv27MH48eML/hxp\nFTmUR4q1URCOiVQ6Bb7OpCtnMvOH/QyASeoAJqEb3H8hkNo/zc3Zbu7Ae+hQZNUSQTXVSARoFdpB\nhVZI5Wum6wp0TnI+hHUOFhYDH8OGmf4hTpLr6rkfEM7hwQcfxObNmwEAU6dOxc6dO7F8+XK8++67\nePrpp3HhhRd2uY1k0syMpvEGcjuYpfHmKp8OImjY2acgV+JtbdkafxhFVcoySLXXYB4AMFGKNKqe\np4+ZMhqRFoVIOndOA507x4IGjXJPGRLZ4FYIMpmAtIZSPRIptLCw6B9wpkNrq5ba6GohOSCcw4IF\nC7BgwQL/95/85CcoLi5GaWkpVIHWj3OjJUaONGWgQbVRdjQH8w5SfloimdQeF9AnmeNBJbrbBEZp\nB6qGckaD/7qjKZ9CjXAhpyqT0RedDW2FgOdLeUYwEBik+QYLi4MYZWWmhyiogBxEn6/7tm/fjosv\nvhgA4Hkebr75Zpx//vm4+OKLsXPnzryfueCCC3DTTTdhzZo1+MY3vlHQfoKyzCNHmtp45h1aW/X7\nmprMvADmEzhFTVYpUYq7vl5zdUrpkxvUSPosCId1lVBJCRAJG+sej5lGus4cAw21HOTTEVzXJKy7\nI4rHxjjKgvP82PJSC4vBBcfROQep7NAR+vTxXrVqFZ555hkUZYV2NmzYgFQqhcceewzbtm3D8uXL\ncd9997X73Fe+8hXceeedBe3DzS79a2q0ODnnFjMyyJcDyDcAJzgASOYvUiltpIcN052HfYaGPfCa\n6uCEAKe1sI94ri5VUwoYngSKOxga7gnHkIhEgPq6grbPqi5KddMZ7d/9MZpTkV5tPjxgqKnR3l4i\nEmn/t6oqm1SxGJJwXWMzXUmfCDiqUN6mB3j++ecxefJkXH/99Xj88cfx85//HEcffbQfDZxyyil4\n9dVXP9M+3nrrrYJyEhYWFhYW7fHoo4/i+OOPb/f3Po0czjzzTFRVVfm/NzU1oURoaYfDYWQyGUQ+\nAz9x1FFH4dFHH8Xo0aMRtiS4hYWFRUFwXRc1NTU46qij8r5+QFnjkpISNAuiy/O8z+QYACCRSOT1\nehYWFhYWnWPixIkdvnZACxGnTZuGV155BQCwbdu2z9TcZmFhYWHRdzigkcOsWbOwadMmXHDBBVBK\nYdmyZQdy9xYWFhYWBaJPE9IWFhYWFoMTtr/VwsLCwqIdrHOwsLCwsGgH2+Pax9i8eTOee+453H77\n7f19KBbdwObNm7Fu3Tq0trZi4cKFmDJlSn8fkkU38M4772Dt2rVQSuG6665DRUVFfx/SoIONHPoQ\nO3fuxL///W+0SSVAi0GB1tZWLF26FN/5znfw2muv9ffhWHQTbW1tWLJkCU499VRs27atvw9nUMI6\nhz7ExIkTcfnll/f3YVj0ADNnzkRrayseeeQRzJ8/v78Px6KbOO644/DBBx9g9erVNurrIaxzsLDI\ng7q6OixduhRXXXUVRo0a1d+HY9FNvP322/jyl7+MVatW4cEHH+zvwxmUsM6hh+iJ2qzFwEAh1275\n8uWoqanBL3/5S/zlL3/pz8O1CKCQ69fc3IwlS5bgzjvvxDnnnNOfhztoYRPSPUB31WZXrFjRX4dq\nEUCh165QVWCLA4tCr9/06dMxffr0fj7awQ0bOfQAhx9+OFauXOn/vnXrVpxyyikA9CS7d955p78O\nzaIL2Gs3uGGv34GDdQ49wJlnnpkjGNiR2qzFwIO9doMb9vodOFjn0AvoC7VZiwMDe+0GN+z16ztY\n59ALsGqzgxf22g1u2OvXd7Authdg1WYHL+y1G9yw16/vYFVZLSwsLCzawdJKFhYWFhbtYJ2DhYWF\nhUU7WOdgYWFhYdEO1jlYWFhYWLSDdQ4WFhYWFu1gnYOFhYWFRTtY52BhYWFh0Q7WOVgMGFx22WV4\n4YUX/N/vuOMOHHvssUilUv7fZsyYgV27dvXK/qqqqjBz5sxe2RbR2NiIRYsWdXv7d9xxB959992C\n3ltdXY2FCxf2+Bh7iu4co8Xgh3UOFgMG06dPxz/+8Q//99dffx3HHHMMtm7dCkCPXS0uLsaECRP6\n6xC7RENDA3bs2NGtz+zYsQM1NTX40pe+VND7x44di1WrVvXk8D4TFi5caDuQDyJY+QyLAYPKykrf\n+FRXVyMWi+HrX/86XnvtNUyfPh1vvfUWTjrpJADA+vXrsWbNGiSTSbS1teG2227D8OHD8eMf/xjP\nPfccAGDjxo147LHH8Jvf/AYPPPAA1q9fD9d1MWPGDFx33XU5+66trcXNN9+M3bt3w3Ec/OhHP8JJ\nJ52ElStXorq6Gjt37sTHH3+Mb3/72/jhD3+IdDqNW265BVu3bsXYsWPhOA4WLVqENWvWYM+ePVi8\neDFuvPFGJJNJXHPNNfjPf/6DESNG4N5770V5eXnOvlevXo05c+YAAJ566im8/PLL2LNnD3bv3o1L\nL70Un3zyCbZs2YKysjL89re/RU1NDS655BK89NJL+Pjjj3HjjTeirq4OiUQCt912G0pKSvDd734X\n5eXliMfjWL16NZYtW4bNmzfDcRzMmTMH3/ve9/DGG2/g/vvvRyKRwAcffIDJkydjxYoVSKVSuPba\na1FbWwsAWLx4Mc444wyMHDkSI0eOxJYtW1BZWdmn94LFAICysBggyGQyavr06SqZTKo//vGP6le/\n+pX63//+p+bMmaOUUuqGG25QL7zwgnJdV11yySVq7969SimlnnjiCfX9739fKaXU7Nmz1XvvvaeU\nUuraa69V69atU3/729/UlVdeqTKZjHJdV1177bXq6aefVrt27VKnn366Ukqpq6++Wm3YsEEppVR1\ndbU644wzVGNjo7rnnnvUt771LdXW1qZqa2vV1KlTVUNDg3r44YfV1VdfrTzPU1VVVerYY49VW7Zs\nydnmrl271OTJk9X27duVUkpdeeWVau3atTnf2fM8dcIJJ6jm5mallFJPPvmkOu2001RjY6OqqqpS\nkyZNUq+88opSSqmLLrpIvfDCCzn7WLhwob/Nl19+WV111VVq165datKkSWrXrl1KKaXWrl2rFi1a\npDKZjGppaVHnnnuu2rhxo9qyZYuaOnWq+vTTT5Xruurcc89VL774onrqqafUrbfeqpRS6v3331fL\nly/3j/ehhx5St99+e+9ccIsBDRs5WAwYhMNhHHPMMfjXv/6F1157DRdeeCEmTJiAZDKJhoYG/POf\n/8SSJUsQCoVw77334qWXXsJHH32EN998E6GQZkjnzp2LdevWYcKECXjzzTexbNky3H333Xj77bfx\nzW9+EwCQTCYxbtw4HHfccf6+X3/9dXz44Ye45557AACZTMbPbZx44omIxWIYNWoUysrK0NjYiE2b\nNuG8886D4zgYP358h1PHxowZg6OPPhoA8IUvfAH79u3LeZ2/FxcX+3+bNm0aSkpK/DkF3Pb48eOx\nf//+nM///e9/x1133QUAOPXUU3HqqaeiqqoKo0aNwmGHHQYAeOONNzB//nyEw2EUFRVh9uzZ2Lx5\nM2bOnIkjjzwShxxyCADgiCOOQENDA4499ljcddddqK6uxmmnnYbFixf7+xs3bhw2bdpUwNW0GOyw\nzsFiQIF5h7fffhu/+MUv/L+9+OKLKCsrw/Dhw9Hc3Ixzzz0Xc+fOxQknnIDJkyfj0UcfBQCcc845\nuPTSSzFlyhTMmDED8Xgcruvi0ksvxWWXXQYA2L9/P8LhcI6h9jwPDz30EMrKygBoWquiogIbNmxA\nPB733+c4DpRSCIfD8Dyvy+8jZwvwsxKO4yAcDuf8LRqNdriNzravlMIHH3yARCKBRCKR890klFJw\nXRcA8n63z33uc1i/fj1effVVbNy4EatXr8b69evhOA6i0Sgcx+nqa1sMAdiEtMWAQmVlJf70pz9h\n0qRJvuE7+eSTsWbNGpx88skAgP/+978IhUL4wQ9+gMrKSrzyyiu+sRs7diwOPfRQPPDAAz6Pz202\nNzcjk8lg8eLFeP7559vt9/e//z0A4P3338ecOXPQ2tra4XGedNJJ+POf/wylFKqrq/Hmm2/CcRxE\nIpFuTSIrLy+H53k5A2u6g+OPPx7r1q0DoKOfn/70p+3eU1lZiaeffhqu66K1tRXPPvssTjzxxA63\nuXbtWqxcuRJnnXUWbrnlFtTV1aGxsRGArsCaOHFij47VYnDBOgeLAYVJkyahvr4eM2bM8P9WWVmJ\nDz/80HcOU6ZMwRe/+EWcddZZmD9/PoqLi/HJJ5/47587dy7q6up8Azhz5kx87Wtfw3nnnYdzzjkH\nU6ZMwfz583P2e9NNN2H79u2YPXs2rrnmGtx555054yeDOO+88zBs2DDMnj0bN9xwA8aNG4dEIoFR\no0Zh3LhxuPjiiwv+zl/96lfx1ltvFfx+iZtvvhl//etfMXfuXKxcuRJLly5t957zzz8fhxxyCObO\nnYt58+Zh5syZmDVrVofbnDdvHj766CPMnj0bF110Ea644gqMGDECgKaozjjjjB4dq8Xggp3nYGHR\nA7z88stQSuH0009HY2Mj5s2bhyeffNKnpbqDHTt24Ne//rWf7xio2Lt3L6644gr84Q9/6O9DsTgA\nsDkHC4se4IgjjsD111+Pu+++GwBw1VVX9cgxADoSOvTQQ/Huu+8W3OvQH7j//vuxZMmS/j4MiwME\nGzlYWFhYWLSDzTlYWFhYWLSDdQ4WFhYWFu1gnYOFhYWFRTtY52BhYWFh0Q7WOVhYWFhYtIN1DhYW\nFhYW7fD/ffMsh8zEDfMAAAAASUVORK5CYII=\n", "text/plain": [ "<matplotlib.figure.Figure at 0x19613a048>" ] }, "metadata": {}, "output_type": "display_data" } ], "source": [ "import pandas as pd\n", "SEDS_IR_full=pd.read_pickle('SEDS_IR_full.pkl')\n", "import seaborn as sns\n", "sns.set_style(\"white\")\n", "\n", "plt.figure(figsize=(6,6))\n", "s1=138\n", "from astropy.cosmology import Planck13\n", "violin_parts=plt.violinplot(samples[:,0:3,s1],[250,350,500], points=60, widths=100,\n", " showmeans=True, showextrema=True, showmedians=True,bw_method=0.5)\n", "# Make all the violin statistics marks red:\n", "for partname in ('cbars','cmins','cmaxes','cmeans','cmedians'):\n", " vp = violin_parts[partname]\n", " vp.set_edgecolor('red')\n", " vp.set_linewidth(1)\n", "\n", "for pc in violin_parts['bodies']:\n", " pc.set_facecolor('red')\n", "\n", "violin_parts=plt.violinplot(samples[:,3:,s1],[24,100,160], points=60, widths=20,\n", " showmeans=True, showextrema=True, showmedians=True,bw_method=0.5)\n", "# Make all the violin statistics marks red:\n", "for partname in ('cbars','cmins','cmaxes','cmeans','cmedians'):\n", " vp = violin_parts[partname]\n", " vp.set_edgecolor('red')\n", " vp.set_linewidth(1)\n", "\n", "for pc in violin_parts['bodies']:\n", " pc.set_facecolor('red')\n", "\n", "from astropy.cosmology import Planck13\n", "\n", "import astropy.units as u\n", "\n", "\n", "for s in range(0,100,1):\n", " \n", " div=(4.0*np.pi * np.square(Planck13.luminosity_distance(z_prior[s,s1]).cgs))\n", " div=div.value\n", " plt.loglog((z_prior[i,s1]+1.0)*SEDS_IR_full['wave'],\n", " np.power(10.0,LIR_prior[s,s1])*(1.0+z_prior[s,s1])\n", " *SEDS_IR_full[SEDS_IR_full.columns[np.arange(1,SEDs_IR.shape[0]+1)\n", " [SED_prior[s,s1]==1]]]/div,alpha=0.05,c='b',zorder=0)\n", " \n", " #plt.plot([250,350,500, 24,100,160],posterior_IR.samples['src_f'][s,0:6,s1], 'ko', alpha=0.1, ms=10)\n", " #plt.plot([250,350,500],posterior.samples['src_f'][s,0:3,s1], 'ro', alpha=0.1, ms=10)\n", " \n", "\n", "\n", "plt.ylim(10E-7,10E2)\n", "plt.xlim(5,5E3)\n", "#plt.plot([3.6,4.5,5.7,7.9],[2.91E-3,2.38E-3,2.12E-3,9.6E-3], 'ro')\n", "plt.xlabel('Wavelength (microns)')\n", "plt.ylabel('Flux (mJy)')" ] }, { "cell_type": "code", "execution_count": null, "metadata": { "collapsed": true }, "outputs": [], "source": [] } ], "metadata": { "celltoolbar": "Slideshow", "kernelspec": { "display_name": "Python [conda env:new]", "language": "python", "name": "conda-env-new-py" }, "language_info": { "codemirror_mode": { "name": "ipython", "version": 3 }, "file_extension": ".py", "mimetype": "text/x-python", "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", "version": "3.6.0" } }, "nbformat": 4, "nbformat_minor": 1 }
pdh21/XID_plus
docs/notebooks/examples/XID+IR_SED-Example.ipynb
Jupyter Notebooks (Python)
mit
283,932
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title>jquery.slimscroll - disable fade out</title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/jquery.min.js"></script> <link href="libs/prettify/prettify.css" type="text/css" rel="stylesheet" /> <script type="text/javascript" src="libs/prettify/prettify.js"></script> <script type="text/javascript" src="../jquery.slimscroll.js"></script> <link href="style.css" type="text/css" rel="stylesheet" /> </head> <body> <a id="git-fork" href="https://github.com/rochal/jQuery-slimScroll"><img src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a> <div class="examples"> <div id="testDiv"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam rhoncus, felis interdum condimentum consectetur, nisl libero elementum eros, vehicula congue lacus eros non diam. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus mauris lorem, lacinia id tempus non, imperdiet et leo. Cras sit amet erat sit amet lacus egestas placerat. Aenean ultricies ultrices mauris ac congue. In vel tortor vel velit tristique tempus ac id nisi. Proin quis lorem velit. Nunc dui dui, blandit a ullamcorper vitae, congue fringilla lectus. Aliquam ultricies malesuada feugiat. Vestibulum placerat turpis et eros lobortis vel semper sapien pulvinar.</p> <p>Pellentesque rhoncus aliquet porta. Sed vel magna eu turpis pharetra consequat ut vitae lectus. In molestie sollicitudin mi sit amet convallis. Aliquam erat volutpat. Nullam feugiat placerat ipsum eget malesuada. Nulla facilisis nunc non dolor vehicula pretium. Sed dui magna, sodales id pharetra non, ullamcorper eu sapien. Mauris ac consectetur leo. Mauris consequat, lectus ut bibendum pulvinar, leo magna feugiat enim, eu commodo lacus sem vel ante. Sed tempus metus eget leo mollis vulputate. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p> <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed pulvinar rhoncus quam, vel semper tellus viverra id. Nulla rutrum porttitor odio, a rutrum purus gravida non. Etiam ac purus augue, eget vestibulum purus. Aenean venenatis ullamcorper augue, non consequat elit tempor sed. Donec velit sapien, volutpat sed ultricies egestas, semper a ante. Fusce dapibus, quam eget auctor suscipit, nibh leo posuere ante, at auctor nisi lacus in sem. Morbi interdum consectetur euismod. Cras accumsan est lacus. Nulla eleifend, eros vel consequat commodo, arcu nunc malesuada nunc, quis sagittis felis sem ac turpis.</p> <p>Nulla rhoncus elementum convallis. Mauris condimentum aliquet egestas. Ut iaculis nisi eget tellus accumsan venenatis. Maecenas imperdiet aliquam porta. Aenean ultrices dolor sed quam laoreet varius. Curabitur condimentum blandit erat, quis accumsan eros interdum vitae. Curabitur ligula arcu, sollicitudin vitae iaculis sed, blandit sit amet enim. Morbi ullamcorper, metus vel mollis tristique, arcu turpis malesuada nisi, at dignissim lorem odio a orci. Proin ultrices, ipsum ut vestibulum interdum, libero felis auctor mi, vitae convallis nisl justo ac tellus. Integer nec lacinia turpis. Etiam massa nisl, rhoncus quis rutrum in, pretium eu leo. Proin a velit ut nulla laoreet vestibulum. Curabitur eu elit vitae felis auctor tincidunt. Curabitur tincidunt, metus sed sollicitudin cursus, quam elit commodo erat, ut tempor erat sapien vitae velit. Morbi nec viverra erat.</p> <p>Nullam scelerisque facilisis pretium. Vivamus lectus leo, commodo ac sagittis ac, dictum a mi. Donec quis massa ut libero malesuada commodo in et risus. Fusce nunc dolor, aliquet vel rutrum in, molestie sit amet massa. Aliquam suscipit, justo a commodo condimentum, enim sapien fringilla ante, sed lobortis orci lectus in ante. Donec vel interdum est. Donec placerat cursus lacus, eu ultricies nisl tincidunt a. Fusce libero risus, sagittis eleifend iaculis aliquet, condimentum vitae diam. Suspendisse potenti. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Proin leo purus, sodales a venenatis luctus, faucibus ac enim. Sed id metus ac sem lobortis pretium. Mauris faucibus tempor scelerisque. Nunc vulputate interdum tortor, non tincidunt dui condimentum eget. Aenean in porttitor velit. Nam accumsan rhoncus risus id consectetur.</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam rhoncus, felis interdum condimentum consectetur, nisl libero elementum eros, vehicula congue lacus eros non diam. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus mauris lorem, lacinia id tempus non, imperdiet et leo. Cras sit amet erat sit amet lacus egestas placerat. Aenean ultricies ultrices mauris ac congue. In vel tortor vel velit tristique tempus ac id nisi. Proin quis lorem velit. Nunc dui dui, blandit a ullamcorper vitae, congue fringilla lectus. Aliquam ultricies malesuada feugiat. Vestibulum placerat turpis et eros lobortis vel semper sapien pulvinar.</p> <p>Pellentesque rhoncus aliquet porta. Sed vel magna eu turpis pharetra consequat ut vitae lectus. In molestie sollicitudin mi sit amet convallis. Aliquam erat volutpat. Nullam feugiat placerat ipsum eget malesuada. Nulla facilisis nunc non dolor vehicula pretium. Sed dui magna, sodales id pharetra non, ullamcorper eu sapien. Mauris ac consectetur leo. Mauris consequat, lectus ut bibendum pulvinar, leo magna feugiat enim, eu commodo lacus sem vel ante. Sed tempus metus eget leo mollis vulputate. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p> <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed pulvinar rhoncus quam, vel semper tellus viverra id. Nulla rutrum porttitor odio, a rutrum purus gravida non. Etiam ac purus augue, eget vestibulum purus. Aenean venenatis ullamcorper augue, non consequat elit tempor sed. Donec velit sapien, volutpat sed ultricies egestas, semper a ante. Fusce dapibus, quam eget auctor suscipit, nibh leo posuere ante, at auctor nisi lacus in sem. Morbi interdum consectetur euismod. Cras accumsan est lacus. Nulla eleifend, eros vel consequat commodo, arcu nunc malesuada nunc, quis sagittis felis sem ac turpis.</p> <p>Nulla rhoncus elementum convallis. Mauris condimentum aliquet egestas. Ut iaculis nisi eget tellus accumsan venenatis. Maecenas imperdiet aliquam porta. Aenean ultrices dolor sed quam laoreet varius. Curabitur condimentum blandit erat, quis accumsan eros interdum vitae. Curabitur ligula arcu, sollicitudin vitae iaculis sed, blandit sit amet enim. Morbi ullamcorper, metus vel mollis tristique, arcu turpis malesuada nisi, at dignissim lorem odio a orci. Proin ultrices, ipsum ut vestibulum interdum, libero felis auctor mi, vitae convallis nisl justo ac tellus. Integer nec lacinia turpis. Etiam massa nisl, rhoncus quis rutrum in, pretium eu leo. Proin a velit ut nulla laoreet vestibulum. Curabitur eu elit vitae felis auctor tincidunt. Curabitur tincidunt, metus sed sollicitudin cursus, quam elit commodo erat, ut tempor erat sapien vitae velit. Morbi nec viverra erat.</p> <p>Nullam scelerisque facilisis pretium. Vivamus lectus leo, commodo ac sagittis ac, dictum a mi. Donec quis massa ut libero malesuada commodo in et risus. Fusce nunc dolor, aliquet vel rutrum in, molestie sit amet massa. Aliquam suscipit, justo a commodo condimentum, enim sapien fringilla ante, sed lobortis orci lectus in ante. Donec vel interdum est. Donec placerat cursus lacus, eu ultricies nisl tincidunt a. Fusce libero risus, sagittis eleifend iaculis aliquet, condimentum vitae diam. Suspendisse potenti. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Proin leo purus, sodales a venenatis luctus, faucibus ac enim. Sed id metus ac sem lobortis pretium. Mauris faucibus tempor scelerisque. Nunc vulputate interdum tortor, non tincidunt dui condimentum eget. Aenean in porttitor velit. Nam accumsan rhoncus risus id consectetur.</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam rhoncus, felis interdum condimentum consectetur, nisl libero elementum eros, vehicula congue lacus eros non diam. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus mauris lorem, lacinia id tempus non, imperdiet et leo. Cras sit amet erat sit amet lacus egestas placerat. Aenean ultricies ultrices mauris ac congue. In vel tortor vel velit tristique tempus ac id nisi. Proin quis lorem velit. Nunc dui dui, blandit a ullamcorper vitae, congue fringilla lectus. Aliquam ultricies malesuada feugiat. Vestibulum placerat turpis et eros lobortis vel semper sapien pulvinar.</p> <p>Pellentesque rhoncus aliquet porta. Sed vel magna eu turpis pharetra consequat ut vitae lectus. In molestie sollicitudin mi sit amet convallis. Aliquam erat volutpat. Nullam feugiat placerat ipsum eget malesuada. Nulla facilisis nunc non dolor vehicula pretium. Sed dui magna, sodales id pharetra non, ullamcorper eu sapien. Mauris ac consectetur leo. Mauris consequat, lectus ut bibendum pulvinar, leo magna feugiat enim, eu commodo lacus sem vel ante. Sed tempus metus eget leo mollis vulputate. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p> <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed pulvinar rhoncus quam, vel semper tellus viverra id. Nulla rutrum porttitor odio, a rutrum purus gravida non. Etiam ac purus augue, eget vestibulum purus. Aenean venenatis ullamcorper augue, non consequat elit tempor sed. Donec velit sapien, volutpat sed ultricies egestas, semper a ante. Fusce dapibus, quam eget auctor suscipit, nibh leo posuere ante, at auctor nisi lacus in sem. Morbi interdum consectetur euismod. Cras accumsan est lacus. Nulla eleifend, eros vel consequat commodo, arcu nunc malesuada nunc, quis sagittis felis sem ac turpis.</p> <p>Nulla rhoncus elementum convallis. Mauris condimentum aliquet egestas. Ut iaculis nisi eget tellus accumsan venenatis. Maecenas imperdiet aliquam porta. Aenean ultrices dolor sed quam laoreet varius. Curabitur condimentum blandit erat, quis accumsan eros interdum vitae. Curabitur ligula arcu, sollicitudin vitae iaculis sed, blandit sit amet enim. Morbi ullamcorper, metus vel mollis tristique, arcu turpis malesuada nisi, at dignissim lorem odio a orci. Proin ultrices, ipsum ut vestibulum interdum, libero felis auctor mi, vitae convallis nisl justo ac tellus. Integer nec lacinia turpis. Etiam massa nisl, rhoncus quis rutrum in, pretium eu leo. Proin a velit ut nulla laoreet vestibulum. Curabitur eu elit vitae felis auctor tincidunt. Curabitur tincidunt, metus sed sollicitudin cursus, quam elit commodo erat, ut tempor erat sapien vitae velit. Morbi nec viverra erat.</p> <p>Nullam scelerisque facilisis pretium. Vivamus lectus leo, commodo ac sagittis ac, dictum a mi. Donec quis massa ut libero malesuada commodo in et risus. Fusce nunc dolor, aliquet vel rutrum in, molestie sit amet massa. Aliquam suscipit, justo a commodo condimentum, enim sapien fringilla ante, sed lobortis orci lectus in ante. Donec vel interdum est. Donec placerat cursus lacus, eu ultricies nisl tincidunt a. Fusce libero risus, sagittis eleifend iaculis aliquet, condimentum vitae diam. Suspendisse potenti. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Proin leo purus, sodales a venenatis luctus, faucibus ac enim. Sed id metus ac sem lobortis pretium. Mauris faucibus tempor scelerisque. Nunc vulputate interdum tortor, non tincidunt dui condimentum eget. Aenean in porttitor velit. Nam accumsan rhoncus risus id consectetur.</p> </div> <pre class="prettyprint"> $('#testDiv').slimscroll(); </pre> <div id="testDiv2"> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam rhoncus, felis interdum condimentum consectetur, nisl libero elementum eros, vehicula congue lacus eros non diam. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus mauris lorem, lacinia id tempus non, imperdiet et leo. Cras sit amet erat sit amet lacus egestas placerat. Aenean ultricies ultrices mauris ac congue. In vel tortor vel velit tristique tempus ac id nisi. Proin quis lorem velit. Nunc dui dui, blandit a ullamcorper vitae, congue fringilla lectus. Aliquam ultricies malesuada feugiat. Vestibulum placerat turpis et eros lobortis vel semper sapien pulvinar.</p> <p>Pellentesque rhoncus aliquet porta. Sed vel magna eu turpis pharetra consequat ut vitae lectus. In molestie sollicitudin mi sit amet convallis. Aliquam erat volutpat. Nullam feugiat placerat ipsum eget malesuada. Nulla facilisis nunc non dolor vehicula pretium. Sed dui magna, sodales id pharetra non, ullamcorper eu sapien. Mauris ac consectetur leo. Mauris consequat, lectus ut bibendum pulvinar, leo magna feugiat enim, eu commodo lacus sem vel ante. Sed tempus metus eget leo mollis vulputate. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p> <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed pulvinar rhoncus quam, vel semper tellus viverra id. Nulla rutrum porttitor odio, a rutrum purus gravida non. Etiam ac purus augue, eget vestibulum purus. Aenean venenatis ullamcorper augue, non consequat elit tempor sed. Donec velit sapien, volutpat sed ultricies egestas, semper a ante. Fusce dapibus, quam eget auctor suscipit, nibh leo posuere ante, at auctor nisi lacus in sem. Morbi interdum consectetur euismod. Cras accumsan est lacus. Nulla eleifend, eros vel consequat commodo, arcu nunc malesuada nunc, quis sagittis felis sem ac turpis.</p> <p>Nulla rhoncus elementum convallis. Mauris condimentum aliquet egestas. Ut iaculis nisi eget tellus accumsan venenatis. Maecenas imperdiet aliquam porta. Aenean ultrices dolor sed quam laoreet varius. Curabitur condimentum blandit erat, quis accumsan eros interdum vitae. Curabitur ligula arcu, sollicitudin vitae iaculis sed, blandit sit amet enim. Morbi ullamcorper, metus vel mollis tristique, arcu turpis malesuada nisi, at dignissim lorem odio a orci. Proin ultrices, ipsum ut vestibulum interdum, libero felis auctor mi, vitae convallis nisl justo ac tellus. Integer nec lacinia turpis. Etiam massa nisl, rhoncus quis rutrum in, pretium eu leo. Proin a velit ut nulla laoreet vestibulum. Curabitur eu elit vitae felis auctor tincidunt. Curabitur tincidunt, metus sed sollicitudin cursus, quam elit commodo erat, ut tempor erat sapien vitae velit. Morbi nec viverra erat.</p> <p>Nullam scelerisque facilisis pretium. Vivamus lectus leo, commodo ac sagittis ac, dictum a mi. Donec quis massa ut libero malesuada commodo in et risus. Fusce nunc dolor, aliquet vel rutrum in, molestie sit amet massa. Aliquam suscipit, justo a commodo condimentum, enim sapien fringilla ante, sed lobortis orci lectus in ante. Donec vel interdum est. Donec placerat cursus lacus, eu ultricies nisl tincidunt a. Fusce libero risus, sagittis eleifend iaculis aliquet, condimentum vitae diam. Suspendisse potenti. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Proin leo purus, sodales a venenatis luctus, faucibus ac enim. Sed id metus ac sem lobortis pretium. Mauris faucibus tempor scelerisque. Nunc vulputate interdum tortor, non tincidunt dui condimentum eget. Aenean in porttitor velit. Nam accumsan rhoncus risus id consectetur.</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam rhoncus, felis interdum condimentum consectetur, nisl libero elementum eros, vehicula congue lacus eros non diam. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus mauris lorem, lacinia id tempus non, imperdiet et leo. Cras sit amet erat sit amet lacus egestas placerat. Aenean ultricies ultrices mauris ac congue. In vel tortor vel velit tristique tempus ac id nisi. Proin quis lorem velit. Nunc dui dui, blandit a ullamcorper vitae, congue fringilla lectus. Aliquam ultricies malesuada feugiat. Vestibulum placerat turpis et eros lobortis vel semper sapien pulvinar.</p> <p>Pellentesque rhoncus aliquet porta. Sed vel magna eu turpis pharetra consequat ut vitae lectus. In molestie sollicitudin mi sit amet convallis. Aliquam erat volutpat. Nullam feugiat placerat ipsum eget malesuada. Nulla facilisis nunc non dolor vehicula pretium. Sed dui magna, sodales id pharetra non, ullamcorper eu sapien. Mauris ac consectetur leo. Mauris consequat, lectus ut bibendum pulvinar, leo magna feugiat enim, eu commodo lacus sem vel ante. Sed tempus metus eget leo mollis vulputate. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p> <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed pulvinar rhoncus quam, vel semper tellus viverra id. Nulla rutrum porttitor odio, a rutrum purus gravida non. Etiam ac purus augue, eget vestibulum purus. Aenean venenatis ullamcorper augue, non consequat elit tempor sed. Donec velit sapien, volutpat sed ultricies egestas, semper a ante. Fusce dapibus, quam eget auctor suscipit, nibh leo posuere ante, at auctor nisi lacus in sem. Morbi interdum consectetur euismod. Cras accumsan est lacus. Nulla eleifend, eros vel consequat commodo, arcu nunc malesuada nunc, quis sagittis felis sem ac turpis.</p> <p>Nulla rhoncus elementum convallis. Mauris condimentum aliquet egestas. Ut iaculis nisi eget tellus accumsan venenatis. Maecenas imperdiet aliquam porta. Aenean ultrices dolor sed quam laoreet varius. Curabitur condimentum blandit erat, quis accumsan eros interdum vitae. Curabitur ligula arcu, sollicitudin vitae iaculis sed, blandit sit amet enim. Morbi ullamcorper, metus vel mollis tristique, arcu turpis malesuada nisi, at dignissim lorem odio a orci. Proin ultrices, ipsum ut vestibulum interdum, libero felis auctor mi, vitae convallis nisl justo ac tellus. Integer nec lacinia turpis. Etiam massa nisl, rhoncus quis rutrum in, pretium eu leo. Proin a velit ut nulla laoreet vestibulum. Curabitur eu elit vitae felis auctor tincidunt. Curabitur tincidunt, metus sed sollicitudin cursus, quam elit commodo erat, ut tempor erat sapien vitae velit. Morbi nec viverra erat.</p> <p>Nullam scelerisque facilisis pretium. Vivamus lectus leo, commodo ac sagittis ac, dictum a mi. Donec quis massa ut libero malesuada commodo in et risus. Fusce nunc dolor, aliquet vel rutrum in, molestie sit amet massa. Aliquam suscipit, justo a commodo condimentum, enim sapien fringilla ante, sed lobortis orci lectus in ante. Donec vel interdum est. Donec placerat cursus lacus, eu ultricies nisl tincidunt a. Fusce libero risus, sagittis eleifend iaculis aliquet, condimentum vitae diam. Suspendisse potenti. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Proin leo purus, sodales a venenatis luctus, faucibus ac enim. Sed id metus ac sem lobortis pretium. Mauris faucibus tempor scelerisque. Nunc vulputate interdum tortor, non tincidunt dui condimentum eget. Aenean in porttitor velit. Nam accumsan rhoncus risus id consectetur.</p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam rhoncus, felis interdum condimentum consectetur, nisl libero elementum eros, vehicula congue lacus eros non diam. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Vivamus mauris lorem, lacinia id tempus non, imperdiet et leo. Cras sit amet erat sit amet lacus egestas placerat. Aenean ultricies ultrices mauris ac congue. In vel tortor vel velit tristique tempus ac id nisi. Proin quis lorem velit. Nunc dui dui, blandit a ullamcorper vitae, congue fringilla lectus. Aliquam ultricies malesuada feugiat. Vestibulum placerat turpis et eros lobortis vel semper sapien pulvinar.</p> <p>Pellentesque rhoncus aliquet porta. Sed vel magna eu turpis pharetra consequat ut vitae lectus. In molestie sollicitudin mi sit amet convallis. Aliquam erat volutpat. Nullam feugiat placerat ipsum eget malesuada. Nulla facilisis nunc non dolor vehicula pretium. Sed dui magna, sodales id pharetra non, ullamcorper eu sapien. Mauris ac consectetur leo. Mauris consequat, lectus ut bibendum pulvinar, leo magna feugiat enim, eu commodo lacus sem vel ante. Sed tempus metus eget leo mollis vulputate. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos.</p> <p>Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Sed pulvinar rhoncus quam, vel semper tellus viverra id. Nulla rutrum porttitor odio, a rutrum purus gravida non. Etiam ac purus augue, eget vestibulum purus. Aenean venenatis ullamcorper augue, non consequat elit tempor sed. Donec velit sapien, volutpat sed ultricies egestas, semper a ante. Fusce dapibus, quam eget auctor suscipit, nibh leo posuere ante, at auctor nisi lacus in sem. Morbi interdum consectetur euismod. Cras accumsan est lacus. Nulla eleifend, eros vel consequat commodo, arcu nunc malesuada nunc, quis sagittis felis sem ac turpis.</p> <p>Nulla rhoncus elementum convallis. Mauris condimentum aliquet egestas. Ut iaculis nisi eget tellus accumsan venenatis. Maecenas imperdiet aliquam porta. Aenean ultrices dolor sed quam laoreet varius. Curabitur condimentum blandit erat, quis accumsan eros interdum vitae. Curabitur ligula arcu, sollicitudin vitae iaculis sed, blandit sit amet enim. Morbi ullamcorper, metus vel mollis tristique, arcu turpis malesuada nisi, at dignissim lorem odio a orci. Proin ultrices, ipsum ut vestibulum interdum, libero felis auctor mi, vitae convallis nisl justo ac tellus. Integer nec lacinia turpis. Etiam massa nisl, rhoncus quis rutrum in, pretium eu leo. Proin a velit ut nulla laoreet vestibulum. Curabitur eu elit vitae felis auctor tincidunt. Curabitur tincidunt, metus sed sollicitudin cursus, quam elit commodo erat, ut tempor erat sapien vitae velit. Morbi nec viverra erat.</p> <p>Nullam scelerisque facilisis pretium. Vivamus lectus leo, commodo ac sagittis ac, dictum a mi. Donec quis massa ut libero malesuada commodo in et risus. Fusce nunc dolor, aliquet vel rutrum in, molestie sit amet massa. Aliquam suscipit, justo a commodo condimentum, enim sapien fringilla ante, sed lobortis orci lectus in ante. Donec vel interdum est. Donec placerat cursus lacus, eu ultricies nisl tincidunt a. Fusce libero risus, sagittis eleifend iaculis aliquet, condimentum vitae diam. Suspendisse potenti. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Proin leo purus, sodales a venenatis luctus, faucibus ac enim. Sed id metus ac sem lobortis pretium. Mauris faucibus tempor scelerisque. Nunc vulputate interdum tortor, non tincidunt dui condimentum eget. Aenean in porttitor velit. Nam accumsan rhoncus risus id consectetur.</p> </div> <pre class="prettyprint"> $('#testDiv2').slimscroll({ disableFadeOut: true }); </pre> </div> <script type="text/javascript"> $(function(){ $('#testDiv').slimscroll(); $('#testDiv2').slimscroll({ disableFadeOut: true }); }); </script> <script type="text/javascript"> //enable syntax highlighter prettyPrint(); var _gaq = _gaq || []; _gaq.push(['_setAccount', 'UA-3112455-22']); _gaq.push(['_setDomainName', 'none']); _gaq.push(['_trackPageview']); (function() { var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true; ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js'; var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s); })(); </script> </body> </html>
emiliano-pisano/noica
bower_components/jquery-slimscroll/examples/disable-fade-out.html
HTML
mit
24,064
!function (name, context, definition) { if (typeof require === "function" && typeof exports === "object" && typeof module === "object") module.exports = definition(name, context); else if (typeof define === 'function' && typeof define.amd === 'object') define(definition); else context[name] = definition(name, context); }('chai', this, function (name, context) { function require(p) { var path = require.resolve(p) , mod = require.modules[path]; if (!mod) throw new Error('failed to require "' + p + '"'); if (!mod.exports) { mod.exports = {}; mod.call(mod.exports, mod, mod.exports, require.relative(path)); } return mod.exports; } require.modules = {}; require.resolve = function (path) { var orig = path , reg = path + '.js' , index = path + '/index.js'; return require.modules[reg] && reg || require.modules[index] && index || orig; }; require.register = function (path, fn) { require.modules[path] = fn; }; require.relative = function (parent) { return function(p){ if ('.' != p[0]) return require(p); var path = parent.split('/') , segs = p.split('/'); path.pop(); for (var i = 0; i < segs.length; i++) { var seg = segs[i]; if ('..' == seg) path.pop(); else if ('.' != seg) path.push(seg); } return require(path.join('/')); }; }; require.alias = function (from, to) { var fn = require.modules[from]; require.modules[to] = fn; }; require.register("chai.js", function(module, exports, require){ /*! * chai * Copyright(c) 2011-2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ var used = [] , exports = module.exports = {}; /*! * Chai version */ exports.version = '1.1.1'; /*! * Primary `Assertion` prototype */ exports.Assertion = require('./chai/assertion'); /*! * Assertion Error */ exports.AssertionError = require('./chai/browser/error'); /*! * Utils for plugins (not exported) */ var util = require('./chai/utils'); /** * # .use(function) * * Provides a way to extend the internals of Chai * * @param {Function} * @returns {this} for chaining * @api public */ exports.use = function (fn) { if (!~used.indexOf(fn)) { fn(this, util); used.push(fn); } return this; }; /*! * Core Assertions */ var core = require('./chai/core/assertions'); exports.use(core); /*! * Expect interface */ var expect = require('./chai/interface/expect'); exports.use(expect); /*! * Should interface */ var should = require('./chai/interface/should'); exports.use(should); /*! * Assert interface */ var assert = require('./chai/interface/assert'); exports.use(assert); }); // module: chai.js require.register("chai/assertion.js", function(module, exports, require){ /*! * chai * http://chaijs.com * Copyright(c) 2011-2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /*! * Module dependencies. */ var AssertionError = require('./browser/error') , util = require('./utils') , flag = util.flag; /*! * Module export. */ module.exports = Assertion; /*! * Assertion Constructor * * Creates object for chaining. * * @api private */ function Assertion (obj, msg, stack) { flag(this, 'ssfi', stack || arguments.callee); flag(this, 'object', obj); flag(this, 'message', msg); } /*! * ### Assertion.includeStack * * User configurable property, influences whether stack trace * is included in Assertion error message. Default of false * suppresses stack trace in the error message * * Assertion.includeStack = true; // enable stack on error * * @api public */ Assertion.includeStack = false; Assertion.addProperty = function (name, fn) { util.addProperty(this.prototype, name, fn); }; Assertion.addMethod = function (name, fn) { util.addMethod(this.prototype, name, fn); }; Assertion.addChainableMethod = function (name, fn, chainingBehavior) { util.addChainableMethod(this.prototype, name, fn, chainingBehavior); }; Assertion.overwriteProperty = function (name, fn) { util.overwriteProperty(this.prototype, name, fn); }; Assertion.overwriteMethod = function (name, fn) { util.overwriteMethod(this.prototype, name, fn); }; /*! * ### .assert(expression, message, negateMessage, expected, actual) * * Executes an expression and check expectations. Throws AssertionError for reporting if test doesn't pass. * * @name assert * @param {Philosophical} expression to be tested * @param {String} message to display if fails * @param {String} negatedMessage to display if negated expression fails * @param {Mixed} expected value (remember to check for negation) * @param {Mixed} actual (optional) will default to `this.obj` * @api private */ Assertion.prototype.assert = function (expr, msg, negateMsg, expected, _actual) { var msg = util.getMessage(this, arguments) , actual = util.getActual(this, arguments) , ok = util.test(this, arguments); if (!ok) { throw new AssertionError({ message: msg , actual: actual , expected: expected , stackStartFunction: (Assertion.includeStack) ? this.assert : flag(this, 'ssfi') }); } }; /*! * ### ._obj * * Quick reference to stored `actual` value for plugin developers. * * @api private */ Object.defineProperty(Assertion.prototype, '_obj', { get: function () { return flag(this, 'object'); } , set: function (val) { flag(this, 'object', val); } }); }); // module: chai/assertion.js require.register("chai/core/assertions.js", function(module, exports, require){ /*! * chai * http://chaijs.com * Copyright(c) 2011-2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ module.exports = function (chai, _) { var Assertion = chai.Assertion , toString = Object.prototype.toString , flag = _.flag; /** * ### Language Chains * * The following are provide as chainable getters to * improve the readability of your assertions. They * do not provide an testing capability unless they * have been overwritten by a plugin. * * **Chains** * * - to * - be * - been * - is * - that * - and * - have * - with * * @name language chains * @api public */ [ 'to', 'be', 'been' , 'is', 'and', 'have' , 'with', 'that' ].forEach(function (chain) { Assertion.addProperty(chain, function () { return this; }); }); /** * ### .not * * Negates any of assertions following in the chain. * * expect(foo).to.not.equal('bar'); * expect(goodFn).to.not.throw(Error); * expect({ foo: 'baz' }).to.have.property('foo') * .and.not.equal('bar'); * * @name not * @api public */ Assertion.addProperty('not', function () { flag(this, 'negate', true); }); /** * ### .deep * * Sets the `deep` flag, later used by the `equal` and * `property` assertions. * * expect(foo).to.deep.equal({ bar: 'baz' }); * expect({ foo: { bar: { baz: 'quux' } } }) * .to.have.deep.property('foo.bar.baz', 'quux'); * * @name deep * @api public */ Assertion.addProperty('deep', function () { flag(this, 'deep', true); }); /** * ### .a(type) * * The `a` and `an` assertions are aliases that can be * used either as language chains or to assert a value's * type (as revealed by `Object.prototype.toString`). * * // typeof * expect('test').to.be.a('string'); * expect({ foo: 'bar' }).to.be.an('object'); * expect(null).to.be.a('null'); * expect(undefined).to.be.an('undefined'); * * // language chain * expect(foo).to.be.an.instanceof(Foo); * * @name a * @alias an * @param {String} type * @api public */ function an(type) { var obj = flag(this, 'object') , klassStart = type.charAt(0).toUpperCase() , klass = klassStart + type.slice(1) , article = ~[ 'A', 'E', 'I', 'O', 'U' ].indexOf(klassStart) ? 'an ' : 'a '; this.assert( '[object ' + klass + ']' === toString.call(obj) , 'expected #{this} to be ' + article + type , 'expected #{this} not to be ' + article + type ); } Assertion.addChainableMethod('an', an); Assertion.addChainableMethod('a', an); /** * ### .include(value) * * The `include` and `contain` assertions can be used as either property * based language chains or as methods to assert the inclusion of an object * in an array or a substring in a string. When used as language chains, * they toggle the `contain` flag for the `keys` assertion. * * expect([1,2,3]).to.include(2); * expect('foobar').to.contain('foo'); * expect({ foo: 'bar', hello: 'universe' }).to.include.keys('foo'); * * @name include * @alias contain * @param {Object|String|Number} obj * @api public */ function includeChainingBehavior () { flag(this, 'contains', true); } function include (val) { var obj = flag(this, 'object') this.assert( ~obj.indexOf(val) , 'expected #{this} to include ' + _.inspect(val) , 'expected #{this} to not include ' + _.inspect(val)); } Assertion.addChainableMethod('include', include, includeChainingBehavior); Assertion.addChainableMethod('contain', include, includeChainingBehavior); /** * ### .ok * * Asserts that the target is truthy. * * expect('everthing').to.be.ok; * expect(1).to.be.ok; * expect(false).to.not.be.ok; * expect(undefined).to.not.be.ok; * expect(null).to.not.be.ok; * * @name ok * @api public */ Assertion.addProperty('ok', function () { this.assert( flag(this, 'object') , 'expected #{this} to be truthy' , 'expected #{this} to be falsy'); }); /** * ### .true * * Asserts that the target is `true`. * * expect(true).to.be.true; * expect(1).to.not.be.true; * * @name true * @api public */ Assertion.addProperty('true', function () { this.assert( true === flag(this, 'object') , 'expected #{this} to be true' , 'expected #{this} to be false' , this.negate ? false : true ); }); /** * ### .false * * Asserts that the target is `false`. * * expect(false).to.be.false; * expect(0).to.not.be.false; * * @name false * @api public */ Assertion.addProperty('false', function () { this.assert( false === flag(this, 'object') , 'expected #{this} to be false' , 'expected #{this} to be true' , this.negate ? true : false ); }); /** * ### .null * * Asserts that the target is `null`. * * expect(null).to.be.null; * expect(undefined).not.to.be.null; * * @name null * @api public */ Assertion.addProperty('null', function () { this.assert( null === flag(this, 'object') , 'expected #{this} to be null' , 'expected #{this} not to be null' ); }); /** * ### .undefined * * Asserts that the target is `undefined`. * * expect(undefined).to.be.undefined; * expect(null).to.not.be.undefined; * * @name undefined * @api public */ Assertion.addProperty('undefined', function () { this.assert( undefined === flag(this, 'object') , 'expected #{this} to be undefined' , 'expected #{this} not to be undefined' ); }); /** * ### .exist * * Asserts that the target is neither `null` nor `undefined`. * * var foo = 'hi' * , bar = null * , baz; * * expect(foo).to.exist; * expect(bar).to.not.exist; * expect(baz).to.not.exist; * * @name exist * @api public */ Assertion.addProperty('exist', function () { this.assert( null != flag(this, 'object') , 'expected #{this} to exist' , 'expected #{this} to not exist' ); }); /** * ### .empty * * Asserts that the target's length is `0`. For arrays, it checks * the `length` property. For objects, it gets the count of * enumerable keys. * * expect([]).to.be.empty; * expect('').to.be.empty; * expect({}).to.be.empty; * * @name empty * @api public */ Assertion.addProperty('empty', function () { var obj = flag(this, 'object') , expected = obj; if (Array.isArray(obj) || 'string' === typeof object) { expected = obj.length; } else if (typeof obj === 'object') { expected = Object.keys(obj).length; } this.assert( !expected , 'expected #{this} to be empty' , 'expected #{this} not to be empty' ); }); /** * ### .arguments * * Asserts that the target is an arguments object. * * function test () { * expect(arguments).to.be.arguments; * } * * @name arguments * @alias Arguments * @api public */ function checkArguments () { var obj = flag(this, 'object') , type = Object.prototype.toString.call(obj); this.assert( '[object Arguments]' === type , 'expected #{this} to be arguments but got ' + type , 'expected #{this} to not be arguments' ); } Assertion.addProperty('arguments', checkArguments); Assertion.addProperty('Arguments', checkArguments); /** * ### .equal(value) * * Asserts that the target is strictly equal (`===`) to `value`. * Alternately, if the `deep` flag is set, asserts that * the target is deeply equal to `value`. * * expect('hello').to.equal('hello'); * expect(42).to.equal(42); * expect(1).to.not.equal(true); * expect({ foo: 'bar' }).to.not.equal({ foo: 'bar' }); * expect({ foo: 'bar' }).to.deep.equal({ foo: 'bar' }); * * @name equal * @alias equals * @alias eq * @alias deep.equal * @param {Mixed} value * @api public */ function assertEqual (val) { var obj = flag(this, 'object'); if (flag(this, 'deep')) { return this.eql(val); } else { this.assert( val === obj , 'expected #{this} to equal #{exp}' , 'expected #{this} to not equal #{exp}' , val ); } } Assertion.addMethod('equal', assertEqual); Assertion.addMethod('equals', assertEqual); Assertion.addMethod('eq', assertEqual); /** * ### .eql(value) * * Asserts that the target is deeply equal to `value`. * * expect({ foo: 'bar' }).to.eql({ foo: 'bar' }); * expect([ 1, 2, 3 ]).to.eql([ 1, 2, 3 ]); * * @name eql * @param {Mixed} value * @api public */ Assertion.addMethod('eql', function (obj) { this.assert( _.eql(obj, flag(this, 'object')) , 'expected #{this} to deeply equal #{exp}' , 'expected #{this} to not deeply equal #{exp}' , obj ); }); /** * ### .above(value) * * Asserts that the target is greater than `value`. * * expect(10).to.be.above(5); * * Can also be used in conjunction with `length` to * assert a minimum length. The benefit being a * more informative error message than if the length * was supplied directly. * * expect('foo').to.have.length.above(2); * expect([ 1, 2, 3 ]).to.have.length.above(2); * * @name above * @alias gt * @alias greaterThan * @param {Number} value * @api public */ function assertAbove (n) { var obj = flag(this, 'object'); if (flag(this, 'doLength')) { new Assertion(obj).to.have.property('length'); var len = obj.length; this.assert( len > n , 'expected #{this} to have a length above #{exp} but got #{act}' , 'expected #{this} to not have a length above #{exp}' , n , len ); } else { this.assert( obj > n , 'expected #{this} to be above ' + n , 'expected #{this} to be below ' + n ); } } Assertion.addMethod('above', assertAbove); Assertion.addMethod('gt', assertAbove); Assertion.addMethod('greaterThan', assertAbove); /** * ### .below(value) * * Asserts that the target is less than `value`. * * expect(5).to.be.below(10); * * Can also be used in conjunction with `length` to * assert a maximum length. The benefit being a * more informative error message than if the length * was supplied directly. * * expect('foo').to.have.length.below(4); * expect([ 1, 2, 3 ]).to.have.length.below(4); * * @name below * @alias lt * @alias lessThan * @param {Number} value * @api public */ function assertBelow (n) { var obj = flag(this, 'object'); if (flag(this, 'doLength')) { new Assertion(obj).to.have.property('length'); var len = obj.length; this.assert( len < n , 'expected #{this} to have a length below #{exp} but got #{act}' , 'expected #{this} to not have a length below #{exp}' , n , len ); } else { this.assert( obj < n , 'expected #{this} to be below ' + n , 'expected #{this} to be above ' + n ); } } Assertion.addMethod('below', assertBelow); Assertion.addMethod('lt', assertBelow); Assertion.addMethod('lessThan', assertBelow); /** * ### .within(start, finish) * * Asserts that the target is within a range. * * expect(7).to.be.within(5,10); * * Can also be used in conjunction with `length` to * assert a length range. The benefit being a * more informative error message than if the length * was supplied directly. * * expect('foo').to.have.length.within(2,4); * expect([ 1, 2, 3 ]).to.have.length.within(2,4); * * @name within * @param {Number} start lowerbound inclusive * @param {Number} finish upperbound inclusive * @api public */ Assertion.addMethod('within', function (start, finish) { var obj = flag(this, 'object') , range = start + '..' + finish; if (flag(this, 'doLength')) { new Assertion(obj).to.have.property('length'); var len = obj.length; this.assert( len >= start && len <= finish , 'expected #{this} to have a length within ' + range , 'expected #{this} to not have a length within ' + range ); } else { this.assert( obj >= start && obj <= finish , 'expected #{this} to be within ' + range , 'expected #{this} to not be within ' + range ); } }); /** * ### .instanceof(constructor) * * Asserts that the target is an instance of `constructor`. * * var Tea = function (name) { this.name = name; } * , Chai = new Tea('chai'); * * expect(Chai).to.be.an.instanceof(Tea); * expect([ 1, 2, 3 ]).to.be.instanceof(Array); * * @name instanceof * @param {Constructor} constructor * @alias instanceOf * @api public */ function assertInstanceOf (constructor) { var name = _.getName(constructor); this.assert( flag(this, 'object') instanceof constructor , 'expected #{this} to be an instance of ' + name , 'expected #{this} to not be an instance of ' + name ); }; Assertion.addMethod('instanceof', assertInstanceOf); Assertion.addMethod('instanceOf', assertInstanceOf); /** * ### .property(name, [value]) * * Asserts that the target has a property `name`, optionally asserting that * the value of that property is strictly equal to `value`. * If the `deep` flag is set, you can use dot- and bracket-notation for deep * references into objects and arrays. * * // simple referencing * var obj = { foo: 'bar' }; * expect(obj).to.have.property('foo'); * expect(obj).to.have.property('foo', 'bar'); * * // deep referencing * var deepObj = { * green: { tea: 'matcha' } * , teas: [ 'chai', 'matcha', { tea: 'konacha' } ] * }; * expect(deepObj).to.have.deep.property('green.tea', 'matcha'); * expect(deepObj).to.have.deep.property('teas[1]', 'matcha'); * expect(deepObj).to.have.deep.property('teas[2].tea', 'konacha'); * * You can also use an array as the starting point of a `deep.property` * assertion, or traverse nested arrays. * * var arr = [ * [ 'chai', 'matcha', 'konacha' ] * , [ { tea: 'chai' } * , { tea: 'matcha' } * , { tea: 'konacha' } ] * ]; * * expect(arr).to.have.deep.property('[0][1]', 'matcha'); * expect(arr).to.have.deep.property('[1][2].tea', 'konacha'); * * Furthermore, `property` changes the subject of the assertion * to be the value of that property from the original object. This * permits for further chainable assertions on that property. * * expect(obj).to.have.property('foo') * .that.is.a('string'); * expect(deepObj).to.have.property('green') * .that.is.an('object') * .that.deep.equals({ tea: 'matcha' }); * expect(deepObj).to.have.property('teas') * .that.is.an('array') * .with.deep.property('[2]') * .that.deep.equals({ tea: 'konacha' }); * * @name property * @alias deep.property * @param {String} name * @param {Mixed} value (optional) * @returns value of property for chaining * @api public */ Assertion.addMethod('property', function (name, val) { var obj = flag(this, 'object') , value = flag(this, 'deep') ? _.getPathValue(name, obj) : obj[name] , descriptor = flag(this, 'deep') ? 'deep property ' : 'property ' , negate = flag(this, 'negate'); if (negate && undefined !== val) { if (undefined === value) { throw new Error(_.inspect(obj) + ' has no ' + descriptor + _.inspect(name)); } } else { this.assert( undefined !== value , 'expected #{this} to have a ' + descriptor + _.inspect(name) , 'expected #{this} to not have ' + descriptor + _.inspect(name)); } if (undefined !== val) { this.assert( val === value , 'expected #{this} to have a ' + descriptor + _.inspect(name) + ' of #{exp}, but got #{act}' , 'expected #{this} to not have a ' + descriptor + _.inspect(name) + ' of #{act}' , val , value ); } flag(this, 'object', value); }); /** * ### .ownProperty(name) * * Asserts that the target has an own property `name`. * * expect('test').to.have.ownProperty('length'); * * @name ownProperty * @alias haveOwnProperty * @param {String} name * @api public */ function assertOwnProperty (name) { var obj = flag(this, 'object'); this.assert( obj.hasOwnProperty(name) , 'expected #{this} to have own property ' + _.inspect(name) , 'expected #{this} to not have own property ' + _.inspect(name) ); } Assertion.addMethod('ownProperty', assertOwnProperty); Assertion.addMethod('haveOwnProperty', assertOwnProperty); /** * ### .length(value) * * Asserts that the target's `length` property has * the expected value. * * expect([ 1, 2, 3]).to.have.length(3); * expect('foobar').to.have.length(6); * * Can also be used as a chain precursor to a value * comparison for the length property. * * expect('foo').to.have.length.above(2); * expect([ 1, 2, 3 ]).to.have.length.above(2); * expect('foo').to.have.length.below(4); * expect([ 1, 2, 3 ]).to.have.length.below(4); * expect('foo').to.have.length.within(2,4); * expect([ 1, 2, 3 ]).to.have.length.within(2,4); * * @name length * @alias lengthOf * @param {Number} length * @api public */ function assertLengthChain () { flag(this, 'doLength', true); } function assertLength (n) { var obj = flag(this, 'object'); new Assertion(obj).to.have.property('length'); var len = obj.length; this.assert( len == n , 'expected #{this} to have a length of #{exp} but got #{act}' , 'expected #{this} to not have a length of #{act}' , n , len ); } Assertion.addChainableMethod('length', assertLength, assertLengthChain); Assertion.addMethod('lengthOf', assertLength, assertLengthChain); /** * ### .match(regexp) * * Asserts that the target matches a regular expression. * * expect('foobar').to.match(/^foo/); * * @name match * @param {RegExp} RegularExpression * @api public */ Assertion.addMethod('match', function (re) { var obj = flag(this, 'object'); this.assert( re.exec(obj) , 'expected #{this} to match ' + re , 'expected #{this} not to match ' + re ); }); /** * ### .string(string) * * Asserts that the string target contains another string. * * expect('foobar').to.have.string('bar'); * * @name string * @param {String} string * @api public */ Assertion.addMethod('string', function (str) { var obj = flag(this, 'object'); new Assertion(obj).is.a('string'); this.assert( ~obj.indexOf(str) , 'expected #{this} to contain ' + _.inspect(str) , 'expected #{this} to not contain ' + _.inspect(str) ); }); /** * ### .keys(key1, [key2], [...]) * * Asserts that the target has exactly the given keys, or * asserts the inclusion of some keys when using the * `include` or `contain` modifiers. * * expect({ foo: 1, bar: 2 }).to.have.keys(['foo', 'bar']); * expect({ foo: 1, bar: 2, baz: 3 }).to.contain.keys('foo', 'bar'); * * @name keys * @alias key * @param {String...|Array} keys * @api public */ function assertKeys (keys) { var obj = flag(this, 'object') , str , ok = true; keys = keys instanceof Array ? keys : Array.prototype.slice.call(arguments); if (!keys.length) throw new Error('keys required'); var actual = Object.keys(obj) , len = keys.length; // Inclusion ok = keys.every(function(key){ return ~actual.indexOf(key); }); // Strict if (!flag(this, 'negate') && !flag(this, 'contains')) { ok = ok && keys.length == actual.length; } // Key string if (len > 1) { keys = keys.map(function(key){ return _.inspect(key); }); var last = keys.pop(); str = keys.join(', ') + ', and ' + last; } else { str = _.inspect(keys[0]); } // Form str = (len > 1 ? 'keys ' : 'key ') + str; // Have / include str = (flag(this, 'contains') ? 'contain ' : 'have ') + str; // Assertion this.assert( ok , 'expected #{this} to ' + str , 'expected #{this} to not ' + str ); } Assertion.addMethod('keys', assertKeys); Assertion.addMethod('key', assertKeys); /** * ### .throw(constructor) * * Asserts that the function target will throw a specific error, or specific type of error * (as determined using `instanceof`), optionally with a RegExp or string inclusion test * for the error's message. * * var err = new ReferenceError('This is a bad function.'); * var fn = function () { throw err; } * expect(fn).to.throw(ReferenceError); * expect(fn).to.throw(Error); * expect(fn).to.throw(/bad function/); * expect(fn).to.not.throw('good function'); * expect(fn).to.throw(ReferenceError, /bad function/); * expect(fn).to.throw(err); * expect(fn).to.not.throw(new RangeError('Out of range.')); * * Please note that when a throw expectation is negated, it will check each * parameter independently, starting with error constructor type. The appropriate way * to check for the existence of a type of error but for a message that does not match * is to use `and`. * * expect(fn).to.throw(ReferenceError) * .and.not.throw(/good function/); * * @name throw * @alias throws * @alias Throw * @param {ErrorConstructor} constructor * @see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Error#Error_types * @api public */ function assertThrows (constructor, msg) { var obj = flag(this, 'object'); new Assertion(obj).is.a('function'); var thrown = false , desiredError = null , name = null; if (arguments.length === 0) { msg = null; constructor = null; } else if (constructor && (constructor instanceof RegExp || 'string' === typeof constructor)) { msg = constructor; constructor = null; } else if (constructor && constructor instanceof Error) { desiredError = constructor; constructor = null; msg = null; } else if (typeof constructor === 'function') { name = (new constructor()).name; } else { constructor = null; } try { obj(); } catch (err) { // first, check desired error if (desiredError) { this.assert( err === desiredError , 'expected #{this} to throw ' + _.inspect(desiredError) + ' but ' + _.inspect(err) + ' was thrown' , 'expected #{this} to not throw ' + _.inspect(desiredError) ); return this; } // next, check constructor if (constructor) { this.assert( err instanceof constructor , 'expected #{this} to throw ' + name + ' but a ' + err.name + ' was thrown' , 'expected #{this} to not throw ' + name ); if (!msg) return this; } // next, check message if (err.message && msg && msg instanceof RegExp) { this.assert( msg.exec(err.message) , 'expected #{this} to throw error matching ' + msg + ' but got ' + _.inspect(err.message) , 'expected #{this} to throw error not matching ' + msg ); return this; } else if (err.message && msg && 'string' === typeof msg) { this.assert( ~err.message.indexOf(msg) , 'expected #{this} to throw error including #{exp} but got #{act}' , 'expected #{this} to throw error not including #{act}' , msg , err.message ); return this; } else { thrown = true; } } var expectedThrown = name ? name : desiredError ? _.inspect(desiredError) : 'an error'; this.assert( thrown === true , 'expected #{this} to throw ' + expectedThrown , 'expected #{this} to not throw ' + expectedThrown ); }; Assertion.addMethod('throw', assertThrows); Assertion.addMethod('throws', assertThrows); Assertion.addMethod('Throw', assertThrows); /** * ### .respondTo(method) * * Asserts that the object or class target will respond to a method. * * Klass.prototype.bar = function(){}; * expect(Klass).to.respondTo('bar'); * expect(obj).to.respondTo('bar'); * * To check if a constructor will respond to a static function, * set the `itself` flag. * * Klass.baz = function(){}; * expect(Klass).itself.to.respondTo('baz'); * * @name respondTo * @param {String} method * @api public */ Assertion.addMethod('respondTo', function (method) { var obj = flag(this, 'object') , itself = flag(this, 'itself') , context = ('function' === typeof obj && !itself) ? obj.prototype[method] : obj[method]; this.assert( 'function' === typeof context , 'expected #{this} to respond to ' + _.inspect(method) , 'expected #{this} to not respond to ' + _.inspect(method) ); }); /** * ### .itself * * Sets the `itself` flag, later used by the `respondTo` assertion. * * function Foo() {} * Foo.bar = function() {} * Foo.prototype.baz = function() {} * * expect(Foo).itself.to.respondTo('bar'); * expect(Foo).itself.not.to.respondTo('baz'); * * @name itself * @api public */ Assertion.addProperty('itself', function () { flag(this, 'itself', true); }); /** * ### .satisfy(method) * * Asserts that the target passes a given truth test. * * expect(1).to.satisfy(function(num) { return num > 0; }); * * @name satisfy * @param {Function} matcher * @api public */ Assertion.addMethod('satisfy', function (matcher) { var obj = flag(this, 'object'); this.assert( matcher(obj) , 'expected #{this} to satisfy ' + _.inspect(matcher) , 'expected #{this} to not satisfy' + _.inspect(matcher) , this.negate ? false : true , matcher(obj) ); }); /** * ### .closeTo(expected, delta) * * Asserts that the target is equal `expected`, to within a +/- `delta` range. * * expect(1.5).to.be.closeTo(1, 0.5); * * @name closeTo * @param {Number} expected * @param {Number} delta * @api public */ Assertion.addMethod('closeTo', function (expected, delta) { var obj = flag(this, 'object'); this.assert( Math.abs(obj - expected) <= delta , 'expected #{this} to be close to ' + expected + ' +/- ' + delta , 'expected #{this} not to be close to ' + expected + ' +/- ' + delta ); }); }; }); // module: chai/core/assertions.js require.register("chai/browser/error.js", function(module, exports, require){ /*! * chai * Copyright(c) 2011-2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ module.exports = AssertionError; function AssertionError (options) { options = options || {}; this.message = options.message; this.actual = options.actual; this.expected = options.expected; this.operator = options.operator; if (options.stackStartFunction && Error.captureStackTrace) { var stackStartFunction = options.stackStartFunction; Error.captureStackTrace(this, stackStartFunction); } } AssertionError.prototype = Object.create(Error.prototype); AssertionError.prototype.name = 'AssertionError'; AssertionError.prototype.constructor = AssertionError; AssertionError.prototype.toString = function() { return this.message; }; }); // module: chai/browser/error.js require.register("chai/interface/assert.js", function(module, exports, require){ /*! * chai * Copyright(c) 2011-2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ module.exports = function (chai, util) { /*! * Chai dependencies. */ var Assertion = chai.Assertion , flag = util.flag; /*! * Module export. */ /** * ### assert(expression, message) * * Write your own test expressions. * * assert('foo' !== 'bar', 'foo is not bar'); * assert(Array.isArray([]), 'empty arrays are arrays'); * * @param {Mixed} expression to test for truthiness * @param {String} message to display on error * @name assert * @api public */ var assert = chai.assert = function (express, errmsg) { var test = new Assertion(null); test.assert( express , errmsg , '[ negation message unavailable ]' ); }; /** * ### .fail(actual, expected, [message], [operator]) * * Throw a failure. Node.js `assert` module-compatible. * * @name fail * @param {Mixed} actual * @param {Mixed} expected * @param {String} message * @param {String} operator * @api public */ assert.fail = function (actual, expected, message, operator) { throw new chai.AssertionError({ actual: actual , expected: expected , message: message , operator: operator , stackStartFunction: assert.fail }); }; /** * ### .ok(object, [message]) * * Asserts that `object` is truthy. * * assert.ok('everything', 'everything is ok'); * assert.ok(false, 'this will fail'); * * @name ok * @param {Mixed} object to test * @param {String} message * @api public */ assert.ok = function (val, msg) { new Assertion(val, msg).is.ok; }; /** * ### .equal(actual, expected, [message]) * * Asserts non-strict equality (`==`) of `actual` and `expected`. * * assert.equal(3, '3', '== coerces values to strings'); * * @name equal * @param {Mixed} actual * @param {Mixed} expected * @param {String} message * @api public */ assert.equal = function (act, exp, msg) { var test = new Assertion(act, msg); test.assert( exp == flag(test, 'object') , 'expected #{this} to equal #{exp}' , 'expected #{this} to not equal #{act}' , exp , act ); }; /** * ### .notEqual(actual, expected, [message]) * * Asserts non-strict inequality (`!=`) of `actual` and `expected`. * * assert.notEqual(3, 4, 'these numbers are not equal'); * * @name notEqual * @param {Mixed} actual * @param {Mixed} expected * @param {String} message * @api public */ assert.notEqual = function (act, exp, msg) { var test = new Assertion(act, msg); test.assert( exp != flag(test, 'object') , 'expected #{this} to not equal #{exp}' , 'expected #{this} to equal #{act}' , exp , act ); }; /** * ### .strictEqual(actual, expected, [message]) * * Asserts strict equality (`===`) of `actual` and `expected`. * * assert.strictEqual(true, true, 'these booleans are strictly equal'); * * @name strictEqual * @param {Mixed} actual * @param {Mixed} expected * @param {String} message * @api public */ assert.strictEqual = function (act, exp, msg) { new Assertion(act, msg).to.equal(exp); }; /** * ### .notStrictEqual(actual, expected, [message]) * * Asserts strict inequality (`!==`) of `actual` and `expected`. * * assert.notStrictEqual(3, '3', 'no coercion for strict equality'); * * @name notStrictEqual * @param {Mixed} actual * @param {Mixed} expected * @param {String} message * @api public */ assert.notStrictEqual = function (act, exp, msg) { new Assertion(act, msg).to.not.equal(exp); }; /** * ### .deepEqual(actual, expected, [message]) * * Asserts that `actual` is deeply equal to `expected`. * * assert.deepEqual({ tea: 'green' }, { tea: 'green' }); * * @name deepEqual * @param {Mixed} actual * @param {Mixed} expected * @param {String} message * @api public */ assert.deepEqual = function (act, exp, msg) { new Assertion(act, msg).to.eql(exp); }; /** * ### .notDeepEqual(actual, expected, [message]) * * Assert that `actual` is not deeply equal to `expected`. * * assert.notDeepEqual({ tea: 'green' }, { tea: 'jasmine' }); * * @name notDeepEqual * @param {Mixed} actual * @param {Mixed} expected * @param {String} message * @api public */ assert.notDeepEqual = function (act, exp, msg) { new Assertion(act, msg).to.not.eql(exp); }; /** * ### .isTrue(value, [message]) * * Asserts that `value` is true. * * var teaServed = true; * assert.isTrue(teaServed, 'the tea has been served'); * * @name isTrue * @param {Mixed} value * @param {String} message * @api public */ assert.isTrue = function (val, msg) { new Assertion(val, msg).is['true']; }; /** * ### .isFalse(value, [message]) * * Asserts that `value` is false. * * var teaServed = false; * assert.isFalse(teaServed, 'no tea yet? hmm...'); * * @name isFalse * @param {Mixed} value * @param {String} message * @api public */ assert.isFalse = function (val, msg) { new Assertion(val, msg).is['false']; }; /** * ### .isNull(value, [message]) * * Asserts that `value` is null. * * assert.isNull(err, 'there was no error'); * * @name isNull * @param {Mixed} value * @param {String} message * @api public */ assert.isNull = function (val, msg) { new Assertion(val, msg).to.equal(null); }; /** * ### .isNotNull(value, [message]) * * Asserts that `value` is not null. * * var tea = 'tasty chai'; * assert.isNotNull(tea, 'great, time for tea!'); * * @name isNotNull * @param {Mixed} value * @param {String} message * @api public */ assert.isNotNull = function (val, msg) { new Assertion(val, msg).to.not.equal(null); }; /** * ### .isUndefined(value, [message]) * * Asserts that `value` is `undefined`. * * var tea; * assert.isUndefined(tea, 'no tea defined'); * * @name isUndefined * @param {Mixed} value * @param {String} message * @api public */ assert.isUndefined = function (val, msg) { new Assertion(val, msg).to.equal(undefined); }; /** * ### .isDefined(value, [message]) * * Asserts that `value` is not `undefined`. * * var tea = 'cup of chai'; * assert.isDefined(tea, 'tea has been defined'); * * @name isUndefined * @param {Mixed} value * @param {String} message * @api public */ assert.isDefined = function (val, msg) { new Assertion(val, msg).to.not.equal(undefined); }; /** * ### .isFunction(value, [message]) * * Asserts that `value` is a function. * * function serveTea() { return 'cup of tea'; }; * assert.isFunction(serveTea, 'great, we can have tea now'); * * @name isFunction * @param {Mixed} value * @param {String} message * @api public */ assert.isFunction = function (val, msg) { new Assertion(val, msg).to.be.a('function'); }; /** * ### .isNotFunction(value, [message]) * * Asserts that `value` is _not_ a function. * * var serveTea = [ 'heat', 'pour', 'sip' ]; * assert.isNotFunction(serveTea, 'great, we have listed the steps'); * * @name isNotFunction * @param {Mixed} value * @param {String} message * @api public */ assert.isNotFunction = function (val, msg) { new Assertion(val, msg).to.not.be.a('function'); }; /** * ### .isObject(value, [message]) * * Asserts that `value` is an object (as revealed by * `Object.prototype.toString`). * * var selection = { name: 'Chai', serve: 'with spices' }; * assert.isObject(selection, 'tea selection is an object'); * * @name isObject * @param {Mixed} value * @param {String} message * @api public */ assert.isObject = function (val, msg) { new Assertion(val, msg).to.be.a('object'); }; /** * ### .isNotObject(value, [message]) * * Asserts that `value` is _not_ an object. * * var selection = 'chai' * assert.isObject(selection, 'tea selection is not an object'); * assert.isObject(null, 'null is not an object'); * * @name isNotObject * @param {Mixed} value * @param {String} message * @api public */ assert.isNotObject = function (val, msg) { new Assertion(val, msg).to.not.be.a('object'); }; /** * ### .isArray(value, [message]) * * Asserts that `value` is an array. * * var menu = [ 'green', 'chai', 'oolong' ]; * assert.isArray(menu, 'what kind of tea do we want?'); * * @name isArray * @param {Mixed} value * @param {String} message * @api public */ assert.isArray = function (val, msg) { new Assertion(val, msg).to.be.an('array'); }; /** * ### .isNotArray(value, [message]) * * Asserts that `value` is _not_ an array. * * var menu = 'green|chai|oolong'; * assert.isNotArray(menu, 'what kind of tea do we want?'); * * @name isNotArray * @param {Mixed} value * @param {String} message * @api public */ assert.isNotArray = function (val, msg) { new Assertion(val, msg).to.not.be.an('array'); }; /** * ### .isString(value, [message]) * * Asserts that `value` is a string. * * var teaOrder = 'chai'; * assert.isString(teaOrder, 'order placed'); * * @name isString * @param {Mixed} value * @param {String} message * @api public */ assert.isString = function (val, msg) { new Assertion(val, msg).to.be.a('string'); }; /** * ### .isNotString(value, [message]) * * Asserts that `value` is _not_ a string. * * var teaOrder = 4; * assert.isNotString(teaOrder, 'order placed'); * * @name isNotString * @param {Mixed} value * @param {String} message * @api public */ assert.isNotString = function (val, msg) { new Assertion(val, msg).to.not.be.a('string'); }; /** * ### .isNumber(value, [message]) * * Asserts that `value` is a number. * * var cups = 2; * assert.isNumber(cups, 'how many cups'); * * @name isNumber * @param {Number} value * @param {String} message * @api public */ assert.isNumber = function (val, msg) { new Assertion(val, msg).to.be.a('number'); }; /** * ### .isNotNumber(value, [message]) * * Asserts that `value` is _not_ a number. * * var cups = '2 cups please'; * assert.isNotNumber(cups, 'how many cups'); * * @name isNotNumber * @param {Mixed} value * @param {String} message * @api public */ assert.isNotNumber = function (val, msg) { new Assertion(val, msg).to.not.be.a('number'); }; /** * ### .isBoolean(value, [message]) * * Asserts that `value` is a boolean. * * var teaReady = true * , teaServed = false; * * assert.isBoolean(teaReady, 'is the tea ready'); * assert.isBoolean(teaServed, 'has tea been served'); * * @name isBoolean * @param {Mixed} value * @param {String} message * @api public */ assert.isBoolean = function (val, msg) { new Assertion(val, msg).to.be.a('boolean'); }; /** * ### .isNotBoolean(value, [message]) * * Asserts that `value` is _not_ a boolean. * * var teaReady = 'yep' * , teaServed = 'nope'; * * assert.isNotBoolean(teaReady, 'is the tea ready'); * assert.isNotBoolean(teaServed, 'has tea been served'); * * @name isNotBoolean * @param {Mixed} value * @param {String} message * @api public */ assert.isNotBoolean = function (val, msg) { new Assertion(val, msg).to.not.be.a('boolean'); }; /** * ### .typeOf(value, name, [message]) * * Asserts that `value`'s type is `name`, as determined by * `Object.prototype.toString`. * * assert.typeOf({ tea: 'chai' }, 'object', 'we have an object'); * assert.typeOf(['chai', 'jasmine'], 'array', 'we have an array'); * assert.typeOf('tea', 'string', 'we have a string'); * assert.typeOf(/tea/, 'regexp', 'we have a regular expression'); * assert.typeOf(null, 'null', 'we have a null'); * assert.typeOf(undefined, 'undefined', 'we have an undefined'); * * @name typeOf * @param {Mixed} value * @param {String} name * @param {String} message * @api public */ assert.typeOf = function (val, type, msg) { new Assertion(val, msg).to.be.a(type); }; /** * ### .notTypeOf(value, name, [message]) * * Asserts that `value`'s type is _not_ `name`, as determined by * `Object.prototype.toString`. * * assert.notTypeOf('tea', 'number', 'strings are not numbers'); * * @name notTypeOf * @param {Mixed} value * @param {String} typeof name * @param {String} message * @api public */ assert.notTypeOf = function (val, type, msg) { new Assertion(val, msg).to.not.be.a(type); }; /** * ### .instanceOf(object, constructor, [message]) * * Asserts that `value` is an instance of `constructor`. * * var Tea = function (name) { this.name = name; } * , chai = new Tea('chai'); * * assert.instanceOf(chai, Tea, 'chai is an instance of tea'); * * @name instanceOf * @param {Object} object * @param {Constructor} constructor * @param {String} message * @api public */ assert.instanceOf = function (val, type, msg) { new Assertion(val, msg).to.be.instanceOf(type); }; /** * ### .notInstanceOf(object, constructor, [message]) * * Asserts `value` is not an instance of `constructor`. * * var Tea = function (name) { this.name = name; } * , chai = new String('chai'); * * assert.notInstanceOf(chai, Tea, 'chai is not an instance of tea'); * * @name notInstanceOf * @param {Object} object * @param {Constructor} constructor * @param {String} message * @api public */ assert.notInstanceOf = function (val, type, msg) { new Assertion(val, msg).to.not.be.instanceOf(type); }; /** * ### .include(haystack, needle, [message]) * * Asserts that `haystack` includes `needle`. Works * for strings and arrays. * * assert.include('foobar', 'bar', 'foobar contains string "bar"'); * assert.include([ 1, 2, 3 ], 3, 'array contains value'); * * @name include * @param {Array|String} haystack * @param {Mixed} needle * @param {String} message * @api public */ assert.include = function (exp, inc, msg) { var obj = new Assertion(exp, msg); if (Array.isArray(exp)) { obj.to.include(inc); } else if ('string' === typeof exp) { obj.to.contain.string(inc); } }; /** * ### .match(value, regexp, [message]) * * Asserts that `value` matches the regular expression `regexp`. * * assert.match('foobar', /^foo/, 'regexp matches'); * * @name match * @param {Mixed} value * @param {RegExp} regexp * @param {String} message * @api public */ assert.match = function (exp, re, msg) { new Assertion(exp, msg).to.match(re); }; /** * ### .notMatch(value, regexp, [message]) * * Asserts that `value` does not match the regular expression `regexp`. * * assert.notMatch('foobar', /^foo/, 'regexp does not match'); * * @name notMatch * @param {Mixed} value * @param {RegExp} regexp * @param {String} message * @api public */ assert.notMatch = function (exp, re, msg) { new Assertion(exp, msg).to.not.match(re); }; /** * ### .property(object, property, [message]) * * Asserts that `object` has a property named by `property`. * * assert.property({ tea: { green: 'matcha' }}, 'tea'); * * @name property * @param {Object} object * @param {String} property * @param {String} message * @api public */ assert.property = function (obj, prop, msg) { new Assertion(obj, msg).to.have.property(prop); }; /** * ### .notProperty(object, property, [message]) * * Asserts that `object` does _not_ have a property named by `property`. * * assert.notProperty({ tea: { green: 'matcha' }}, 'coffee'); * * @name notProperty * @param {Object} object * @param {String} property * @param {String} message * @api public */ assert.notProperty = function (obj, prop, msg) { new Assertion(obj, msg).to.not.have.property(prop); }; /** * ### .deepProperty(object, property, [message]) * * Asserts that `object` has a property named by `property`, which can be a * string using dot- and bracket-notation for deep reference. * * assert.deepProperty({ tea: { green: 'matcha' }}, 'tea.green'); * * @name deepProperty * @param {Object} object * @param {String} property * @param {String} message * @api public */ assert.deepProperty = function (obj, prop, msg) { new Assertion(obj, msg).to.have.deep.property(prop); }; /** * ### .notDeepProperty(object, property, [message]) * * Asserts that `object` does _not_ have a property named by `property`, which * can be a string using dot- and bracket-notation for deep reference. * * assert.notDeepProperty({ tea: { green: 'matcha' }}, 'tea.oolong'); * * @name notDeepProperty * @param {Object} object * @param {String} property * @param {String} message * @api public */ assert.notDeepProperty = function (obj, prop, msg) { new Assertion(obj, msg).to.not.have.deep.property(prop); }; /** * ### .propertyVal(object, property, value, [message]) * * Asserts that `object` has a property named by `property` with value given * by `value`. * * assert.propertyVal({ tea: 'is good' }, 'tea', 'is good'); * * @name propertyVal * @param {Object} object * @param {String} property * @param {Mixed} value * @param {String} message * @api public */ assert.propertyVal = function (obj, prop, val, msg) { new Assertion(obj, msg).to.have.property(prop, val); }; /** * ### .propertyNotVal(object, property, value, [message]) * * Asserts that `object` has a property named by `property`, but with a value * different from that given by `value`. * * assert.propertyNotVal({ tea: 'is good' }, 'tea', 'is bad'); * * @name propertyNotVal * @param {Object} object * @param {String} property * @param {Mixed} value * @param {String} message * @api public */ assert.propertyNotVal = function (obj, prop, val, msg) { new Assertion(obj, msg).to.not.have.property(prop, val); }; /** * ### .deepPropertyVal(object, property, value, [message]) * * Asserts that `object` has a property named by `property` with value given * by `value`. `property` can use dot- and bracket-notation for deep * reference. * * assert.deepPropertyVal({ tea: { green: 'matcha' }}, 'tea.green', 'matcha'); * * @name deepPropertyVal * @param {Object} object * @param {String} property * @param {Mixed} value * @param {String} message * @api public */ assert.deepPropertyVal = function (obj, prop, val, msg) { new Assertion(obj, msg).to.have.deep.property(prop, val); }; /** * ### .deepPropertyNotVal(object, property, value, [message]) * * Asserts that `object` has a property named by `property`, but with a value * different from that given by `value`. `property` can use dot- and * bracket-notation for deep reference. * * assert.deepPropertyNotVal({ tea: { green: 'matcha' }}, 'tea.green', 'konacha'); * * @name deepPropertyNotVal * @param {Object} object * @param {String} property * @param {Mixed} value * @param {String} message * @api public */ assert.deepPropertyNotVal = function (obj, prop, val, msg) { new Assertion(obj, msg).to.not.have.deep.property(prop, val); }; /** * ### .lengthOf(object, length, [message]) * * Asserts that `object` has a `length` property with the expected value. * * assert.lengthOf([1,2,3], 3, 'array has length of 3'); * assert.lengthOf('foobar', 5, 'string has length of 6'); * * @name lengthOf * @param {Mixed} object * @param {Number} length * @param {String} message * @api public */ assert.lengthOf = function (exp, len, msg) { new Assertion(exp, msg).to.have.length(len); }; /** * ### .throws(function, [constructor/regexp], [message]) * * Asserts that `function` will throw an error that is an instance of * `constructor`, or alternately that it will throw an error with message * matching `regexp`. * * assert.throw(fn, ReferenceError, 'function throws a reference error'); * * @name throws * @alias throw * @alias Throw * @param {Function} function * @param {ErrorConstructor} constructor * @param {RegExp} regexp * @param {String} message * @see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Error#Error_types * @api public */ assert.Throw = function (fn, type, msg) { if ('string' === typeof type) { msg = type; type = null; } new Assertion(fn, msg).to.Throw(type); }; /** * ### .doesNotThrow(function, [constructor/regexp], [message]) * * Asserts that `function` will _not_ throw an error that is an instance of * `constructor`, or alternately that it will not throw an error with message * matching `regexp`. * * assert.doesNotThrow(fn, Error, 'function does not throw'); * * @name doesNotThrow * @param {Function} function * @param {ErrorConstructor} constructor * @param {RegExp} regexp * @param {String} message * @see https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Error#Error_types * @api public */ assert.doesNotThrow = function (fn, type, msg) { if ('string' === typeof type) { msg = type; type = null; } new Assertion(fn, msg).to.not.Throw(type); }; /** * ### .operator(val1, operator, val2, [message]) * * Compares two values using `operator`. * * assert.operator(1, '<', 2, 'everything is ok'); * assert.operator(1, '>', 2, 'this will fail'); * * @name operator * @param {Mixed} val1 * @param {String} operator * @param {Mixed} val2 * @param {String} message * @api public */ assert.operator = function (val, operator, val2, msg) { if (!~['==', '===', '>', '>=', '<', '<=', '!=', '!=='].indexOf(operator)) { throw new Error('Invalid operator "' + operator + '"'); } var test = new Assertion(eval(val + operator + val2), msg); test.assert( true === flag(test, 'object') , 'expected ' + util.inspect(val) + ' to be ' + operator + ' ' + util.inspect(val2) , 'expected ' + util.inspect(val) + ' to not be ' + operator + ' ' + util.inspect(val2) ); }; /*! * Undocumented / untested */ assert.ifError = function (val, msg) { new Assertion(val, msg).to.not.be.ok; }; /*! * Aliases. */ (function alias(name, as){ assert[as] = assert[name]; return alias; }) ('Throw', 'throw') ('Throw', 'throws'); }; }); // module: chai/interface/assert.js require.register("chai/interface/expect.js", function(module, exports, require){ /*! * chai * Copyright(c) 2011-2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ module.exports = function (chai, util) { chai.expect = function (val, message) { return new chai.Assertion(val, message); }; }; }); // module: chai/interface/expect.js require.register("chai/interface/should.js", function(module, exports, require){ /*! * chai * Copyright(c) 2011-2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ module.exports = function (chai, util) { var Assertion = chai.Assertion; function loadShould () { // modify Object.prototype to have `should` Object.defineProperty(Object.prototype, 'should', { set: function () {} , get: function(){ if (this instanceof String || this instanceof Number) { return new Assertion(this.constructor(this)); } else if (this instanceof Boolean) { return new Assertion(this == true); } return new Assertion(this); } , configurable: true }); var should = {}; should.equal = function (val1, val2) { new Assertion(val1).to.equal(val2); }; should.Throw = function (fn, errt, errs) { new Assertion(fn).to.Throw(errt, errs); }; should.exist = function (val) { new Assertion(val).to.exist; } // negation should.not = {} should.not.equal = function (val1, val2) { new Assertion(val1).to.not.equal(val2); }; should.not.Throw = function (fn, errt, errs) { new Assertion(fn).to.not.Throw(errt, errs); }; should.not.exist = function (val) { new Assertion(val).to.not.exist; } should['throw'] = should['Throw']; should.not['throw'] = should.not['Throw']; return should; }; chai.should = loadShould; chai.Should = loadShould; }; }); // module: chai/interface/should.js require.register("chai/utils/addChainableMethod.js", function(module, exports, require){ /*! * Chai - addChainingMethod utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /*! * Module dependencies */ var transferFlags = require('./transferFlags'); /** * ### addChainableMethod (ctx, name, method, chainingBehavior) * * Adds a method to an object, such that the method can also be chained. * * utils.addChainableMethod(chai.Assertion.prototype, 'foo', function (str) { * var obj = utils.flag(this, 'object'); * new chai.Assertion(obj).to.be.equal(str); * }); * * Can also be accessed directly from `chai.Assertion`. * * chai.Assertion.addChainableMethod('foo', fn, chainingBehavior); * * The result can then be used as both a method assertion, executing both `method` and * `chainingBehavior`, or as a language chain, which only executes `chainingBehavior`. * * expect(fooStr).to.be.foo('bar'); * expect(fooStr).to.be.foo.equal('foo'); * * @param {Object} ctx object to which the method is added * @param {String} name of method to add * @param {Function} method function to be used for `name`, when called * @param {Function} chainingBehavior function to be called every time the property is accessed * @name addChainableMethod * @api public */ module.exports = function (ctx, name, method, chainingBehavior) { if (typeof chainingBehavior !== 'function') chainingBehavior = function () { }; Object.defineProperty(ctx, name, { get: function () { chainingBehavior.call(this); var assert = function () { var result = method.apply(this, arguments); return result === undefined ? this : result; }; // Re-enumerate every time to better accomodate plugins. var asserterNames = Object.getOwnPropertyNames(ctx); asserterNames.forEach(function (asserterName) { var pd = Object.getOwnPropertyDescriptor(ctx, asserterName) , functionProtoPD = Object.getOwnPropertyDescriptor(Function.prototype, asserterName); // Avoid trying to overwrite things that we can't, like `length` and `arguments`. if (functionProtoPD && !functionProtoPD.configurable) return; if (asserterName === 'arguments') return; // @see chaijs/chai/issues/69 Object.defineProperty(assert, asserterName, pd); }); transferFlags(this, assert); return assert; } , configurable: true }); }; }); // module: chai/utils/addChainableMethod.js require.register("chai/utils/addMethod.js", function(module, exports, require){ /*! * Chai - addMethod utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /** * ### addMethod (ctx, name, method) * * Adds a method to the prototype of an object. * * utils.addMethod(chai.Assertion.prototype, 'foo', function (str) { * var obj = utils.flag(this, 'object'); * new chai.Assertion(obj).to.be.equal(str); * }); * * Can also be accessed directly from `chai.Assertion`. * * chai.Assertion.addMethod('foo', fn); * * Then can be used as any other assertion. * * expect(fooStr).to.be.foo('bar'); * * @param {Object} ctx object to which the method is added * @param {String} name of method to add * @param {Function} method function to be used for name * @name addMethod * @api public */ module.exports = function (ctx, name, method) { ctx[name] = function () { var result = method.apply(this, arguments); return result === undefined ? this : result; }; }; }); // module: chai/utils/addMethod.js require.register("chai/utils/addProperty.js", function(module, exports, require){ /*! * Chai - addProperty utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /** * ### addProperty (ctx, name, getter) * * Adds a property to the prototype of an object. * * utils.addProperty(chai.Assertion.prototype, 'foo', function () { * var obj = utils.flag(this, 'object'); * new chai.Assertion(obj).to.be.instanceof(Foo); * }); * * Can also be accessed directly from `chai.Assertion`. * * chai.Assertion.addProperty('foo', fn); * * Then can be used as any other assertion. * * expect(myFoo).to.be.foo; * * @param {Object} ctx object to which the property is added * @param {String} name of property to add * @param {Function} getter function to be used for name * @name addProperty * @api public */ module.exports = function (ctx, name, getter) { Object.defineProperty(ctx, name, { get: function () { var result = getter.call(this); return result === undefined ? this : result; } , configurable: true }); }; }); // module: chai/utils/addProperty.js require.register("chai/utils/eql.js", function(module, exports, require){ // This is directly from Node.js assert // https://github.com/joyent/node/blob/f8c335d0caf47f16d31413f89aa28eda3878e3aa/lib/assert.js module.exports = _deepEqual; // For browser implementation if (!Buffer) { var Buffer = { isBuffer: function () { return false; } }; } function _deepEqual(actual, expected) { // 7.1. All identical values are equivalent, as determined by ===. if (actual === expected) { return true; } else if (Buffer.isBuffer(actual) && Buffer.isBuffer(expected)) { if (actual.length != expected.length) return false; for (var i = 0; i < actual.length; i++) { if (actual[i] !== expected[i]) return false; } return true; // 7.2. If the expected value is a Date object, the actual value is // equivalent if it is also a Date object that refers to the same time. } else if (actual instanceof Date && expected instanceof Date) { return actual.getTime() === expected.getTime(); // 7.3. Other pairs that do not both pass typeof value == 'object', // equivalence is determined by ==. } else if (typeof actual != 'object' && typeof expected != 'object') { return actual === expected; // 7.4. For all other Object pairs, including Array objects, equivalence is // determined by having the same number of owned properties (as verified // with Object.prototype.hasOwnProperty.call), the same set of keys // (although not necessarily the same order), equivalent values for every // corresponding key, and an identical 'prototype' property. Note: this // accounts for both named and indexed properties on Arrays. } else { return objEquiv(actual, expected); } } function isUndefinedOrNull(value) { return value === null || value === undefined; } function isArguments(object) { return Object.prototype.toString.call(object) == '[object Arguments]'; } function objEquiv(a, b) { if (isUndefinedOrNull(a) || isUndefinedOrNull(b)) return false; // an identical 'prototype' property. if (a.prototype !== b.prototype) return false; //~~~I've managed to break Object.keys through screwy arguments passing. // Converting to array solves the problem. if (isArguments(a)) { if (!isArguments(b)) { return false; } a = pSlice.call(a); b = pSlice.call(b); return _deepEqual(a, b); } try { var ka = Object.keys(a), kb = Object.keys(b), key, i; } catch (e) {//happens when one is a string literal and the other isn't return false; } // having the same number of owned properties (keys incorporates // hasOwnProperty) if (ka.length != kb.length) return false; //the same set of keys (although not necessarily the same order), ka.sort(); kb.sort(); //~~~cheap key test for (i = ka.length - 1; i >= 0; i--) { if (ka[i] != kb[i]) return false; } //equivalent values for every corresponding key, and //~~~possibly expensive deep test for (i = ka.length - 1; i >= 0; i--) { key = ka[i]; if (!_deepEqual(a[key], b[key])) return false; } return true; } }); // module: chai/utils/eql.js require.register("chai/utils/flag.js", function(module, exports, require){ /*! * Chai - flag utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /** * ### flag(object ,key, [value]) * * Get or set a flag value on an object. If a * value is provided it will be set, else it will * return the currently set value or `undefined` if * the value is not set. * * utils.flag(this, 'foo', 'bar'); // setter * utils.flag(this, 'foo'); // getter, returns `bar` * * @param {Object} object (constructed Assertion * @param {String} key * @param {Mixed} value (optional) * @name flag * @api private */ module.exports = function (obj, key, value) { var flags = obj.__flags || (obj.__flags = Object.create(null)); if (arguments.length === 3) { flags[key] = value; } else { return flags[key]; } }; }); // module: chai/utils/flag.js require.register("chai/utils/getActual.js", function(module, exports, require){ /*! * Chai - getActual utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /** * # getActual(object, [actual]) * * Returns the `actual` value for an Assertion * * @param {Object} object (constructed Assertion) * @param {Arguments} chai.Assertion.prototype.assert arguments */ module.exports = function (obj, args) { var actual = args[4]; return 'undefined' !== actual ? actual : obj.obj; }; }); // module: chai/utils/getActual.js require.register("chai/utils/getMessage.js", function(module, exports, require){ /*! * Chai - message composition utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /*! * Module dependancies */ var flag = require('./flag') , getActual = require('./getActual') , inspect = require('./inspect'); /** * # getMessage(object, message, negateMessage) * * Construct the error message based on flags * and template tags. Template tags will return * a stringified inspection of the object referenced. * * Messsage template tags: * - `#{this}` current asserted object * - `#{act}` actual value * - `#{exp}` expected value * * @param {Object} object (constructed Assertion) * @param {Arguments} chai.Assertion.prototype.assert arguments */ module.exports = function (obj, args) { var negate = flag(obj, 'negate') , val = flag(obj, 'object') , expected = args[3] , actual = getActual(obj, args) , msg = negate ? args[2] : args[1] , flagMsg = flag(obj, 'message'); msg = msg || ''; msg = msg .replace(/#{this}/g, inspect(val)) .replace(/#{act}/g, inspect(actual)) .replace(/#{exp}/g, inspect(expected)); return flagMsg ? flagMsg + ': ' + msg : msg; }; }); // module: chai/utils/getMessage.js require.register("chai/utils/getName.js", function(module, exports, require){ /*! * Chai - getName utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /** * # getName(func) * * Gets the name of a function, in a cross-browser way. * * @param {Function} a function (usually a constructor) */ module.exports = function (func) { if (func.name) return func.name; var match = /^\s?function ([^(]*)\(/.exec(func); return match && match[1] ? match[1] : ""; }; }); // module: chai/utils/getName.js require.register("chai/utils/getPathValue.js", function(module, exports, require){ /*! * Chai - getPathValue utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * @see https://github.com/logicalparadox/filtr * MIT Licensed */ /** * ### .getPathValue(path, object) * * This allows the retrieval of values in an * object given a string path. * * var obj = { * prop1: { * arr: ['a', 'b', 'c'] * , str: 'Hello' * } * , prop2: { * arr: [ { nested: 'Universe' } ] * , str: 'Hello again!' * } * } * * The following would be the results. * * getPathValue('prop1.str', obj); // Hello * getPathValue('prop1.att[2]', obj); // b * getPathValue('prop2.arr[0].nested', obj); // Universe * * @param {String} path * @param {Object} object * @returns {Object} value or `undefined` * @name getPathValue * @api public */ var getPathValue = module.exports = function (path, obj) { var parsed = parsePath(path); return _getPathValue(parsed, obj); }; /*! * ## parsePath(path) * * Helper function used to parse string object * paths. Use in conjunction with `_getPathValue`. * * var parsed = parsePath('myobject.property.subprop'); * * ### Paths: * * * Can be as near infinitely deep and nested * * Arrays are also valid using the formal `myobject.document[3].property`. * * @param {String} path * @returns {Object} parsed * @api private */ function parsePath (path) { var str = path.replace(/\[/g, '.[') , parts = str.match(/(\\\.|[^.]+?)+/g); return parts.map(function (value) { var re = /\[(\d+)\]$/ , mArr = re.exec(value) if (mArr) return { i: parseFloat(mArr[1]) }; else return { p: value }; }); }; /*! * ## _getPathValue(parsed, obj) * * Helper companion function for `.parsePath` that returns * the value located at the parsed address. * * var value = getPathValue(parsed, obj); * * @param {Object} parsed definition from `parsePath`. * @param {Object} object to search against * @returns {Object|Undefined} value * @api private */ function _getPathValue (parsed, obj) { var tmp = obj , res; for (var i = 0, l = parsed.length; i < l; i++) { var part = parsed[i]; if (tmp) { if ('undefined' !== typeof part.p) tmp = tmp[part.p]; else if ('undefined' !== typeof part.i) tmp = tmp[part.i]; if (i == (l - 1)) res = tmp; } else { res = undefined; } } return res; }; }); // module: chai/utils/getPathValue.js require.register("chai/utils/index.js", function(module, exports, require){ /*! * chai * Copyright(c) 2011 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /*! * Main exports */ var exports = module.exports = {}; /*! * test utility */ exports.test = require('./test'); /*! * message utility */ exports.getMessage = require('./getMessage'); /*! * actual utility */ exports.getActual = require('./getActual'); /*! * Inspect util */ exports.inspect = require('./inspect'); /*! * Flag utility */ exports.flag = require('./flag'); /*! * Flag transferring utility */ exports.transferFlags = require('./transferFlags'); /*! * Deep equal utility */ exports.eql = require('./eql'); /*! * Deep path value */ exports.getPathValue = require('./getPathValue'); /*! * Function name */ exports.getName = require('./getName'); /*! * add Property */ exports.addProperty = require('./addProperty'); /*! * add Method */ exports.addMethod = require('./addMethod'); /*! * overwrite Property */ exports.overwriteProperty = require('./overwriteProperty'); /*! * overwrite Method */ exports.overwriteMethod = require('./overwriteMethod'); /*! * Add a chainable method */ exports.addChainableMethod = require('./addChainableMethod'); }); // module: chai/utils/index.js require.register("chai/utils/inspect.js", function(module, exports, require){ // This is (almost) directly from Node.js utils // https://github.com/joyent/node/blob/f8c335d0caf47f16d31413f89aa28eda3878e3aa/lib/util.js var getName = require('./getName'); module.exports = inspect; /** * Echos the value of a value. Trys to print the value out * in the best way possible given the different types. * * @param {Object} obj The object to print out. * @param {Boolean} showHidden Flag that shows hidden (not enumerable) * properties of objects. * @param {Number} depth Depth in which to descend in object. Default is 2. * @param {Boolean} colors Flag to turn on ANSI escape codes to color the * output. Default is false (no coloring). */ function inspect(obj, showHidden, depth, colors) { var ctx = { showHidden: showHidden, seen: [], stylize: function (str) { return str; } }; return formatValue(ctx, obj, (typeof depth === 'undefined' ? 2 : depth)); } function formatValue(ctx, value, recurseTimes) { // Provide a hook for user-specified inspect functions. // Check that value is an object with an inspect function on it if (value && typeof value.inspect === 'function' && // Filter out the util module, it's inspect function is special value.inspect !== exports.inspect && // Also filter out any prototype objects using the circular check. !(value.constructor && value.constructor.prototype === value)) { return value.inspect(recurseTimes); } // Primitive types cannot have properties var primitive = formatPrimitive(ctx, value); if (primitive) { return primitive; } // Look up the keys of the object. var visibleKeys = Object.keys(value); var keys = ctx.showHidden ? Object.getOwnPropertyNames(value) : visibleKeys; // Some type of object without properties can be shortcutted. // In IE, errors have a single `stack` property, or if they are vanilla `Error`, // a `stack` plus `description` property; ignore those for consistency. if (keys.length === 0 || (isError(value) && ( (keys.length === 1 && keys[0] === 'stack') || (keys.length === 2 && keys[0] === 'description' && keys[1] === 'stack') ))) { if (typeof value === 'function') { var name = getName(value); var nameSuffix = name ? ': ' + name : ''; return ctx.stylize('[Function' + nameSuffix + ']', 'special'); } if (isRegExp(value)) { return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); } if (isDate(value)) { return ctx.stylize(Date.prototype.toUTCString.call(value), 'date'); } if (isError(value)) { return formatError(value); } } var base = '', array = false, braces = ['{', '}']; // Make Array say that they are Array if (isArray(value)) { array = true; braces = ['[', ']']; } // Make functions say that they are functions if (typeof value === 'function') { var name = getName(value); var nameSuffix = name ? ': ' + name : ''; base = ' [Function' + nameSuffix + ']'; } // Make RegExps say that they are RegExps if (isRegExp(value)) { base = ' ' + RegExp.prototype.toString.call(value); } // Make dates with properties first say the date if (isDate(value)) { base = ' ' + Date.prototype.toUTCString.call(value); } // Make error with message first say the error if (isError(value)) { return formatError(value); } if (keys.length === 0 && (!array || value.length == 0)) { return braces[0] + base + braces[1]; } if (recurseTimes < 0) { if (isRegExp(value)) { return ctx.stylize(RegExp.prototype.toString.call(value), 'regexp'); } else { return ctx.stylize('[Object]', 'special'); } } ctx.seen.push(value); var output; if (array) { output = formatArray(ctx, value, recurseTimes, visibleKeys, keys); } else { output = keys.map(function(key) { return formatProperty(ctx, value, recurseTimes, visibleKeys, key, array); }); } ctx.seen.pop(); return reduceToSingleString(output, base, braces); } function formatPrimitive(ctx, value) { switch (typeof value) { case 'undefined': return ctx.stylize('undefined', 'undefined'); case 'string': var simple = '\'' + JSON.stringify(value).replace(/^"|"$/g, '') .replace(/'/g, "\\'") .replace(/\\"/g, '"') + '\''; return ctx.stylize(simple, 'string'); case 'number': return ctx.stylize('' + value, 'number'); case 'boolean': return ctx.stylize('' + value, 'boolean'); } // For some reason typeof null is "object", so special case here. if (value === null) { return ctx.stylize('null', 'null'); } } function formatError(value) { return '[' + Error.prototype.toString.call(value) + ']'; } function formatArray(ctx, value, recurseTimes, visibleKeys, keys) { var output = []; for (var i = 0, l = value.length; i < l; ++i) { if (Object.prototype.hasOwnProperty.call(value, String(i))) { output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, String(i), true)); } else { output.push(''); } } keys.forEach(function(key) { if (!key.match(/^\d+$/)) { output.push(formatProperty(ctx, value, recurseTimes, visibleKeys, key, true)); } }); return output; } function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) { var name, str; if (value.__lookupGetter__) { if (value.__lookupGetter__(key)) { if (value.__lookupSetter__(key)) { str = ctx.stylize('[Getter/Setter]', 'special'); } else { str = ctx.stylize('[Getter]', 'special'); } } else { if (value.__lookupSetter__(key)) { str = ctx.stylize('[Setter]', 'special'); } } } if (visibleKeys.indexOf(key) < 0) { name = '[' + key + ']'; } if (!str) { if (ctx.seen.indexOf(value[key]) < 0) { if (recurseTimes === null) { str = formatValue(ctx, value[key], null); } else { str = formatValue(ctx, value[key], recurseTimes - 1); } if (str.indexOf('\n') > -1) { if (array) { str = str.split('\n').map(function(line) { return ' ' + line; }).join('\n').substr(2); } else { str = '\n' + str.split('\n').map(function(line) { return ' ' + line; }).join('\n'); } } } else { str = ctx.stylize('[Circular]', 'special'); } } if (typeof name === 'undefined') { if (array && key.match(/^\d+$/)) { return str; } name = JSON.stringify('' + key); if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) { name = name.substr(1, name.length - 2); name = ctx.stylize(name, 'name'); } else { name = name.replace(/'/g, "\\'") .replace(/\\"/g, '"') .replace(/(^"|"$)/g, "'"); name = ctx.stylize(name, 'string'); } } return name + ': ' + str; } function reduceToSingleString(output, base, braces) { var numLinesEst = 0; var length = output.reduce(function(prev, cur) { numLinesEst++; if (cur.indexOf('\n') >= 0) numLinesEst++; return prev + cur.length + 1; }, 0); if (length > 60) { return braces[0] + (base === '' ? '' : base + '\n ') + ' ' + output.join(',\n ') + ' ' + braces[1]; } return braces[0] + base + ' ' + output.join(', ') + ' ' + braces[1]; } function isArray(ar) { return Array.isArray(ar) || (typeof ar === 'object' && objectToString(ar) === '[object Array]'); } function isRegExp(re) { return typeof re === 'object' && objectToString(re) === '[object RegExp]'; } function isDate(d) { return typeof d === 'object' && objectToString(d) === '[object Date]'; } function isError(e) { return typeof e === 'object' && objectToString(e) === '[object Error]'; } function objectToString(o) { return Object.prototype.toString.call(o); } }); // module: chai/utils/inspect.js require.register("chai/utils/overwriteMethod.js", function(module, exports, require){ /*! * Chai - overwriteMethod utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /** * ### overwriteMethod (ctx, name, fn) * * Overwites an already existing method and provides * access to previous function. Must return function * to be used for name. * * utils.overwriteMethod(chai.Assertion.prototype, 'equal', function (_super) { * return function (str) { * var obj = utils.flag(this, 'object'); * if (obj instanceof Foo) { * new chai.Assertion(obj.value).to.equal(str); * } else { * _super.apply(this, arguments); * } * } * }); * * Can also be accessed directly from `chai.Assertion`. * * chai.Assertion.overwriteMethod('foo', fn); * * Then can be used as any other assertion. * * expect(myFoo).to.equal('bar'); * * @param {Object} ctx object whose method is to be overwritten * @param {String} name of method to overwrite * @param {Function} method function that returns a function to be used for name * @name overwriteMethod * @api public */ module.exports = function (ctx, name, method) { var _method = ctx[name] , _super = function () { return this; }; if (_method && 'function' === typeof _method) _super = _method; ctx[name] = function () { var result = method(_super).apply(this, arguments); return result === undefined ? this : result; } }; }); // module: chai/utils/overwriteMethod.js require.register("chai/utils/overwriteProperty.js", function(module, exports, require){ /*! * Chai - overwriteProperty utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /** * ### overwriteProperty (ctx, name, fn) * * Overwites an already existing property getter and provides * access to previous value. Must return function to use as getter. * * utils.overwriteProperty(chai.Assertion.prototype, 'ok', function (_super) { * return function () { * var obj = utils.flag(this, 'object'); * if (obj instanceof Foo) { * new chai.Assertion(obj.name).to.equal('bar'); * } else { * _super.call(this); * } * } * }); * * * Can also be accessed directly from `chai.Assertion`. * * chai.Assertion.overwriteProperty('foo', fn); * * Then can be used as any other assertion. * * expect(myFoo).to.be.ok; * * @param {Object} ctx object whose property is to be overwritten * @param {String} name of property to overwrite * @param {Function} getter function that returns a getter function to be used for name * @name overwriteProperty * @api public */ module.exports = function (ctx, name, getter) { var _get = Object.getOwnPropertyDescriptor(ctx, name) , _super = function () {}; if (_get && 'function' === typeof _get.get) _super = _get.get Object.defineProperty(ctx, name, { get: function () { var result = getter(_super).call(this); return result === undefined ? this : result; } , configurable: true }); }; }); // module: chai/utils/overwriteProperty.js require.register("chai/utils/test.js", function(module, exports, require){ /*! * Chai - test utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /*! * Module dependancies */ var flag = require('./flag'); /** * # test(object, expression) * * Test and object for expression. * * @param {Object} object (constructed Assertion) * @param {Arguments} chai.Assertion.prototype.assert arguments */ module.exports = function (obj, args) { var negate = flag(obj, 'negate') , expr = args[0]; return negate ? !expr : expr; }; }); // module: chai/utils/test.js require.register("chai/utils/transferFlags.js", function(module, exports, require){ /*! * Chai - transferFlags utility * Copyright(c) 2012 Jake Luer <jake@alogicalparadox.com> * MIT Licensed */ /** * ### transferFlags(assertion, object, includeAll = true) * * Transfer all the flags for `assertion` to `object`. If * `includeAll` is set to `false`, then the base Chai * assertion flags (namely `object`, `ssfi`, and `message`) * will not be transferred. * * * var newAssertion = new Assertion(); * utils.transferFlags(assertion, newAssertion); * * var anotherAsseriton = new Assertion(myObj); * utils.transferFlags(assertion, anotherAssertion, false); * * @param {Assertion} assertion the assertion to transfer the flags from * @param {Object} object the object to transfer the flags too; usually a new assertion * @param {Boolean} includeAll * @name getAllFlags * @api private */ module.exports = function (assertion, object, includeAll) { var flags = assertion.__flags || (assertion.__flags = Object.create(null)); if (!object.__flags) { object.__flags = Object.create(null); } includeAll = arguments.length === 3 ? includeAll : true; for (var flag in flags) { if (includeAll || (flag !== 'object' && flag !== 'ssfi' && flag != 'message')) { object.__flags[flag] = flags[flag]; } } }; }); // module: chai/utils/transferFlags.js require.alias("./chai.js", "chai"); return require('chai'); });
robinskumar73/cdnjs
ajax/libs/chai/1.1.1/chai.js
JavaScript
mit
100,371
YUI.add('dd-drop', function(Y) { /** * Provides the ability to create a Drop Target. * @module dd * @submodule dd-drop */ /** * Provides the ability to create a Drop Target. * @class Drop * @extends Base * @constructor * @namespace DD */ var NODE = 'node', DDM = Y.DD.DDM, OFFSET_HEIGHT = 'offsetHeight', OFFSET_WIDTH = 'offsetWidth', /** * @event drop:over * @description Fires when a drag element is over this target. * @param {EventFacade} event An Event Facade object with the following specific property added: * <dl> * <dt>drop</dt><dd>The drop object at the time of the event.</dd> * <dt>drag</dt><dd>The drag object at the time of the event.</dd> * </dl> * @bubbles DDM * @type {CustomEvent} */ EV_DROP_OVER = 'drop:over', /** * @event drop:enter * @description Fires when a drag element enters this target. * @param {EventFacade} event An Event Facade object with the following specific property added: * <dl> * <dt>drop</dt><dd>The drop object at the time of the event.</dd> * <dt>drag</dt><dd>The drag object at the time of the event.</dd> * </dl> * @bubbles DDM * @type {CustomEvent} */ EV_DROP_ENTER = 'drop:enter', /** * @event drop:exit * @description Fires when a drag element exits this target. * @param {EventFacade} event An Event Facade object * @bubbles DDM * @type {CustomEvent} */ EV_DROP_EXIT = 'drop:exit', /** * @event drop:hit * @description Fires when a draggable node is dropped on this Drop Target. (Fired from dd-ddm-drop) * @param {EventFacade} event An Event Facade object with the following specific property added: * <dl> * <dt>drop</dt><dd>The best guess on what was dropped on.</dd> * <dt>drag</dt><dd>The drag object at the time of the event.</dd> * <dt>others</dt><dd>An array of all the other drop targets that was dropped on.</dd> * </dl> * @bubbles DDM * @type {CustomEvent} */ Drop = function() { this._lazyAddAttrs = false; Drop.superclass.constructor.apply(this, arguments); //DD init speed up. Y.on('domready', Y.bind(function() { Y.later(100, this, this._createShim); }, this)); DDM._regTarget(this); /* TODO if (Dom.getStyle(this.el, 'position') == 'fixed') { Event.on(window, 'scroll', function() { this.activateShim(); }, this, true); } */ }; Drop.NAME = 'drop'; Drop.ATTRS = { /** * @attribute node * @description Y.Node instanace to use as the element to make a Drop Target * @type Node */ node: { setter: function(node) { var n = Y.one(node); if (!n) { Y.error('DD.Drop: Invalid Node Given: ' + node); } return n; } }, /** * @attribute groups * @description Array of groups to add this drop into. * @type Array */ groups: { value: ['default'], setter: function(g) { this._groups = {}; Y.each(g, function(v, k) { this._groups[v] = true; }, this); return g; } }, /** * @attribute padding * @description CSS style padding to make the Drop Target bigger than the node. * @type String */ padding: { value: '0', setter: function(p) { return DDM.cssSizestoObject(p); } }, /** * @attribute lock * @description Set to lock this drop element. * @type Boolean */ lock: { value: false, setter: function(lock) { if (lock) { this.get(NODE).addClass(DDM.CSS_PREFIX + '-drop-locked'); } else { this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop-locked'); } return lock; } }, /** * @deprecated * @attribute bubbles * @description Controls the default bubble parent for this Drop instance. Default: Y.DD.DDM. Set to false to disable bubbling. Use bubbleTargets in config. * @type Object */ bubbles: { setter: function(t) { Y.log('bubbles is deprecated use bubbleTargets: HOST', 'warn', 'dd'); this.addTarget(t); return t; } }, /** * @deprecated * @attribute useShim * @description Use the Drop shim. Default: true * @type Boolean */ useShim: { value: true, setter: function(v) { Y.DD.DDM._noShim = !v; return v; } } }; Y.extend(Drop, Y.Base, { /** * @private * @property _bubbleTargets * @description The default bubbleTarget for this object. Default: Y.DD.DDM */ _bubbleTargets: Y.DD.DDM, /** * @method addToGroup * @description Add this Drop instance to a group, this should be used for on-the-fly group additions. * @param {String} g The group to add this Drop Instance to. * @return {Self} * @chainable */ addToGroup: function(g) { this._groups[g] = true; return this; }, /** * @method removeFromGroup * @description Remove this Drop instance from a group, this should be used for on-the-fly group removals. * @param {String} g The group to remove this Drop Instance from. * @return {Self} * @chainable */ removeFromGroup: function(g) { delete this._groups[g]; return this; }, /** * @private * @method _createEvents * @description This method creates all the events for this Event Target and publishes them so we get Event Bubbling. */ _createEvents: function() { var ev = [ EV_DROP_OVER, EV_DROP_ENTER, EV_DROP_EXIT, 'drop:hit' ]; Y.each(ev, function(v, k) { this.publish(v, { type: v, emitFacade: true, preventable: false, bubbles: true, queuable: false, prefix: 'drop' }); }, this); }, /** * @private * @property _valid * @description Flag for determining if the target is valid in this operation. * @type Boolean */ _valid: null, /** * @private * @property _groups * @description The groups this target belongs to. * @type Array */ _groups: null, /** * @property shim * @description Node reference to the targets shim * @type {Object} */ shim: null, /** * @property region * @description A region object associated with this target, used for checking regions while dragging. * @type Object */ region: null, /** * @property overTarget * @description This flag is tripped when a drag element is over this target. * @type Boolean */ overTarget: null, /** * @method inGroup * @description Check if this target is in one of the supplied groups. * @param {Array} groups The groups to check against * @return Boolean */ inGroup: function(groups) { this._valid = false; var ret = false; Y.each(groups, function(v, k) { if (this._groups[v]) { ret = true; this._valid = true; } }, this); return ret; }, /** * @private * @method initializer * @description Private lifecycle method */ initializer: function(cfg) { Y.later(100, this, this._createEvents); var node = this.get(NODE), id; if (!node.get('id')) { id = Y.stamp(node); node.set('id', id); } node.addClass(DDM.CSS_PREFIX + '-drop'); //Shouldn't have to do this.. this.set('groups', this.get('groups')); }, /** * @private * @method destructor * @description Lifecycle destructor, unreg the drag from the DDM and remove listeners */ destructor: function() { DDM._unregTarget(this); if (this.shim && (this.shim !== this.get(NODE))) { this.shim.detachAll(); this.shim.remove(); this.shim = null; } this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop'); this.detachAll(); }, /** * @private * @method _deactivateShim * @description Removes classes from the target, resets some flags and sets the shims deactive position [-999, -999] */ _deactivateShim: function() { if (!this.shim) { return false; } this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop-active-valid'); this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop-active-invalid'); this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop-over'); if (this.get('useShim')) { this.shim.setStyles({ top: '-999px', left: '-999px', zIndex: '1' }); } this.overTarget = false; }, /** * @private * @method _activateShim * @description Activates the shim and adds some interaction CSS classes */ _activateShim: function() { if (!DDM.activeDrag) { return false; //Nothing is dragging, no reason to activate. } if (this.get(NODE) === DDM.activeDrag.get(NODE)) { return false; } if (this.get('lock')) { return false; } var node = this.get(NODE); //TODO Visibility Check.. //if (this.inGroup(DDM.activeDrag.get('groups')) && this.get(NODE).isVisible()) { if (this.inGroup(DDM.activeDrag.get('groups'))) { node.removeClass(DDM.CSS_PREFIX + '-drop-active-invalid'); node.addClass(DDM.CSS_PREFIX + '-drop-active-valid'); DDM._addValid(this); this.overTarget = false; if (!this.get('useShim')) { this.shim = this.get(NODE); } this.sizeShim(); } else { DDM._removeValid(this); node.removeClass(DDM.CSS_PREFIX + '-drop-active-valid'); node.addClass(DDM.CSS_PREFIX + '-drop-active-invalid'); } }, /** * @method sizeShim * @description Positions and sizes the shim with the raw data from the node, this can be used to programatically adjust the Targets shim for Animation.. */ sizeShim: function() { if (!DDM.activeDrag) { return false; //Nothing is dragging, no reason to activate. } if (this.get(NODE) === DDM.activeDrag.get(NODE)) { return false; } //if (this.get('lock') || !this.get('useShim')) { if (this.get('lock')) { return false; } if (!this.shim) { Y.later(100, this, this.sizeShim); return false; } var node = this.get(NODE), nh = node.get(OFFSET_HEIGHT), nw = node.get(OFFSET_WIDTH), xy = node.getXY(), p = this.get('padding'), dd, dH, dW; //Apply padding nw = nw + p.left + p.right; nh = nh + p.top + p.bottom; xy[0] = xy[0] - p.left; xy[1] = xy[1] - p.top; if (DDM.activeDrag.get('dragMode') === DDM.INTERSECT) { //Intersect Mode, make the shim bigger dd = DDM.activeDrag; dH = dd.get(NODE).get(OFFSET_HEIGHT); dW = dd.get(NODE).get(OFFSET_WIDTH); nh = (nh + dH); nw = (nw + dW); xy[0] = xy[0] - (dW - dd.deltaXY[0]); xy[1] = xy[1] - (dH - dd.deltaXY[1]); } if (this.get('useShim')) { //Set the style on the shim this.shim.setStyles({ height: nh + 'px', width: nw + 'px', top: xy[1] + 'px', left: xy[0] + 'px' }); } //Create the region to be used by intersect when a drag node is over us. this.region = { '0': xy[0], '1': xy[1], area: 0, top: xy[1], right: xy[0] + nw, bottom: xy[1] + nh, left: xy[0] }; }, /** * @private * @method _createShim * @description Creates the Target shim and adds it to the DDM's playground.. */ _createShim: function() { //No playground, defer if (!DDM._pg) { Y.later(10, this, this._createShim); return; } //Shim already here, cancel if (this.shim) { return; } var s = this.get('node'); if (this.get('useShim')) { s = Y.Node.create('<div id="' + this.get(NODE).get('id') + '_shim"></div>'); s.setStyles({ height: this.get(NODE).get(OFFSET_HEIGHT) + 'px', width: this.get(NODE).get(OFFSET_WIDTH) + 'px', backgroundColor: 'yellow', opacity: '.5', zIndex: '1', overflow: 'hidden', top: '-900px', left: '-900px', position: 'absolute' }); DDM._pg.appendChild(s); s.on('mouseover', Y.bind(this._handleOverEvent, this)); s.on('mouseout', Y.bind(this._handleOutEvent, this)); } this.shim = s; }, /** * @private * @method _handleOverTarget * @description This handles the over target call made from this object or from the DDM */ _handleTargetOver: function() { if (DDM.isOverTarget(this)) { this.get(NODE).addClass(DDM.CSS_PREFIX + '-drop-over'); DDM.activeDrop = this; DDM.otherDrops[this] = this; if (this.overTarget) { DDM.activeDrag.fire('drag:over', { drop: this, drag: DDM.activeDrag }); this.fire(EV_DROP_OVER, { drop: this, drag: DDM.activeDrag }); } else { //Prevent an enter before a start.. if (DDM.activeDrag.get('dragging')) { this.overTarget = true; this.fire(EV_DROP_ENTER, { drop: this, drag: DDM.activeDrag }); DDM.activeDrag.fire('drag:enter', { drop: this, drag: DDM.activeDrag }); DDM.activeDrag.get(NODE).addClass(DDM.CSS_PREFIX + '-drag-over'); //TODO - Is this needed?? //DDM._handleTargetOver(); } } } else { this._handleOut(); } }, /** * @private * @method _handleOverEvent * @description Handles the mouseover DOM event on the Target Shim */ _handleOverEvent: function() { this.shim.setStyle('zIndex', '999'); DDM._addActiveShim(this); }, /** * @private * @method _handleOutEvent * @description Handles the mouseout DOM event on the Target Shim */ _handleOutEvent: function() { this.shim.setStyle('zIndex', '1'); DDM._removeActiveShim(this); }, /** * @private * @method _handleOut * @description Handles out of target calls/checks */ _handleOut: function(force) { if (!DDM.isOverTarget(this) || force) { if (this.overTarget) { this.overTarget = false; if (!force) { DDM._removeActiveShim(this); } if (DDM.activeDrag) { this.get(NODE).removeClass(DDM.CSS_PREFIX + '-drop-over'); DDM.activeDrag.get(NODE).removeClass(DDM.CSS_PREFIX + '-drag-over'); this.fire(EV_DROP_EXIT); DDM.activeDrag.fire('drag:exit', { drop: this }); delete DDM.otherDrops[this]; } } } } }); Y.DD.Drop = Drop; }, '@VERSION@' ,{skinnable:false, requires:['dd-ddm-drop', 'dd-drag']});
mscharl/cdnjs
ajax/libs/yui/3.4.1pr1/dd-drop/dd-drop-debug.js
JavaScript
mit
18,258
YUI.add('editor-para', function(Y) { /** * Plugin for Editor to paragraph auto wrapping and correction. * @class Plugin.EditorPara * @extends Base * @constructor * @module editor * @submodule editor-para */ var EditorPara = function() { EditorPara.superclass.constructor.apply(this, arguments); }, HOST = 'host', BODY = 'body', NODE_CHANGE = 'nodeChange', PARENT_NODE = 'parentNode', FIRST_P = BODY + ' > p', P = 'p', BR = '<br>', FC = 'firstChild', LI = 'li'; Y.extend(EditorPara, Y.Base, { /** * Utility method to create an empty paragraph when the document is empty. * @private * @method _fixFirstPara */ _fixFirstPara: function() { Y.log('Fix First Paragraph', 'info', 'editor-para'); var host = this.get(HOST), inst = host.getInstance(), sel, n, body = inst.config.doc.body, html = body.innerHTML, col = ((html.length) ? true : false); if (html === BR) { html = ''; col = false; } body.innerHTML = '<' + P + '>' + html + inst.Selection.CURSOR + '</' + P + '>'; n = inst.one(FIRST_P); sel = new inst.Selection(); sel.selectNode(n, true, col); }, /** * nodeChange handler to handle fixing an empty document. * @private * @method _onNodeChange */ _onNodeChange: function(e) { var host = this.get(HOST), inst = host.getInstance(), html, txt, par , d, sel, btag = inst.Selection.DEFAULT_BLOCK_TAG, inHTML, txt2, childs, aNode, index, node2, top, n, sib, ps, br, item, p, imgs, t, LAST_CHILD = ':last-child'; switch (e.changedType) { case 'enter-up': var para = ((this._lastPara) ? this._lastPara : e.changedNode), b = para.one('br.yui-cursor'); if (this._lastPara) { delete this._lastPara; } if (b) { if (b.previous() || b.next()) { if (b.ancestor(P)) { b.remove(); } } } if (!para.test(btag)) { var para2 = para.ancestor(btag); if (para2) { para = para2; para2 = null; } } if (para.test(btag)) { var prev = para.previous(), lc, lc2, found = false; if (prev) { lc = prev.one(LAST_CHILD); while (!found) { if (lc) { lc2 = lc.one(LAST_CHILD); if (lc2) { lc = lc2; } else { found = true; } } else { found = true; } } if (lc) { host.copyStyles(lc, para); } } } break; case 'enter': if (Y.UA.ie) { if (e.changedNode.test('br')) { e.changedNode.remove(); } else if (e.changedNode.test('p, span')) { var b = e.changedNode.one('br.yui-cursor'); if (b) { b.remove(); } } } if (Y.UA.webkit) { //Webkit doesn't support shift+enter as a BR, this fixes that. if (e.changedEvent.shiftKey) { host.execCommand('insertbr'); e.changedEvent.preventDefault(); } } if (e.changedNode.test('li') && !Y.UA.ie) { html = inst.Selection.getText(e.changedNode); if (html === '') { par = e.changedNode.ancestor('ol,ul'); var dir = par.getAttribute('dir'); if (dir !== '') { dir = ' dir = "' + dir + '"'; } par = e.changedNode.ancestor(inst.Selection.BLOCKS); d = inst.Node.create('<p' + dir + '>' + inst.Selection.CURSOR + '</p>'); par.insert(d, 'after'); e.changedNode.remove(); e.changedEvent.halt(); sel = new inst.Selection(); sel.selectNode(d, true, false); } } //TODO Move this to a GECKO MODULE - Can't for the moment, requires no change to metadata (YMAIL) if (Y.UA.gecko && host.get('defaultblock') !== 'p') { par = e.changedNode; if (!par.test(LI) && !par.ancestor(LI)) { if (!par.test(btag)) { par = par.ancestor(btag); } d = inst.Node.create('<' + btag + '></' + btag + '>'); par.insert(d, 'after'); sel = new inst.Selection(); if (sel.anchorOffset) { inHTML = sel.anchorNode.get('textContent'); txt = inst.one(inst.config.doc.createTextNode(inHTML.substr(0, sel.anchorOffset))); txt2 = inst.one(inst.config.doc.createTextNode(inHTML.substr(sel.anchorOffset))); aNode = sel.anchorNode; aNode.setContent(''); //I node2 = aNode.cloneNode(); //I node2.append(txt2); //text top = false; sib = aNode; //I while (!top) { sib = sib.get(PARENT_NODE); //B if (sib && !sib.test(btag)) { n = sib.cloneNode(); n.set('innerHTML', ''); n.append(node2); //Get children.. childs = sib.get('childNodes'); var start = false; childs.each(function(c) { if (start) { n.append(c); } if (c === aNode) { start = true; } }); aNode = sib; //Top sibling node2 = n; } else { top = true; } } txt2 = node2; sel.anchorNode.append(txt); if (txt2) { d.append(txt2); } } if (d.get(FC)) { d = d.get(FC); } d.prepend(inst.Selection.CURSOR); sel.focusCursor(true, true); html = inst.Selection.getText(d); if (html !== '') { inst.Selection.cleanCursor(); } e.changedEvent.preventDefault(); } } break; case 'keyup': if (Y.UA.gecko) { if (inst.config.doc && inst.config.doc.body && inst.config.doc.body.innerHTML.length < 20) { if (!inst.one(FIRST_P)) { this._fixFirstPara(); } } } break; case 'backspace-up': case 'backspace-down': case 'delete-up': if (!Y.UA.ie) { ps = inst.all(FIRST_P); item = inst.one(BODY); if (ps.item(0)) { item = ps.item(0); } br = item.one('br'); if (br) { br.removeAttribute('id'); br.removeAttribute('class'); } txt = inst.Selection.getText(item); txt = txt.replace(/ /g, '').replace(/\n/g, ''); imgs = item.all('img'); if (txt.length === 0 && !imgs.size()) { //God this is horrible.. if (!item.test(P)) { this._fixFirstPara(); } p = null; if (e.changedNode && e.changedNode.test(P)) { p = e.changedNode; } if (!p && host._lastPara && host._lastPara.inDoc()) { p = host._lastPara; } if (p && !p.test(P)) { p = p.ancestor(P); } if (p) { if (!p.previous() && p.get(PARENT_NODE) && p.get(PARENT_NODE).test(BODY)) { Y.log('Stopping the backspace event', 'warn', 'editor-para'); e.changedEvent.frameEvent.halt(); } } } if (Y.UA.webkit) { if (e.changedNode) { item = e.changedNode; if (item.test('li') && (!item.previous() && !item.next())) { html = item.get('innerHTML').replace(BR, ''); if (html === '') { if (item.get(PARENT_NODE)) { item.get(PARENT_NODE).replace(inst.Node.create(BR)); e.changedEvent.frameEvent.halt(); e.preventDefault(); inst.Selection.filterBlocks(); } } } } } } if (Y.UA.gecko) { /* * This forced FF to redraw the content on backspace. * On some occasions FF will leave a cursor residue after content has been deleted. * Dropping in the empty textnode and then removing it causes FF to redraw and * remove the "ghost cursors" */ d = e.changedNode; t = inst.config.doc.createTextNode(' '); d.appendChild(t); d.removeChild(t); } break; } if (Y.UA.gecko) { if (e.changedNode && !e.changedNode.test(btag)) { p = e.changedNode.ancestor(btag); if (p) { this._lastPara = p; } } } }, /** * Performs a block element filter when the Editor is first ready * @private * @method _afterEditorReady */ _afterEditorReady: function() { var host = this.get(HOST), inst = host.getInstance(), btag; if (inst) { inst.Selection.filterBlocks(); btag = inst.Selection.DEFAULT_BLOCK_TAG; FIRST_P = BODY + ' > ' + btag; P = btag; } }, /** * Performs a block element filter when the Editor after an content change * @private * @method _afterContentChange */ _afterContentChange: function() { var host = this.get(HOST), inst = host.getInstance(); if (inst && inst.Selection) { inst.Selection.filterBlocks(); } }, /** * Performs block/paste filtering after paste. * @private * @method _afterPaste */ _afterPaste: function() { var host = this.get(HOST), inst = host.getInstance(), sel = new inst.Selection(); Y.later(50, host, function() { inst.Selection.filterBlocks(); }); }, initializer: function() { var host = this.get(HOST); if (host.editorBR) { Y.error('Can not plug EditorPara and EditorBR at the same time.'); return; } host.on(NODE_CHANGE, Y.bind(this._onNodeChange, this)); host.after('ready', Y.bind(this._afterEditorReady, this)); host.after('contentChange', Y.bind(this._afterContentChange, this)); if (Y.Env.webkit) { host.after('dom:paste', Y.bind(this._afterPaste, this)); } } }, { /** * editorPara * @static * @property NAME */ NAME: 'editorPara', /** * editorPara * @static * @property NS */ NS: 'editorPara', ATTRS: { host: { value: false } } }); Y.namespace('Plugin'); Y.Plugin.EditorPara = EditorPara; }, '@VERSION@' ,{skinnable:false, requires:['editor-base']});
andersem/cdnjs
ajax/libs/yui/3.4.1/editor-para/editor-para-debug.js
JavaScript
mit
15,461
if (typeof _yuitest_coverage == "undefined"){ _yuitest_coverage = {}; _yuitest_coverline = function(src, line){ var coverage = _yuitest_coverage[src]; if (!coverage.lines[line]){ coverage.calledLines++; } coverage.lines[line]++; }; _yuitest_coverfunc = function(src, name, line){ var coverage = _yuitest_coverage[src], funcId = name + ":" + line; if (!coverage.functions[funcId]){ coverage.calledFunctions++; } coverage.functions[funcId]++; }; } _yuitest_coverage["build/attribute-core/attribute-core.js"] = { lines: {}, functions: {}, coveredLines: 0, calledLines: 0, coveredFunctions: 0, calledFunctions: 0, path: "build/attribute-core/attribute-core.js", code: [] }; _yuitest_coverage["build/attribute-core/attribute-core.js"].code=["YUI.add('attribute-core', function (Y, NAME) {",""," /**"," * The State class maintains state for a collection of named items, with"," * a varying number of properties defined."," *"," * It avoids the need to create a separate class for the item, and separate instances"," * of these classes for each item, by storing the state in a 2 level hash table,"," * improving performance when the number of items is likely to be large."," *"," * @constructor"," * @class State"," */"," Y.State = function() {"," /**"," * Hash of attributes"," * @property data"," */"," this.data = {};"," };",""," Y.State.prototype = {",""," /**"," * Adds a property to an item."," *"," * @method add"," * @param name {String} The name of the item."," * @param key {String} The name of the property."," * @param val {Any} The value of the property."," */"," add: function(name, key, val) {"," var item = this.data[name];",""," if (!item) {"," item = this.data[name] = {};"," }",""," item[key] = val;"," },",""," /**"," * Adds multiple properties to an item."," *"," * @method addAll"," * @param name {String} The name of the item."," * @param obj {Object} A hash of property/value pairs."," */"," addAll: function(name, obj) {"," var item = this.data[name],"," key;",""," if (!item) {"," item = this.data[name] = {};"," }",""," for (key in obj) {"," if (obj.hasOwnProperty(key)) {"," item[key] = obj[key];"," }"," }"," },",""," /**"," * Removes a property from an item."," *"," * @method remove"," * @param name {String} The name of the item."," * @param key {String} The property to remove."," */"," remove: function(name, key) {"," var item = this.data[name];",""," if (item) {"," delete item[key];"," }"," },",""," /**"," * Removes multiple properties from an item, or removes the item completely."," *"," * @method removeAll"," * @param name {String} The name of the item."," * @param obj {Object|Array} Collection of properties to delete. If not provided, the entire item is removed."," */"," removeAll: function(name, obj) {"," var data;",""," if (!obj) {"," data = this.data;",""," if (name in data) {"," delete data[name];"," }"," } else {"," Y.each(obj, function(value, key) {"," this.remove(name, typeof key === 'string' ? key : value);"," }, this);"," }"," },",""," /**"," * For a given item, returns the value of the property requested, or undefined if not found."," *"," * @method get"," * @param name {String} The name of the item"," * @param key {String} Optional. The property value to retrieve."," * @return {Any} The value of the supplied property."," */"," get: function(name, key) {"," var item = this.data[name];",""," if (item) {"," return item[key];"," }"," },",""," /**"," * For the given item, returns an object with all of the"," * item's property/value pairs. By default the object returned"," * is a shallow copy of the stored data, but passing in true"," * as the second parameter will return a reference to the stored"," * data."," *"," * @method getAll"," * @param name {String} The name of the item"," * @param reference {boolean} true, if you want a reference to the stored"," * object"," * @return {Object} An object with property/value pairs for the item."," */"," getAll : function(name, reference) {"," var item = this.data[name],"," key, obj;",""," if (reference) {"," obj = item;"," } else if (item) {"," obj = {};",""," for (key in item) {"," if (item.hasOwnProperty(key)) {"," obj[key] = item[key];"," }"," }"," }",""," return obj;"," }"," };"," /**"," * The attribute module provides an augmentable Attribute implementation, which"," * adds configurable attributes and attribute change events to the class being"," * augmented. It also provides a State class, which is used internally by Attribute,"," * but can also be used independently to provide a name/property/value data structure to"," * store state."," *"," * @module attribute"," */",""," /**"," * The attribute-core submodule provides the lightest level of attribute handling support"," * without Attribute change events, or lesser used methods such as reset(), modifyAttrs(),"," * and removeAttr()."," *"," * @module attribute"," * @submodule attribute-core"," */"," var O = Y.Object,"," Lang = Y.Lang,",""," DOT = \".\",",""," // Externally configurable props"," GETTER = \"getter\","," SETTER = \"setter\","," READ_ONLY = \"readOnly\","," WRITE_ONCE = \"writeOnce\","," INIT_ONLY = \"initOnly\","," VALIDATOR = \"validator\","," VALUE = \"value\","," VALUE_FN = \"valueFn\","," LAZY_ADD = \"lazyAdd\",",""," // Used for internal state management"," ADDED = \"added\","," BYPASS_PROXY = \"_bypassProxy\","," INITIALIZING = \"initializing\","," INIT_VALUE = \"initValue\","," LAZY = \"lazy\","," IS_LAZY_ADD = \"isLazyAdd\",",""," INVALID_VALUE;",""," /**"," * <p>"," * AttributeCore provides the lightest level of configurable attribute support. It is designed to be"," * augmented on to a host class, and provides the host with the ability to configure"," * attributes to store and retrieve state, <strong>but without support for attribute change events</strong>."," * </p>"," * <p>For example, attributes added to the host can be configured:</p>"," * <ul>"," * <li>As read only.</li>"," * <li>As write once.</li>"," * <li>With a setter function, which can be used to manipulate"," * values passed to Attribute's <a href=\"#method_set\">set</a> method, before they are stored.</li>"," * <li>With a getter function, which can be used to manipulate stored values,"," * before they are returned by Attribute's <a href=\"#method_get\">get</a> method.</li>"," * <li>With a validator function, to validate values before they are stored.</li>"," * </ul>"," *"," * <p>See the <a href=\"#method_addAttr\">addAttr</a> method, for the complete set of configuration"," * options available for attributes.</p>"," *"," * <p>Object/Classes based on AttributeCore can augment <a href=\"AttributeObservable.html\">AttributeObservable</a>"," * (with true for overwrite) and <a href=\"AttributeExtras.html\">AttributeExtras</a> to add attribute event and"," * additional, less commonly used attribute methods, such as `modifyAttr`, `removeAttr` and `reset`.</p>"," *"," * @class AttributeCore"," * @param attrs {Object} The attributes to add during construction (passed through to <a href=\"#method_addAttrs\">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor."," * @param values {Object} The initial attribute values to apply (passed through to <a href=\"#method_addAttrs\">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required."," * @param lazy {boolean} Whether or not to add attributes lazily (passed through to <a href=\"#method_addAttrs\">addAttrs</a>)."," */"," function AttributeCore(attrs, values, lazy) {"," // HACK: Fix #2531929"," // Complete hack, to make sure the first clone of a node value in IE doesn't doesn't hurt state - maintains 3.4.1 behavior."," // Too late in the release cycle to do anything about the core problem."," // The root issue is that cloning a Y.Node instance results in an object which barfs in IE, when you access it's properties (since 3.3.0)."," this._yuievt = null;",""," this._initAttrHost(attrs, values, lazy);"," }",""," /**"," * <p>The value to return from an attribute setter in order to prevent the set from going through.</p>"," *"," * <p>You can return this value from your setter if you wish to combine validator and setter"," * functionality into a single setter function, which either returns the massaged value to be stored or"," * AttributeCore.INVALID_VALUE to prevent invalid values from being stored.</p>"," *"," * @property INVALID_VALUE"," * @type Object"," * @static"," * @final"," */"," AttributeCore.INVALID_VALUE = {};"," INVALID_VALUE = AttributeCore.INVALID_VALUE;",""," /**"," * The list of properties which can be configured for"," * each attribute (e.g. setter, getter, writeOnce etc.)."," *"," * This property is used internally as a whitelist for faster"," * Y.mix operations."," *"," * @property _ATTR_CFG"," * @type Array"," * @static"," * @protected"," */"," AttributeCore._ATTR_CFG = [SETTER, GETTER, VALIDATOR, VALUE, VALUE_FN, WRITE_ONCE, READ_ONLY, LAZY_ADD, BYPASS_PROXY];",""," /**"," * Utility method to protect an attribute configuration hash, by merging the"," * entire object and the individual attr config objects."," *"," * @method protectAttrs"," * @static"," * @param {Object} attrs A hash of attribute to configuration object pairs."," * @return {Object} A protected version of the `attrs` argument."," */"," AttributeCore.protectAttrs = function (attrs) {"," if (attrs) {"," attrs = Y.merge(attrs);"," for (var attr in attrs) {"," if (attrs.hasOwnProperty(attr)) {"," attrs[attr] = Y.merge(attrs[attr]);"," }"," }"," }",""," return attrs;"," };",""," AttributeCore.prototype = {",""," /**"," * Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the"," * constructor."," *"," * @method _initAttrHost"," * @param attrs {Object} The attributes to add during construction (passed through to <a href=\"#method_addAttrs\">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor."," * @param values {Object} The initial attribute values to apply (passed through to <a href=\"#method_addAttrs\">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required."," * @param lazy {boolean} Whether or not to add attributes lazily (passed through to <a href=\"#method_addAttrs\">addAttrs</a>)."," * @private"," */"," _initAttrHost : function(attrs, values, lazy) {"," this._state = new Y.State();"," this._initAttrs(attrs, values, lazy);"," },",""," /**"," * <p>"," * Adds an attribute with the provided configuration to the host object."," * </p>"," * <p>"," * The config argument object supports the following properties:"," * </p>"," *"," * <dl>"," * <dt>value &#60;Any&#62;</dt>"," * <dd>The initial value to set on the attribute</dd>"," *"," * <dt>valueFn &#60;Function | String&#62;</dt>"," * <dd>"," * <p>A function, which will return the initial value to set on the attribute. This is useful"," * for cases where the attribute configuration is defined statically, but needs to"," * reference the host instance (\"this\") to obtain an initial value. If both the value and valueFn properties are defined,"," * the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which"," * case the value property is used.</p>"," *"," * <p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p>"," * </dd>"," *"," * <dt>readOnly &#60;boolean&#62;</dt>"," * <dd>Whether or not the attribute is read only. Attributes having readOnly set to true"," * cannot be modified by invoking the set method.</dd>"," *"," * <dt>writeOnce &#60;boolean&#62; or &#60;string&#62;</dt>"," * <dd>"," * Whether or not the attribute is \"write once\". Attributes having writeOnce set to true,"," * can only have their values set once, be it through the default configuration,"," * constructor configuration arguments, or by invoking set."," * <p>The writeOnce attribute can also be set to the string \"initOnly\", in which case the attribute can only be set during initialization"," * (when used with Base, this means it can only be set during construction)</p>"," * </dd>"," *"," * <dt>setter &#60;Function | String&#62;</dt>"," * <dd>"," * <p>The setter function used to massage or normalize the value passed to the set method for the attribute."," * The value returned by the setter will be the final stored value. Returning"," * <a href=\"#property_Attribute.INVALID_VALUE\">Attribute.INVALID_VALUE</a>, from the setter will prevent"," * the value from being stored."," * </p>"," *"," * <p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p>"," * </dd>"," *"," * <dt>getter &#60;Function | String&#62;</dt>"," * <dd>"," * <p>"," * The getter function used to massage or normalize the value returned by the get method for the attribute."," * The value returned by the getter function is the value which will be returned to the user when they"," * invoke get."," * </p>"," *"," * <p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p>"," * </dd>"," *"," * <dt>validator &#60;Function | String&#62;</dt>"," * <dd>"," * <p>"," * The validator function invoked prior to setting the stored value. Returning"," * false from the validator function will prevent the value from being stored."," * </p>"," *"," * <p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p>"," * </dd>"," *"," * <dt>lazyAdd &#60;boolean&#62;</dt>"," * <dd>Whether or not to delay initialization of the attribute until the first call to get/set it."," * This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through"," * the <a href=\"#method_addAttrs\">addAttrs</a> method.</dd>"," *"," * </dl>"," *"," * <p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with"," * the context (\"this\") set to the host object.</p>"," *"," * <p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute,"," * and are not intended for public use.</p>"," *"," * @method addAttr"," *"," * @param {String} name The name of the attribute."," * @param {Object} config An object with attribute configuration property/value pairs, specifying the configuration for the attribute."," *"," * <p>"," * <strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need"," * to protect the original values, you will need to merge the object."," * </p>"," *"," * @param {boolean} lazy (optional) Whether or not to add this attribute lazily (on the first call to get/set)."," *"," * @return {Object} A reference to the host object."," *"," * @chainable"," */"," addAttr: function(name, config, lazy) {","",""," var host = this, // help compression"," state = host._state,"," value,"," hasValue;",""," config = config || {};",""," lazy = (LAZY_ADD in config) ? config[LAZY_ADD] : lazy;",""," if (lazy && !host.attrAdded(name)) {"," state.addAll(name, {"," lazy : config,"," added : true"," });"," } else {","",""," if (!host.attrAdded(name) || state.get(name, IS_LAZY_ADD)) {",""," hasValue = (VALUE in config);","",""," if (hasValue) {"," // We'll go through set, don't want to set value in config directly"," value = config.value;"," delete config.value;"," }",""," config.added = true;"," config.initializing = true;",""," state.addAll(name, config);",""," if (hasValue) {"," // Go through set, so that raw values get normalized/validated"," host.set(name, value);"," }",""," state.remove(name, INITIALIZING);"," }"," }",""," return host;"," },",""," /**"," * Checks if the given attribute has been added to the host"," *"," * @method attrAdded"," * @param {String} name The name of the attribute to check."," * @return {boolean} true if an attribute with the given name has been added, false if it hasn't. This method will return true for lazily added attributes."," */"," attrAdded: function(name) {"," return !!this._state.get(name, ADDED);"," },",""," /**"," * Returns the current value of the attribute. If the attribute"," * has been configured with a 'getter' function, this method will delegate"," * to the 'getter' to obtain the value of the attribute."," *"," * @method get"," *"," * @param {String} name The name of the attribute. If the value of the attribute is an Object,"," * dot notation can be used to obtain the value of a property of the object (e.g. <code>get(\"x.y.z\")</code>)"," *"," * @return {Any} The value of the attribute"," */"," get : function(name) {"," return this._getAttr(name);"," },",""," /**"," * Checks whether or not the attribute is one which has been"," * added lazily and still requires initialization."," *"," * @method _isLazyAttr"," * @private"," * @param {String} name The name of the attribute"," * @return {boolean} true if it's a lazily added attribute, false otherwise."," */"," _isLazyAttr: function(name) {"," return this._state.get(name, LAZY);"," },",""," /**"," * Finishes initializing an attribute which has been lazily added."," *"," * @method _addLazyAttr"," * @private"," * @param {Object} name The name of the attribute"," */"," _addLazyAttr: function(name, cfg) {"," var state = this._state,"," lazyCfg = state.get(name, LAZY);",""," state.add(name, IS_LAZY_ADD, true);"," state.remove(name, LAZY);"," this.addAttr(name, lazyCfg);"," },",""," /**"," * Sets the value of an attribute."," *"," * @method set"," * @chainable"," *"," * @param {String} name The name of the attribute. If the"," * current value of the attribute is an Object, dot notation can be used"," * to set the value of a property within the object (e.g. <code>set(\"x.y.z\", 5)</code>)."," *"," * @param {Any} value The value to set the attribute to."," *"," * @return {Object} A reference to the host object."," */"," set : function(name, val) {"," return this._setAttr(name, val);"," },",""," /**"," * Allows setting of readOnly/writeOnce attributes. See <a href=\"#method_set\">set</a> for argument details."," *"," * @method _set"," * @protected"," * @chainable"," *"," * @param {String} name The name of the attribute."," * @param {Any} val The value to set the attribute to."," * @return {Object} A reference to the host object."," */"," _set : function(name, val) {"," return this._setAttr(name, val, null, true);"," },",""," /**"," * Provides the common implementation for the public set and protected _set methods."," *"," * See <a href=\"#method_set\">set</a> for argument details."," *"," * @method _setAttr"," * @protected"," * @chainable"," *"," * @param {String} name The name of the attribute."," * @param {Any} value The value to set the attribute to."," * @param {Object} opts (Optional) Optional event data to be mixed into"," * the event facade passed to subscribers of the attribute's change event."," * This is currently a hack. There's no real need for the AttributeCore implementation"," * to support this parameter, but breaking it out into AttributeObservable, results in"," * additional function hops for the critical path."," * @param {boolean} force If true, allows the caller to set values for"," * readOnly or writeOnce attributes which have already been set."," *"," * @return {Object} A reference to the host object."," */"," _setAttr : function(name, val, opts, force) {",""," // HACK - no real reason core needs to know about opts, but"," // it adds fn hops if we want to break it out."," // Not sure it's worth it for this critical path",""," var allowSet = true,"," state = this._state,"," stateProxy = this._stateProxy,"," cfg,"," initialSet,"," strPath,"," path,"," currVal,"," writeOnce,"," initializing;",""," if (name.indexOf(DOT) !== -1) {"," strPath = name;"," path = name.split(DOT);"," name = path.shift();"," }",""," if (this._isLazyAttr(name)) {"," this._addLazyAttr(name);"," }",""," cfg = state.getAll(name, true) || {};",""," initialSet = (!(VALUE in cfg));",""," if (stateProxy && name in stateProxy && !cfg._bypassProxy) {"," // TODO: Value is always set for proxy. Can we do any better? Maybe take a snapshot as the initial value for the first call to set?"," initialSet = false;"," }",""," writeOnce = cfg.writeOnce;"," initializing = cfg.initializing;",""," if (!initialSet && !force) {",""," if (writeOnce) {"," allowSet = false;"," }",""," if (cfg.readOnly) {"," allowSet = false;"," }"," }",""," if (!initializing && !force && writeOnce === INIT_ONLY) {"," allowSet = false;"," }",""," if (allowSet) {"," // Don't need currVal if initialSet (might fail in custom getter if it always expects a non-undefined/non-null value)"," if (!initialSet) {"," currVal = this.get(name);"," }",""," if (path) {"," val = O.setValue(Y.clone(currVal), path, val);",""," if (val === undefined) {"," allowSet = false;"," }"," }",""," if (allowSet) {"," if (!this._fireAttrChange || initializing) {"," this._setAttrVal(name, strPath, currVal, val);"," } else {"," // HACK - no real reason core needs to know about _fireAttrChange, but"," // it adds fn hops if we want to break it out. Not sure it's worth it for this critical path"," this._fireAttrChange(name, strPath, currVal, val, opts);"," }"," }"," }",""," return this;"," },",""," /**"," * Provides the common implementation for the public get method,"," * allowing Attribute hosts to over-ride either method."," *"," * See <a href=\"#method_get\">get</a> for argument details."," *"," * @method _getAttr"," * @protected"," * @chainable"," *"," * @param {String} name The name of the attribute."," * @return {Any} The value of the attribute."," */"," _getAttr : function(name) {"," var host = this, // help compression"," fullName = name,"," state = host._state,"," path,"," getter,"," val,"," cfg;",""," if (name.indexOf(DOT) !== -1) {"," path = name.split(DOT);"," name = path.shift();"," }",""," // On Demand - Should be rare - handles out of order valueFn references"," if (host._tCfgs && host._tCfgs[name]) {"," cfg = {};"," cfg[name] = host._tCfgs[name];"," delete host._tCfgs[name];"," host._addAttrs(cfg, host._tVals);"," }",""," // Lazy Init"," if (host._isLazyAttr(name)) {"," host._addLazyAttr(name);"," }",""," val = host._getStateVal(name);",""," getter = state.get(name, GETTER);",""," if (getter && !getter.call) {"," getter = this[getter];"," }",""," val = (getter) ? getter.call(host, val, fullName) : val;"," val = (path) ? O.getValue(val, path) : val;",""," return val;"," },",""," /**"," * Gets the stored value for the attribute, from either the"," * internal state object, or the state proxy if it exits"," *"," * @method _getStateVal"," * @private"," * @param {String} name The name of the attribute"," * @return {Any} The stored value of the attribute"," */"," _getStateVal : function(name) {"," var stateProxy = this._stateProxy;"," return stateProxy && (name in stateProxy) && !this._state.get(name, BYPASS_PROXY) ? stateProxy[name] : this._state.get(name, VALUE);"," },",""," /**"," * Sets the stored value for the attribute, in either the"," * internal state object, or the state proxy if it exits"," *"," * @method _setStateVal"," * @private"," * @param {String} name The name of the attribute"," * @param {Any} value The value of the attribute"," */"," _setStateVal : function(name, value) {"," var stateProxy = this._stateProxy;"," if (stateProxy && (name in stateProxy) && !this._state.get(name, BYPASS_PROXY)) {"," stateProxy[name] = value;"," } else {"," this._state.add(name, VALUE, value);"," }"," },",""," /**"," * Updates the stored value of the attribute in the privately held State object,"," * if validation and setter passes."," *"," * @method _setAttrVal"," * @private"," * @param {String} attrName The attribute name."," * @param {String} subAttrName The sub-attribute name, if setting a sub-attribute property (\"x.y.z\")."," * @param {Any} prevVal The currently stored value of the attribute."," * @param {Any} newVal The value which is going to be stored."," *"," * @return {booolean} true if the new attribute value was stored, false if not."," */"," _setAttrVal : function(attrName, subAttrName, prevVal, newVal) {",""," var host = this,"," allowSet = true,"," cfg = this._state.getAll(attrName, true) || {},"," validator = cfg.validator,"," setter = cfg.setter,"," initializing = cfg.initializing,"," prevRawVal = this._getStateVal(attrName),"," name = subAttrName || attrName,"," retVal,"," valid;",""," if (validator) {"," if (!validator.call) {"," // Assume string - trying to keep critical path tight, so avoiding Lang check"," validator = this[validator];"," }"," if (validator) {"," valid = validator.call(host, newVal, name);",""," if (!valid && initializing) {"," newVal = cfg.defaultValue;"," valid = true; // Assume it's valid, for perf."," }"," }"," }",""," if (!validator || valid) {"," if (setter) {"," if (!setter.call) {"," // Assume string - trying to keep critical path tight, so avoiding Lang check"," setter = this[setter];"," }"," if (setter) {"," retVal = setter.call(host, newVal, name);",""," if (retVal === INVALID_VALUE) {"," allowSet = false;"," } else if (retVal !== undefined){"," newVal = retVal;"," }"," }"," }",""," if (allowSet) {"," if(!subAttrName && (newVal === prevRawVal) && !Lang.isObject(newVal)) {"," allowSet = false;"," } else {"," // Store value"," if (!(INIT_VALUE in cfg)) {"," cfg.initValue = newVal;"," }"," host._setStateVal(attrName, newVal);"," }"," }",""," } else {"," allowSet = false;"," }",""," return allowSet;"," },",""," /**"," * Sets multiple attribute values."," *"," * @method setAttrs"," * @param {Object} attrs An object with attributes name/value pairs."," * @return {Object} A reference to the host object."," * @chainable"," */"," setAttrs : function(attrs) {"," return this._setAttrs(attrs);"," },",""," /**"," * Implementation behind the public setAttrs method, to set multiple attribute values."," *"," * @method _setAttrs"," * @protected"," * @param {Object} attrs An object with attributes name/value pairs."," * @return {Object} A reference to the host object."," * @chainable"," */"," _setAttrs : function(attrs) {"," var attr;"," for (attr in attrs) {"," if ( attrs.hasOwnProperty(attr) ) {"," this.set(attr, attrs[attr]);"," }"," }"," return this;"," },",""," /**"," * Gets multiple attribute values."," *"," * @method getAttrs"," * @param {Array | boolean} attrs Optional. An array of attribute names. If omitted, all attribute values are"," * returned. If set to true, all attributes modified from their initial values are returned."," * @return {Object} An object with attribute name/value pairs."," */"," getAttrs : function(attrs) {"," return this._getAttrs(attrs);"," },",""," /**"," * Implementation behind the public getAttrs method, to get multiple attribute values."," *"," * @method _getAttrs"," * @protected"," * @param {Array | boolean} attrs Optional. An array of attribute names. If omitted, all attribute values are"," * returned. If set to true, all attributes modified from their initial values are returned."," * @return {Object} An object with attribute name/value pairs."," */"," _getAttrs : function(attrs) {"," var obj = {},"," attr, i, len,"," modifiedOnly = (attrs === true);",""," // TODO - figure out how to get all \"added\""," if (!attrs || modifiedOnly) {"," attrs = O.keys(this._state.data);"," }",""," for (i = 0, len = attrs.length; i < len; i++) {"," attr = attrs[i];",""," if (!modifiedOnly || this._getStateVal(attr) != this._state.get(attr, INIT_VALUE)) {"," // Go through get, to honor cloning/normalization"," obj[attr] = this.get(attr);"," }"," }",""," return obj;"," },",""," /**"," * Configures a group of attributes, and sets initial values."," *"," * <p>"," * <strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning."," * The caller is responsible for merging/cloning the configuration object if required."," * </p>"," *"," * @method addAttrs"," * @chainable"," *"," * @param {Object} cfgs An object with attribute name/configuration pairs."," * @param {Object} values An object with attribute name/value pairs, defining the initial values to apply."," * Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only."," * @param {boolean} lazy Whether or not to delay the intialization of these attributes until the first call to get/set."," * Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration."," * See <a href=\"#method_addAttr\">addAttr</a>."," *"," * @return {Object} A reference to the host object."," */"," addAttrs : function(cfgs, values, lazy) {"," var host = this; // help compression"," if (cfgs) {"," host._tCfgs = cfgs;"," host._tVals = host._normAttrVals(values);"," host._addAttrs(cfgs, host._tVals, lazy);"," host._tCfgs = host._tVals = null;"," }",""," return host;"," },",""," /**"," * Implementation behind the public addAttrs method."," *"," * This method is invoked directly by get if it encounters a scenario"," * in which an attribute's valueFn attempts to obtain the"," * value an attribute in the same group of attributes, which has not yet"," * been added (on demand initialization)."," *"," * @method _addAttrs"," * @private"," * @param {Object} cfgs An object with attribute name/configuration pairs."," * @param {Object} values An object with attribute name/value pairs, defining the initial values to apply."," * Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only."," * @param {boolean} lazy Whether or not to delay the intialization of these attributes until the first call to get/set."," * Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration."," * See <a href=\"#method_addAttr\">addAttr</a>."," */"," _addAttrs : function(cfgs, values, lazy) {"," var host = this, // help compression"," attr,"," attrCfg,"," value;",""," for (attr in cfgs) {"," if (cfgs.hasOwnProperty(attr)) {",""," // Not Merging. Caller is responsible for isolating configs"," attrCfg = cfgs[attr];"," attrCfg.defaultValue = attrCfg.value;",""," // Handle simple, complex and user values, accounting for read-only"," value = host._getAttrInitVal(attr, attrCfg, host._tVals);",""," if (value !== undefined) {"," attrCfg.value = value;"," }",""," if (host._tCfgs[attr]) {"," delete host._tCfgs[attr];"," }",""," host.addAttr(attr, attrCfg, lazy);"," }"," }"," },",""," /**"," * Utility method to protect an attribute configuration"," * hash, by merging the entire object and the individual"," * attr config objects."," *"," * @method _protectAttrs"," * @protected"," * @param {Object} attrs A hash of attribute to configuration object pairs."," * @return {Object} A protected version of the attrs argument."," * @deprecated Use `AttributeCore.protectAttrs()` or"," * `Attribute.protectAttrs()` which are the same static utility method."," */"," _protectAttrs : AttributeCore.protectAttrs,",""," /**"," * Utility method to split out simple attribute name/value pairs (\"x\")"," * from complex attribute name/value pairs (\"x.y.z\"), so that complex"," * attributes can be keyed by the top level attribute name."," *"," * @method _normAttrVals"," * @param {Object} valueHash An object with attribute name/value pairs"," *"," * @return {Object} An object literal with 2 properties - \"simple\" and \"complex\","," * containing simple and complex attribute values respectively keyed"," * by the top level attribute name, or null, if valueHash is falsey."," *"," * @private"," */"," _normAttrVals : function(valueHash) {"," var vals = {},"," subvals = {},"," path,"," attr,"," v, k;",""," if (valueHash) {"," for (k in valueHash) {"," if (valueHash.hasOwnProperty(k)) {"," if (k.indexOf(DOT) !== -1) {"," path = k.split(DOT);"," attr = path.shift();"," v = subvals[attr] = subvals[attr] || [];"," v[v.length] = {"," path : path,"," value: valueHash[k]"," };"," } else {"," vals[k] = valueHash[k];"," }"," }"," }"," return { simple:vals, complex:subvals };"," } else {"," return null;"," }"," },",""," /**"," * Returns the initial value of the given attribute from"," * either the default configuration provided, or the"," * over-ridden value if it exists in the set of initValues"," * provided and the attribute is not read-only."," *"," * @param {String} attr The name of the attribute"," * @param {Object} cfg The attribute configuration object"," * @param {Object} initValues The object with simple and complex attribute name/value pairs returned from _normAttrVals"," *"," * @return {Any} The initial value of the attribute."," *"," * @method _getAttrInitVal"," * @private"," */"," _getAttrInitVal : function(attr, cfg, initValues) {",""," var val = cfg.value,"," valFn = cfg.valueFn,"," tmpVal,"," initValSet = false,"," simple,"," complex,"," i,"," l,"," path,"," subval,"," subvals;",""," if (!cfg.readOnly && initValues) {"," // Simple Attributes"," simple = initValues.simple;"," if (simple && simple.hasOwnProperty(attr)) {"," val = simple[attr];"," initValSet = true;"," }"," }",""," if (valFn && !initValSet) {"," if (!valFn.call) {"," valFn = this[valFn];"," }"," if (valFn) {"," tmpVal = valFn.call(this, attr);"," val = tmpVal;"," }"," }",""," if (!cfg.readOnly && initValues) {",""," // Complex Attributes (complex values applied, after simple, in case both are set)"," complex = initValues.complex;",""," if (complex && complex.hasOwnProperty(attr) && (val !== undefined) && (val !== null)) {"," subvals = complex[attr];"," for (i = 0, l = subvals.length; i < l; ++i) {"," path = subvals[i].path;"," subval = subvals[i].value;"," O.setValue(val, path, subval);"," }"," }"," }",""," return val;"," },",""," /**"," * Utility method to set up initial attributes defined during construction, either through the constructor.ATTRS property, or explicitly passed in."," *"," * @method _initAttrs"," * @protected"," * @param attrs {Object} The attributes to add during construction (passed through to <a href=\"#method_addAttrs\">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor."," * @param values {Object} The initial attribute values to apply (passed through to <a href=\"#method_addAttrs\">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required."," * @param lazy {boolean} Whether or not to add attributes lazily (passed through to <a href=\"#method_addAttrs\">addAttrs</a>)."," */"," _initAttrs : function(attrs, values, lazy) {"," // ATTRS support for Node, which is not Base based"," attrs = attrs || this.constructor.ATTRS;",""," var Base = Y.Base,"," BaseCore = Y.BaseCore,"," baseInst = (Base && Y.instanceOf(this, Base)),"," baseCoreInst = (!baseInst && BaseCore && Y.instanceOf(this, BaseCore));",""," if (attrs && !baseInst && !baseCoreInst) {"," this.addAttrs(Y.AttributeCore.protectAttrs(attrs), values, lazy);"," }"," }"," };",""," Y.AttributeCore = AttributeCore;","","","}, '@VERSION@', {\"requires\": [\"oop\"]});"]; _yuitest_coverage["build/attribute-core/attribute-core.js"].lines = {"1":0,"14":0,"19":0,"22":0,"33":0,"35":0,"36":0,"39":0,"50":0,"53":0,"54":0,"57":0,"58":0,"59":0,"72":0,"74":0,"75":0,"87":0,"89":0,"90":0,"92":0,"93":0,"96":0,"97":0,"111":0,"113":0,"114":0,"132":0,"135":0,"136":0,"137":0,"138":0,"140":0,"141":0,"142":0,"147":0,"168":0,"223":0,"228":0,"230":0,"245":0,"246":0,"260":0,"271":0,"272":0,"273":0,"274":0,"275":0,"276":0,"281":0,"284":0,"297":0,"298":0,"401":0,"406":0,"408":0,"410":0,"411":0,"418":0,"420":0,"423":0,"425":0,"426":0,"429":0,"430":0,"432":0,"434":0,"436":0,"439":0,"443":0,"454":0,"470":0,"483":0,"494":0,"497":0,"498":0,"499":0,"517":0,"532":0,"562":0,"573":0,"574":0,"575":0,"576":0,"579":0,"580":0,"583":0,"585":0,"587":0,"589":0,"592":0,"593":0,"595":0,"597":0,"598":0,"601":0,"602":0,"606":0,"607":0,"610":0,"612":0,"613":0,"616":0,"617":0,"619":0,"620":0,"624":0,"625":0,"626":0,"630":0,"635":0,"652":0,"660":0,"661":0,"662":0,"666":0,"667":0,"668":0,"669":0,"670":0,"674":0,"675":0,"678":0,"680":0,"682":0,"683":0,"686":0,"687":0,"689":0,"702":0,"703":0,"716":0,"717":0,"718":0,"720":0,"739":0,"750":0,"751":0,"753":0,"755":0,"756":0,"758":0,"759":0,"760":0,"765":0,"766":0,"767":0,"769":0,"771":0,"772":0,"774":0,"775":0,"776":0,"777":0,"782":0,"783":0,"784":0,"787":0,"788":0,"790":0,"795":0,"798":0,"810":0,"823":0,"824":0,"825":0,"826":0,"829":0,"841":0,"854":0,"859":0,"860":0,"863":0,"864":0,"866":0,"868":0,"872":0,"896":0,"897":0,"898":0,"899":0,"900":0,"901":0,"904":0,"925":0,"930":0,"931":0,"934":0,"935":0,"938":0,"940":0,"941":0,"944":0,"945":0,"948":0,"982":0,"988":0,"989":0,"990":0,"991":0,"992":0,"993":0,"994":0,"995":0,"1000":0,"1004":0,"1006":0,"1027":0,"1039":0,"1041":0,"1042":0,"1043":0,"1044":0,"1048":0,"1049":0,"1050":0,"1052":0,"1053":0,"1054":0,"1058":0,"1061":0,"1063":0,"1064":0,"1065":0,"1066":0,"1067":0,"1068":0,"1073":0,"1087":0,"1089":0,"1094":0,"1095":0,"1100":0}; _yuitest_coverage["build/attribute-core/attribute-core.js"].functions = {"State:14":0,"add:32":0,"addAll:49":0,"remove:71":0,"(anonymous 2):96":0,"removeAll:86":0,"get:110":0,"getAll:131":0,"AttributeCore:223":0,"protectAttrs:271":0,"_initAttrHost:296":0,"addAttr:398":0,"attrAdded:453":0,"get:469":0,"_isLazyAttr:482":0,"_addLazyAttr:493":0,"set:516":0,"_set:531":0,"_setAttr:556":0,"_getAttr:651":0,"_getStateVal:701":0,"_setStateVal:715":0,"_setAttrVal:737":0,"setAttrs:809":0,"_setAttrs:822":0,"getAttrs:840":0,"_getAttrs:853":0,"addAttrs:895":0,"_addAttrs:924":0,"_normAttrVals:981":0,"_getAttrInitVal:1025":0,"_initAttrs:1085":0,"(anonymous 1):1":0}; _yuitest_coverage["build/attribute-core/attribute-core.js"].coveredLines = 233; _yuitest_coverage["build/attribute-core/attribute-core.js"].coveredFunctions = 33; _yuitest_coverline("build/attribute-core/attribute-core.js", 1); YUI.add('attribute-core', function (Y, NAME) { /** * The State class maintains state for a collection of named items, with * a varying number of properties defined. * * It avoids the need to create a separate class for the item, and separate instances * of these classes for each item, by storing the state in a 2 level hash table, * improving performance when the number of items is likely to be large. * * @constructor * @class State */ _yuitest_coverfunc("build/attribute-core/attribute-core.js", "(anonymous 1)", 1); _yuitest_coverline("build/attribute-core/attribute-core.js", 14); Y.State = function() { /** * Hash of attributes * @property data */ _yuitest_coverfunc("build/attribute-core/attribute-core.js", "State", 14); _yuitest_coverline("build/attribute-core/attribute-core.js", 19); this.data = {}; }; _yuitest_coverline("build/attribute-core/attribute-core.js", 22); Y.State.prototype = { /** * Adds a property to an item. * * @method add * @param name {String} The name of the item. * @param key {String} The name of the property. * @param val {Any} The value of the property. */ add: function(name, key, val) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "add", 32); _yuitest_coverline("build/attribute-core/attribute-core.js", 33); var item = this.data[name]; _yuitest_coverline("build/attribute-core/attribute-core.js", 35); if (!item) { _yuitest_coverline("build/attribute-core/attribute-core.js", 36); item = this.data[name] = {}; } _yuitest_coverline("build/attribute-core/attribute-core.js", 39); item[key] = val; }, /** * Adds multiple properties to an item. * * @method addAll * @param name {String} The name of the item. * @param obj {Object} A hash of property/value pairs. */ addAll: function(name, obj) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "addAll", 49); _yuitest_coverline("build/attribute-core/attribute-core.js", 50); var item = this.data[name], key; _yuitest_coverline("build/attribute-core/attribute-core.js", 53); if (!item) { _yuitest_coverline("build/attribute-core/attribute-core.js", 54); item = this.data[name] = {}; } _yuitest_coverline("build/attribute-core/attribute-core.js", 57); for (key in obj) { _yuitest_coverline("build/attribute-core/attribute-core.js", 58); if (obj.hasOwnProperty(key)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 59); item[key] = obj[key]; } } }, /** * Removes a property from an item. * * @method remove * @param name {String} The name of the item. * @param key {String} The property to remove. */ remove: function(name, key) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "remove", 71); _yuitest_coverline("build/attribute-core/attribute-core.js", 72); var item = this.data[name]; _yuitest_coverline("build/attribute-core/attribute-core.js", 74); if (item) { _yuitest_coverline("build/attribute-core/attribute-core.js", 75); delete item[key]; } }, /** * Removes multiple properties from an item, or removes the item completely. * * @method removeAll * @param name {String} The name of the item. * @param obj {Object|Array} Collection of properties to delete. If not provided, the entire item is removed. */ removeAll: function(name, obj) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "removeAll", 86); _yuitest_coverline("build/attribute-core/attribute-core.js", 87); var data; _yuitest_coverline("build/attribute-core/attribute-core.js", 89); if (!obj) { _yuitest_coverline("build/attribute-core/attribute-core.js", 90); data = this.data; _yuitest_coverline("build/attribute-core/attribute-core.js", 92); if (name in data) { _yuitest_coverline("build/attribute-core/attribute-core.js", 93); delete data[name]; } } else { _yuitest_coverline("build/attribute-core/attribute-core.js", 96); Y.each(obj, function(value, key) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "(anonymous 2)", 96); _yuitest_coverline("build/attribute-core/attribute-core.js", 97); this.remove(name, typeof key === 'string' ? key : value); }, this); } }, /** * For a given item, returns the value of the property requested, or undefined if not found. * * @method get * @param name {String} The name of the item * @param key {String} Optional. The property value to retrieve. * @return {Any} The value of the supplied property. */ get: function(name, key) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "get", 110); _yuitest_coverline("build/attribute-core/attribute-core.js", 111); var item = this.data[name]; _yuitest_coverline("build/attribute-core/attribute-core.js", 113); if (item) { _yuitest_coverline("build/attribute-core/attribute-core.js", 114); return item[key]; } }, /** * For the given item, returns an object with all of the * item's property/value pairs. By default the object returned * is a shallow copy of the stored data, but passing in true * as the second parameter will return a reference to the stored * data. * * @method getAll * @param name {String} The name of the item * @param reference {boolean} true, if you want a reference to the stored * object * @return {Object} An object with property/value pairs for the item. */ getAll : function(name, reference) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "getAll", 131); _yuitest_coverline("build/attribute-core/attribute-core.js", 132); var item = this.data[name], key, obj; _yuitest_coverline("build/attribute-core/attribute-core.js", 135); if (reference) { _yuitest_coverline("build/attribute-core/attribute-core.js", 136); obj = item; } else {_yuitest_coverline("build/attribute-core/attribute-core.js", 137); if (item) { _yuitest_coverline("build/attribute-core/attribute-core.js", 138); obj = {}; _yuitest_coverline("build/attribute-core/attribute-core.js", 140); for (key in item) { _yuitest_coverline("build/attribute-core/attribute-core.js", 141); if (item.hasOwnProperty(key)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 142); obj[key] = item[key]; } } }} _yuitest_coverline("build/attribute-core/attribute-core.js", 147); return obj; } }; /** * The attribute module provides an augmentable Attribute implementation, which * adds configurable attributes and attribute change events to the class being * augmented. It also provides a State class, which is used internally by Attribute, * but can also be used independently to provide a name/property/value data structure to * store state. * * @module attribute */ /** * The attribute-core submodule provides the lightest level of attribute handling support * without Attribute change events, or lesser used methods such as reset(), modifyAttrs(), * and removeAttr(). * * @module attribute * @submodule attribute-core */ _yuitest_coverline("build/attribute-core/attribute-core.js", 168); var O = Y.Object, Lang = Y.Lang, DOT = ".", // Externally configurable props GETTER = "getter", SETTER = "setter", READ_ONLY = "readOnly", WRITE_ONCE = "writeOnce", INIT_ONLY = "initOnly", VALIDATOR = "validator", VALUE = "value", VALUE_FN = "valueFn", LAZY_ADD = "lazyAdd", // Used for internal state management ADDED = "added", BYPASS_PROXY = "_bypassProxy", INITIALIZING = "initializing", INIT_VALUE = "initValue", LAZY = "lazy", IS_LAZY_ADD = "isLazyAdd", INVALID_VALUE; /** * <p> * AttributeCore provides the lightest level of configurable attribute support. It is designed to be * augmented on to a host class, and provides the host with the ability to configure * attributes to store and retrieve state, <strong>but without support for attribute change events</strong>. * </p> * <p>For example, attributes added to the host can be configured:</p> * <ul> * <li>As read only.</li> * <li>As write once.</li> * <li>With a setter function, which can be used to manipulate * values passed to Attribute's <a href="#method_set">set</a> method, before they are stored.</li> * <li>With a getter function, which can be used to manipulate stored values, * before they are returned by Attribute's <a href="#method_get">get</a> method.</li> * <li>With a validator function, to validate values before they are stored.</li> * </ul> * * <p>See the <a href="#method_addAttr">addAttr</a> method, for the complete set of configuration * options available for attributes.</p> * * <p>Object/Classes based on AttributeCore can augment <a href="AttributeObservable.html">AttributeObservable</a> * (with true for overwrite) and <a href="AttributeExtras.html">AttributeExtras</a> to add attribute event and * additional, less commonly used attribute methods, such as `modifyAttr`, `removeAttr` and `reset`.</p> * * @class AttributeCore * @param attrs {Object} The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor. * @param values {Object} The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required. * @param lazy {boolean} Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>). */ _yuitest_coverline("build/attribute-core/attribute-core.js", 223); function AttributeCore(attrs, values, lazy) { // HACK: Fix #2531929 // Complete hack, to make sure the first clone of a node value in IE doesn't doesn't hurt state - maintains 3.4.1 behavior. // Too late in the release cycle to do anything about the core problem. // The root issue is that cloning a Y.Node instance results in an object which barfs in IE, when you access it's properties (since 3.3.0). _yuitest_coverfunc("build/attribute-core/attribute-core.js", "AttributeCore", 223); _yuitest_coverline("build/attribute-core/attribute-core.js", 228); this._yuievt = null; _yuitest_coverline("build/attribute-core/attribute-core.js", 230); this._initAttrHost(attrs, values, lazy); } /** * <p>The value to return from an attribute setter in order to prevent the set from going through.</p> * * <p>You can return this value from your setter if you wish to combine validator and setter * functionality into a single setter function, which either returns the massaged value to be stored or * AttributeCore.INVALID_VALUE to prevent invalid values from being stored.</p> * * @property INVALID_VALUE * @type Object * @static * @final */ _yuitest_coverline("build/attribute-core/attribute-core.js", 245); AttributeCore.INVALID_VALUE = {}; _yuitest_coverline("build/attribute-core/attribute-core.js", 246); INVALID_VALUE = AttributeCore.INVALID_VALUE; /** * The list of properties which can be configured for * each attribute (e.g. setter, getter, writeOnce etc.). * * This property is used internally as a whitelist for faster * Y.mix operations. * * @property _ATTR_CFG * @type Array * @static * @protected */ _yuitest_coverline("build/attribute-core/attribute-core.js", 260); AttributeCore._ATTR_CFG = [SETTER, GETTER, VALIDATOR, VALUE, VALUE_FN, WRITE_ONCE, READ_ONLY, LAZY_ADD, BYPASS_PROXY]; /** * Utility method to protect an attribute configuration hash, by merging the * entire object and the individual attr config objects. * * @method protectAttrs * @static * @param {Object} attrs A hash of attribute to configuration object pairs. * @return {Object} A protected version of the `attrs` argument. */ _yuitest_coverline("build/attribute-core/attribute-core.js", 271); AttributeCore.protectAttrs = function (attrs) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "protectAttrs", 271); _yuitest_coverline("build/attribute-core/attribute-core.js", 272); if (attrs) { _yuitest_coverline("build/attribute-core/attribute-core.js", 273); attrs = Y.merge(attrs); _yuitest_coverline("build/attribute-core/attribute-core.js", 274); for (var attr in attrs) { _yuitest_coverline("build/attribute-core/attribute-core.js", 275); if (attrs.hasOwnProperty(attr)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 276); attrs[attr] = Y.merge(attrs[attr]); } } } _yuitest_coverline("build/attribute-core/attribute-core.js", 281); return attrs; }; _yuitest_coverline("build/attribute-core/attribute-core.js", 284); AttributeCore.prototype = { /** * Constructor logic for attributes. Initializes the host state, and sets up the inital attributes passed to the * constructor. * * @method _initAttrHost * @param attrs {Object} The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor. * @param values {Object} The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required. * @param lazy {boolean} Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>). * @private */ _initAttrHost : function(attrs, values, lazy) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_initAttrHost", 296); _yuitest_coverline("build/attribute-core/attribute-core.js", 297); this._state = new Y.State(); _yuitest_coverline("build/attribute-core/attribute-core.js", 298); this._initAttrs(attrs, values, lazy); }, /** * <p> * Adds an attribute with the provided configuration to the host object. * </p> * <p> * The config argument object supports the following properties: * </p> * * <dl> * <dt>value &#60;Any&#62;</dt> * <dd>The initial value to set on the attribute</dd> * * <dt>valueFn &#60;Function | String&#62;</dt> * <dd> * <p>A function, which will return the initial value to set on the attribute. This is useful * for cases where the attribute configuration is defined statically, but needs to * reference the host instance ("this") to obtain an initial value. If both the value and valueFn properties are defined, * the value returned by the valueFn has precedence over the value property, unless it returns undefined, in which * case the value property is used.</p> * * <p>valueFn can also be set to a string, representing the name of the instance method to be used to retrieve the value.</p> * </dd> * * <dt>readOnly &#60;boolean&#62;</dt> * <dd>Whether or not the attribute is read only. Attributes having readOnly set to true * cannot be modified by invoking the set method.</dd> * * <dt>writeOnce &#60;boolean&#62; or &#60;string&#62;</dt> * <dd> * Whether or not the attribute is "write once". Attributes having writeOnce set to true, * can only have their values set once, be it through the default configuration, * constructor configuration arguments, or by invoking set. * <p>The writeOnce attribute can also be set to the string "initOnly", in which case the attribute can only be set during initialization * (when used with Base, this means it can only be set during construction)</p> * </dd> * * <dt>setter &#60;Function | String&#62;</dt> * <dd> * <p>The setter function used to massage or normalize the value passed to the set method for the attribute. * The value returned by the setter will be the final stored value. Returning * <a href="#property_Attribute.INVALID_VALUE">Attribute.INVALID_VALUE</a>, from the setter will prevent * the value from being stored. * </p> * * <p>setter can also be set to a string, representing the name of the instance method to be used as the setter function.</p> * </dd> * * <dt>getter &#60;Function | String&#62;</dt> * <dd> * <p> * The getter function used to massage or normalize the value returned by the get method for the attribute. * The value returned by the getter function is the value which will be returned to the user when they * invoke get. * </p> * * <p>getter can also be set to a string, representing the name of the instance method to be used as the getter function.</p> * </dd> * * <dt>validator &#60;Function | String&#62;</dt> * <dd> * <p> * The validator function invoked prior to setting the stored value. Returning * false from the validator function will prevent the value from being stored. * </p> * * <p>validator can also be set to a string, representing the name of the instance method to be used as the validator function.</p> * </dd> * * <dt>lazyAdd &#60;boolean&#62;</dt> * <dd>Whether or not to delay initialization of the attribute until the first call to get/set it. * This flag can be used to over-ride lazy initialization on a per attribute basis, when adding multiple attributes through * the <a href="#method_addAttrs">addAttrs</a> method.</dd> * * </dl> * * <p>The setter, getter and validator are invoked with the value and name passed in as the first and second arguments, and with * the context ("this") set to the host object.</p> * * <p>Configuration properties outside of the list mentioned above are considered private properties used internally by attribute, * and are not intended for public use.</p> * * @method addAttr * * @param {String} name The name of the attribute. * @param {Object} config An object with attribute configuration property/value pairs, specifying the configuration for the attribute. * * <p> * <strong>NOTE:</strong> The configuration object is modified when adding an attribute, so if you need * to protect the original values, you will need to merge the object. * </p> * * @param {boolean} lazy (optional) Whether or not to add this attribute lazily (on the first call to get/set). * * @return {Object} A reference to the host object. * * @chainable */ addAttr: function(name, config, lazy) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "addAttr", 398); _yuitest_coverline("build/attribute-core/attribute-core.js", 401); var host = this, // help compression state = host._state, value, hasValue; _yuitest_coverline("build/attribute-core/attribute-core.js", 406); config = config || {}; _yuitest_coverline("build/attribute-core/attribute-core.js", 408); lazy = (LAZY_ADD in config) ? config[LAZY_ADD] : lazy; _yuitest_coverline("build/attribute-core/attribute-core.js", 410); if (lazy && !host.attrAdded(name)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 411); state.addAll(name, { lazy : config, added : true }); } else { _yuitest_coverline("build/attribute-core/attribute-core.js", 418); if (!host.attrAdded(name) || state.get(name, IS_LAZY_ADD)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 420); hasValue = (VALUE in config); _yuitest_coverline("build/attribute-core/attribute-core.js", 423); if (hasValue) { // We'll go through set, don't want to set value in config directly _yuitest_coverline("build/attribute-core/attribute-core.js", 425); value = config.value; _yuitest_coverline("build/attribute-core/attribute-core.js", 426); delete config.value; } _yuitest_coverline("build/attribute-core/attribute-core.js", 429); config.added = true; _yuitest_coverline("build/attribute-core/attribute-core.js", 430); config.initializing = true; _yuitest_coverline("build/attribute-core/attribute-core.js", 432); state.addAll(name, config); _yuitest_coverline("build/attribute-core/attribute-core.js", 434); if (hasValue) { // Go through set, so that raw values get normalized/validated _yuitest_coverline("build/attribute-core/attribute-core.js", 436); host.set(name, value); } _yuitest_coverline("build/attribute-core/attribute-core.js", 439); state.remove(name, INITIALIZING); } } _yuitest_coverline("build/attribute-core/attribute-core.js", 443); return host; }, /** * Checks if the given attribute has been added to the host * * @method attrAdded * @param {String} name The name of the attribute to check. * @return {boolean} true if an attribute with the given name has been added, false if it hasn't. This method will return true for lazily added attributes. */ attrAdded: function(name) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "attrAdded", 453); _yuitest_coverline("build/attribute-core/attribute-core.js", 454); return !!this._state.get(name, ADDED); }, /** * Returns the current value of the attribute. If the attribute * has been configured with a 'getter' function, this method will delegate * to the 'getter' to obtain the value of the attribute. * * @method get * * @param {String} name The name of the attribute. If the value of the attribute is an Object, * dot notation can be used to obtain the value of a property of the object (e.g. <code>get("x.y.z")</code>) * * @return {Any} The value of the attribute */ get : function(name) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "get", 469); _yuitest_coverline("build/attribute-core/attribute-core.js", 470); return this._getAttr(name); }, /** * Checks whether or not the attribute is one which has been * added lazily and still requires initialization. * * @method _isLazyAttr * @private * @param {String} name The name of the attribute * @return {boolean} true if it's a lazily added attribute, false otherwise. */ _isLazyAttr: function(name) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_isLazyAttr", 482); _yuitest_coverline("build/attribute-core/attribute-core.js", 483); return this._state.get(name, LAZY); }, /** * Finishes initializing an attribute which has been lazily added. * * @method _addLazyAttr * @private * @param {Object} name The name of the attribute */ _addLazyAttr: function(name, cfg) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_addLazyAttr", 493); _yuitest_coverline("build/attribute-core/attribute-core.js", 494); var state = this._state, lazyCfg = state.get(name, LAZY); _yuitest_coverline("build/attribute-core/attribute-core.js", 497); state.add(name, IS_LAZY_ADD, true); _yuitest_coverline("build/attribute-core/attribute-core.js", 498); state.remove(name, LAZY); _yuitest_coverline("build/attribute-core/attribute-core.js", 499); this.addAttr(name, lazyCfg); }, /** * Sets the value of an attribute. * * @method set * @chainable * * @param {String} name The name of the attribute. If the * current value of the attribute is an Object, dot notation can be used * to set the value of a property within the object (e.g. <code>set("x.y.z", 5)</code>). * * @param {Any} value The value to set the attribute to. * * @return {Object} A reference to the host object. */ set : function(name, val) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "set", 516); _yuitest_coverline("build/attribute-core/attribute-core.js", 517); return this._setAttr(name, val); }, /** * Allows setting of readOnly/writeOnce attributes. See <a href="#method_set">set</a> for argument details. * * @method _set * @protected * @chainable * * @param {String} name The name of the attribute. * @param {Any} val The value to set the attribute to. * @return {Object} A reference to the host object. */ _set : function(name, val) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_set", 531); _yuitest_coverline("build/attribute-core/attribute-core.js", 532); return this._setAttr(name, val, null, true); }, /** * Provides the common implementation for the public set and protected _set methods. * * See <a href="#method_set">set</a> for argument details. * * @method _setAttr * @protected * @chainable * * @param {String} name The name of the attribute. * @param {Any} value The value to set the attribute to. * @param {Object} opts (Optional) Optional event data to be mixed into * the event facade passed to subscribers of the attribute's change event. * This is currently a hack. There's no real need for the AttributeCore implementation * to support this parameter, but breaking it out into AttributeObservable, results in * additional function hops for the critical path. * @param {boolean} force If true, allows the caller to set values for * readOnly or writeOnce attributes which have already been set. * * @return {Object} A reference to the host object. */ _setAttr : function(name, val, opts, force) { // HACK - no real reason core needs to know about opts, but // it adds fn hops if we want to break it out. // Not sure it's worth it for this critical path _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_setAttr", 556); _yuitest_coverline("build/attribute-core/attribute-core.js", 562); var allowSet = true, state = this._state, stateProxy = this._stateProxy, cfg, initialSet, strPath, path, currVal, writeOnce, initializing; _yuitest_coverline("build/attribute-core/attribute-core.js", 573); if (name.indexOf(DOT) !== -1) { _yuitest_coverline("build/attribute-core/attribute-core.js", 574); strPath = name; _yuitest_coverline("build/attribute-core/attribute-core.js", 575); path = name.split(DOT); _yuitest_coverline("build/attribute-core/attribute-core.js", 576); name = path.shift(); } _yuitest_coverline("build/attribute-core/attribute-core.js", 579); if (this._isLazyAttr(name)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 580); this._addLazyAttr(name); } _yuitest_coverline("build/attribute-core/attribute-core.js", 583); cfg = state.getAll(name, true) || {}; _yuitest_coverline("build/attribute-core/attribute-core.js", 585); initialSet = (!(VALUE in cfg)); _yuitest_coverline("build/attribute-core/attribute-core.js", 587); if (stateProxy && name in stateProxy && !cfg._bypassProxy) { // TODO: Value is always set for proxy. Can we do any better? Maybe take a snapshot as the initial value for the first call to set? _yuitest_coverline("build/attribute-core/attribute-core.js", 589); initialSet = false; } _yuitest_coverline("build/attribute-core/attribute-core.js", 592); writeOnce = cfg.writeOnce; _yuitest_coverline("build/attribute-core/attribute-core.js", 593); initializing = cfg.initializing; _yuitest_coverline("build/attribute-core/attribute-core.js", 595); if (!initialSet && !force) { _yuitest_coverline("build/attribute-core/attribute-core.js", 597); if (writeOnce) { _yuitest_coverline("build/attribute-core/attribute-core.js", 598); allowSet = false; } _yuitest_coverline("build/attribute-core/attribute-core.js", 601); if (cfg.readOnly) { _yuitest_coverline("build/attribute-core/attribute-core.js", 602); allowSet = false; } } _yuitest_coverline("build/attribute-core/attribute-core.js", 606); if (!initializing && !force && writeOnce === INIT_ONLY) { _yuitest_coverline("build/attribute-core/attribute-core.js", 607); allowSet = false; } _yuitest_coverline("build/attribute-core/attribute-core.js", 610); if (allowSet) { // Don't need currVal if initialSet (might fail in custom getter if it always expects a non-undefined/non-null value) _yuitest_coverline("build/attribute-core/attribute-core.js", 612); if (!initialSet) { _yuitest_coverline("build/attribute-core/attribute-core.js", 613); currVal = this.get(name); } _yuitest_coverline("build/attribute-core/attribute-core.js", 616); if (path) { _yuitest_coverline("build/attribute-core/attribute-core.js", 617); val = O.setValue(Y.clone(currVal), path, val); _yuitest_coverline("build/attribute-core/attribute-core.js", 619); if (val === undefined) { _yuitest_coverline("build/attribute-core/attribute-core.js", 620); allowSet = false; } } _yuitest_coverline("build/attribute-core/attribute-core.js", 624); if (allowSet) { _yuitest_coverline("build/attribute-core/attribute-core.js", 625); if (!this._fireAttrChange || initializing) { _yuitest_coverline("build/attribute-core/attribute-core.js", 626); this._setAttrVal(name, strPath, currVal, val); } else { // HACK - no real reason core needs to know about _fireAttrChange, but // it adds fn hops if we want to break it out. Not sure it's worth it for this critical path _yuitest_coverline("build/attribute-core/attribute-core.js", 630); this._fireAttrChange(name, strPath, currVal, val, opts); } } } _yuitest_coverline("build/attribute-core/attribute-core.js", 635); return this; }, /** * Provides the common implementation for the public get method, * allowing Attribute hosts to over-ride either method. * * See <a href="#method_get">get</a> for argument details. * * @method _getAttr * @protected * @chainable * * @param {String} name The name of the attribute. * @return {Any} The value of the attribute. */ _getAttr : function(name) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_getAttr", 651); _yuitest_coverline("build/attribute-core/attribute-core.js", 652); var host = this, // help compression fullName = name, state = host._state, path, getter, val, cfg; _yuitest_coverline("build/attribute-core/attribute-core.js", 660); if (name.indexOf(DOT) !== -1) { _yuitest_coverline("build/attribute-core/attribute-core.js", 661); path = name.split(DOT); _yuitest_coverline("build/attribute-core/attribute-core.js", 662); name = path.shift(); } // On Demand - Should be rare - handles out of order valueFn references _yuitest_coverline("build/attribute-core/attribute-core.js", 666); if (host._tCfgs && host._tCfgs[name]) { _yuitest_coverline("build/attribute-core/attribute-core.js", 667); cfg = {}; _yuitest_coverline("build/attribute-core/attribute-core.js", 668); cfg[name] = host._tCfgs[name]; _yuitest_coverline("build/attribute-core/attribute-core.js", 669); delete host._tCfgs[name]; _yuitest_coverline("build/attribute-core/attribute-core.js", 670); host._addAttrs(cfg, host._tVals); } // Lazy Init _yuitest_coverline("build/attribute-core/attribute-core.js", 674); if (host._isLazyAttr(name)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 675); host._addLazyAttr(name); } _yuitest_coverline("build/attribute-core/attribute-core.js", 678); val = host._getStateVal(name); _yuitest_coverline("build/attribute-core/attribute-core.js", 680); getter = state.get(name, GETTER); _yuitest_coverline("build/attribute-core/attribute-core.js", 682); if (getter && !getter.call) { _yuitest_coverline("build/attribute-core/attribute-core.js", 683); getter = this[getter]; } _yuitest_coverline("build/attribute-core/attribute-core.js", 686); val = (getter) ? getter.call(host, val, fullName) : val; _yuitest_coverline("build/attribute-core/attribute-core.js", 687); val = (path) ? O.getValue(val, path) : val; _yuitest_coverline("build/attribute-core/attribute-core.js", 689); return val; }, /** * Gets the stored value for the attribute, from either the * internal state object, or the state proxy if it exits * * @method _getStateVal * @private * @param {String} name The name of the attribute * @return {Any} The stored value of the attribute */ _getStateVal : function(name) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_getStateVal", 701); _yuitest_coverline("build/attribute-core/attribute-core.js", 702); var stateProxy = this._stateProxy; _yuitest_coverline("build/attribute-core/attribute-core.js", 703); return stateProxy && (name in stateProxy) && !this._state.get(name, BYPASS_PROXY) ? stateProxy[name] : this._state.get(name, VALUE); }, /** * Sets the stored value for the attribute, in either the * internal state object, or the state proxy if it exits * * @method _setStateVal * @private * @param {String} name The name of the attribute * @param {Any} value The value of the attribute */ _setStateVal : function(name, value) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_setStateVal", 715); _yuitest_coverline("build/attribute-core/attribute-core.js", 716); var stateProxy = this._stateProxy; _yuitest_coverline("build/attribute-core/attribute-core.js", 717); if (stateProxy && (name in stateProxy) && !this._state.get(name, BYPASS_PROXY)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 718); stateProxy[name] = value; } else { _yuitest_coverline("build/attribute-core/attribute-core.js", 720); this._state.add(name, VALUE, value); } }, /** * Updates the stored value of the attribute in the privately held State object, * if validation and setter passes. * * @method _setAttrVal * @private * @param {String} attrName The attribute name. * @param {String} subAttrName The sub-attribute name, if setting a sub-attribute property ("x.y.z"). * @param {Any} prevVal The currently stored value of the attribute. * @param {Any} newVal The value which is going to be stored. * * @return {booolean} true if the new attribute value was stored, false if not. */ _setAttrVal : function(attrName, subAttrName, prevVal, newVal) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_setAttrVal", 737); _yuitest_coverline("build/attribute-core/attribute-core.js", 739); var host = this, allowSet = true, cfg = this._state.getAll(attrName, true) || {}, validator = cfg.validator, setter = cfg.setter, initializing = cfg.initializing, prevRawVal = this._getStateVal(attrName), name = subAttrName || attrName, retVal, valid; _yuitest_coverline("build/attribute-core/attribute-core.js", 750); if (validator) { _yuitest_coverline("build/attribute-core/attribute-core.js", 751); if (!validator.call) { // Assume string - trying to keep critical path tight, so avoiding Lang check _yuitest_coverline("build/attribute-core/attribute-core.js", 753); validator = this[validator]; } _yuitest_coverline("build/attribute-core/attribute-core.js", 755); if (validator) { _yuitest_coverline("build/attribute-core/attribute-core.js", 756); valid = validator.call(host, newVal, name); _yuitest_coverline("build/attribute-core/attribute-core.js", 758); if (!valid && initializing) { _yuitest_coverline("build/attribute-core/attribute-core.js", 759); newVal = cfg.defaultValue; _yuitest_coverline("build/attribute-core/attribute-core.js", 760); valid = true; // Assume it's valid, for perf. } } } _yuitest_coverline("build/attribute-core/attribute-core.js", 765); if (!validator || valid) { _yuitest_coverline("build/attribute-core/attribute-core.js", 766); if (setter) { _yuitest_coverline("build/attribute-core/attribute-core.js", 767); if (!setter.call) { // Assume string - trying to keep critical path tight, so avoiding Lang check _yuitest_coverline("build/attribute-core/attribute-core.js", 769); setter = this[setter]; } _yuitest_coverline("build/attribute-core/attribute-core.js", 771); if (setter) { _yuitest_coverline("build/attribute-core/attribute-core.js", 772); retVal = setter.call(host, newVal, name); _yuitest_coverline("build/attribute-core/attribute-core.js", 774); if (retVal === INVALID_VALUE) { _yuitest_coverline("build/attribute-core/attribute-core.js", 775); allowSet = false; } else {_yuitest_coverline("build/attribute-core/attribute-core.js", 776); if (retVal !== undefined){ _yuitest_coverline("build/attribute-core/attribute-core.js", 777); newVal = retVal; }} } } _yuitest_coverline("build/attribute-core/attribute-core.js", 782); if (allowSet) { _yuitest_coverline("build/attribute-core/attribute-core.js", 783); if(!subAttrName && (newVal === prevRawVal) && !Lang.isObject(newVal)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 784); allowSet = false; } else { // Store value _yuitest_coverline("build/attribute-core/attribute-core.js", 787); if (!(INIT_VALUE in cfg)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 788); cfg.initValue = newVal; } _yuitest_coverline("build/attribute-core/attribute-core.js", 790); host._setStateVal(attrName, newVal); } } } else { _yuitest_coverline("build/attribute-core/attribute-core.js", 795); allowSet = false; } _yuitest_coverline("build/attribute-core/attribute-core.js", 798); return allowSet; }, /** * Sets multiple attribute values. * * @method setAttrs * @param {Object} attrs An object with attributes name/value pairs. * @return {Object} A reference to the host object. * @chainable */ setAttrs : function(attrs) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "setAttrs", 809); _yuitest_coverline("build/attribute-core/attribute-core.js", 810); return this._setAttrs(attrs); }, /** * Implementation behind the public setAttrs method, to set multiple attribute values. * * @method _setAttrs * @protected * @param {Object} attrs An object with attributes name/value pairs. * @return {Object} A reference to the host object. * @chainable */ _setAttrs : function(attrs) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_setAttrs", 822); _yuitest_coverline("build/attribute-core/attribute-core.js", 823); var attr; _yuitest_coverline("build/attribute-core/attribute-core.js", 824); for (attr in attrs) { _yuitest_coverline("build/attribute-core/attribute-core.js", 825); if ( attrs.hasOwnProperty(attr) ) { _yuitest_coverline("build/attribute-core/attribute-core.js", 826); this.set(attr, attrs[attr]); } } _yuitest_coverline("build/attribute-core/attribute-core.js", 829); return this; }, /** * Gets multiple attribute values. * * @method getAttrs * @param {Array | boolean} attrs Optional. An array of attribute names. If omitted, all attribute values are * returned. If set to true, all attributes modified from their initial values are returned. * @return {Object} An object with attribute name/value pairs. */ getAttrs : function(attrs) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "getAttrs", 840); _yuitest_coverline("build/attribute-core/attribute-core.js", 841); return this._getAttrs(attrs); }, /** * Implementation behind the public getAttrs method, to get multiple attribute values. * * @method _getAttrs * @protected * @param {Array | boolean} attrs Optional. An array of attribute names. If omitted, all attribute values are * returned. If set to true, all attributes modified from their initial values are returned. * @return {Object} An object with attribute name/value pairs. */ _getAttrs : function(attrs) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_getAttrs", 853); _yuitest_coverline("build/attribute-core/attribute-core.js", 854); var obj = {}, attr, i, len, modifiedOnly = (attrs === true); // TODO - figure out how to get all "added" _yuitest_coverline("build/attribute-core/attribute-core.js", 859); if (!attrs || modifiedOnly) { _yuitest_coverline("build/attribute-core/attribute-core.js", 860); attrs = O.keys(this._state.data); } _yuitest_coverline("build/attribute-core/attribute-core.js", 863); for (i = 0, len = attrs.length; i < len; i++) { _yuitest_coverline("build/attribute-core/attribute-core.js", 864); attr = attrs[i]; _yuitest_coverline("build/attribute-core/attribute-core.js", 866); if (!modifiedOnly || this._getStateVal(attr) != this._state.get(attr, INIT_VALUE)) { // Go through get, to honor cloning/normalization _yuitest_coverline("build/attribute-core/attribute-core.js", 868); obj[attr] = this.get(attr); } } _yuitest_coverline("build/attribute-core/attribute-core.js", 872); return obj; }, /** * Configures a group of attributes, and sets initial values. * * <p> * <strong>NOTE:</strong> This method does not isolate the configuration object by merging/cloning. * The caller is responsible for merging/cloning the configuration object if required. * </p> * * @method addAttrs * @chainable * * @param {Object} cfgs An object with attribute name/configuration pairs. * @param {Object} values An object with attribute name/value pairs, defining the initial values to apply. * Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only. * @param {boolean} lazy Whether or not to delay the intialization of these attributes until the first call to get/set. * Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. * See <a href="#method_addAttr">addAttr</a>. * * @return {Object} A reference to the host object. */ addAttrs : function(cfgs, values, lazy) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "addAttrs", 895); _yuitest_coverline("build/attribute-core/attribute-core.js", 896); var host = this; // help compression _yuitest_coverline("build/attribute-core/attribute-core.js", 897); if (cfgs) { _yuitest_coverline("build/attribute-core/attribute-core.js", 898); host._tCfgs = cfgs; _yuitest_coverline("build/attribute-core/attribute-core.js", 899); host._tVals = host._normAttrVals(values); _yuitest_coverline("build/attribute-core/attribute-core.js", 900); host._addAttrs(cfgs, host._tVals, lazy); _yuitest_coverline("build/attribute-core/attribute-core.js", 901); host._tCfgs = host._tVals = null; } _yuitest_coverline("build/attribute-core/attribute-core.js", 904); return host; }, /** * Implementation behind the public addAttrs method. * * This method is invoked directly by get if it encounters a scenario * in which an attribute's valueFn attempts to obtain the * value an attribute in the same group of attributes, which has not yet * been added (on demand initialization). * * @method _addAttrs * @private * @param {Object} cfgs An object with attribute name/configuration pairs. * @param {Object} values An object with attribute name/value pairs, defining the initial values to apply. * Values defined in the cfgs argument will be over-written by values in this argument unless defined as read only. * @param {boolean} lazy Whether or not to delay the intialization of these attributes until the first call to get/set. * Individual attributes can over-ride this behavior by defining a lazyAdd configuration property in their configuration. * See <a href="#method_addAttr">addAttr</a>. */ _addAttrs : function(cfgs, values, lazy) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_addAttrs", 924); _yuitest_coverline("build/attribute-core/attribute-core.js", 925); var host = this, // help compression attr, attrCfg, value; _yuitest_coverline("build/attribute-core/attribute-core.js", 930); for (attr in cfgs) { _yuitest_coverline("build/attribute-core/attribute-core.js", 931); if (cfgs.hasOwnProperty(attr)) { // Not Merging. Caller is responsible for isolating configs _yuitest_coverline("build/attribute-core/attribute-core.js", 934); attrCfg = cfgs[attr]; _yuitest_coverline("build/attribute-core/attribute-core.js", 935); attrCfg.defaultValue = attrCfg.value; // Handle simple, complex and user values, accounting for read-only _yuitest_coverline("build/attribute-core/attribute-core.js", 938); value = host._getAttrInitVal(attr, attrCfg, host._tVals); _yuitest_coverline("build/attribute-core/attribute-core.js", 940); if (value !== undefined) { _yuitest_coverline("build/attribute-core/attribute-core.js", 941); attrCfg.value = value; } _yuitest_coverline("build/attribute-core/attribute-core.js", 944); if (host._tCfgs[attr]) { _yuitest_coverline("build/attribute-core/attribute-core.js", 945); delete host._tCfgs[attr]; } _yuitest_coverline("build/attribute-core/attribute-core.js", 948); host.addAttr(attr, attrCfg, lazy); } } }, /** * Utility method to protect an attribute configuration * hash, by merging the entire object and the individual * attr config objects. * * @method _protectAttrs * @protected * @param {Object} attrs A hash of attribute to configuration object pairs. * @return {Object} A protected version of the attrs argument. * @deprecated Use `AttributeCore.protectAttrs()` or * `Attribute.protectAttrs()` which are the same static utility method. */ _protectAttrs : AttributeCore.protectAttrs, /** * Utility method to split out simple attribute name/value pairs ("x") * from complex attribute name/value pairs ("x.y.z"), so that complex * attributes can be keyed by the top level attribute name. * * @method _normAttrVals * @param {Object} valueHash An object with attribute name/value pairs * * @return {Object} An object literal with 2 properties - "simple" and "complex", * containing simple and complex attribute values respectively keyed * by the top level attribute name, or null, if valueHash is falsey. * * @private */ _normAttrVals : function(valueHash) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_normAttrVals", 981); _yuitest_coverline("build/attribute-core/attribute-core.js", 982); var vals = {}, subvals = {}, path, attr, v, k; _yuitest_coverline("build/attribute-core/attribute-core.js", 988); if (valueHash) { _yuitest_coverline("build/attribute-core/attribute-core.js", 989); for (k in valueHash) { _yuitest_coverline("build/attribute-core/attribute-core.js", 990); if (valueHash.hasOwnProperty(k)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 991); if (k.indexOf(DOT) !== -1) { _yuitest_coverline("build/attribute-core/attribute-core.js", 992); path = k.split(DOT); _yuitest_coverline("build/attribute-core/attribute-core.js", 993); attr = path.shift(); _yuitest_coverline("build/attribute-core/attribute-core.js", 994); v = subvals[attr] = subvals[attr] || []; _yuitest_coverline("build/attribute-core/attribute-core.js", 995); v[v.length] = { path : path, value: valueHash[k] }; } else { _yuitest_coverline("build/attribute-core/attribute-core.js", 1000); vals[k] = valueHash[k]; } } } _yuitest_coverline("build/attribute-core/attribute-core.js", 1004); return { simple:vals, complex:subvals }; } else { _yuitest_coverline("build/attribute-core/attribute-core.js", 1006); return null; } }, /** * Returns the initial value of the given attribute from * either the default configuration provided, or the * over-ridden value if it exists in the set of initValues * provided and the attribute is not read-only. * * @param {String} attr The name of the attribute * @param {Object} cfg The attribute configuration object * @param {Object} initValues The object with simple and complex attribute name/value pairs returned from _normAttrVals * * @return {Any} The initial value of the attribute. * * @method _getAttrInitVal * @private */ _getAttrInitVal : function(attr, cfg, initValues) { _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_getAttrInitVal", 1025); _yuitest_coverline("build/attribute-core/attribute-core.js", 1027); var val = cfg.value, valFn = cfg.valueFn, tmpVal, initValSet = false, simple, complex, i, l, path, subval, subvals; _yuitest_coverline("build/attribute-core/attribute-core.js", 1039); if (!cfg.readOnly && initValues) { // Simple Attributes _yuitest_coverline("build/attribute-core/attribute-core.js", 1041); simple = initValues.simple; _yuitest_coverline("build/attribute-core/attribute-core.js", 1042); if (simple && simple.hasOwnProperty(attr)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 1043); val = simple[attr]; _yuitest_coverline("build/attribute-core/attribute-core.js", 1044); initValSet = true; } } _yuitest_coverline("build/attribute-core/attribute-core.js", 1048); if (valFn && !initValSet) { _yuitest_coverline("build/attribute-core/attribute-core.js", 1049); if (!valFn.call) { _yuitest_coverline("build/attribute-core/attribute-core.js", 1050); valFn = this[valFn]; } _yuitest_coverline("build/attribute-core/attribute-core.js", 1052); if (valFn) { _yuitest_coverline("build/attribute-core/attribute-core.js", 1053); tmpVal = valFn.call(this, attr); _yuitest_coverline("build/attribute-core/attribute-core.js", 1054); val = tmpVal; } } _yuitest_coverline("build/attribute-core/attribute-core.js", 1058); if (!cfg.readOnly && initValues) { // Complex Attributes (complex values applied, after simple, in case both are set) _yuitest_coverline("build/attribute-core/attribute-core.js", 1061); complex = initValues.complex; _yuitest_coverline("build/attribute-core/attribute-core.js", 1063); if (complex && complex.hasOwnProperty(attr) && (val !== undefined) && (val !== null)) { _yuitest_coverline("build/attribute-core/attribute-core.js", 1064); subvals = complex[attr]; _yuitest_coverline("build/attribute-core/attribute-core.js", 1065); for (i = 0, l = subvals.length; i < l; ++i) { _yuitest_coverline("build/attribute-core/attribute-core.js", 1066); path = subvals[i].path; _yuitest_coverline("build/attribute-core/attribute-core.js", 1067); subval = subvals[i].value; _yuitest_coverline("build/attribute-core/attribute-core.js", 1068); O.setValue(val, path, subval); } } } _yuitest_coverline("build/attribute-core/attribute-core.js", 1073); return val; }, /** * Utility method to set up initial attributes defined during construction, either through the constructor.ATTRS property, or explicitly passed in. * * @method _initAttrs * @protected * @param attrs {Object} The attributes to add during construction (passed through to <a href="#method_addAttrs">addAttrs</a>). These can also be defined on the constructor being augmented with Attribute by defining the ATTRS property on the constructor. * @param values {Object} The initial attribute values to apply (passed through to <a href="#method_addAttrs">addAttrs</a>). These are not merged/cloned. The caller is responsible for isolating user provided values if required. * @param lazy {boolean} Whether or not to add attributes lazily (passed through to <a href="#method_addAttrs">addAttrs</a>). */ _initAttrs : function(attrs, values, lazy) { // ATTRS support for Node, which is not Base based _yuitest_coverfunc("build/attribute-core/attribute-core.js", "_initAttrs", 1085); _yuitest_coverline("build/attribute-core/attribute-core.js", 1087); attrs = attrs || this.constructor.ATTRS; _yuitest_coverline("build/attribute-core/attribute-core.js", 1089); var Base = Y.Base, BaseCore = Y.BaseCore, baseInst = (Base && Y.instanceOf(this, Base)), baseCoreInst = (!baseInst && BaseCore && Y.instanceOf(this, BaseCore)); _yuitest_coverline("build/attribute-core/attribute-core.js", 1094); if (attrs && !baseInst && !baseCoreInst) { _yuitest_coverline("build/attribute-core/attribute-core.js", 1095); this.addAttrs(Y.AttributeCore.protectAttrs(attrs), values, lazy); } } }; _yuitest_coverline("build/attribute-core/attribute-core.js", 1100); Y.AttributeCore = AttributeCore; }, '@VERSION@', {"requires": ["oop"]});
luhad/cdnjs
ajax/libs/yui/3.8.0/attribute-core/attribute-core-coverage.js
JavaScript
mit
109,196
/* YUI 3.16.0 (build 76f0e08) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ .yui3-datatable-paginator-wrapper{border:0;padding:0}.yui3-datatable-paginator{padding:3px;white-space:nowrap}.yui3-datatable-paginator .yui3-paginator-content{position:relative}.yui3-datatable-paginator .yui3-paginator-page-select{position:absolute;right:0;top:0}.yui3-datatable-paginator .yui3-datatable-paginator-group{display:inline-block;zoom:1;*display:inline}.yui3-datatable-paginator .yui3-datatable-paginator-control{display:inline-block;zoom:1;*display:inline;margin:0 3px;padding:0 .2em;text-align:center;text-decoration:none;line-height:1.5;border:1px solid transparent;border-radius:3px;background:transparent}.yui3-datatable-paginator .yui3-datatable-paginator-control-disabled,.yui3-datatable-paginator .yui3-datatable-paginator-control-disabled:hover{cursor:default}.yui3-datatable-paginator .yui3-datatable-paginator-group input{width:3em}.yui3-datatable-paginator form{text-align:center;margin:0 2em}.yui3-datatable-paginator .yui3-datatable-paginator-per-page{text-align:right}.yui3-datatable-paginator{background:white url(../../../../assets/skins/sam/sprite.png) repeat-x 0 0;background-image:-webkit-linear-gradient(transparent 40%,hsla(0,0%,0%,0.21));background-image:-moz-linear-gradient(top,transparent 40%,hsla(0,0%,0%,0.21));background-image:-ms-linear-gradient(transparent 40%,hsla(0,0%,0%,0.21));background-image:-o-linear-gradient(transparent 40%,hsla(0,0%,0%,0.21));background-image:linear-gradient(transparent 40%,hsla(0,0%,0%,0.21));border-color:#cbcbcb}.yui3-datatable-paginator .yui3-datatable-paginator-control{color:#242d42}.yui3-datatable-paginator .yui3-datatable-paginator-control-first:hover,.yui3-datatable-paginator .yui3-datatable-paginator-control-last:hover,.yui3-datatable-paginator .yui3-datatable-paginator-control-prev:hover,.yui3-datatable-paginator .yui3-datatable-paginator-control-next:hover{box-shadow:0 1px 2px #292442}.yui3-datatable-paginator .yui3-datatable-paginator-control-first:active,.yui3-datatable-paginator .yui3-datatable-paginator-control-last:active,.yui3-datatable-paginator .yui3-datatable-paginator-control-prev:active,.yui3-datatable-paginator .yui3-datatable-paginator-control-next:active{box-shadow:inset 0 1px 1px #292442;background:#e0deed;background:hsla(250,30%,90%,0.3)}.yui3-datatable-paginator .yui3-datatable-paginator-control-disabled,.yui3-datatable-paginator .yui3-datatable-paginator-control-disabled:hover{color:#bdc7db;border-color:transparent;box-shadow:none}#yui3-css-stamp.skin-sam-datatable-paginator{display:none}
jmusicc/cdnjs
ajax/libs/yui/3.16.0/assets/skins/sam/datatable-paginator.css
CSS
mit
2,654
'use strict'; angular.module("ngLocale", [], ["$provide", function($provide) { var PLURAL_CATEGORY = {ZERO: "zero", ONE: "one", TWO: "two", FEW: "few", MANY: "many", OTHER: "other"}; function getDecimals(n) { n = n + ''; var i = n.indexOf('.'); return (i == -1) ? 0 : n.length - i - 1; } function getVF(n, opt_precision) { var v = opt_precision; if (undefined === v) { v = Math.min(getDecimals(n), 3); } var base = Math.pow(10, v); var f = ((n * base) | 0) % base; return {v: v, f: f}; } $provide.value("$locale", { "DATETIME_FORMATS": { "AMPMS": [ "WD", "WB" ], "DAY": [ "Dilbata", "Wiixata", "Qibxata", "Roobii", "Kamiisa", "Jimaata", "Sanbata" ], "ERANAMES": [ "KD", "KB" ], "ERAS": [ "KD", "KB" ], "FIRSTDAYOFWEEK": 0, "MONTH": [ "Amajjii", "Guraandhala", "Bitooteessa", "Elba", "Caamsa", "Waxabajjii", "Adooleessa", "Hagayya", "Fuulbana", "Onkololeessa", "Sadaasa", "Muddee" ], "SHORTDAY": [ "Dil", "Wix", "Qib", "Rob", "Kam", "Jim", "San" ], "SHORTMONTH": [ "Ama", "Gur", "Bit", "Elb", "Cam", "Wax", "Ado", "Hag", "Ful", "Onk", "Sad", "Mud" ], "STANDALONEMONTH": [ "Amajjii", "Guraandhala", "Bitooteessa", "Elba", "Caamsa", "Waxabajjii", "Adooleessa", "Hagayya", "Fuulbana", "Onkololeessa", "Sadaasa", "Muddee" ], "WEEKENDRANGE": [ 5, 6 ], "fullDate": "EEEE, MMMM d, y", "longDate": "dd MMMM y", "medium": "dd-MMM-y h:mm:ss a", "mediumDate": "dd-MMM-y", "mediumTime": "h:mm:ss a", "short": "dd/MM/yy h:mm a", "shortDate": "dd/MM/yy", "shortTime": "h:mm a" }, "NUMBER_FORMATS": { "CURRENCY_SYM": "Birr", "DECIMAL_SEP": ".", "GROUP_SEP": ",", "PATTERNS": [ { "gSize": 3, "lgSize": 3, "maxFrac": 3, "minFrac": 0, "minInt": 1, "negPre": "-", "negSuf": "", "posPre": "", "posSuf": "" }, { "gSize": 3, "lgSize": 3, "maxFrac": 2, "minFrac": 2, "minInt": 1, "negPre": "-\u00a4", "negSuf": "", "posPre": "\u00a4", "posSuf": "" } ] }, "id": "om", "localeID": "om", "pluralCat": function(n, opt_precision) { var i = n | 0; var vf = getVF(n, opt_precision); if (i == 1 && vf.v == 0) { return PLURAL_CATEGORY.ONE; } return PLURAL_CATEGORY.OTHER;} }); }]);
holtkamp/cdnjs
ajax/libs/angular-i18n/1.5.9/angular-locale_om.js
JavaScript
mit
2,741
.mm-search,.mm-search input{box-sizing:border-box}.mm-list>li.mm-search{padding:10px;margin-top:-20px}.mm-list>li.mm-subtitle+li.mm-search{margin-top:0}div.mm-panel>div.mm-search{padding:0 0 10px}.mm-menu.mm-hasheader .mm-list>li.mm-search{margin-top:0}.mm-search{background:inherit;width:100%;padding:10px;position:absolute;top:0;left:0;z-index:2}.mm-search input{border:none;border-radius:30px;font:inherit;font-size:14px;line-height:30px;outline:0;display:block;width:100%;height:30px;margin:0;padding:0 10px}.mm-menu .mm-noresultsmsg{text-align:center;font-size:21px;display:none;padding:60px 0}.mm-menu .mm-noresultsmsg:after{border:none!important}.mm-noresults .mm-noresultsmsg{display:block}.mm-menu li.mm-nosubresults>a.mm-subopen{display:none}.mm-menu li.mm-nosubresults>a.mm-subopen+a,.mm-menu li.mm-nosubresults>a.mm-subopen+span{padding-right:10px}.mm-menu.mm-hassearch>.mm-panel{padding-top:70px}.mm-menu.mm-hassearch>.mm-panel>.mm-list:first-child{margin-top:-20px}.mm-menu.mm-hasheader>.mm-panel>div.mm-search:first-child{margin-top:-10px}.mm-menu.mm-hasheader>.mm-panel>div.mm-search:first-child+.mm-list{padding-top:0}.mm-menu .mm-search input{background:rgba(255,255,255,.3);color:rgba(255,255,255,.6)}.mm-menu .mm-noresultsmsg{color:rgba(255,255,255,.3)}
KOLANICH/cdnjs
ajax/libs/jQuery.mmenu/4.4.2/css/addons/jquery.mmenu.searchfield.min.css
CSS
mit
1,273
.cm-s-the-matrix.CodeMirror { background: #000000; color: #00FF00; } .cm-s-the-matrix div.CodeMirror-selected { background: #2D2D2D !important; } .cm-s-the-matrix .CodeMirror-gutters { background: #060; border-right: 2px solid #00FF00; } .cm-s-the-matrix .CodeMirror-linenumber { color: #FFFFFF; } .cm-s-the-matrix .CodeMirror-cursor { border-left: 1px solid #00FF00 !important; } .cm-s-the-matrix span.cm-keyword {color: #008803; font-weight: bold;} .cm-s-the-matrix span.cm-atom {color: #3FF;} .cm-s-the-matrix span.cm-number {color: #FFB94F;} .cm-s-the-matrix span.cm-def {color: #99C;} .cm-s-the-matrix span.cm-variable {color: #F6C;} .cm-s-the-matrix span.cm-variable-2 {color: #C6F;} .cm-s-the-matrix span.cm-variable-3 {color: #96F;} .cm-s-the-matrix span.cm-property {color: #62FFA0;} .cm-s-the-matrix span.cm-operator {color: #999} .cm-s-the-matrix span.cm-comment {color: #CCCCCC;} .cm-s-the-matrix span.cm-string {color: #39C;} .cm-s-the-matrix span.cm-meta {color: #C9F;} .cm-s-the-matrix span.cm-qualifier {color: #FFF700;} .cm-s-the-matrix span.cm-builtin {color: #30a;} .cm-s-the-matrix span.cm-bracket {color: #cc7;} .cm-s-the-matrix span.cm-tag {color: #FFBD40;} .cm-s-the-matrix span.cm-attribute {color: #FFF700;} .cm-s-the-matrix span.cm-error {color: #FF0000;} .cm-s-the-matrix .CodeMirror-activeline-background {background: #040;}
jmusicc/cdnjs
ajax/libs/codemirror/3.24.0/theme/the-matrix.css
CSS
mit
1,355
/** * State-based routing for AngularJS * @version v0.2.13 * @link http://angular-ui.github.com/ * @license MIT License, http://www.opensource.org/licenses/MIT */ "undefined"!=typeof module&&"undefined"!=typeof exports&&module.exports===exports&&(module.exports="ui.router"),function(a,b,c){"use strict";function d(a,b){return M(new(M(function(){},{prototype:a})),b)}function e(a){return L(arguments,function(b){b!==a&&L(b,function(b,c){a.hasOwnProperty(c)||(a[c]=b)})}),a}function f(a,b){var c=[];for(var d in a.path){if(a.path[d]!==b.path[d])break;c.push(a.path[d])}return c}function g(a){if(Object.keys)return Object.keys(a);var c=[];return b.forEach(a,function(a,b){c.push(b)}),c}function h(a,b){if(Array.prototype.indexOf)return a.indexOf(b,Number(arguments[2])||0);var c=a.length>>>0,d=Number(arguments[2])||0;for(d=0>d?Math.ceil(d):Math.floor(d),0>d&&(d+=c);c>d;d++)if(d in a&&a[d]===b)return d;return-1}function i(a,b,c,d){var e,i=f(c,d),j={},k=[];for(var l in i)if(i[l].params&&(e=g(i[l].params),e.length))for(var m in e)h(k,e[m])>=0||(k.push(e[m]),j[e[m]]=a[e[m]]);return M({},j,b)}function j(a,b,c){if(!c){c=[];for(var d in a)c.push(d)}for(var e=0;e<c.length;e++){var f=c[e];if(a[f]!=b[f])return!1}return!0}function k(a,b){var c={};return L(a,function(a){c[a]=b[a]}),c}function l(a){var b={},c=Array.prototype.concat.apply(Array.prototype,Array.prototype.slice.call(arguments,1));for(var d in a)-1==h(c,d)&&(b[d]=a[d]);return b}function m(a,b){var c=K(a),d=c?[]:{};return L(a,function(a,e){b(a,e)&&(d[c?d.length:e]=a)}),d}function n(a,b){var c=K(a)?[]:{};return L(a,function(a,d){c[d]=b(a,d)}),c}function o(a,b){var d=1,f=2,i={},j=[],k=i,m=M(a.when(i),{$$promises:i,$$values:i});this.study=function(i){function n(a,c){if(s[c]!==f){if(r.push(c),s[c]===d)throw r.splice(0,h(r,c)),new Error("Cyclic dependency: "+r.join(" -> "));if(s[c]=d,I(a))q.push(c,[function(){return b.get(a)}],j);else{var e=b.annotate(a);L(e,function(a){a!==c&&i.hasOwnProperty(a)&&n(i[a],a)}),q.push(c,a,e)}r.pop(),s[c]=f}}function o(a){return J(a)&&a.then&&a.$$promises}if(!J(i))throw new Error("'invocables' must be an object");var p=g(i||{}),q=[],r=[],s={};return L(i,n),i=r=s=null,function(d,f,g){function h(){--u||(v||e(t,f.$$values),r.$$values=t,r.$$promises=r.$$promises||!0,delete r.$$inheritedValues,n.resolve(t))}function i(a){r.$$failure=a,n.reject(a)}function j(c,e,f){function j(a){l.reject(a),i(a)}function k(){if(!G(r.$$failure))try{l.resolve(b.invoke(e,g,t)),l.promise.then(function(a){t[c]=a,h()},j)}catch(a){j(a)}}var l=a.defer(),m=0;L(f,function(a){s.hasOwnProperty(a)&&!d.hasOwnProperty(a)&&(m++,s[a].then(function(b){t[a]=b,--m||k()},j))}),m||k(),s[c]=l.promise}if(o(d)&&g===c&&(g=f,f=d,d=null),d){if(!J(d))throw new Error("'locals' must be an object")}else d=k;if(f){if(!o(f))throw new Error("'parent' must be a promise returned by $resolve.resolve()")}else f=m;var n=a.defer(),r=n.promise,s=r.$$promises={},t=M({},d),u=1+q.length/3,v=!1;if(G(f.$$failure))return i(f.$$failure),r;f.$$inheritedValues&&e(t,l(f.$$inheritedValues,p)),M(s,f.$$promises),f.$$values?(v=e(t,l(f.$$values,p)),r.$$inheritedValues=l(f.$$values,p),h()):(f.$$inheritedValues&&(r.$$inheritedValues=l(f.$$inheritedValues,p)),f.then(h,i));for(var w=0,x=q.length;x>w;w+=3)d.hasOwnProperty(q[w])?h():j(q[w],q[w+1],q[w+2]);return r}},this.resolve=function(a,b,c,d){return this.study(a)(b,c,d)}}function p(a,b,c){this.fromConfig=function(a,b,c){return G(a.template)?this.fromString(a.template,b):G(a.templateUrl)?this.fromUrl(a.templateUrl,b):G(a.templateProvider)?this.fromProvider(a.templateProvider,b,c):null},this.fromString=function(a,b){return H(a)?a(b):a},this.fromUrl=function(c,d){return H(c)&&(c=c(d)),null==c?null:a.get(c,{cache:b,headers:{Accept:"text/html"}}).then(function(a){return a.data})},this.fromProvider=function(a,b,d){return c.invoke(a,null,d||{params:b})}}function q(a,b,e){function f(b,c,d,e){if(q.push(b),o[b])return o[b];if(!/^\w+(-+\w+)*(?:\[\])?$/.test(b))throw new Error("Invalid parameter name '"+b+"' in pattern '"+a+"'");if(p[b])throw new Error("Duplicate parameter name '"+b+"' in pattern '"+a+"'");return p[b]=new O.Param(b,c,d,e),p[b]}function g(a,b,c){var d=["",""],e=a.replace(/[\\\[\]\^$*+?.()|{}]/g,"\\$&");if(!b)return e;switch(c){case!1:d=["(",")"];break;case!0:d=["?(",")?"];break;default:d=["("+c+"|",")?"]}return e+d[0]+b+d[1]}function h(c,e){var f,g,h,i,j;return f=c[2]||c[3],j=b.params[f],h=a.substring(m,c.index),g=e?c[4]:c[4]||("*"==c[1]?".*":null),i=O.type(g||"string")||d(O.type("string"),{pattern:new RegExp(g)}),{id:f,regexp:g,segment:h,type:i,cfg:j}}b=M({params:{}},J(b)?b:{});var i,j=/([:*])([\w\[\]]+)|\{([\w\[\]]+)(?:\:((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,k=/([:]?)([\w\[\]-]+)|\{([\w\[\]-]+)(?:\:((?:[^{}\\]+|\\.|\{(?:[^{}\\]+|\\.)*\})+))?\}/g,l="^",m=0,n=this.segments=[],o=e?e.params:{},p=this.params=e?e.params.$$new():new O.ParamSet,q=[];this.source=a;for(var r,s,t;(i=j.exec(a))&&(r=h(i,!1),!(r.segment.indexOf("?")>=0));)s=f(r.id,r.type,r.cfg,"path"),l+=g(r.segment,s.type.pattern.source,s.squash),n.push(r.segment),m=j.lastIndex;t=a.substring(m);var u=t.indexOf("?");if(u>=0){var v=this.sourceSearch=t.substring(u);if(t=t.substring(0,u),this.sourcePath=a.substring(0,m+u),v.length>0)for(m=0;i=k.exec(v);)r=h(i,!0),s=f(r.id,r.type,r.cfg,"search"),m=j.lastIndex}else this.sourcePath=a,this.sourceSearch="";l+=g(t)+(b.strict===!1?"/?":"")+"$",n.push(t),this.regexp=new RegExp(l,b.caseInsensitive?"i":c),this.prefix=n[0],this.$$paramNames=q}function r(a){M(this,a)}function s(){function a(a){return null!=a?a.toString().replace(/\//g,"%2F"):a}function e(a){return null!=a?a.toString().replace(/%2F/g,"/"):a}function f(a){return this.pattern.test(a)}function i(){return{strict:t,caseInsensitive:p}}function j(a){return H(a)||K(a)&&H(a[a.length-1])}function k(){for(;x.length;){var a=x.shift();if(a.pattern)throw new Error("You cannot override a type's .pattern at runtime.");b.extend(v[a.name],o.invoke(a.def))}}function l(a){M(this,a||{})}O=this;var o,p=!1,t=!0,u=!1,v={},w=!0,x=[],y={string:{encode:a,decode:e,is:f,pattern:/[^/]*/},"int":{encode:a,decode:function(a){return parseInt(a,10)},is:function(a){return G(a)&&this.decode(a.toString())===a},pattern:/\d+/},bool:{encode:function(a){return a?1:0},decode:function(a){return 0!==parseInt(a,10)},is:function(a){return a===!0||a===!1},pattern:/0|1/},date:{encode:function(a){return this.is(a)?[a.getFullYear(),("0"+(a.getMonth()+1)).slice(-2),("0"+a.getDate()).slice(-2)].join("-"):c},decode:function(a){if(this.is(a))return a;var b=this.capture.exec(a);return b?new Date(b[1],b[2]-1,b[3]):c},is:function(a){return a instanceof Date&&!isNaN(a.valueOf())},equals:function(a,b){return this.is(a)&&this.is(b)&&a.toISOString()===b.toISOString()},pattern:/[0-9]{4}-(?:0[1-9]|1[0-2])-(?:0[1-9]|[1-2][0-9]|3[0-1])/,capture:/([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/},json:{encode:b.toJson,decode:b.fromJson,is:b.isObject,equals:b.equals,pattern:/[^/]*/},any:{encode:b.identity,decode:b.identity,is:b.identity,equals:b.equals,pattern:/.*/}};s.$$getDefaultValue=function(a){if(!j(a.value))return a.value;if(!o)throw new Error("Injectable functions cannot be called at configuration time");return o.invoke(a.value)},this.caseInsensitive=function(a){return G(a)&&(p=a),p},this.strictMode=function(a){return G(a)&&(t=a),t},this.defaultSquashPolicy=function(a){if(!G(a))return u;if(a!==!0&&a!==!1&&!I(a))throw new Error("Invalid squash policy: "+a+". Valid policies: false, true, arbitrary-string");return u=a,a},this.compile=function(a,b){return new q(a,M(i(),b))},this.isMatcher=function(a){if(!J(a))return!1;var b=!0;return L(q.prototype,function(c,d){H(c)&&(b=b&&G(a[d])&&H(a[d]))}),b},this.type=function(a,b,c){if(!G(b))return v[a];if(v.hasOwnProperty(a))throw new Error("A type named '"+a+"' has already been defined.");return v[a]=new r(M({name:a},b)),c&&(x.push({name:a,def:c}),w||k()),this},L(y,function(a,b){v[b]=new r(M({name:b},a))}),v=d(v,{}),this.$get=["$injector",function(a){return o=a,w=!1,k(),L(y,function(a,b){v[b]||(v[b]=new r(a))}),this}],this.Param=function(a,b,d,e){function f(a){var b=J(a)?g(a):[],c=-1===h(b,"value")&&-1===h(b,"type")&&-1===h(b,"squash")&&-1===h(b,"array");return c&&(a={value:a}),a.$$fn=j(a.value)?a.value:function(){return a.value},a}function i(b,c,d){if(b.type&&c)throw new Error("Param '"+a+"' has two type configurations.");return c?c:b.type?b.type instanceof r?b.type:new r(b.type):"config"===d?v.any:v.string}function k(){var b={array:"search"===e?"auto":!1},c=a.match(/\[\]$/)?{array:!0}:{};return M(b,c,d).array}function l(a,b){var c=a.squash;if(!b||c===!1)return!1;if(!G(c)||null==c)return u;if(c===!0||I(c))return c;throw new Error("Invalid squash policy: '"+c+"'. Valid policies: false, true, or arbitrary string")}function p(a,b,d,e){var f,g,i=[{from:"",to:d||b?c:""},{from:null,to:d||b?c:""}];return f=K(a.replace)?a.replace:[],I(e)&&f.push({from:e,to:c}),g=n(f,function(a){return a.from}),m(i,function(a){return-1===h(g,a.from)}).concat(f)}function q(){if(!o)throw new Error("Injectable functions cannot be called at configuration time");return o.invoke(d.$$fn)}function s(a){function b(a){return function(b){return b.from===a}}function c(a){var c=n(m(w.replace,b(a)),function(a){return a.to});return c.length?c[0]:a}return a=c(a),G(a)?w.type.decode(a):q()}function t(){return"{Param:"+a+" "+b+" squash: '"+z+"' optional: "+y+"}"}var w=this;d=f(d),b=i(d,b,e);var x=k();b=x?b.$asArray(x,"search"===e):b,"string"!==b.name||x||"path"!==e||d.value!==c||(d.value="");var y=d.value!==c,z=l(d,y),A=p(d,x,y,z);M(this,{id:a,type:b,location:e,array:x,squash:z,replace:A,isOptional:y,value:s,dynamic:c,config:d,toString:t})},l.prototype={$$new:function(){return d(this,M(new l,{$$parent:this}))},$$keys:function(){for(var a=[],b=[],c=this,d=g(l.prototype);c;)b.push(c),c=c.$$parent;return b.reverse(),L(b,function(b){L(g(b),function(b){-1===h(a,b)&&-1===h(d,b)&&a.push(b)})}),a},$$values:function(a){var b={},c=this;return L(c.$$keys(),function(d){b[d]=c[d].value(a&&a[d])}),b},$$equals:function(a,b){var c=!0,d=this;return L(d.$$keys(),function(e){var f=a&&a[e],g=b&&b[e];d[e].type.equals(f,g)||(c=!1)}),c},$$validates:function(a){var b,c,d,e=!0,f=this;return L(this.$$keys(),function(g){d=f[g],c=a[g],b=!c&&d.isOptional,e=e&&(b||!!d.type.is(c))}),e},$$parent:c},this.ParamSet=l}function t(a,d){function e(a){var b=/^\^((?:\\[^a-zA-Z0-9]|[^\\\[\]\^$*+?.()|{}]+)*)/.exec(a.source);return null!=b?b[1].replace(/\\(.)/g,"$1"):""}function f(a,b){return a.replace(/\$(\$|\d{1,2})/,function(a,c){return b["$"===c?0:Number(c)]})}function g(a,b,c){if(!c)return!1;var d=a.invoke(b,b,{$match:c});return G(d)?d:!0}function h(d,e,f,g){function h(a,b,c){return"/"===p?a:b?p.slice(0,-1)+a:c?p.slice(1)+a:a}function m(a){function b(a){var b=a(f,d);return b?(I(b)&&d.replace().url(b),!0):!1}if(!a||!a.defaultPrevented){var e=o&&d.url()===o;if(o=c,e)return!0;var g,h=j.length;for(g=0;h>g;g++)if(b(j[g]))return;k&&b(k)}}function n(){return i=i||e.$on("$locationChangeSuccess",m)}var o,p=g.baseHref(),q=d.url();return l||n(),{sync:function(){m()},listen:function(){return n()},update:function(a){return a?void(q=d.url()):void(d.url()!==q&&(d.url(q),d.replace()))},push:function(a,b,e){d.url(a.format(b||{})),o=e&&e.$$avoidResync?d.url():c,e&&e.replace&&d.replace()},href:function(c,e,f){if(!c.validates(e))return null;var g=a.html5Mode();b.isObject(g)&&(g=g.enabled);var i=c.format(e);if(f=f||{},g||null===i||(i="#"+a.hashPrefix()+i),i=h(i,g,f.absolute),!f.absolute||!i)return i;var j=!g&&i?"/":"",k=d.port();return k=80===k||443===k?"":":"+k,[d.protocol(),"://",d.host(),k,j,i].join("")}}}var i,j=[],k=null,l=!1;this.rule=function(a){if(!H(a))throw new Error("'rule' must be a function");return j.push(a),this},this.otherwise=function(a){if(I(a)){var b=a;a=function(){return b}}else if(!H(a))throw new Error("'rule' must be a function");return k=a,this},this.when=function(a,b){var c,h=I(b);if(I(a)&&(a=d.compile(a)),!h&&!H(b)&&!K(b))throw new Error("invalid 'handler' in when()");var i={matcher:function(a,b){return h&&(c=d.compile(b),b=["$match",function(a){return c.format(a)}]),M(function(c,d){return g(c,b,a.exec(d.path(),d.search()))},{prefix:I(a.prefix)?a.prefix:""})},regex:function(a,b){if(a.global||a.sticky)throw new Error("when() RegExp must not be global or sticky");return h&&(c=b,b=["$match",function(a){return f(c,a)}]),M(function(c,d){return g(c,b,a.exec(d.path()))},{prefix:e(a)})}},j={matcher:d.isMatcher(a),regex:a instanceof RegExp};for(var k in j)if(j[k])return this.rule(i[k](a,b));throw new Error("invalid 'what' in when()")},this.deferIntercept=function(a){a===c&&(a=!0),l=a},this.$get=h,h.$inject=["$location","$rootScope","$injector","$browser"]}function u(a,e){function f(a){return 0===a.indexOf(".")||0===a.indexOf("^")}function l(a,b){if(!a)return c;var d=I(a),e=d?a:a.name,g=f(e);if(g){if(!b)throw new Error("No reference point given for path '"+e+"'");b=l(b);for(var h=e.split("."),i=0,j=h.length,k=b;j>i;i++)if(""!==h[i]||0!==i){if("^"!==h[i])break;if(!k.parent)throw new Error("Path '"+e+"' not valid for state '"+b.name+"'");k=k.parent}else k=b;h=h.slice(i).join("."),e=k.name+(k.name&&h?".":"")+h}var m=y[e];return!m||!d&&(d||m!==a&&m.self!==a)?c:m}function m(a,b){z[a]||(z[a]=[]),z[a].push(b)}function o(a){for(var b=z[a]||[];b.length;)p(b.shift())}function p(b){b=d(b,{self:b,resolve:b.resolve||{},toString:function(){return this.name}});var c=b.name;if(!I(c)||c.indexOf("@")>=0)throw new Error("State must have a valid name");if(y.hasOwnProperty(c))throw new Error("State '"+c+"'' is already defined");var e=-1!==c.indexOf(".")?c.substring(0,c.lastIndexOf(".")):I(b.parent)?b.parent:J(b.parent)&&I(b.parent.name)?b.parent.name:"";if(e&&!y[e])return m(e,b.self);for(var f in B)H(B[f])&&(b[f]=B[f](b,B.$delegates[f]));return y[c]=b,!b[A]&&b.url&&a.when(b.url,["$match","$stateParams",function(a,c){x.$current.navigable==b&&j(a,c)||x.transitionTo(b,a,{inherit:!0,location:!1})}]),o(c),b}function q(a){return a.indexOf("*")>-1}function r(a){var b=a.split("."),c=x.$current.name.split(".");if("**"===b[0]&&(c=c.slice(h(c,b[1])),c.unshift("**")),"**"===b[b.length-1]&&(c.splice(h(c,b[b.length-2])+1,Number.MAX_VALUE),c.push("**")),b.length!=c.length)return!1;for(var d=0,e=b.length;e>d;d++)"*"===b[d]&&(c[d]="*");return c.join("")===b.join("")}function s(a,b){return I(a)&&!G(b)?B[a]:H(b)&&I(a)?(B[a]&&!B.$delegates[a]&&(B.$delegates[a]=B[a]),B[a]=b,this):this}function t(a,b){return J(a)?b=a:b.name=a,p(b),this}function u(a,e,f,h,m,o,p){function s(b,c,d,f){var g=a.$broadcast("$stateNotFound",b,c,d);if(g.defaultPrevented)return p.update(),B;if(!g.retry)return null;if(f.$retry)return p.update(),C;var h=x.transition=e.when(g.retry);return h.then(function(){return h!==x.transition?u:(b.options.$retry=!0,x.transitionTo(b.to,b.toParams,b.options))},function(){return B}),p.update(),h}function t(a,c,d,g,i,j){var l=d?c:k(a.params.$$keys(),c),n={$stateParams:l};i.resolve=m.resolve(a.resolve,n,i.resolve,a);var o=[i.resolve.then(function(a){i.globals=a})];return g&&o.push(g),L(a.views,function(c,d){var e=c.resolve&&c.resolve!==a.resolve?c.resolve:{};e.$template=[function(){return f.load(d,{view:c,locals:n,params:l,notify:j.notify})||""}],o.push(m.resolve(e,n,i.resolve,a).then(function(f){if(H(c.controllerProvider)||K(c.controllerProvider)){var g=b.extend({},e,n);f.$$controller=h.invoke(c.controllerProvider,null,g)}else f.$$controller=c.controller;f.$$state=a,f.$$controllerAs=c.controllerAs,i[d]=f}))}),e.all(o).then(function(){return i})}var u=e.reject(new Error("transition superseded")),z=e.reject(new Error("transition prevented")),B=e.reject(new Error("transition aborted")),C=e.reject(new Error("transition failed"));return w.locals={resolve:null,globals:{$stateParams:{}}},x={params:{},current:w.self,$current:w,transition:null},x.reload=function(){return x.transitionTo(x.current,o,{reload:!0,inherit:!1,notify:!0})},x.go=function(a,b,c){return x.transitionTo(a,b,M({inherit:!0,relative:x.$current},c))},x.transitionTo=function(b,c,f){c=c||{},f=M({location:!0,inherit:!1,relative:null,notify:!0,reload:!1,$retry:!1},f||{});var g,j=x.$current,m=x.params,n=j.path,q=l(b,f.relative);if(!G(q)){var r={to:b,toParams:c,options:f},y=s(r,j.self,m,f);if(y)return y;if(b=r.to,c=r.toParams,f=r.options,q=l(b,f.relative),!G(q)){if(!f.relative)throw new Error("No such state '"+b+"'");throw new Error("Could not resolve '"+b+"' from state '"+f.relative+"'")}}if(q[A])throw new Error("Cannot transition to abstract state '"+b+"'");if(f.inherit&&(c=i(o,c||{},x.$current,q)),!q.params.$$validates(c))return C;c=q.params.$$values(c),b=q;var B=b.path,D=0,E=B[D],F=w.locals,H=[];if(!f.reload)for(;E&&E===n[D]&&E.ownParams.$$equals(c,m);)F=H[D]=E.locals,D++,E=B[D];if(v(b,j,F,f))return b.self.reloadOnSearch!==!1&&p.update(),x.transition=null,e.when(x.current);if(c=k(b.params.$$keys(),c||{}),f.notify&&a.$broadcast("$stateChangeStart",b.self,c,j.self,m).defaultPrevented)return p.update(),z;for(var I=e.when(F),J=D;J<B.length;J++,E=B[J])F=H[J]=d(F),I=t(E,c,E===b,I,F,f);var K=x.transition=I.then(function(){var d,e,g;if(x.transition!==K)return u;for(d=n.length-1;d>=D;d--)g=n[d],g.self.onExit&&h.invoke(g.self.onExit,g.self,g.locals.globals),g.locals=null;for(d=D;d<B.length;d++)e=B[d],e.locals=H[d],e.self.onEnter&&h.invoke(e.self.onEnter,e.self,e.locals.globals);return x.transition!==K?u:(x.$current=b,x.current=b.self,x.params=c,N(x.params,o),x.transition=null,f.location&&b.navigable&&p.push(b.navigable.url,b.navigable.locals.globals.$stateParams,{$$avoidResync:!0,replace:"replace"===f.location}),f.notify&&a.$broadcast("$stateChangeSuccess",b.self,c,j.self,m),p.update(!0),x.current)},function(d){return x.transition!==K?u:(x.transition=null,g=a.$broadcast("$stateChangeError",b.self,c,j.self,m,d),g.defaultPrevented||p.update(),e.reject(d))});return K},x.is=function(a,b,d){d=M({relative:x.$current},d||{});var e=l(a,d.relative);return G(e)?x.$current!==e?!1:b?j(e.params.$$values(b),o):!0:c},x.includes=function(a,b,d){if(d=M({relative:x.$current},d||{}),I(a)&&q(a)){if(!r(a))return!1;a=x.$current.name}var e=l(a,d.relative);return G(e)?G(x.$current.includes[e.name])?b?j(e.params.$$values(b),o,g(b)):!0:!1:c},x.href=function(a,b,d){d=M({lossy:!0,inherit:!0,absolute:!1,relative:x.$current},d||{});var e=l(a,d.relative);if(!G(e))return null;d.inherit&&(b=i(o,b||{},x.$current,e));var f=e&&d.lossy?e.navigable:e;return f&&f.url!==c&&null!==f.url?p.href(f.url,k(e.params.$$keys(),b||{}),{absolute:d.absolute}):null},x.get=function(a,b){if(0===arguments.length)return n(g(y),function(a){return y[a].self});var c=l(a,b||x.$current);return c&&c.self?c.self:null},x}function v(a,b,c,d){return a!==b||(c!==b.locals||d.reload)&&a.self.reloadOnSearch!==!1?void 0:!0}var w,x,y={},z={},A="abstract",B={parent:function(a){if(G(a.parent)&&a.parent)return l(a.parent);var b=/^(.+)\.[^.]+$/.exec(a.name);return b?l(b[1]):w},data:function(a){return a.parent&&a.parent.data&&(a.data=a.self.data=M({},a.parent.data,a.data)),a.data},url:function(a){var b=a.url,c={params:a.params||{}};if(I(b))return"^"==b.charAt(0)?e.compile(b.substring(1),c):(a.parent.navigable||w).url.concat(b,c);if(!b||e.isMatcher(b))return b;throw new Error("Invalid url '"+b+"' in state '"+a+"'")},navigable:function(a){return a.url?a:a.parent?a.parent.navigable:null},ownParams:function(a){var b=a.url&&a.url.params||new O.ParamSet;return L(a.params||{},function(a,c){b[c]||(b[c]=new O.Param(c,null,a,"config"))}),b},params:function(a){return a.parent&&a.parent.params?M(a.parent.params.$$new(),a.ownParams):new O.ParamSet},views:function(a){var b={};return L(G(a.views)?a.views:{"":a},function(c,d){d.indexOf("@")<0&&(d+="@"+a.parent.name),b[d]=c}),b},path:function(a){return a.parent?a.parent.path.concat(a):[]},includes:function(a){var b=a.parent?M({},a.parent.includes):{};return b[a.name]=!0,b},$delegates:{}};w=p({name:"",url:"^",views:null,"abstract":!0}),w.navigable=null,this.decorator=s,this.state=t,this.$get=u,u.$inject=["$rootScope","$q","$view","$injector","$resolve","$stateParams","$urlRouter","$location","$urlMatcherFactory"]}function v(){function a(a,b){return{load:function(c,d){var e,f={template:null,controller:null,view:null,locals:null,notify:!0,async:!0,params:{}};return d=M(f,d),d.view&&(e=b.fromConfig(d.view,d.params,d.locals)),e&&d.notify&&a.$broadcast("$viewContentLoading",d),e}}}this.$get=a,a.$inject=["$rootScope","$templateFactory"]}function w(){var a=!1;this.useAnchorScroll=function(){a=!0},this.$get=["$anchorScroll","$timeout",function(b,c){return a?b:function(a){c(function(){a[0].scrollIntoView()},0,!1)}}]}function x(a,c,d,e){function f(){return c.has?function(a){return c.has(a)?c.get(a):null}:function(a){try{return c.get(a)}catch(b){return null}}}function g(a,b){var c=function(){return{enter:function(a,b,c){b.after(a),c()},leave:function(a,b){a.remove(),b()}}};if(j)return{enter:function(a,b,c){var d=j.enter(a,null,b,c);d&&d.then&&d.then(c)},leave:function(a,b){var c=j.leave(a,b);c&&c.then&&c.then(b)}};if(i){var d=i&&i(b,a);return{enter:function(a,b,c){d.enter(a,null,b),c()},leave:function(a,b){d.leave(a),b()}}}return c()}var h=f(),i=h("$animator"),j=h("$animate"),k={restrict:"ECA",terminal:!0,priority:400,transclude:"element",compile:function(c,f,h){return function(c,f,i){function j(){l&&(l.remove(),l=null),n&&(n.$destroy(),n=null),m&&(r.leave(m,function(){l=null}),l=m,m=null)}function k(g){var k,l=z(c,i,f,e),s=l&&a.$current&&a.$current.locals[l];if(g||s!==o){k=c.$new(),o=a.$current.locals[l];var t=h(k,function(a){r.enter(a,f,function(){n&&n.$emit("$viewContentAnimationEnded"),(b.isDefined(q)&&!q||c.$eval(q))&&d(a)}),j()});m=t,n=k,n.$emit("$viewContentLoaded"),n.$eval(p)}}var l,m,n,o,p=i.onload||"",q=i.autoscroll,r=g(i,c);c.$on("$stateChangeSuccess",function(){k(!1)}),c.$on("$viewContentLoading",function(){k(!1)}),k(!0)}}};return k}function y(a,b,c,d){return{restrict:"ECA",priority:-400,compile:function(e){var f=e.html();return function(e,g,h){var i=c.$current,j=z(e,h,g,d),k=i&&i.locals[j];if(k){g.data("$uiView",{name:j,state:k.$$state}),g.html(k.$template?k.$template:f);var l=a(g.contents());if(k.$$controller){k.$scope=e;var m=b(k.$$controller,k);k.$$controllerAs&&(e[k.$$controllerAs]=m),g.data("$ngControllerController",m),g.children().data("$ngControllerController",m)}l(e)}}}}}function z(a,b,c,d){var e=d(b.uiView||b.name||"")(a),f=c.inheritedData("$uiView");return e.indexOf("@")>=0?e:e+"@"+(f?f.state.name:"")}function A(a,b){var c,d=a.match(/^\s*({[^}]*})\s*$/);if(d&&(a=b+"("+d[1]+")"),c=a.replace(/\n/g," ").match(/^([^(]+?)\s*(\((.*)\))?$/),!c||4!==c.length)throw new Error("Invalid state ref '"+a+"'");return{state:c[1],paramExpr:c[3]||null}}function B(a){var b=a.parent().inheritedData("$uiView");return b&&b.state&&b.state.name?b.state:void 0}function C(a,c){var d=["location","inherit","reload"];return{restrict:"A",require:["?^uiSrefActive","?^uiSrefActiveEq"],link:function(e,f,g,h){var i=A(g.uiSref,a.current.name),j=null,k=B(f)||a.$current,l=null,m="A"===f.prop("tagName"),n="FORM"===f[0].nodeName,o=n?"action":"href",p=!0,q={relative:k,inherit:!0},r=e.$eval(g.uiSrefOpts)||{};b.forEach(d,function(a){a in r&&(q[a]=r[a])});var s=function(c){if(c&&(j=b.copy(c)),p){l=a.href(i.state,j,q);var d=h[1]||h[0];return d&&d.$$setStateInfo(i.state,j),null===l?(p=!1,!1):void g.$set(o,l)}};i.paramExpr&&(e.$watch(i.paramExpr,function(a){a!==j&&s(a)},!0),j=b.copy(e.$eval(i.paramExpr))),s(),n||f.bind("click",function(b){var d=b.which||b.button;if(!(d>1||b.ctrlKey||b.metaKey||b.shiftKey||f.attr("target"))){var e=c(function(){a.go(i.state,j,q)});b.preventDefault();var g=m&&!l?1:0;b.preventDefault=function(){g--<=0&&c.cancel(e)}}})}}}function D(a,b,c){return{restrict:"A",controller:["$scope","$element","$attrs",function(b,d,e){function f(){g()?d.addClass(j):d.removeClass(j)}function g(){return"undefined"!=typeof e.uiSrefActiveEq?h&&a.is(h.name,i):h&&a.includes(h.name,i)}var h,i,j;j=c(e.uiSrefActiveEq||e.uiSrefActive||"",!1)(b),this.$$setStateInfo=function(b,c){h=a.get(b,B(d)),i=c,f()},b.$on("$stateChangeSuccess",f)}]}}function E(a){var b=function(b){return a.is(b)};return b.$stateful=!0,b}function F(a){var b=function(b){return a.includes(b)};return b.$stateful=!0,b}var G=b.isDefined,H=b.isFunction,I=b.isString,J=b.isObject,K=b.isArray,L=b.forEach,M=b.extend,N=b.copy;b.module("ui.router.util",["ng"]),b.module("ui.router.router",["ui.router.util"]),b.module("ui.router.state",["ui.router.router","ui.router.util"]),b.module("ui.router",["ui.router.state"]),b.module("ui.router.compat",["ui.router"]),o.$inject=["$q","$injector"],b.module("ui.router.util").service("$resolve",o),p.$inject=["$http","$templateCache","$injector"],b.module("ui.router.util").service("$templateFactory",p);var O;q.prototype.concat=function(a,b){var c={caseInsensitive:O.caseInsensitive(),strict:O.strictMode(),squash:O.defaultSquashPolicy()};return new q(this.sourcePath+a+this.sourceSearch,M(c,b),this)},q.prototype.toString=function(){return this.source},q.prototype.exec=function(a,b){function c(a){function b(a){return a.split("").reverse().join("")}function c(a){return a.replace(/\\-/,"-")}var d=b(a).split(/-(?!\\)/),e=n(d,b);return n(e,c).reverse()}var d=this.regexp.exec(a);if(!d)return null;b=b||{};var e,f,g,h=this.parameters(),i=h.length,j=this.segments.length-1,k={};if(j!==d.length-1)throw new Error("Unbalanced capture group in route '"+this.source+"'");for(e=0;j>e;e++){g=h[e];var l=this.params[g],m=d[e+1];for(f=0;f<l.replace;f++)l.replace[f].from===m&&(m=l.replace[f].to);m&&l.array===!0&&(m=c(m)),k[g]=l.value(m)}for(;i>e;e++)g=h[e],k[g]=this.params[g].value(b[g]);return k},q.prototype.parameters=function(a){return G(a)?this.params[a]||null:this.$$paramNames},q.prototype.validates=function(a){return this.params.$$validates(a)},q.prototype.format=function(a){function b(a){return encodeURIComponent(a).replace(/-/g,function(a){return"%5C%"+a.charCodeAt(0).toString(16).toUpperCase()})}a=a||{};var c=this.segments,d=this.parameters(),e=this.params;if(!this.validates(a))return null;var f,g=!1,h=c.length-1,i=d.length,j=c[0];for(f=0;i>f;f++){var k=h>f,l=d[f],m=e[l],o=m.value(a[l]),p=m.isOptional&&m.type.equals(m.value(),o),q=p?m.squash:!1,r=m.type.encode(o);if(k){var s=c[f+1];if(q===!1)null!=r&&(j+=K(r)?n(r,b).join("-"):encodeURIComponent(r)),j+=s;else if(q===!0){var t=j.match(/\/$/)?/\/?(.*)/:/(.*)/;j+=s.match(t)[1]}else I(q)&&(j+=q+s)}else{if(null==r||p&&q!==!1)continue;K(r)||(r=[r]),r=n(r,encodeURIComponent).join("&"+l+"="),j+=(g?"&":"?")+(l+"="+r),g=!0}}return j},r.prototype.is=function(){return!0},r.prototype.encode=function(a){return a},r.prototype.decode=function(a){return a},r.prototype.equals=function(a,b){return a==b},r.prototype.$subPattern=function(){var a=this.pattern.toString();return a.substr(1,a.length-2)},r.prototype.pattern=/.*/,r.prototype.toString=function(){return"{Type:"+this.name+"}"},r.prototype.$asArray=function(a,b){function d(a,b){function d(a,b){return function(){return a[b].apply(a,arguments)}}function e(a){return K(a)?a:G(a)?[a]:[]}function f(a){switch(a.length){case 0:return c;case 1:return"auto"===b?a[0]:a;default:return a}}function g(a){return!a}function h(a,b){return function(c){c=e(c);var d=n(c,a);return b===!0?0===m(d,g).length:f(d)}}function i(a){return function(b,c){var d=e(b),f=e(c);if(d.length!==f.length)return!1;for(var g=0;g<d.length;g++)if(!a(d[g],f[g]))return!1;return!0}}this.encode=h(d(a,"encode")),this.decode=h(d(a,"decode")),this.is=h(d(a,"is"),!0),this.equals=i(d(a,"equals")),this.pattern=a.pattern,this.$arrayMode=b}if(!a)return this;if("auto"===a&&!b)throw new Error("'auto' array mode is for query parameters only");return new d(this,a)},b.module("ui.router.util").provider("$urlMatcherFactory",s),b.module("ui.router.util").run(["$urlMatcherFactory",function(){}]),t.$inject=["$locationProvider","$urlMatcherFactoryProvider"],b.module("ui.router.router").provider("$urlRouter",t),u.$inject=["$urlRouterProvider","$urlMatcherFactoryProvider"],b.module("ui.router.state").value("$stateParams",{}).provider("$state",u),v.$inject=[],b.module("ui.router.state").provider("$view",v),b.module("ui.router.state").provider("$uiViewScroll",w),x.$inject=["$state","$injector","$uiViewScroll","$interpolate"],y.$inject=["$compile","$controller","$state","$interpolate"],b.module("ui.router.state").directive("uiView",x),b.module("ui.router.state").directive("uiView",y),C.$inject=["$state","$timeout"],D.$inject=["$state","$stateParams","$interpolate"],b.module("ui.router.state").directive("uiSref",C).directive("uiSrefActive",D).directive("uiSrefActiveEq",D),E.$inject=["$state"],F.$inject=["$state"],b.module("ui.router.state").filter("isState",E).filter("includedByState",F)}(window,window.angular);
juninhoall/NODE
DOCUMENTOS TCC/myProject/www/lib/ionic/js/angular-ui/angular-ui-router.min.js
JavaScript
mit
28,684
var __context__ = __this__ = global; var Envjs = Envjs || require('./core').Envjs; require('./../../local_settings'); Envjs.platform = "Node"; Envjs.revision = process.version; /*process.on('uncaughtException', function (err) { console.log('Envjs Caught exception: %s \n %s', err); });*/ Envjs.argv = process.argv; Envjs.argv.shift(); Envjs.argv.shift();//node is argv[0] but we want to start at argv[1] Envjs.exit = function(){ /*setTimeout(function () { if(!Envjs.timers.length){ //console.log('no timers remaining %s', Envjs.timers.length); process.exit(); }else{ Envjs.exit(); } }, 13);*/ }; /* * Envjs node-env.1.3.pre03 * Pure JavaScript Browser Environment * By John Resig <http://ejohn.org/> and the Envjs Team * Copyright 2008-2010 John Resig, under the MIT License */ //CLOSURE_START (function(){ /** * @author john resig */ // Helper method for extending one object with another. function __extend__(a,b) { for ( var i in b ) { if(b.hasOwnProperty(i)){ var g = b.__lookupGetter__(i), s = b.__lookupSetter__(i); if ( g || s ) { if ( g ) { a.__defineGetter__(i, g); } if ( s ) { a.__defineSetter__(i, s); } } else { a[i] = b[i]; } } } return a; } var $print = require('sys').print; Envjs.log = function(msg){ console.log(msg+'\n\n'); }; Envjs.lineSource = function(e){ return "(line ?)"; }; Envjs.readConsole = function(){ return $stdin.gets(); }; Envjs.prompt = function(){ $stdout.write(Envjs.CURSOR+' '); $stdout.flush; }; //No REPL for Envjs.repl = function(){ //require('repl').start(Envjs.CURSOR+' '); console.log('Envjs REPL Not Available'); }; var Script = process.binding('evals').Script; Envjs.eval = function(context, source, name, warming){ if(context === global){ return warming ? eval(source) : Script.runInThisContext(source, name); }else{ return Script.runInNewContext(source, context, name); } }; Envjs.wait = function(){ return; } var $tick = function(){ process.nextTick(function () { //console.log('node tick'); Envjs.tick(); $tick(); }); }; Envjs.eventLoop = function(){ //console.log('event loop'); $tick(); }; /** * provides callback hook for when the system exits */ Envjs.onExit = function(callback){ process.on('exit', callback); }; /** * synchronizes thread modifications * @param {Function} fn */ Envjs.sync = function(fn){ //console.log('syncing js fn %s', fn); return fn; }; Envjs.spawn = function(fn){ return fn(); }; /** * sleep thread for specified duration * @param {Object} milliseconds */ Envjs.sleep = function(milliseconds){ return; }; //Since we're running in v8 I guess we can safely assume //java is not 'enabled'. I'm sure this requires more thought //than I've given it here Envjs.javaEnabled = false; Envjs.homedir = process.env["HOME"]; Envjs.tmpdir = process.env["TMPDIR"]; Envjs.os_name = process.platform; Envjs.os_arch = "os arch"; Envjs.os_version = "os version"; Envjs.lang = process.env["LANG"]; Envjs.gc = function(){ return; }; /** * Makes an object window-like by proxying object accessors * @param {Object} scope * @param {Object} parent */ Envjs.proxy = function(scope, parent) { try{ if(scope.toString() == global){ return __this__; }else{ return scope; } }catch(e){ console.log('failed to init standard objects %s %s \n%s', scope, parent, e); } };var filesystem = require('fs'); /** * Get 'Current Working Directory' */ Envjs.getcwd = function() { return process.cwd(); } /** * Used to write to a local file * @param {Object} text * @param {Object} url */ Envjs.writeToFile = function(text, url){ if(/^file\:\/\//.test(url)) url = url.substring(7,url.length); filesystem.writeFileSync(url, text, 'utf8'); }; /** * Used to write to a local file * @param {Object} text * @param {Object} suffix */ Envjs.writeToTempFile = function(text, suffix){ var url = Envjs.tmpdir+'envjs-'+(new Date().getTime())+'.'+suffix; if(/^file\:\/\//.test(url)) url = url.substring(7,url.length); filesystem.writeFileSync(tmpfile, text, 'utf8'); return tmpfile; }; /** * Used to read the contents of a local file * @param {Object} url */ Envjs.readFromFile = function( url ){ if(/^file\:\/\//.test(url)) url = url.substring(7,url.length); return filesystem.readFileSync(url, 'utf8'); }; /** * Used to delete a local file * @param {Object} url */ Envjs.deleteFile = function(url){ if(/^file\:\/\//.test(url)) url = url.substring(7,url.length); filesystem.unlink(url); }; /** * establishes connection and calls responsehandler * @param {Object} xhr * @param {Object} responseHandler * @param {Object} data */ Envjs.connection = function(xhr, responseHandler, data){ var url = xhr.url, connection, request, binary = false, contentEncoding, responseXML = null, http = require('http'), urlparts = Envjs.urlsplit(url), i; if ( /^file\:/.test(url) ) { Envjs.localXHR(url, xhr, connection, data); } else { //console.log('connecting to %s \n\t port(%s) host(%s) path(%s) query(%s)', // url, urlparts.port, urlparts.hostname, urlparts.path, urlparts.query); connection = http.createClient(urlparts.port||'80', urlparts.hostname); request = connection.request( xhr.method, urlparts.path+(urlparts.query?"?"+urlparts.query:''), __extend__(xhr.headers,{ "Host": urlparts.hostname, //"Connection":"Keep-Alive" //"Accept-Encoding", 'gzip' }) ); xhr.statusText = ""; if(connection&&request){ request.on('response', function (response) { //console.log('response begin'); xhr.readyState = 3; response.on('end', function (chunk) { //console.log('connection complete'); xhr.readyState = 4; if(responseHandler){ //console.log('calling ajax response handler'); if(!xhr.async){ responseHandler(); }else{ setTimeout(responseHandler, 1); } } if(xhr.onreadystatechange){ xhr.onreadystatechange(); } }); xhr.responseHeaders = __extend__({},response.headers); xhr.statusText = "OK"; xhr.status = response.statusCode; //console.log('response headers : %s', JSON.stringify(xhr.responseHeaders)); contentEncoding = xhr.getResponseHeader('Content-Encoding') || "utf-8"; response.setEncoding(contentEncoding); //console.log('contentEncoding %s', contentEncoding); response.on('data', function (chunk) { //console.log('\nBODY: %s', chunk); if( contentEncoding.match("gzip") || contentEncoding.match("decompress")){ //zipped content binary = true; //Not supported yet xhr.responseText += (chunk+''); }else{ //this is a text file xhr.responseText += (chunk+''); } if(xhr.onreadystatechange){ xhr.onreadystatechange(); } }); if(xhr.onreadystatechange){ xhr.onreadystatechange(); } }); } //write data to output stream if required //TODO: if they have set the request header for a chunked //request body, implement a chunked output stream //console.log('sending request %s\n', xhr.url); if(data){ if(data instanceof Document){ if ( xhr.method == "PUT" || xhr.method == "POST" ) { xml = (new XMLSerializer()).serializeToString(data); request.write(xml); } }else if(data.length&&data.length>0){ if ( xhr.method == "PUT" || xhr.method == "POST" ) { request.write(data); } } request.end(); }else{ request.end(); } } }; /** * @author john resig & the envjs team * @uri http://www.envjs.com/ * @copyright 2008-2010 * @license MIT */ //CLOSURE_END }());
zauner/vvvvjs-workshop
VVVVJsBox/vvvvjs_app/vvvv_js/lib/d3-v1.14/lib/env-js/envjs/platform/node.js
JavaScript
mit
8,327
// Licensed to the .NET Foundation under one or more agreements. // The .NET Foundation licenses this file to you under the MIT license. // See the LICENSE file in the project root for more information. /*============================================================================= ** ** ** ** Purpose: Exception class for invalid arguments to a method. ** ** =============================================================================*/ using System.Globalization; using System.Runtime.Serialization; namespace System { // The ArgumentException is thrown when an argument does not meet // the contract of the method. Ideally it should give a meaningful error // message describing what was wrong and which parameter is incorrect. // [Serializable] public class ArgumentException : SystemException { private String _paramName; // Creates a new ArgumentException with its message // string set to the empty string. public ArgumentException() : base(SR.Arg_ArgumentException) { HResult = __HResults.COR_E_ARGUMENT; } // Creates a new ArgumentException with its message // string set to message. // public ArgumentException(String message) : base(message) { HResult = __HResults.COR_E_ARGUMENT; } public ArgumentException(String message, Exception innerException) : base(message, innerException) { HResult = __HResults.COR_E_ARGUMENT; } public ArgumentException(String message, String paramName, Exception innerException) : base(message, innerException) { _paramName = paramName; HResult = __HResults.COR_E_ARGUMENT; } public ArgumentException(String message, String paramName) : base(message) { _paramName = paramName; HResult = __HResults.COR_E_ARGUMENT; } protected ArgumentException(SerializationInfo info, StreamingContext context) : base(info, context) { _paramName = info.GetString("ParamName"); } public override void GetObjectData(SerializationInfo info, StreamingContext context) { base.GetObjectData(info, context); info.AddValue("ParamName", _paramName, typeof(String)); } public override String Message { get { String s = base.Message; if (!String.IsNullOrEmpty(_paramName)) { String resourceString = SR.Format(SR.Arg_ParamName_Name, _paramName); return s + Environment.NewLine + resourceString; } else return s; } } public virtual String ParamName { get { return _paramName; } } } }
cmckinsey/coreclr
src/mscorlib/shared/System/ArgumentException.cs
C#
mit
2,993
// Copyright (c) 2014-present, Facebook, Inc. All rights reserved. // // You are hereby granted a non-exclusive, worldwide, royalty-free license to use, // copy, modify, and distribute this software in source code or binary form for use // in connection with the web services and APIs provided by Facebook. // // As with any software that integrates with the Facebook platform, your use of // this software is subject to the Facebook Developer Principles and Policies // [http://developers.facebook.com/policy/]. This copyright notice shall be // included in all copies or substantial portions of the software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS // FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR // COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER // IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. #import "FBSDKUtility.h" #import <CommonCrypto/CommonDigest.h> #import "FBSDKInternalUtility.h" @implementation FBSDKUtility + (NSDictionary *)dictionaryWithQueryString:(NSString *)queryString { return [FBSDKBasicUtility dictionaryWithQueryString:queryString]; } + (NSString *)queryStringWithDictionary:(NSDictionary<NSString *, id> *)dictionary error:(NSError **)errorRef { return [FBSDKBasicUtility queryStringWithDictionary:dictionary error:errorRef invalidObjectHandler:NULL]; } + (NSString *)URLDecode:(NSString *)value { return [FBSDKBasicUtility URLDecode:value]; } + (NSString *)URLEncode:(NSString *)value { return [FBSDKBasicUtility URLEncode:value]; } + (dispatch_source_t)startGCDTimerWithInterval:(double)interval block:(dispatch_block_t)block { dispatch_source_t timer = dispatch_source_create(DISPATCH_SOURCE_TYPE_TIMER, // source type 0, // handle 0, // mask dispatch_get_main_queue()); // queue dispatch_source_set_timer(timer, // dispatch source dispatch_time(DISPATCH_TIME_NOW, interval * NSEC_PER_SEC), // start interval * NSEC_PER_SEC, // interval 0 * NSEC_PER_SEC); // leeway dispatch_source_set_event_handler(timer, block); dispatch_resume(timer); return timer; } + (void)stopGCDTimer:(dispatch_source_t)timer { if (timer) { dispatch_source_cancel(timer); } } + (NSString *)SHA256Hash:(NSObject *)input { NSData *data = nil; if ([input isKindOfClass:[NSData class]]) { data = (NSData *)input; } else if ([input isKindOfClass:[NSString class]]) { data = [(NSString *)input dataUsingEncoding:NSUTF8StringEncoding]; } if (!data) { return nil; } uint8_t digest[CC_SHA256_DIGEST_LENGTH]; CC_SHA256(data.bytes, (CC_LONG)data.length, digest); NSMutableString *hashed = [NSMutableString stringWithCapacity:CC_SHA256_DIGEST_LENGTH * 2]; for (int i = 0; i < CC_SHA256_DIGEST_LENGTH; i++) { [hashed appendFormat:@"%02x", digest[i]]; } return [hashed copy]; } @end
iOSWizards/AwesomeMedia
Example/Pods/FBSDKCoreKit/FBSDKCoreKit/FBSDKCoreKit/FBSDKUtility.m
Matlab
mit
3,292
#region Copyright // // DotNetNuke® - http://www.dotnetnuke.com // Copyright (c) 2002-2013 // by DotNetNuke Corporation // // Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated // documentation files (the "Software"), to deal in the Software without restriction, including without limitation // the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and // to permit persons to whom the Software is furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all copies or substantial portions // of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED // TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL // THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF // CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. #endregion #region Usings using System; using System.Collections.Generic; using System.Configuration; using DotNetNuke.Data; using DotNetNuke.Data.PetaPoco; using DotNetNuke.Tests.Data.Models; using DotNetNuke.Tests.Utilities; using NUnit.Framework; using PetaPoco; #endregion namespace DotNetNuke.Tests.Data { [TestFixture] public class PetaPocoDataContextTests { // ReSharper disable InconsistentNaming #region Setup/Teardown [SetUp] public void SetUp() { } [TearDown] public void TearDown() { } #endregion private const string connectionStringName = "PetaPoco"; private const string tablePrefix = "dnn_"; #region Constructor Tests [Test] public void PetaPocoDataContext_Constructors_Throw_On_Null_ConnectionString() { //Arrange //Act, Assert Assert.Throws<ArgumentException>(() => new PetaPocoDataContext(null)); Assert.Throws<ArgumentException>(() => new PetaPocoDataContext(null, tablePrefix)); } [Test] public void PetaPocoDataContext_Constructors_Throw_On_Empty_ConnectionString() { //Arrange //Act, Assert Assert.Throws<ArgumentException>(() => new PetaPocoDataContext(String.Empty)); Assert.Throws<ArgumentException>(() => new PetaPocoDataContext(String.Empty, tablePrefix)); } [Test] public void PetaPocoDataContext_Constructor_Initialises_Database_Property() { //Arrange //Act var context = new PetaPocoDataContext(connectionStringName); //Assert Assert.IsInstanceOf<Database>(Util.GetPrivateMember<PetaPocoDataContext, Database>(context, "_database")); } [Test] public void PetaPocoDataContext_Constructor_Initialises_TablePrefix_Property() { //Arrange //Act var context = new PetaPocoDataContext(connectionStringName, tablePrefix); //Assert Assert.AreEqual(tablePrefix, context.TablePrefix); } [Test] public void PetaPocoDataContext_Constructor_Initialises_Mapper_Property() { //Arrange //Act var context = new PetaPocoDataContext(connectionStringName); //Assert Assert.IsInstanceOf<IMapper>(Util.GetPrivateMember<PetaPocoDataContext, IMapper>(context, "_mapper")); Assert.IsInstanceOf<PetaPocoMapper>(Util.GetPrivateMember<PetaPocoDataContext, PetaPocoMapper>(context, "_mapper")); } [Test] public void PetaPocoDataContext_Constructor_Initialises_FluentMappers_Property() { //Arrange //Act var context = new PetaPocoDataContext(connectionStringName); //Assert Assert.IsInstanceOf<Dictionary<Type, IMapper>>(context.FluentMappers); Assert.AreEqual(0,context.FluentMappers.Count); } [Test] public void PetaPocoDataContext_Constructor_Initialises_Database_Property_With_Correct_Connection() { //Arrange //Act var context = new PetaPocoDataContext(connectionStringName); //Assert Database db = Util.GetPrivateMember<PetaPocoDataContext, Database>(context, "_database"); string connectionString = ConfigurationManager.ConnectionStrings[connectionStringName].ConnectionString; Assert.AreEqual(connectionString, Util.GetPrivateMember<Database, string>(db, "_connectionString")); } #endregion #region BeginTransaction Tests [Test] public void PetaPocoDataContext_BeginTransaction_Increases_Database_Transaction_Count() { //Arrange const int transactionDepth = 1; var context = new PetaPocoDataContext(connectionStringName); Database db = Util.GetPrivateMember<PetaPocoDataContext, Database>(context, "_database"); Util.SetPrivateMember(db, "_transactionDepth", transactionDepth); //Act context.BeginTransaction(); //Assert Assert.AreEqual(transactionDepth + 1, Util.GetPrivateMember<Database, int>(db, "_transactionDepth")); } #endregion #region Commit Tests [Test] public void PetaPocoDataContext_Commit_Decreases_Database_Transaction_Count() { //Arrange const int transactionDepth = 2; var context = new PetaPocoDataContext(connectionStringName); Database db = Util.GetPrivateMember<PetaPocoDataContext, Database>(context, "_database"); Util.SetPrivateMember(db, "_transactionDepth", transactionDepth); //Act context.Commit(); //Assert Assert.AreEqual(transactionDepth - 1, Util.GetPrivateMember<Database, int>(db, "_transactionDepth")); } [Test] public void PetaPocoDataContext_Commit_Sets_Database_TransactionCancelled_False() { //Arrange const int transactionDepth = 2; var context = new PetaPocoDataContext(connectionStringName); Database db = Util.GetPrivateMember<PetaPocoDataContext, Database>(context, "_database"); Util.SetPrivateMember(db, "_transactionDepth", transactionDepth); //Act context.Commit(); //Assert Assert.AreEqual(false, Util.GetPrivateMember<Database, bool>(db, "_transactionCancelled")); } #endregion #region RollbackTransaction Tests [Test] public void PetaPocoDataContext_RollbackTransaction_Decreases_Database_Transaction_Count() { //Arrange const int transactionDepth = 2; var context = new PetaPocoDataContext(connectionStringName); Database db = Util.GetPrivateMember<PetaPocoDataContext, Database>(context, "_database"); Util.SetPrivateMember(db, "_transactionDepth", transactionDepth); //Act context.RollbackTransaction(); //Assert Assert.AreEqual(transactionDepth - 1, Util.GetPrivateMember<Database, int>(db, "_transactionDepth")); } [Test] public void PetaPocoDataContext_RollbackTransaction_Sets_Database_TransactionCancelled_True() { //Arrange const int transactionDepth = 2; var context = new PetaPocoDataContext(connectionStringName); Database db = Util.GetPrivateMember<PetaPocoDataContext, Database>(context, "_database"); Util.SetPrivateMember(db, "_transactionDepth", transactionDepth); //Act context.RollbackTransaction(); //Assert Assert.AreEqual(true, Util.GetPrivateMember<Database, bool>(db, "_transactionCancelled")); } #endregion #region GetRepository Tests [Test] public void PetaPocoDataContext_GetRepository_Returns_Repository() { //Arrange var context = new PetaPocoDataContext(connectionStringName); //Act var repo = context.GetRepository<Dog>(); //Assert Assert.IsInstanceOf<IRepository<Dog>>(repo); Assert.IsInstanceOf<PetaPocoRepository<Dog>>(repo); } [Test] public void PetaPocoDataContext_GetRepository_Sets_Repository_Database_Property() { //Arrange var context = new PetaPocoDataContext(connectionStringName); //Act var repo = (PetaPocoRepository<Dog>)context.GetRepository<Dog>(); //Assert Assert.IsInstanceOf<Database>(Util.GetPrivateMember<PetaPocoRepository<Dog>, Database>(repo, "_database")); } [Test] public void PetaPocoDataContext_GetRepository_Uses_PetaPocoMapper_If_No_FluentMapper() { //Arrange var context = new PetaPocoDataContext(connectionStringName); //Act var repo = (PetaPocoRepository<Dog>)context.GetRepository<Dog>(); //Assert Assert.IsInstanceOf<IMapper>(Util.GetPrivateMember<PetaPocoRepository<Dog>, IMapper>(repo, "_mapper")); Assert.IsInstanceOf<PetaPocoMapper>(Util.GetPrivateMember<PetaPocoRepository<Dog>, IMapper>(repo, "_mapper")); } [Test] public void PetaPocoDataContext_GetRepository_Uses_FluentMapper_If_FluentMapper_Defined() { //Arrange var context = new PetaPocoDataContext(connectionStringName); context.AddFluentMapper<Dog>(); //Act var repo = (PetaPocoRepository<Dog>)context.GetRepository<Dog>(); //Assert Assert.IsInstanceOf<IMapper>(Util.GetPrivateMember<PetaPocoRepository<Dog>, IMapper>(repo, "_mapper")); Assert.IsInstanceOf<FluentMapper<Dog>>(Util.GetPrivateMember<PetaPocoRepository<Dog>, IMapper>(repo, "_mapper")); } #endregion // ReSharper restore InconsistentNaming } }
SCullman/Dnn.Platform
DNN Platform/Tests/DotNetNuke.Tests.Integration/Data/PetaPocoDataContextTests.cs
C#
mit
10,504
/* =========================== Module _Qt =========================== */ #include "Python.h" #ifndef __LP64__ #include "pymactoolbox.h" /* Macro to test whether a weak-loaded CFM function exists */ #define PyMac_PRECHECK(rtn) do { if ( &rtn == NULL ) {\ PyErr_SetString(PyExc_NotImplementedError, \ "Not available in this shared library/OS version"); \ return NULL; \ }} while(0) #include <QuickTime/QuickTime.h> #ifdef USE_TOOLBOX_OBJECT_GLUE extern PyObject *_TrackObj_New(Track); extern int _TrackObj_Convert(PyObject *, Track *); extern PyObject *_MovieObj_New(Movie); extern int _MovieObj_Convert(PyObject *, Movie *); extern PyObject *_MovieCtlObj_New(MovieController); extern int _MovieCtlObj_Convert(PyObject *, MovieController *); extern PyObject *_TimeBaseObj_New(TimeBase); extern int _TimeBaseObj_Convert(PyObject *, TimeBase *); extern PyObject *_UserDataObj_New(UserData); extern int _UserDataObj_Convert(PyObject *, UserData *); extern PyObject *_MediaObj_New(Media); extern int _MediaObj_Convert(PyObject *, Media *); #define TrackObj_New _TrackObj_New #define TrackObj_Convert _TrackObj_Convert #define MovieObj_New _MovieObj_New #define MovieObj_Convert _MovieObj_Convert #define MovieCtlObj_New _MovieCtlObj_New #define MovieCtlObj_Convert _MovieCtlObj_Convert #define TimeBaseObj_New _TimeBaseObj_New #define TimeBaseObj_Convert _TimeBaseObj_Convert #define UserDataObj_New _UserDataObj_New #define UserDataObj_Convert _UserDataObj_Convert #define MediaObj_New _MediaObj_New #define MediaObj_Convert _MediaObj_Convert #endif /* Macro to allow us to GetNextInterestingTime without duration */ #define GetMediaNextInterestingTimeOnly(media, flags, time, rate, rv) GetMediaNextInterestingTime(media, flags, time, rate, rv, NULL) /* ** Parse/generate time records */ static PyObject * QtTimeRecord_New(TimeRecord *itself) { if (itself->base) return Py_BuildValue("O&lO&", PyMac_Buildwide, &itself->value, itself->scale, TimeBaseObj_New, itself->base); else return Py_BuildValue("O&lO", PyMac_Buildwide, &itself->value, itself->scale, Py_None); } static int QtTimeRecord_Convert(PyObject *v, TimeRecord *p_itself) { PyObject *base = NULL; if( !PyArg_ParseTuple(v, "O&l|O", PyMac_Getwide, &p_itself->value, &p_itself->scale, &base) ) return 0; if ( base == NULL || base == Py_None ) p_itself->base = NULL; else if ( !TimeBaseObj_Convert(base, &p_itself->base) ) return 0; return 1; } static int QtMusicMIDIPacket_Convert(PyObject *v, MusicMIDIPacket *p_itself) { int dummy; if( !PyArg_ParseTuple(v, "hls#", &p_itself->length, &p_itself->reserved, p_itself->data, dummy) ) return 0; return 1; } static PyObject *Qt_Error; /* -------------------- Object type IdleManager --------------------- */ PyTypeObject IdleManager_Type; #define IdleManagerObj_Check(x) ((x)->ob_type == &IdleManager_Type || PyObject_TypeCheck((x), &IdleManager_Type)) typedef struct IdleManagerObject { PyObject_HEAD IdleManager ob_itself; } IdleManagerObject; PyObject *IdleManagerObj_New(IdleManager itself) { IdleManagerObject *it; if (itself == NULL) { PyErr_SetString(Qt_Error,"Cannot create IdleManager from NULL pointer"); return NULL; } it = PyObject_NEW(IdleManagerObject, &IdleManager_Type); if (it == NULL) return NULL; it->ob_itself = itself; return (PyObject *)it; } int IdleManagerObj_Convert(PyObject *v, IdleManager *p_itself) { if (v == Py_None) { *p_itself = NULL; return 1; } if (!IdleManagerObj_Check(v)) { PyErr_SetString(PyExc_TypeError, "IdleManager required"); return 0; } *p_itself = ((IdleManagerObject *)v)->ob_itself; return 1; } static void IdleManagerObj_dealloc(IdleManagerObject *self) { /* Cleanup of self->ob_itself goes here */ self->ob_type->tp_free((PyObject *)self); } static PyMethodDef IdleManagerObj_methods[] = { {NULL, NULL, 0} }; #define IdleManagerObj_getsetlist NULL #define IdleManagerObj_compare NULL #define IdleManagerObj_repr NULL #define IdleManagerObj_hash NULL #define IdleManagerObj_tp_init 0 #define IdleManagerObj_tp_alloc PyType_GenericAlloc static PyObject *IdleManagerObj_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds) { PyObject *_self; IdleManager itself; char *kw[] = {"itself", 0}; if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, IdleManagerObj_Convert, &itself)) return NULL; if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; ((IdleManagerObject *)_self)->ob_itself = itself; return _self; } #define IdleManagerObj_tp_free PyObject_Del PyTypeObject IdleManager_Type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ "_Qt.IdleManager", /*tp_name*/ sizeof(IdleManagerObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ (destructor) IdleManagerObj_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ (getattrfunc)0, /*tp_getattr*/ (setattrfunc)0, /*tp_setattr*/ (cmpfunc) IdleManagerObj_compare, /*tp_compare*/ (reprfunc) IdleManagerObj_repr, /*tp_repr*/ (PyNumberMethods *)0, /* tp_as_number */ (PySequenceMethods *)0, /* tp_as_sequence */ (PyMappingMethods *)0, /* tp_as_mapping */ (hashfunc) IdleManagerObj_hash, /*tp_hash*/ 0, /*tp_call*/ 0, /*tp_str*/ PyObject_GenericGetAttr, /*tp_getattro*/ PyObject_GenericSetAttr, /*tp_setattro */ 0, /*tp_as_buffer*/ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ 0, /*tp_richcompare*/ 0, /*tp_weaklistoffset*/ 0, /*tp_iter*/ 0, /*tp_iternext*/ IdleManagerObj_methods, /* tp_methods */ 0, /*tp_members*/ IdleManagerObj_getsetlist, /*tp_getset*/ 0, /*tp_base*/ 0, /*tp_dict*/ 0, /*tp_descr_get*/ 0, /*tp_descr_set*/ 0, /*tp_dictoffset*/ IdleManagerObj_tp_init, /* tp_init */ IdleManagerObj_tp_alloc, /* tp_alloc */ IdleManagerObj_tp_new, /* tp_new */ IdleManagerObj_tp_free, /* tp_free */ }; /* ------------------ End object type IdleManager ------------------- */ /* ------------------ Object type MovieController ------------------- */ PyTypeObject MovieController_Type; #define MovieCtlObj_Check(x) ((x)->ob_type == &MovieController_Type || PyObject_TypeCheck((x), &MovieController_Type)) typedef struct MovieControllerObject { PyObject_HEAD MovieController ob_itself; } MovieControllerObject; PyObject *MovieCtlObj_New(MovieController itself) { MovieControllerObject *it; if (itself == NULL) { PyErr_SetString(Qt_Error,"Cannot create MovieController from NULL pointer"); return NULL; } it = PyObject_NEW(MovieControllerObject, &MovieController_Type); if (it == NULL) return NULL; it->ob_itself = itself; return (PyObject *)it; } int MovieCtlObj_Convert(PyObject *v, MovieController *p_itself) { if (v == Py_None) { *p_itself = NULL; return 1; } if (!MovieCtlObj_Check(v)) { PyErr_SetString(PyExc_TypeError, "MovieController required"); return 0; } *p_itself = ((MovieControllerObject *)v)->ob_itself; return 1; } static void MovieCtlObj_dealloc(MovieControllerObject *self) { if (self->ob_itself) DisposeMovieController(self->ob_itself); self->ob_type->tp_free((PyObject *)self); } static PyObject *MovieCtlObj_MCSetMovie(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Movie theMovie; WindowPtr movieWindow; Point where; #ifndef MCSetMovie PyMac_PRECHECK(MCSetMovie); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", MovieObj_Convert, &theMovie, WinObj_Convert, &movieWindow, PyMac_GetPoint, &where)) return NULL; _rv = MCSetMovie(_self->ob_itself, theMovie, movieWindow, where); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCGetIndMovie(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie _rv; short index; #ifndef MCGetIndMovie PyMac_PRECHECK(MCGetIndMovie); #endif if (!PyArg_ParseTuple(_args, "h", &index)) return NULL; _rv = MCGetIndMovie(_self->ob_itself, index); _res = Py_BuildValue("O&", MovieObj_New, _rv); return _res; } static PyObject *MovieCtlObj_MCRemoveAllMovies(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; #ifndef MCRemoveAllMovies PyMac_PRECHECK(MCRemoveAllMovies); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCRemoveAllMovies(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCRemoveAMovie(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Movie m; #ifndef MCRemoveAMovie PyMac_PRECHECK(MCRemoveAMovie); #endif if (!PyArg_ParseTuple(_args, "O&", MovieObj_Convert, &m)) return NULL; _rv = MCRemoveAMovie(_self->ob_itself, m); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCRemoveMovie(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; #ifndef MCRemoveMovie PyMac_PRECHECK(MCRemoveMovie); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCRemoveMovie(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCIsPlayerEvent(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; EventRecord e; #ifndef MCIsPlayerEvent PyMac_PRECHECK(MCIsPlayerEvent); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetEventRecord, &e)) return NULL; _rv = MCIsPlayerEvent(_self->ob_itself, &e); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCDoAction(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; short action; void * params; #ifndef MCDoAction PyMac_PRECHECK(MCDoAction); #endif if (!PyArg_ParseTuple(_args, "hs", &action, &params)) return NULL; _rv = MCDoAction(_self->ob_itself, action, params); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCSetControllerAttached(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Boolean attach; #ifndef MCSetControllerAttached PyMac_PRECHECK(MCSetControllerAttached); #endif if (!PyArg_ParseTuple(_args, "b", &attach)) return NULL; _rv = MCSetControllerAttached(_self->ob_itself, attach); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCIsControllerAttached(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; #ifndef MCIsControllerAttached PyMac_PRECHECK(MCIsControllerAttached); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCIsControllerAttached(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCSetControllerPort(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; CGrafPtr gp; #ifndef MCSetControllerPort PyMac_PRECHECK(MCSetControllerPort); #endif if (!PyArg_ParseTuple(_args, "O&", GrafObj_Convert, &gp)) return NULL; _rv = MCSetControllerPort(_self->ob_itself, gp); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCGetControllerPort(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; CGrafPtr _rv; #ifndef MCGetControllerPort PyMac_PRECHECK(MCGetControllerPort); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCGetControllerPort(_self->ob_itself); _res = Py_BuildValue("O&", GrafObj_New, _rv); return _res; } static PyObject *MovieCtlObj_MCSetVisible(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Boolean visible; #ifndef MCSetVisible PyMac_PRECHECK(MCSetVisible); #endif if (!PyArg_ParseTuple(_args, "b", &visible)) return NULL; _rv = MCSetVisible(_self->ob_itself, visible); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCGetVisible(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; #ifndef MCGetVisible PyMac_PRECHECK(MCGetVisible); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCGetVisible(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCGetControllerBoundsRect(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Rect bounds; #ifndef MCGetControllerBoundsRect PyMac_PRECHECK(MCGetControllerBoundsRect); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCGetControllerBoundsRect(_self->ob_itself, &bounds); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &bounds); return _res; } static PyObject *MovieCtlObj_MCSetControllerBoundsRect(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Rect bounds; #ifndef MCSetControllerBoundsRect PyMac_PRECHECK(MCSetControllerBoundsRect); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetRect, &bounds)) return NULL; _rv = MCSetControllerBoundsRect(_self->ob_itself, &bounds); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCGetControllerBoundsRgn(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; #ifndef MCGetControllerBoundsRgn PyMac_PRECHECK(MCGetControllerBoundsRgn); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCGetControllerBoundsRgn(_self->ob_itself); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *MovieCtlObj_MCGetWindowRgn(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; WindowPtr w; #ifndef MCGetWindowRgn PyMac_PRECHECK(MCGetWindowRgn); #endif if (!PyArg_ParseTuple(_args, "O&", WinObj_Convert, &w)) return NULL; _rv = MCGetWindowRgn(_self->ob_itself, w); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *MovieCtlObj_MCMovieChanged(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Movie m; #ifndef MCMovieChanged PyMac_PRECHECK(MCMovieChanged); #endif if (!PyArg_ParseTuple(_args, "O&", MovieObj_Convert, &m)) return NULL; _rv = MCMovieChanged(_self->ob_itself, m); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCSetDuration(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TimeValue duration; #ifndef MCSetDuration PyMac_PRECHECK(MCSetDuration); #endif if (!PyArg_ParseTuple(_args, "l", &duration)) return NULL; _rv = MCSetDuration(_self->ob_itself, duration); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCGetCurrentTime(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue _rv; TimeScale scale; #ifndef MCGetCurrentTime PyMac_PRECHECK(MCGetCurrentTime); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCGetCurrentTime(_self->ob_itself, &scale); _res = Py_BuildValue("ll", _rv, scale); return _res; } static PyObject *MovieCtlObj_MCNewAttachedController(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Movie theMovie; WindowPtr w; Point where; #ifndef MCNewAttachedController PyMac_PRECHECK(MCNewAttachedController); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", MovieObj_Convert, &theMovie, WinObj_Convert, &w, PyMac_GetPoint, &where)) return NULL; _rv = MCNewAttachedController(_self->ob_itself, theMovie, w, where); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCDraw(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; WindowPtr w; #ifndef MCDraw PyMac_PRECHECK(MCDraw); #endif if (!PyArg_ParseTuple(_args, "O&", WinObj_Convert, &w)) return NULL; _rv = MCDraw(_self->ob_itself, w); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCActivate(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; WindowPtr w; Boolean activate; #ifndef MCActivate PyMac_PRECHECK(MCActivate); #endif if (!PyArg_ParseTuple(_args, "O&b", WinObj_Convert, &w, &activate)) return NULL; _rv = MCActivate(_self->ob_itself, w, activate); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCIdle(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; #ifndef MCIdle PyMac_PRECHECK(MCIdle); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCIdle(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCKey(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SInt8 key; long modifiers; #ifndef MCKey PyMac_PRECHECK(MCKey); #endif if (!PyArg_ParseTuple(_args, "bl", &key, &modifiers)) return NULL; _rv = MCKey(_self->ob_itself, key, modifiers); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCClick(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; WindowPtr w; Point where; long when; long modifiers; #ifndef MCClick PyMac_PRECHECK(MCClick); #endif if (!PyArg_ParseTuple(_args, "O&O&ll", WinObj_Convert, &w, PyMac_GetPoint, &where, &when, &modifiers)) return NULL; _rv = MCClick(_self->ob_itself, w, where, when, modifiers); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCEnableEditing(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Boolean enabled; #ifndef MCEnableEditing PyMac_PRECHECK(MCEnableEditing); #endif if (!PyArg_ParseTuple(_args, "b", &enabled)) return NULL; _rv = MCEnableEditing(_self->ob_itself, enabled); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCIsEditingEnabled(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; #ifndef MCIsEditingEnabled PyMac_PRECHECK(MCIsEditingEnabled); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCIsEditingEnabled(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCCopy(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie _rv; #ifndef MCCopy PyMac_PRECHECK(MCCopy); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCCopy(_self->ob_itself); _res = Py_BuildValue("O&", MovieObj_New, _rv); return _res; } static PyObject *MovieCtlObj_MCCut(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie _rv; #ifndef MCCut PyMac_PRECHECK(MCCut); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCCut(_self->ob_itself); _res = Py_BuildValue("O&", MovieObj_New, _rv); return _res; } static PyObject *MovieCtlObj_MCPaste(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Movie srcMovie; #ifndef MCPaste PyMac_PRECHECK(MCPaste); #endif if (!PyArg_ParseTuple(_args, "O&", MovieObj_Convert, &srcMovie)) return NULL; _rv = MCPaste(_self->ob_itself, srcMovie); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCClear(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; #ifndef MCClear PyMac_PRECHECK(MCClear); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCClear(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCUndo(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; #ifndef MCUndo PyMac_PRECHECK(MCUndo); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCUndo(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCPositionController(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Rect movieRect; Rect controllerRect; long someFlags; #ifndef MCPositionController PyMac_PRECHECK(MCPositionController); #endif if (!PyArg_ParseTuple(_args, "O&O&l", PyMac_GetRect, &movieRect, PyMac_GetRect, &controllerRect, &someFlags)) return NULL; _rv = MCPositionController(_self->ob_itself, &movieRect, &controllerRect, someFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCGetControllerInfo(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; long someFlags; #ifndef MCGetControllerInfo PyMac_PRECHECK(MCGetControllerInfo); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCGetControllerInfo(_self->ob_itself, &someFlags); _res = Py_BuildValue("ll", _rv, someFlags); return _res; } static PyObject *MovieCtlObj_MCSetClip(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; RgnHandle theClip; RgnHandle movieClip; #ifndef MCSetClip PyMac_PRECHECK(MCSetClip); #endif if (!PyArg_ParseTuple(_args, "O&O&", ResObj_Convert, &theClip, ResObj_Convert, &movieClip)) return NULL; _rv = MCSetClip(_self->ob_itself, theClip, movieClip); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCGetClip(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; RgnHandle theClip; RgnHandle movieClip; #ifndef MCGetClip PyMac_PRECHECK(MCGetClip); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCGetClip(_self->ob_itself, &theClip, &movieClip); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, theClip, ResObj_New, movieClip); return _res; } static PyObject *MovieCtlObj_MCDrawBadge(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; RgnHandle movieRgn; RgnHandle badgeRgn; #ifndef MCDrawBadge PyMac_PRECHECK(MCDrawBadge); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &movieRgn)) return NULL; _rv = MCDrawBadge(_self->ob_itself, movieRgn, &badgeRgn); _res = Py_BuildValue("lO&", _rv, ResObj_New, badgeRgn); return _res; } static PyObject *MovieCtlObj_MCSetUpEditMenu(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; long modifiers; MenuHandle mh; #ifndef MCSetUpEditMenu PyMac_PRECHECK(MCSetUpEditMenu); #endif if (!PyArg_ParseTuple(_args, "lO&", &modifiers, MenuObj_Convert, &mh)) return NULL; _rv = MCSetUpEditMenu(_self->ob_itself, modifiers, mh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCGetMenuString(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; long modifiers; short item; Str255 aString; #ifndef MCGetMenuString PyMac_PRECHECK(MCGetMenuString); #endif if (!PyArg_ParseTuple(_args, "lhO&", &modifiers, &item, PyMac_GetStr255, aString)) return NULL; _rv = MCGetMenuString(_self->ob_itself, modifiers, item, aString); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCPtInController(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Point thePt; Boolean inController; #ifndef MCPtInController PyMac_PRECHECK(MCPtInController); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetPoint, &thePt)) return NULL; _rv = MCPtInController(_self->ob_itself, thePt, &inController); _res = Py_BuildValue("lb", _rv, inController); return _res; } static PyObject *MovieCtlObj_MCInvalidate(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; WindowPtr w; RgnHandle invalidRgn; #ifndef MCInvalidate PyMac_PRECHECK(MCInvalidate); #endif if (!PyArg_ParseTuple(_args, "O&O&", WinObj_Convert, &w, ResObj_Convert, &invalidRgn)) return NULL; _rv = MCInvalidate(_self->ob_itself, w, invalidRgn); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCAdjustCursor(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; WindowPtr w; Point where; long modifiers; #ifndef MCAdjustCursor PyMac_PRECHECK(MCAdjustCursor); #endif if (!PyArg_ParseTuple(_args, "O&O&l", WinObj_Convert, &w, PyMac_GetPoint, &where, &modifiers)) return NULL; _rv = MCAdjustCursor(_self->ob_itself, w, where, modifiers); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCGetInterfaceElement(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MCInterfaceElement whichElement; void * element; #ifndef MCGetInterfaceElement PyMac_PRECHECK(MCGetInterfaceElement); #endif if (!PyArg_ParseTuple(_args, "ls", &whichElement, &element)) return NULL; _rv = MCGetInterfaceElement(_self->ob_itself, whichElement, element); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCAddMovieSegment(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Movie srcMovie; Boolean scaled; #ifndef MCAddMovieSegment PyMac_PRECHECK(MCAddMovieSegment); #endif if (!PyArg_ParseTuple(_args, "O&b", MovieObj_Convert, &srcMovie, &scaled)) return NULL; _rv = MCAddMovieSegment(_self->ob_itself, srcMovie, scaled); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCTrimMovieSegment(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; #ifndef MCTrimMovieSegment PyMac_PRECHECK(MCTrimMovieSegment); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = MCTrimMovieSegment(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCSetIdleManager(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; IdleManager im; #ifndef MCSetIdleManager PyMac_PRECHECK(MCSetIdleManager); #endif if (!PyArg_ParseTuple(_args, "O&", IdleManagerObj_Convert, &im)) return NULL; _rv = MCSetIdleManager(_self->ob_itself, im); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieCtlObj_MCSetControllerCapabilities(MovieControllerObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; long flags; long flagsMask; #ifndef MCSetControllerCapabilities PyMac_PRECHECK(MCSetControllerCapabilities); #endif if (!PyArg_ParseTuple(_args, "ll", &flags, &flagsMask)) return NULL; _rv = MCSetControllerCapabilities(_self->ob_itself, flags, flagsMask); _res = Py_BuildValue("l", _rv); return _res; } static PyMethodDef MovieCtlObj_methods[] = { {"MCSetMovie", (PyCFunction)MovieCtlObj_MCSetMovie, 1, PyDoc_STR("(Movie theMovie, WindowPtr movieWindow, Point where) -> (ComponentResult _rv)")}, {"MCGetIndMovie", (PyCFunction)MovieCtlObj_MCGetIndMovie, 1, PyDoc_STR("(short index) -> (Movie _rv)")}, {"MCRemoveAllMovies", (PyCFunction)MovieCtlObj_MCRemoveAllMovies, 1, PyDoc_STR("() -> (ComponentResult _rv)")}, {"MCRemoveAMovie", (PyCFunction)MovieCtlObj_MCRemoveAMovie, 1, PyDoc_STR("(Movie m) -> (ComponentResult _rv)")}, {"MCRemoveMovie", (PyCFunction)MovieCtlObj_MCRemoveMovie, 1, PyDoc_STR("() -> (ComponentResult _rv)")}, {"MCIsPlayerEvent", (PyCFunction)MovieCtlObj_MCIsPlayerEvent, 1, PyDoc_STR("(EventRecord e) -> (ComponentResult _rv)")}, {"MCDoAction", (PyCFunction)MovieCtlObj_MCDoAction, 1, PyDoc_STR("(short action, void * params) -> (ComponentResult _rv)")}, {"MCSetControllerAttached", (PyCFunction)MovieCtlObj_MCSetControllerAttached, 1, PyDoc_STR("(Boolean attach) -> (ComponentResult _rv)")}, {"MCIsControllerAttached", (PyCFunction)MovieCtlObj_MCIsControllerAttached, 1, PyDoc_STR("() -> (ComponentResult _rv)")}, {"MCSetControllerPort", (PyCFunction)MovieCtlObj_MCSetControllerPort, 1, PyDoc_STR("(CGrafPtr gp) -> (ComponentResult _rv)")}, {"MCGetControllerPort", (PyCFunction)MovieCtlObj_MCGetControllerPort, 1, PyDoc_STR("() -> (CGrafPtr _rv)")}, {"MCSetVisible", (PyCFunction)MovieCtlObj_MCSetVisible, 1, PyDoc_STR("(Boolean visible) -> (ComponentResult _rv)")}, {"MCGetVisible", (PyCFunction)MovieCtlObj_MCGetVisible, 1, PyDoc_STR("() -> (ComponentResult _rv)")}, {"MCGetControllerBoundsRect", (PyCFunction)MovieCtlObj_MCGetControllerBoundsRect, 1, PyDoc_STR("() -> (ComponentResult _rv, Rect bounds)")}, {"MCSetControllerBoundsRect", (PyCFunction)MovieCtlObj_MCSetControllerBoundsRect, 1, PyDoc_STR("(Rect bounds) -> (ComponentResult _rv)")}, {"MCGetControllerBoundsRgn", (PyCFunction)MovieCtlObj_MCGetControllerBoundsRgn, 1, PyDoc_STR("() -> (RgnHandle _rv)")}, {"MCGetWindowRgn", (PyCFunction)MovieCtlObj_MCGetWindowRgn, 1, PyDoc_STR("(WindowPtr w) -> (RgnHandle _rv)")}, {"MCMovieChanged", (PyCFunction)MovieCtlObj_MCMovieChanged, 1, PyDoc_STR("(Movie m) -> (ComponentResult _rv)")}, {"MCSetDuration", (PyCFunction)MovieCtlObj_MCSetDuration, 1, PyDoc_STR("(TimeValue duration) -> (ComponentResult _rv)")}, {"MCGetCurrentTime", (PyCFunction)MovieCtlObj_MCGetCurrentTime, 1, PyDoc_STR("() -> (TimeValue _rv, TimeScale scale)")}, {"MCNewAttachedController", (PyCFunction)MovieCtlObj_MCNewAttachedController, 1, PyDoc_STR("(Movie theMovie, WindowPtr w, Point where) -> (ComponentResult _rv)")}, {"MCDraw", (PyCFunction)MovieCtlObj_MCDraw, 1, PyDoc_STR("(WindowPtr w) -> (ComponentResult _rv)")}, {"MCActivate", (PyCFunction)MovieCtlObj_MCActivate, 1, PyDoc_STR("(WindowPtr w, Boolean activate) -> (ComponentResult _rv)")}, {"MCIdle", (PyCFunction)MovieCtlObj_MCIdle, 1, PyDoc_STR("() -> (ComponentResult _rv)")}, {"MCKey", (PyCFunction)MovieCtlObj_MCKey, 1, PyDoc_STR("(SInt8 key, long modifiers) -> (ComponentResult _rv)")}, {"MCClick", (PyCFunction)MovieCtlObj_MCClick, 1, PyDoc_STR("(WindowPtr w, Point where, long when, long modifiers) -> (ComponentResult _rv)")}, {"MCEnableEditing", (PyCFunction)MovieCtlObj_MCEnableEditing, 1, PyDoc_STR("(Boolean enabled) -> (ComponentResult _rv)")}, {"MCIsEditingEnabled", (PyCFunction)MovieCtlObj_MCIsEditingEnabled, 1, PyDoc_STR("() -> (long _rv)")}, {"MCCopy", (PyCFunction)MovieCtlObj_MCCopy, 1, PyDoc_STR("() -> (Movie _rv)")}, {"MCCut", (PyCFunction)MovieCtlObj_MCCut, 1, PyDoc_STR("() -> (Movie _rv)")}, {"MCPaste", (PyCFunction)MovieCtlObj_MCPaste, 1, PyDoc_STR("(Movie srcMovie) -> (ComponentResult _rv)")}, {"MCClear", (PyCFunction)MovieCtlObj_MCClear, 1, PyDoc_STR("() -> (ComponentResult _rv)")}, {"MCUndo", (PyCFunction)MovieCtlObj_MCUndo, 1, PyDoc_STR("() -> (ComponentResult _rv)")}, {"MCPositionController", (PyCFunction)MovieCtlObj_MCPositionController, 1, PyDoc_STR("(Rect movieRect, Rect controllerRect, long someFlags) -> (ComponentResult _rv)")}, {"MCGetControllerInfo", (PyCFunction)MovieCtlObj_MCGetControllerInfo, 1, PyDoc_STR("() -> (ComponentResult _rv, long someFlags)")}, {"MCSetClip", (PyCFunction)MovieCtlObj_MCSetClip, 1, PyDoc_STR("(RgnHandle theClip, RgnHandle movieClip) -> (ComponentResult _rv)")}, {"MCGetClip", (PyCFunction)MovieCtlObj_MCGetClip, 1, PyDoc_STR("() -> (ComponentResult _rv, RgnHandle theClip, RgnHandle movieClip)")}, {"MCDrawBadge", (PyCFunction)MovieCtlObj_MCDrawBadge, 1, PyDoc_STR("(RgnHandle movieRgn) -> (ComponentResult _rv, RgnHandle badgeRgn)")}, {"MCSetUpEditMenu", (PyCFunction)MovieCtlObj_MCSetUpEditMenu, 1, PyDoc_STR("(long modifiers, MenuHandle mh) -> (ComponentResult _rv)")}, {"MCGetMenuString", (PyCFunction)MovieCtlObj_MCGetMenuString, 1, PyDoc_STR("(long modifiers, short item, Str255 aString) -> (ComponentResult _rv)")}, {"MCPtInController", (PyCFunction)MovieCtlObj_MCPtInController, 1, PyDoc_STR("(Point thePt) -> (ComponentResult _rv, Boolean inController)")}, {"MCInvalidate", (PyCFunction)MovieCtlObj_MCInvalidate, 1, PyDoc_STR("(WindowPtr w, RgnHandle invalidRgn) -> (ComponentResult _rv)")}, {"MCAdjustCursor", (PyCFunction)MovieCtlObj_MCAdjustCursor, 1, PyDoc_STR("(WindowPtr w, Point where, long modifiers) -> (ComponentResult _rv)")}, {"MCGetInterfaceElement", (PyCFunction)MovieCtlObj_MCGetInterfaceElement, 1, PyDoc_STR("(MCInterfaceElement whichElement, void * element) -> (ComponentResult _rv)")}, {"MCAddMovieSegment", (PyCFunction)MovieCtlObj_MCAddMovieSegment, 1, PyDoc_STR("(Movie srcMovie, Boolean scaled) -> (ComponentResult _rv)")}, {"MCTrimMovieSegment", (PyCFunction)MovieCtlObj_MCTrimMovieSegment, 1, PyDoc_STR("() -> (ComponentResult _rv)")}, {"MCSetIdleManager", (PyCFunction)MovieCtlObj_MCSetIdleManager, 1, PyDoc_STR("(IdleManager im) -> (ComponentResult _rv)")}, {"MCSetControllerCapabilities", (PyCFunction)MovieCtlObj_MCSetControllerCapabilities, 1, PyDoc_STR("(long flags, long flagsMask) -> (ComponentResult _rv)")}, {NULL, NULL, 0} }; #define MovieCtlObj_getsetlist NULL #define MovieCtlObj_compare NULL #define MovieCtlObj_repr NULL #define MovieCtlObj_hash NULL #define MovieCtlObj_tp_init 0 #define MovieCtlObj_tp_alloc PyType_GenericAlloc static PyObject *MovieCtlObj_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds) { PyObject *_self; MovieController itself; char *kw[] = {"itself", 0}; if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, MovieCtlObj_Convert, &itself)) return NULL; if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; ((MovieControllerObject *)_self)->ob_itself = itself; return _self; } #define MovieCtlObj_tp_free PyObject_Del PyTypeObject MovieController_Type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ "_Qt.MovieController", /*tp_name*/ sizeof(MovieControllerObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ (destructor) MovieCtlObj_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ (getattrfunc)0, /*tp_getattr*/ (setattrfunc)0, /*tp_setattr*/ (cmpfunc) MovieCtlObj_compare, /*tp_compare*/ (reprfunc) MovieCtlObj_repr, /*tp_repr*/ (PyNumberMethods *)0, /* tp_as_number */ (PySequenceMethods *)0, /* tp_as_sequence */ (PyMappingMethods *)0, /* tp_as_mapping */ (hashfunc) MovieCtlObj_hash, /*tp_hash*/ 0, /*tp_call*/ 0, /*tp_str*/ PyObject_GenericGetAttr, /*tp_getattro*/ PyObject_GenericSetAttr, /*tp_setattro */ 0, /*tp_as_buffer*/ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ 0, /*tp_richcompare*/ 0, /*tp_weaklistoffset*/ 0, /*tp_iter*/ 0, /*tp_iternext*/ MovieCtlObj_methods, /* tp_methods */ 0, /*tp_members*/ MovieCtlObj_getsetlist, /*tp_getset*/ 0, /*tp_base*/ 0, /*tp_dict*/ 0, /*tp_descr_get*/ 0, /*tp_descr_set*/ 0, /*tp_dictoffset*/ MovieCtlObj_tp_init, /* tp_init */ MovieCtlObj_tp_alloc, /* tp_alloc */ MovieCtlObj_tp_new, /* tp_new */ MovieCtlObj_tp_free, /* tp_free */ }; /* ---------------- End object type MovieController ----------------- */ /* ---------------------- Object type TimeBase ---------------------- */ PyTypeObject TimeBase_Type; #define TimeBaseObj_Check(x) ((x)->ob_type == &TimeBase_Type || PyObject_TypeCheck((x), &TimeBase_Type)) typedef struct TimeBaseObject { PyObject_HEAD TimeBase ob_itself; } TimeBaseObject; PyObject *TimeBaseObj_New(TimeBase itself) { TimeBaseObject *it; if (itself == NULL) { PyErr_SetString(Qt_Error,"Cannot create TimeBase from NULL pointer"); return NULL; } it = PyObject_NEW(TimeBaseObject, &TimeBase_Type); if (it == NULL) return NULL; it->ob_itself = itself; return (PyObject *)it; } int TimeBaseObj_Convert(PyObject *v, TimeBase *p_itself) { if (v == Py_None) { *p_itself = NULL; return 1; } if (!TimeBaseObj_Check(v)) { PyErr_SetString(PyExc_TypeError, "TimeBase required"); return 0; } *p_itself = ((TimeBaseObject *)v)->ob_itself; return 1; } static void TimeBaseObj_dealloc(TimeBaseObject *self) { /* Cleanup of self->ob_itself goes here */ self->ob_type->tp_free((PyObject *)self); } static PyObject *TimeBaseObj_DisposeTimeBase(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; #ifndef DisposeTimeBase PyMac_PRECHECK(DisposeTimeBase); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; DisposeTimeBase(_self->ob_itself); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TimeBaseObj_GetTimeBaseTime(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue _rv; TimeScale s; TimeRecord tr; #ifndef GetTimeBaseTime PyMac_PRECHECK(GetTimeBaseTime); #endif if (!PyArg_ParseTuple(_args, "l", &s)) return NULL; _rv = GetTimeBaseTime(_self->ob_itself, s, &tr); _res = Py_BuildValue("lO&", _rv, QtTimeRecord_New, &tr); return _res; } static PyObject *TimeBaseObj_SetTimeBaseTime(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeRecord tr; #ifndef SetTimeBaseTime PyMac_PRECHECK(SetTimeBaseTime); #endif if (!PyArg_ParseTuple(_args, "O&", QtTimeRecord_Convert, &tr)) return NULL; SetTimeBaseTime(_self->ob_itself, &tr); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TimeBaseObj_SetTimeBaseValue(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue t; TimeScale s; #ifndef SetTimeBaseValue PyMac_PRECHECK(SetTimeBaseValue); #endif if (!PyArg_ParseTuple(_args, "ll", &t, &s)) return NULL; SetTimeBaseValue(_self->ob_itself, t, s); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TimeBaseObj_GetTimeBaseRate(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; #ifndef GetTimeBaseRate PyMac_PRECHECK(GetTimeBaseRate); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTimeBaseRate(_self->ob_itself); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *TimeBaseObj_SetTimeBaseRate(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed r; #ifndef SetTimeBaseRate PyMac_PRECHECK(SetTimeBaseRate); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetFixed, &r)) return NULL; SetTimeBaseRate(_self->ob_itself, r); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TimeBaseObj_GetTimeBaseStartTime(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue _rv; TimeScale s; TimeRecord tr; #ifndef GetTimeBaseStartTime PyMac_PRECHECK(GetTimeBaseStartTime); #endif if (!PyArg_ParseTuple(_args, "l", &s)) return NULL; _rv = GetTimeBaseStartTime(_self->ob_itself, s, &tr); _res = Py_BuildValue("lO&", _rv, QtTimeRecord_New, &tr); return _res; } static PyObject *TimeBaseObj_SetTimeBaseStartTime(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeRecord tr; #ifndef SetTimeBaseStartTime PyMac_PRECHECK(SetTimeBaseStartTime); #endif if (!PyArg_ParseTuple(_args, "O&", QtTimeRecord_Convert, &tr)) return NULL; SetTimeBaseStartTime(_self->ob_itself, &tr); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TimeBaseObj_GetTimeBaseStopTime(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue _rv; TimeScale s; TimeRecord tr; #ifndef GetTimeBaseStopTime PyMac_PRECHECK(GetTimeBaseStopTime); #endif if (!PyArg_ParseTuple(_args, "l", &s)) return NULL; _rv = GetTimeBaseStopTime(_self->ob_itself, s, &tr); _res = Py_BuildValue("lO&", _rv, QtTimeRecord_New, &tr); return _res; } static PyObject *TimeBaseObj_SetTimeBaseStopTime(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeRecord tr; #ifndef SetTimeBaseStopTime PyMac_PRECHECK(SetTimeBaseStopTime); #endif if (!PyArg_ParseTuple(_args, "O&", QtTimeRecord_Convert, &tr)) return NULL; SetTimeBaseStopTime(_self->ob_itself, &tr); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TimeBaseObj_GetTimeBaseFlags(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; #ifndef GetTimeBaseFlags PyMac_PRECHECK(GetTimeBaseFlags); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTimeBaseFlags(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *TimeBaseObj_SetTimeBaseFlags(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; long timeBaseFlags; #ifndef SetTimeBaseFlags PyMac_PRECHECK(SetTimeBaseFlags); #endif if (!PyArg_ParseTuple(_args, "l", &timeBaseFlags)) return NULL; SetTimeBaseFlags(_self->ob_itself, timeBaseFlags); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TimeBaseObj_SetTimeBaseMasterTimeBase(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeBase master; TimeRecord slaveZero; #ifndef SetTimeBaseMasterTimeBase PyMac_PRECHECK(SetTimeBaseMasterTimeBase); #endif if (!PyArg_ParseTuple(_args, "O&O&", TimeBaseObj_Convert, &master, QtTimeRecord_Convert, &slaveZero)) return NULL; SetTimeBaseMasterTimeBase(_self->ob_itself, master, &slaveZero); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TimeBaseObj_GetTimeBaseMasterTimeBase(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeBase _rv; #ifndef GetTimeBaseMasterTimeBase PyMac_PRECHECK(GetTimeBaseMasterTimeBase); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTimeBaseMasterTimeBase(_self->ob_itself); _res = Py_BuildValue("O&", TimeBaseObj_New, _rv); return _res; } static PyObject *TimeBaseObj_SetTimeBaseMasterClock(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; Component clockMeister; TimeRecord slaveZero; #ifndef SetTimeBaseMasterClock PyMac_PRECHECK(SetTimeBaseMasterClock); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpObj_Convert, &clockMeister, QtTimeRecord_Convert, &slaveZero)) return NULL; SetTimeBaseMasterClock(_self->ob_itself, clockMeister, &slaveZero); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TimeBaseObj_GetTimeBaseMasterClock(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentInstance _rv; #ifndef GetTimeBaseMasterClock PyMac_PRECHECK(GetTimeBaseMasterClock); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTimeBaseMasterClock(_self->ob_itself); _res = Py_BuildValue("O&", CmpInstObj_New, _rv); return _res; } static PyObject *TimeBaseObj_GetTimeBaseStatus(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; TimeRecord unpinnedTime; #ifndef GetTimeBaseStatus PyMac_PRECHECK(GetTimeBaseStatus); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTimeBaseStatus(_self->ob_itself, &unpinnedTime); _res = Py_BuildValue("lO&", _rv, QtTimeRecord_New, &unpinnedTime); return _res; } static PyObject *TimeBaseObj_SetTimeBaseZero(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeRecord zero; #ifndef SetTimeBaseZero PyMac_PRECHECK(SetTimeBaseZero); #endif if (!PyArg_ParseTuple(_args, "O&", QtTimeRecord_Convert, &zero)) return NULL; SetTimeBaseZero(_self->ob_itself, &zero); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TimeBaseObj_GetTimeBaseEffectiveRate(TimeBaseObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; #ifndef GetTimeBaseEffectiveRate PyMac_PRECHECK(GetTimeBaseEffectiveRate); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTimeBaseEffectiveRate(_self->ob_itself); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyMethodDef TimeBaseObj_methods[] = { {"DisposeTimeBase", (PyCFunction)TimeBaseObj_DisposeTimeBase, 1, PyDoc_STR("() -> None")}, {"GetTimeBaseTime", (PyCFunction)TimeBaseObj_GetTimeBaseTime, 1, PyDoc_STR("(TimeScale s) -> (TimeValue _rv, TimeRecord tr)")}, {"SetTimeBaseTime", (PyCFunction)TimeBaseObj_SetTimeBaseTime, 1, PyDoc_STR("(TimeRecord tr) -> None")}, {"SetTimeBaseValue", (PyCFunction)TimeBaseObj_SetTimeBaseValue, 1, PyDoc_STR("(TimeValue t, TimeScale s) -> None")}, {"GetTimeBaseRate", (PyCFunction)TimeBaseObj_GetTimeBaseRate, 1, PyDoc_STR("() -> (Fixed _rv)")}, {"SetTimeBaseRate", (PyCFunction)TimeBaseObj_SetTimeBaseRate, 1, PyDoc_STR("(Fixed r) -> None")}, {"GetTimeBaseStartTime", (PyCFunction)TimeBaseObj_GetTimeBaseStartTime, 1, PyDoc_STR("(TimeScale s) -> (TimeValue _rv, TimeRecord tr)")}, {"SetTimeBaseStartTime", (PyCFunction)TimeBaseObj_SetTimeBaseStartTime, 1, PyDoc_STR("(TimeRecord tr) -> None")}, {"GetTimeBaseStopTime", (PyCFunction)TimeBaseObj_GetTimeBaseStopTime, 1, PyDoc_STR("(TimeScale s) -> (TimeValue _rv, TimeRecord tr)")}, {"SetTimeBaseStopTime", (PyCFunction)TimeBaseObj_SetTimeBaseStopTime, 1, PyDoc_STR("(TimeRecord tr) -> None")}, {"GetTimeBaseFlags", (PyCFunction)TimeBaseObj_GetTimeBaseFlags, 1, PyDoc_STR("() -> (long _rv)")}, {"SetTimeBaseFlags", (PyCFunction)TimeBaseObj_SetTimeBaseFlags, 1, PyDoc_STR("(long timeBaseFlags) -> None")}, {"SetTimeBaseMasterTimeBase", (PyCFunction)TimeBaseObj_SetTimeBaseMasterTimeBase, 1, PyDoc_STR("(TimeBase master, TimeRecord slaveZero) -> None")}, {"GetTimeBaseMasterTimeBase", (PyCFunction)TimeBaseObj_GetTimeBaseMasterTimeBase, 1, PyDoc_STR("() -> (TimeBase _rv)")}, {"SetTimeBaseMasterClock", (PyCFunction)TimeBaseObj_SetTimeBaseMasterClock, 1, PyDoc_STR("(Component clockMeister, TimeRecord slaveZero) -> None")}, {"GetTimeBaseMasterClock", (PyCFunction)TimeBaseObj_GetTimeBaseMasterClock, 1, PyDoc_STR("() -> (ComponentInstance _rv)")}, {"GetTimeBaseStatus", (PyCFunction)TimeBaseObj_GetTimeBaseStatus, 1, PyDoc_STR("() -> (long _rv, TimeRecord unpinnedTime)")}, {"SetTimeBaseZero", (PyCFunction)TimeBaseObj_SetTimeBaseZero, 1, PyDoc_STR("(TimeRecord zero) -> None")}, {"GetTimeBaseEffectiveRate", (PyCFunction)TimeBaseObj_GetTimeBaseEffectiveRate, 1, PyDoc_STR("() -> (Fixed _rv)")}, {NULL, NULL, 0} }; #define TimeBaseObj_getsetlist NULL #define TimeBaseObj_compare NULL #define TimeBaseObj_repr NULL #define TimeBaseObj_hash NULL #define TimeBaseObj_tp_init 0 #define TimeBaseObj_tp_alloc PyType_GenericAlloc static PyObject *TimeBaseObj_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds) { PyObject *_self; TimeBase itself; char *kw[] = {"itself", 0}; if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, TimeBaseObj_Convert, &itself)) return NULL; if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; ((TimeBaseObject *)_self)->ob_itself = itself; return _self; } #define TimeBaseObj_tp_free PyObject_Del PyTypeObject TimeBase_Type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ "_Qt.TimeBase", /*tp_name*/ sizeof(TimeBaseObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ (destructor) TimeBaseObj_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ (getattrfunc)0, /*tp_getattr*/ (setattrfunc)0, /*tp_setattr*/ (cmpfunc) TimeBaseObj_compare, /*tp_compare*/ (reprfunc) TimeBaseObj_repr, /*tp_repr*/ (PyNumberMethods *)0, /* tp_as_number */ (PySequenceMethods *)0, /* tp_as_sequence */ (PyMappingMethods *)0, /* tp_as_mapping */ (hashfunc) TimeBaseObj_hash, /*tp_hash*/ 0, /*tp_call*/ 0, /*tp_str*/ PyObject_GenericGetAttr, /*tp_getattro*/ PyObject_GenericSetAttr, /*tp_setattro */ 0, /*tp_as_buffer*/ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ 0, /*tp_richcompare*/ 0, /*tp_weaklistoffset*/ 0, /*tp_iter*/ 0, /*tp_iternext*/ TimeBaseObj_methods, /* tp_methods */ 0, /*tp_members*/ TimeBaseObj_getsetlist, /*tp_getset*/ 0, /*tp_base*/ 0, /*tp_dict*/ 0, /*tp_descr_get*/ 0, /*tp_descr_set*/ 0, /*tp_dictoffset*/ TimeBaseObj_tp_init, /* tp_init */ TimeBaseObj_tp_alloc, /* tp_alloc */ TimeBaseObj_tp_new, /* tp_new */ TimeBaseObj_tp_free, /* tp_free */ }; /* -------------------- End object type TimeBase -------------------- */ /* ---------------------- Object type UserData ---------------------- */ PyTypeObject UserData_Type; #define UserDataObj_Check(x) ((x)->ob_type == &UserData_Type || PyObject_TypeCheck((x), &UserData_Type)) typedef struct UserDataObject { PyObject_HEAD UserData ob_itself; } UserDataObject; PyObject *UserDataObj_New(UserData itself) { UserDataObject *it; if (itself == NULL) { PyErr_SetString(Qt_Error,"Cannot create UserData from NULL pointer"); return NULL; } it = PyObject_NEW(UserDataObject, &UserData_Type); if (it == NULL) return NULL; it->ob_itself = itself; return (PyObject *)it; } int UserDataObj_Convert(PyObject *v, UserData *p_itself) { if (v == Py_None) { *p_itself = NULL; return 1; } if (!UserDataObj_Check(v)) { PyErr_SetString(PyExc_TypeError, "UserData required"); return 0; } *p_itself = ((UserDataObject *)v)->ob_itself; return 1; } static void UserDataObj_dealloc(UserDataObject *self) { if (self->ob_itself) DisposeUserData(self->ob_itself); self->ob_type->tp_free((PyObject *)self); } static PyObject *UserDataObj_GetUserData(UserDataObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle data; OSType udType; long index; #ifndef GetUserData PyMac_PRECHECK(GetUserData); #endif if (!PyArg_ParseTuple(_args, "O&O&l", ResObj_Convert, &data, PyMac_GetOSType, &udType, &index)) return NULL; _err = GetUserData(_self->ob_itself, data, udType, index); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *UserDataObj_AddUserData(UserDataObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle data; OSType udType; #ifndef AddUserData PyMac_PRECHECK(AddUserData); #endif if (!PyArg_ParseTuple(_args, "O&O&", ResObj_Convert, &data, PyMac_GetOSType, &udType)) return NULL; _err = AddUserData(_self->ob_itself, data, udType); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *UserDataObj_RemoveUserData(UserDataObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; OSType udType; long index; #ifndef RemoveUserData PyMac_PRECHECK(RemoveUserData); #endif if (!PyArg_ParseTuple(_args, "O&l", PyMac_GetOSType, &udType, &index)) return NULL; _err = RemoveUserData(_self->ob_itself, udType, index); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *UserDataObj_CountUserDataType(UserDataObject *_self, PyObject *_args) { PyObject *_res = NULL; short _rv; OSType udType; #ifndef CountUserDataType PyMac_PRECHECK(CountUserDataType); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetOSType, &udType)) return NULL; _rv = CountUserDataType(_self->ob_itself, udType); _res = Py_BuildValue("h", _rv); return _res; } static PyObject *UserDataObj_GetNextUserDataType(UserDataObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; OSType udType; #ifndef GetNextUserDataType PyMac_PRECHECK(GetNextUserDataType); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetOSType, &udType)) return NULL; _rv = GetNextUserDataType(_self->ob_itself, udType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *UserDataObj_AddUserDataText(UserDataObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle data; OSType udType; long index; short itlRegionTag; #ifndef AddUserDataText PyMac_PRECHECK(AddUserDataText); #endif if (!PyArg_ParseTuple(_args, "O&O&lh", ResObj_Convert, &data, PyMac_GetOSType, &udType, &index, &itlRegionTag)) return NULL; _err = AddUserDataText(_self->ob_itself, data, udType, index, itlRegionTag); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *UserDataObj_GetUserDataText(UserDataObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle data; OSType udType; long index; short itlRegionTag; #ifndef GetUserDataText PyMac_PRECHECK(GetUserDataText); #endif if (!PyArg_ParseTuple(_args, "O&O&lh", ResObj_Convert, &data, PyMac_GetOSType, &udType, &index, &itlRegionTag)) return NULL; _err = GetUserDataText(_self->ob_itself, data, udType, index, itlRegionTag); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *UserDataObj_RemoveUserDataText(UserDataObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; OSType udType; long index; short itlRegionTag; #ifndef RemoveUserDataText PyMac_PRECHECK(RemoveUserDataText); #endif if (!PyArg_ParseTuple(_args, "O&lh", PyMac_GetOSType, &udType, &index, &itlRegionTag)) return NULL; _err = RemoveUserDataText(_self->ob_itself, udType, index, itlRegionTag); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *UserDataObj_PutUserDataIntoHandle(UserDataObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle h; #ifndef PutUserDataIntoHandle PyMac_PRECHECK(PutUserDataIntoHandle); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &h)) return NULL; _err = PutUserDataIntoHandle(_self->ob_itself, h); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *UserDataObj_CopyUserData(UserDataObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; UserData dstUserData; OSType copyRule; #ifndef CopyUserData PyMac_PRECHECK(CopyUserData); #endif if (!PyArg_ParseTuple(_args, "O&O&", UserDataObj_Convert, &dstUserData, PyMac_GetOSType, &copyRule)) return NULL; _err = CopyUserData(_self->ob_itself, dstUserData, copyRule); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyMethodDef UserDataObj_methods[] = { {"GetUserData", (PyCFunction)UserDataObj_GetUserData, 1, PyDoc_STR("(Handle data, OSType udType, long index) -> None")}, {"AddUserData", (PyCFunction)UserDataObj_AddUserData, 1, PyDoc_STR("(Handle data, OSType udType) -> None")}, {"RemoveUserData", (PyCFunction)UserDataObj_RemoveUserData, 1, PyDoc_STR("(OSType udType, long index) -> None")}, {"CountUserDataType", (PyCFunction)UserDataObj_CountUserDataType, 1, PyDoc_STR("(OSType udType) -> (short _rv)")}, {"GetNextUserDataType", (PyCFunction)UserDataObj_GetNextUserDataType, 1, PyDoc_STR("(OSType udType) -> (long _rv)")}, {"AddUserDataText", (PyCFunction)UserDataObj_AddUserDataText, 1, PyDoc_STR("(Handle data, OSType udType, long index, short itlRegionTag) -> None")}, {"GetUserDataText", (PyCFunction)UserDataObj_GetUserDataText, 1, PyDoc_STR("(Handle data, OSType udType, long index, short itlRegionTag) -> None")}, {"RemoveUserDataText", (PyCFunction)UserDataObj_RemoveUserDataText, 1, PyDoc_STR("(OSType udType, long index, short itlRegionTag) -> None")}, {"PutUserDataIntoHandle", (PyCFunction)UserDataObj_PutUserDataIntoHandle, 1, PyDoc_STR("(Handle h) -> None")}, {"CopyUserData", (PyCFunction)UserDataObj_CopyUserData, 1, PyDoc_STR("(UserData dstUserData, OSType copyRule) -> None")}, {NULL, NULL, 0} }; #define UserDataObj_getsetlist NULL #define UserDataObj_compare NULL #define UserDataObj_repr NULL #define UserDataObj_hash NULL #define UserDataObj_tp_init 0 #define UserDataObj_tp_alloc PyType_GenericAlloc static PyObject *UserDataObj_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds) { PyObject *_self; UserData itself; char *kw[] = {"itself", 0}; if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, UserDataObj_Convert, &itself)) return NULL; if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; ((UserDataObject *)_self)->ob_itself = itself; return _self; } #define UserDataObj_tp_free PyObject_Del PyTypeObject UserData_Type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ "_Qt.UserData", /*tp_name*/ sizeof(UserDataObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ (destructor) UserDataObj_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ (getattrfunc)0, /*tp_getattr*/ (setattrfunc)0, /*tp_setattr*/ (cmpfunc) UserDataObj_compare, /*tp_compare*/ (reprfunc) UserDataObj_repr, /*tp_repr*/ (PyNumberMethods *)0, /* tp_as_number */ (PySequenceMethods *)0, /* tp_as_sequence */ (PyMappingMethods *)0, /* tp_as_mapping */ (hashfunc) UserDataObj_hash, /*tp_hash*/ 0, /*tp_call*/ 0, /*tp_str*/ PyObject_GenericGetAttr, /*tp_getattro*/ PyObject_GenericSetAttr, /*tp_setattro */ 0, /*tp_as_buffer*/ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ 0, /*tp_richcompare*/ 0, /*tp_weaklistoffset*/ 0, /*tp_iter*/ 0, /*tp_iternext*/ UserDataObj_methods, /* tp_methods */ 0, /*tp_members*/ UserDataObj_getsetlist, /*tp_getset*/ 0, /*tp_base*/ 0, /*tp_dict*/ 0, /*tp_descr_get*/ 0, /*tp_descr_set*/ 0, /*tp_dictoffset*/ UserDataObj_tp_init, /* tp_init */ UserDataObj_tp_alloc, /* tp_alloc */ UserDataObj_tp_new, /* tp_new */ UserDataObj_tp_free, /* tp_free */ }; /* -------------------- End object type UserData -------------------- */ /* ----------------------- Object type Media ------------------------ */ PyTypeObject Media_Type; #define MediaObj_Check(x) ((x)->ob_type == &Media_Type || PyObject_TypeCheck((x), &Media_Type)) typedef struct MediaObject { PyObject_HEAD Media ob_itself; } MediaObject; PyObject *MediaObj_New(Media itself) { MediaObject *it; if (itself == NULL) { PyErr_SetString(Qt_Error,"Cannot create Media from NULL pointer"); return NULL; } it = PyObject_NEW(MediaObject, &Media_Type); if (it == NULL) return NULL; it->ob_itself = itself; return (PyObject *)it; } int MediaObj_Convert(PyObject *v, Media *p_itself) { if (v == Py_None) { *p_itself = NULL; return 1; } if (!MediaObj_Check(v)) { PyErr_SetString(PyExc_TypeError, "Media required"); return 0; } *p_itself = ((MediaObject *)v)->ob_itself; return 1; } static void MediaObj_dealloc(MediaObject *self) { if (self->ob_itself) DisposeTrackMedia(self->ob_itself); self->ob_type->tp_free((PyObject *)self); } static PyObject *MediaObj_LoadMediaIntoRam(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue time; TimeValue duration; long flags; #ifndef LoadMediaIntoRam PyMac_PRECHECK(LoadMediaIntoRam); #endif if (!PyArg_ParseTuple(_args, "lll", &time, &duration, &flags)) return NULL; _err = LoadMediaIntoRam(_self->ob_itself, time, duration, flags); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_GetMediaTrack(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; Track _rv; #ifndef GetMediaTrack PyMac_PRECHECK(GetMediaTrack); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaTrack(_self->ob_itself); _res = Py_BuildValue("O&", TrackObj_New, _rv); return _res; } static PyObject *MediaObj_GetMediaCreationTime(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; unsigned long _rv; #ifndef GetMediaCreationTime PyMac_PRECHECK(GetMediaCreationTime); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaCreationTime(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MediaObj_GetMediaModificationTime(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; unsigned long _rv; #ifndef GetMediaModificationTime PyMac_PRECHECK(GetMediaModificationTime); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaModificationTime(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MediaObj_GetMediaTimeScale(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeScale _rv; #ifndef GetMediaTimeScale PyMac_PRECHECK(GetMediaTimeScale); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaTimeScale(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MediaObj_SetMediaTimeScale(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeScale timeScale; #ifndef SetMediaTimeScale PyMac_PRECHECK(SetMediaTimeScale); #endif if (!PyArg_ParseTuple(_args, "l", &timeScale)) return NULL; SetMediaTimeScale(_self->ob_itself, timeScale); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_GetMediaDuration(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue _rv; #ifndef GetMediaDuration PyMac_PRECHECK(GetMediaDuration); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaDuration(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MediaObj_GetMediaLanguage(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; short _rv; #ifndef GetMediaLanguage PyMac_PRECHECK(GetMediaLanguage); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaLanguage(_self->ob_itself); _res = Py_BuildValue("h", _rv); return _res; } static PyObject *MediaObj_SetMediaLanguage(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; short language; #ifndef SetMediaLanguage PyMac_PRECHECK(SetMediaLanguage); #endif if (!PyArg_ParseTuple(_args, "h", &language)) return NULL; SetMediaLanguage(_self->ob_itself, language); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_GetMediaQuality(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; short _rv; #ifndef GetMediaQuality PyMac_PRECHECK(GetMediaQuality); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaQuality(_self->ob_itself); _res = Py_BuildValue("h", _rv); return _res; } static PyObject *MediaObj_SetMediaQuality(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; short quality; #ifndef SetMediaQuality PyMac_PRECHECK(SetMediaQuality); #endif if (!PyArg_ParseTuple(_args, "h", &quality)) return NULL; SetMediaQuality(_self->ob_itself, quality); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_GetMediaHandlerDescription(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSType mediaType; Str255 creatorName; OSType creatorManufacturer; #ifndef GetMediaHandlerDescription PyMac_PRECHECK(GetMediaHandlerDescription); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetStr255, creatorName)) return NULL; GetMediaHandlerDescription(_self->ob_itself, &mediaType, creatorName, &creatorManufacturer); _res = Py_BuildValue("O&O&", PyMac_BuildOSType, mediaType, PyMac_BuildOSType, creatorManufacturer); return _res; } static PyObject *MediaObj_GetMediaUserData(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; UserData _rv; #ifndef GetMediaUserData PyMac_PRECHECK(GetMediaUserData); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaUserData(_self->ob_itself); _res = Py_BuildValue("O&", UserDataObj_New, _rv); return _res; } static PyObject *MediaObj_GetMediaHandler(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; MediaHandler _rv; #ifndef GetMediaHandler PyMac_PRECHECK(GetMediaHandler); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaHandler(_self->ob_itself); _res = Py_BuildValue("O&", CmpInstObj_New, _rv); return _res; } static PyObject *MediaObj_SetMediaHandler(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; MediaHandlerComponent mH; #ifndef SetMediaHandler PyMac_PRECHECK(SetMediaHandler); #endif if (!PyArg_ParseTuple(_args, "O&", CmpObj_Convert, &mH)) return NULL; _err = SetMediaHandler(_self->ob_itself, mH); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_BeginMediaEdits(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; #ifndef BeginMediaEdits PyMac_PRECHECK(BeginMediaEdits); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = BeginMediaEdits(_self->ob_itself); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_EndMediaEdits(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; #ifndef EndMediaEdits PyMac_PRECHECK(EndMediaEdits); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = EndMediaEdits(_self->ob_itself); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_SetMediaDefaultDataRefIndex(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short index; #ifndef SetMediaDefaultDataRefIndex PyMac_PRECHECK(SetMediaDefaultDataRefIndex); #endif if (!PyArg_ParseTuple(_args, "h", &index)) return NULL; _err = SetMediaDefaultDataRefIndex(_self->ob_itself, index); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_GetMediaDataHandlerDescription(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; short index; OSType dhType; Str255 creatorName; OSType creatorManufacturer; #ifndef GetMediaDataHandlerDescription PyMac_PRECHECK(GetMediaDataHandlerDescription); #endif if (!PyArg_ParseTuple(_args, "hO&", &index, PyMac_GetStr255, creatorName)) return NULL; GetMediaDataHandlerDescription(_self->ob_itself, index, &dhType, creatorName, &creatorManufacturer); _res = Py_BuildValue("O&O&", PyMac_BuildOSType, dhType, PyMac_BuildOSType, creatorManufacturer); return _res; } static PyObject *MediaObj_GetMediaDataHandler(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; DataHandler _rv; short index; #ifndef GetMediaDataHandler PyMac_PRECHECK(GetMediaDataHandler); #endif if (!PyArg_ParseTuple(_args, "h", &index)) return NULL; _rv = GetMediaDataHandler(_self->ob_itself, index); _res = Py_BuildValue("O&", CmpInstObj_New, _rv); return _res; } static PyObject *MediaObj_SetMediaDataHandler(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short index; DataHandlerComponent dataHandler; #ifndef SetMediaDataHandler PyMac_PRECHECK(SetMediaDataHandler); #endif if (!PyArg_ParseTuple(_args, "hO&", &index, CmpObj_Convert, &dataHandler)) return NULL; _err = SetMediaDataHandler(_self->ob_itself, index, dataHandler); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_GetMediaSampleDescriptionCount(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; #ifndef GetMediaSampleDescriptionCount PyMac_PRECHECK(GetMediaSampleDescriptionCount); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaSampleDescriptionCount(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MediaObj_GetMediaSampleDescription(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; long index; SampleDescriptionHandle descH; #ifndef GetMediaSampleDescription PyMac_PRECHECK(GetMediaSampleDescription); #endif if (!PyArg_ParseTuple(_args, "lO&", &index, ResObj_Convert, &descH)) return NULL; GetMediaSampleDescription(_self->ob_itself, index, descH); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_SetMediaSampleDescription(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; long index; SampleDescriptionHandle descH; #ifndef SetMediaSampleDescription PyMac_PRECHECK(SetMediaSampleDescription); #endif if (!PyArg_ParseTuple(_args, "lO&", &index, ResObj_Convert, &descH)) return NULL; _err = SetMediaSampleDescription(_self->ob_itself, index, descH); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_GetMediaSampleCount(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; #ifndef GetMediaSampleCount PyMac_PRECHECK(GetMediaSampleCount); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaSampleCount(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MediaObj_GetMediaSyncSampleCount(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; #ifndef GetMediaSyncSampleCount PyMac_PRECHECK(GetMediaSyncSampleCount); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMediaSyncSampleCount(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MediaObj_SampleNumToMediaTime(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; long logicalSampleNum; TimeValue sampleTime; TimeValue sampleDuration; #ifndef SampleNumToMediaTime PyMac_PRECHECK(SampleNumToMediaTime); #endif if (!PyArg_ParseTuple(_args, "l", &logicalSampleNum)) return NULL; SampleNumToMediaTime(_self->ob_itself, logicalSampleNum, &sampleTime, &sampleDuration); _res = Py_BuildValue("ll", sampleTime, sampleDuration); return _res; } static PyObject *MediaObj_MediaTimeToSampleNum(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue time; long sampleNum; TimeValue sampleTime; TimeValue sampleDuration; #ifndef MediaTimeToSampleNum PyMac_PRECHECK(MediaTimeToSampleNum); #endif if (!PyArg_ParseTuple(_args, "l", &time)) return NULL; MediaTimeToSampleNum(_self->ob_itself, time, &sampleNum, &sampleTime, &sampleDuration); _res = Py_BuildValue("lll", sampleNum, sampleTime, sampleDuration); return _res; } static PyObject *MediaObj_AddMediaSample(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle dataIn; long inOffset; unsigned long size; TimeValue durationPerSample; SampleDescriptionHandle sampleDescriptionH; long numberOfSamples; short sampleFlags; TimeValue sampleTime; #ifndef AddMediaSample PyMac_PRECHECK(AddMediaSample); #endif if (!PyArg_ParseTuple(_args, "O&lllO&lh", ResObj_Convert, &dataIn, &inOffset, &size, &durationPerSample, ResObj_Convert, &sampleDescriptionH, &numberOfSamples, &sampleFlags)) return NULL; _err = AddMediaSample(_self->ob_itself, dataIn, inOffset, size, durationPerSample, sampleDescriptionH, numberOfSamples, sampleFlags, &sampleTime); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", sampleTime); return _res; } static PyObject *MediaObj_AddMediaSampleReference(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; long dataOffset; unsigned long size; TimeValue durationPerSample; SampleDescriptionHandle sampleDescriptionH; long numberOfSamples; short sampleFlags; TimeValue sampleTime; #ifndef AddMediaSampleReference PyMac_PRECHECK(AddMediaSampleReference); #endif if (!PyArg_ParseTuple(_args, "lllO&lh", &dataOffset, &size, &durationPerSample, ResObj_Convert, &sampleDescriptionH, &numberOfSamples, &sampleFlags)) return NULL; _err = AddMediaSampleReference(_self->ob_itself, dataOffset, size, durationPerSample, sampleDescriptionH, numberOfSamples, sampleFlags, &sampleTime); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", sampleTime); return _res; } static PyObject *MediaObj_GetMediaSample(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle dataOut; long maxSizeToGrow; long size; TimeValue time; TimeValue sampleTime; TimeValue durationPerSample; SampleDescriptionHandle sampleDescriptionH; long sampleDescriptionIndex; long maxNumberOfSamples; long numberOfSamples; short sampleFlags; #ifndef GetMediaSample PyMac_PRECHECK(GetMediaSample); #endif if (!PyArg_ParseTuple(_args, "O&llO&l", ResObj_Convert, &dataOut, &maxSizeToGrow, &time, ResObj_Convert, &sampleDescriptionH, &maxNumberOfSamples)) return NULL; _err = GetMediaSample(_self->ob_itself, dataOut, maxSizeToGrow, &size, time, &sampleTime, &durationPerSample, sampleDescriptionH, &sampleDescriptionIndex, maxNumberOfSamples, &numberOfSamples, &sampleFlags); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("lllllh", size, sampleTime, durationPerSample, sampleDescriptionIndex, numberOfSamples, sampleFlags); return _res; } static PyObject *MediaObj_GetMediaSampleReference(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; long dataOffset; long size; TimeValue time; TimeValue sampleTime; TimeValue durationPerSample; SampleDescriptionHandle sampleDescriptionH; long sampleDescriptionIndex; long maxNumberOfSamples; long numberOfSamples; short sampleFlags; #ifndef GetMediaSampleReference PyMac_PRECHECK(GetMediaSampleReference); #endif if (!PyArg_ParseTuple(_args, "lO&l", &time, ResObj_Convert, &sampleDescriptionH, &maxNumberOfSamples)) return NULL; _err = GetMediaSampleReference(_self->ob_itself, &dataOffset, &size, time, &sampleTime, &durationPerSample, sampleDescriptionH, &sampleDescriptionIndex, maxNumberOfSamples, &numberOfSamples, &sampleFlags); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("llllllh", dataOffset, size, sampleTime, durationPerSample, sampleDescriptionIndex, numberOfSamples, sampleFlags); return _res; } static PyObject *MediaObj_SetMediaPreferredChunkSize(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; long maxChunkSize; #ifndef SetMediaPreferredChunkSize PyMac_PRECHECK(SetMediaPreferredChunkSize); #endif if (!PyArg_ParseTuple(_args, "l", &maxChunkSize)) return NULL; _err = SetMediaPreferredChunkSize(_self->ob_itself, maxChunkSize); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_GetMediaPreferredChunkSize(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; long maxChunkSize; #ifndef GetMediaPreferredChunkSize PyMac_PRECHECK(GetMediaPreferredChunkSize); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = GetMediaPreferredChunkSize(_self->ob_itself, &maxChunkSize); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", maxChunkSize); return _res; } static PyObject *MediaObj_SetMediaShadowSync(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; long frameDiffSampleNum; long syncSampleNum; #ifndef SetMediaShadowSync PyMac_PRECHECK(SetMediaShadowSync); #endif if (!PyArg_ParseTuple(_args, "ll", &frameDiffSampleNum, &syncSampleNum)) return NULL; _err = SetMediaShadowSync(_self->ob_itself, frameDiffSampleNum, syncSampleNum); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_GetMediaShadowSync(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; long frameDiffSampleNum; long syncSampleNum; #ifndef GetMediaShadowSync PyMac_PRECHECK(GetMediaShadowSync); #endif if (!PyArg_ParseTuple(_args, "l", &frameDiffSampleNum)) return NULL; _err = GetMediaShadowSync(_self->ob_itself, frameDiffSampleNum, &syncSampleNum); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", syncSampleNum); return _res; } static PyObject *MediaObj_GetMediaDataSize(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; TimeValue startTime; TimeValue duration; #ifndef GetMediaDataSize PyMac_PRECHECK(GetMediaDataSize); #endif if (!PyArg_ParseTuple(_args, "ll", &startTime, &duration)) return NULL; _rv = GetMediaDataSize(_self->ob_itself, startTime, duration); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MediaObj_GetMediaDataSize64(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue startTime; TimeValue duration; wide dataSize; #ifndef GetMediaDataSize64 PyMac_PRECHECK(GetMediaDataSize64); #endif if (!PyArg_ParseTuple(_args, "ll", &startTime, &duration)) return NULL; _err = GetMediaDataSize64(_self->ob_itself, startTime, duration, &dataSize); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", PyMac_Buildwide, dataSize); return _res; } static PyObject *MediaObj_CopyMediaUserData(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Media dstMedia; OSType copyRule; #ifndef CopyMediaUserData PyMac_PRECHECK(CopyMediaUserData); #endif if (!PyArg_ParseTuple(_args, "O&O&", MediaObj_Convert, &dstMedia, PyMac_GetOSType, &copyRule)) return NULL; _err = CopyMediaUserData(_self->ob_itself, dstMedia, copyRule); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_GetMediaNextInterestingTime(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; short interestingTimeFlags; TimeValue time; Fixed rate; TimeValue interestingTime; TimeValue interestingDuration; #ifndef GetMediaNextInterestingTime PyMac_PRECHECK(GetMediaNextInterestingTime); #endif if (!PyArg_ParseTuple(_args, "hlO&", &interestingTimeFlags, &time, PyMac_GetFixed, &rate)) return NULL; GetMediaNextInterestingTime(_self->ob_itself, interestingTimeFlags, time, rate, &interestingTime, &interestingDuration); _res = Py_BuildValue("ll", interestingTime, interestingDuration); return _res; } static PyObject *MediaObj_GetMediaDataRef(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short index; Handle dataRef; OSType dataRefType; long dataRefAttributes; #ifndef GetMediaDataRef PyMac_PRECHECK(GetMediaDataRef); #endif if (!PyArg_ParseTuple(_args, "h", &index)) return NULL; _err = GetMediaDataRef(_self->ob_itself, index, &dataRef, &dataRefType, &dataRefAttributes); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&O&l", ResObj_New, dataRef, PyMac_BuildOSType, dataRefType, dataRefAttributes); return _res; } static PyObject *MediaObj_SetMediaDataRef(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short index; Handle dataRef; OSType dataRefType; #ifndef SetMediaDataRef PyMac_PRECHECK(SetMediaDataRef); #endif if (!PyArg_ParseTuple(_args, "hO&O&", &index, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType)) return NULL; _err = SetMediaDataRef(_self->ob_itself, index, dataRef, dataRefType); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_SetMediaDataRefAttributes(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short index; long dataRefAttributes; #ifndef SetMediaDataRefAttributes PyMac_PRECHECK(SetMediaDataRefAttributes); #endif if (!PyArg_ParseTuple(_args, "hl", &index, &dataRefAttributes)) return NULL; _err = SetMediaDataRefAttributes(_self->ob_itself, index, dataRefAttributes); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_AddMediaDataRef(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short index; Handle dataRef; OSType dataRefType; #ifndef AddMediaDataRef PyMac_PRECHECK(AddMediaDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&", ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType)) return NULL; _err = AddMediaDataRef(_self->ob_itself, &index, dataRef, dataRefType); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("h", index); return _res; } static PyObject *MediaObj_GetMediaDataRefCount(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short count; #ifndef GetMediaDataRefCount PyMac_PRECHECK(GetMediaDataRefCount); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = GetMediaDataRefCount(_self->ob_itself, &count); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("h", count); return _res; } static PyObject *MediaObj_SetMediaPlayHints(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; long flags; long flagsMask; #ifndef SetMediaPlayHints PyMac_PRECHECK(SetMediaPlayHints); #endif if (!PyArg_ParseTuple(_args, "ll", &flags, &flagsMask)) return NULL; SetMediaPlayHints(_self->ob_itself, flags, flagsMask); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MediaObj_GetMediaPlayHints(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; long flags; #ifndef GetMediaPlayHints PyMac_PRECHECK(GetMediaPlayHints); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GetMediaPlayHints(_self->ob_itself, &flags); _res = Py_BuildValue("l", flags); return _res; } static PyObject *MediaObj_GetMediaNextInterestingTimeOnly(MediaObject *_self, PyObject *_args) { PyObject *_res = NULL; short interestingTimeFlags; TimeValue time; Fixed rate; TimeValue interestingTime; #ifndef GetMediaNextInterestingTimeOnly PyMac_PRECHECK(GetMediaNextInterestingTimeOnly); #endif if (!PyArg_ParseTuple(_args, "hlO&", &interestingTimeFlags, &time, PyMac_GetFixed, &rate)) return NULL; GetMediaNextInterestingTimeOnly(_self->ob_itself, interestingTimeFlags, time, rate, &interestingTime); _res = Py_BuildValue("l", interestingTime); return _res; } static PyMethodDef MediaObj_methods[] = { {"LoadMediaIntoRam", (PyCFunction)MediaObj_LoadMediaIntoRam, 1, PyDoc_STR("(TimeValue time, TimeValue duration, long flags) -> None")}, {"GetMediaTrack", (PyCFunction)MediaObj_GetMediaTrack, 1, PyDoc_STR("() -> (Track _rv)")}, {"GetMediaCreationTime", (PyCFunction)MediaObj_GetMediaCreationTime, 1, PyDoc_STR("() -> (unsigned long _rv)")}, {"GetMediaModificationTime", (PyCFunction)MediaObj_GetMediaModificationTime, 1, PyDoc_STR("() -> (unsigned long _rv)")}, {"GetMediaTimeScale", (PyCFunction)MediaObj_GetMediaTimeScale, 1, PyDoc_STR("() -> (TimeScale _rv)")}, {"SetMediaTimeScale", (PyCFunction)MediaObj_SetMediaTimeScale, 1, PyDoc_STR("(TimeScale timeScale) -> None")}, {"GetMediaDuration", (PyCFunction)MediaObj_GetMediaDuration, 1, PyDoc_STR("() -> (TimeValue _rv)")}, {"GetMediaLanguage", (PyCFunction)MediaObj_GetMediaLanguage, 1, PyDoc_STR("() -> (short _rv)")}, {"SetMediaLanguage", (PyCFunction)MediaObj_SetMediaLanguage, 1, PyDoc_STR("(short language) -> None")}, {"GetMediaQuality", (PyCFunction)MediaObj_GetMediaQuality, 1, PyDoc_STR("() -> (short _rv)")}, {"SetMediaQuality", (PyCFunction)MediaObj_SetMediaQuality, 1, PyDoc_STR("(short quality) -> None")}, {"GetMediaHandlerDescription", (PyCFunction)MediaObj_GetMediaHandlerDescription, 1, PyDoc_STR("(Str255 creatorName) -> (OSType mediaType, OSType creatorManufacturer)")}, {"GetMediaUserData", (PyCFunction)MediaObj_GetMediaUserData, 1, PyDoc_STR("() -> (UserData _rv)")}, {"GetMediaHandler", (PyCFunction)MediaObj_GetMediaHandler, 1, PyDoc_STR("() -> (MediaHandler _rv)")}, {"SetMediaHandler", (PyCFunction)MediaObj_SetMediaHandler, 1, PyDoc_STR("(MediaHandlerComponent mH) -> None")}, {"BeginMediaEdits", (PyCFunction)MediaObj_BeginMediaEdits, 1, PyDoc_STR("() -> None")}, {"EndMediaEdits", (PyCFunction)MediaObj_EndMediaEdits, 1, PyDoc_STR("() -> None")}, {"SetMediaDefaultDataRefIndex", (PyCFunction)MediaObj_SetMediaDefaultDataRefIndex, 1, PyDoc_STR("(short index) -> None")}, {"GetMediaDataHandlerDescription", (PyCFunction)MediaObj_GetMediaDataHandlerDescription, 1, PyDoc_STR("(short index, Str255 creatorName) -> (OSType dhType, OSType creatorManufacturer)")}, {"GetMediaDataHandler", (PyCFunction)MediaObj_GetMediaDataHandler, 1, PyDoc_STR("(short index) -> (DataHandler _rv)")}, {"SetMediaDataHandler", (PyCFunction)MediaObj_SetMediaDataHandler, 1, PyDoc_STR("(short index, DataHandlerComponent dataHandler) -> None")}, {"GetMediaSampleDescriptionCount", (PyCFunction)MediaObj_GetMediaSampleDescriptionCount, 1, PyDoc_STR("() -> (long _rv)")}, {"GetMediaSampleDescription", (PyCFunction)MediaObj_GetMediaSampleDescription, 1, PyDoc_STR("(long index, SampleDescriptionHandle descH) -> None")}, {"SetMediaSampleDescription", (PyCFunction)MediaObj_SetMediaSampleDescription, 1, PyDoc_STR("(long index, SampleDescriptionHandle descH) -> None")}, {"GetMediaSampleCount", (PyCFunction)MediaObj_GetMediaSampleCount, 1, PyDoc_STR("() -> (long _rv)")}, {"GetMediaSyncSampleCount", (PyCFunction)MediaObj_GetMediaSyncSampleCount, 1, PyDoc_STR("() -> (long _rv)")}, {"SampleNumToMediaTime", (PyCFunction)MediaObj_SampleNumToMediaTime, 1, PyDoc_STR("(long logicalSampleNum) -> (TimeValue sampleTime, TimeValue sampleDuration)")}, {"MediaTimeToSampleNum", (PyCFunction)MediaObj_MediaTimeToSampleNum, 1, PyDoc_STR("(TimeValue time) -> (long sampleNum, TimeValue sampleTime, TimeValue sampleDuration)")}, {"AddMediaSample", (PyCFunction)MediaObj_AddMediaSample, 1, PyDoc_STR("(Handle dataIn, long inOffset, unsigned long size, TimeValue durationPerSample, SampleDescriptionHandle sampleDescriptionH, long numberOfSamples, short sampleFlags) -> (TimeValue sampleTime)")}, {"AddMediaSampleReference", (PyCFunction)MediaObj_AddMediaSampleReference, 1, PyDoc_STR("(long dataOffset, unsigned long size, TimeValue durationPerSample, SampleDescriptionHandle sampleDescriptionH, long numberOfSamples, short sampleFlags) -> (TimeValue sampleTime)")}, {"GetMediaSample", (PyCFunction)MediaObj_GetMediaSample, 1, PyDoc_STR("(Handle dataOut, long maxSizeToGrow, TimeValue time, SampleDescriptionHandle sampleDescriptionH, long maxNumberOfSamples) -> (long size, TimeValue sampleTime, TimeValue durationPerSample, long sampleDescriptionIndex, long numberOfSamples, short sampleFlags)")}, {"GetMediaSampleReference", (PyCFunction)MediaObj_GetMediaSampleReference, 1, PyDoc_STR("(TimeValue time, SampleDescriptionHandle sampleDescriptionH, long maxNumberOfSamples) -> (long dataOffset, long size, TimeValue sampleTime, TimeValue durationPerSample, long sampleDescriptionIndex, long numberOfSamples, short sampleFlags)")}, {"SetMediaPreferredChunkSize", (PyCFunction)MediaObj_SetMediaPreferredChunkSize, 1, PyDoc_STR("(long maxChunkSize) -> None")}, {"GetMediaPreferredChunkSize", (PyCFunction)MediaObj_GetMediaPreferredChunkSize, 1, PyDoc_STR("() -> (long maxChunkSize)")}, {"SetMediaShadowSync", (PyCFunction)MediaObj_SetMediaShadowSync, 1, PyDoc_STR("(long frameDiffSampleNum, long syncSampleNum) -> None")}, {"GetMediaShadowSync", (PyCFunction)MediaObj_GetMediaShadowSync, 1, PyDoc_STR("(long frameDiffSampleNum) -> (long syncSampleNum)")}, {"GetMediaDataSize", (PyCFunction)MediaObj_GetMediaDataSize, 1, PyDoc_STR("(TimeValue startTime, TimeValue duration) -> (long _rv)")}, {"GetMediaDataSize64", (PyCFunction)MediaObj_GetMediaDataSize64, 1, PyDoc_STR("(TimeValue startTime, TimeValue duration) -> (wide dataSize)")}, {"CopyMediaUserData", (PyCFunction)MediaObj_CopyMediaUserData, 1, PyDoc_STR("(Media dstMedia, OSType copyRule) -> None")}, {"GetMediaNextInterestingTime", (PyCFunction)MediaObj_GetMediaNextInterestingTime, 1, PyDoc_STR("(short interestingTimeFlags, TimeValue time, Fixed rate) -> (TimeValue interestingTime, TimeValue interestingDuration)")}, {"GetMediaDataRef", (PyCFunction)MediaObj_GetMediaDataRef, 1, PyDoc_STR("(short index) -> (Handle dataRef, OSType dataRefType, long dataRefAttributes)")}, {"SetMediaDataRef", (PyCFunction)MediaObj_SetMediaDataRef, 1, PyDoc_STR("(short index, Handle dataRef, OSType dataRefType) -> None")}, {"SetMediaDataRefAttributes", (PyCFunction)MediaObj_SetMediaDataRefAttributes, 1, PyDoc_STR("(short index, long dataRefAttributes) -> None")}, {"AddMediaDataRef", (PyCFunction)MediaObj_AddMediaDataRef, 1, PyDoc_STR("(Handle dataRef, OSType dataRefType) -> (short index)")}, {"GetMediaDataRefCount", (PyCFunction)MediaObj_GetMediaDataRefCount, 1, PyDoc_STR("() -> (short count)")}, {"SetMediaPlayHints", (PyCFunction)MediaObj_SetMediaPlayHints, 1, PyDoc_STR("(long flags, long flagsMask) -> None")}, {"GetMediaPlayHints", (PyCFunction)MediaObj_GetMediaPlayHints, 1, PyDoc_STR("() -> (long flags)")}, {"GetMediaNextInterestingTimeOnly", (PyCFunction)MediaObj_GetMediaNextInterestingTimeOnly, 1, PyDoc_STR("(short interestingTimeFlags, TimeValue time, Fixed rate) -> (TimeValue interestingTime)")}, {NULL, NULL, 0} }; #define MediaObj_getsetlist NULL #define MediaObj_compare NULL #define MediaObj_repr NULL #define MediaObj_hash NULL #define MediaObj_tp_init 0 #define MediaObj_tp_alloc PyType_GenericAlloc static PyObject *MediaObj_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds) { PyObject *_self; Media itself; char *kw[] = {"itself", 0}; if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, MediaObj_Convert, &itself)) return NULL; if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; ((MediaObject *)_self)->ob_itself = itself; return _self; } #define MediaObj_tp_free PyObject_Del PyTypeObject Media_Type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ "_Qt.Media", /*tp_name*/ sizeof(MediaObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ (destructor) MediaObj_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ (getattrfunc)0, /*tp_getattr*/ (setattrfunc)0, /*tp_setattr*/ (cmpfunc) MediaObj_compare, /*tp_compare*/ (reprfunc) MediaObj_repr, /*tp_repr*/ (PyNumberMethods *)0, /* tp_as_number */ (PySequenceMethods *)0, /* tp_as_sequence */ (PyMappingMethods *)0, /* tp_as_mapping */ (hashfunc) MediaObj_hash, /*tp_hash*/ 0, /*tp_call*/ 0, /*tp_str*/ PyObject_GenericGetAttr, /*tp_getattro*/ PyObject_GenericSetAttr, /*tp_setattro */ 0, /*tp_as_buffer*/ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ 0, /*tp_richcompare*/ 0, /*tp_weaklistoffset*/ 0, /*tp_iter*/ 0, /*tp_iternext*/ MediaObj_methods, /* tp_methods */ 0, /*tp_members*/ MediaObj_getsetlist, /*tp_getset*/ 0, /*tp_base*/ 0, /*tp_dict*/ 0, /*tp_descr_get*/ 0, /*tp_descr_set*/ 0, /*tp_dictoffset*/ MediaObj_tp_init, /* tp_init */ MediaObj_tp_alloc, /* tp_alloc */ MediaObj_tp_new, /* tp_new */ MediaObj_tp_free, /* tp_free */ }; /* --------------------- End object type Media ---------------------- */ /* ----------------------- Object type Track ------------------------ */ PyTypeObject Track_Type; #define TrackObj_Check(x) ((x)->ob_type == &Track_Type || PyObject_TypeCheck((x), &Track_Type)) typedef struct TrackObject { PyObject_HEAD Track ob_itself; } TrackObject; PyObject *TrackObj_New(Track itself) { TrackObject *it; if (itself == NULL) { PyErr_SetString(Qt_Error,"Cannot create Track from NULL pointer"); return NULL; } it = PyObject_NEW(TrackObject, &Track_Type); if (it == NULL) return NULL; it->ob_itself = itself; return (PyObject *)it; } int TrackObj_Convert(PyObject *v, Track *p_itself) { if (v == Py_None) { *p_itself = NULL; return 1; } if (!TrackObj_Check(v)) { PyErr_SetString(PyExc_TypeError, "Track required"); return 0; } *p_itself = ((TrackObject *)v)->ob_itself; return 1; } static void TrackObj_dealloc(TrackObject *self) { if (self->ob_itself) DisposeMovieTrack(self->ob_itself); self->ob_type->tp_free((PyObject *)self); } static PyObject *TrackObj_LoadTrackIntoRam(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue time; TimeValue duration; long flags; #ifndef LoadTrackIntoRam PyMac_PRECHECK(LoadTrackIntoRam); #endif if (!PyArg_ParseTuple(_args, "lll", &time, &duration, &flags)) return NULL; _err = LoadTrackIntoRam(_self->ob_itself, time, duration, flags); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackPict(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; PicHandle _rv; TimeValue time; #ifndef GetTrackPict PyMac_PRECHECK(GetTrackPict); #endif if (!PyArg_ParseTuple(_args, "l", &time)) return NULL; _rv = GetTrackPict(_self->ob_itself, time); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *TrackObj_GetTrackClipRgn(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; #ifndef GetTrackClipRgn PyMac_PRECHECK(GetTrackClipRgn); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackClipRgn(_self->ob_itself); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *TrackObj_SetTrackClipRgn(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle theClip; #ifndef SetTrackClipRgn PyMac_PRECHECK(SetTrackClipRgn); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &theClip)) return NULL; SetTrackClipRgn(_self->ob_itself, theClip); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackDisplayBoundsRgn(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; #ifndef GetTrackDisplayBoundsRgn PyMac_PRECHECK(GetTrackDisplayBoundsRgn); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackDisplayBoundsRgn(_self->ob_itself); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *TrackObj_GetTrackMovieBoundsRgn(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; #ifndef GetTrackMovieBoundsRgn PyMac_PRECHECK(GetTrackMovieBoundsRgn); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackMovieBoundsRgn(_self->ob_itself); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *TrackObj_GetTrackBoundsRgn(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; #ifndef GetTrackBoundsRgn PyMac_PRECHECK(GetTrackBoundsRgn); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackBoundsRgn(_self->ob_itself); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *TrackObj_GetTrackMatte(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; PixMapHandle _rv; #ifndef GetTrackMatte PyMac_PRECHECK(GetTrackMatte); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackMatte(_self->ob_itself); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *TrackObj_SetTrackMatte(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; PixMapHandle theMatte; #ifndef SetTrackMatte PyMac_PRECHECK(SetTrackMatte); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &theMatte)) return NULL; SetTrackMatte(_self->ob_itself, theMatte); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackID(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; #ifndef GetTrackID PyMac_PRECHECK(GetTrackID); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackID(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *TrackObj_GetTrackMovie(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie _rv; #ifndef GetTrackMovie PyMac_PRECHECK(GetTrackMovie); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackMovie(_self->ob_itself); _res = Py_BuildValue("O&", MovieObj_New, _rv); return _res; } static PyObject *TrackObj_GetTrackCreationTime(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; unsigned long _rv; #ifndef GetTrackCreationTime PyMac_PRECHECK(GetTrackCreationTime); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackCreationTime(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *TrackObj_GetTrackModificationTime(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; unsigned long _rv; #ifndef GetTrackModificationTime PyMac_PRECHECK(GetTrackModificationTime); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackModificationTime(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *TrackObj_GetTrackEnabled(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Boolean _rv; #ifndef GetTrackEnabled PyMac_PRECHECK(GetTrackEnabled); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackEnabled(_self->ob_itself); _res = Py_BuildValue("b", _rv); return _res; } static PyObject *TrackObj_SetTrackEnabled(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Boolean isEnabled; #ifndef SetTrackEnabled PyMac_PRECHECK(SetTrackEnabled); #endif if (!PyArg_ParseTuple(_args, "b", &isEnabled)) return NULL; SetTrackEnabled(_self->ob_itself, isEnabled); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackUsage(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; #ifndef GetTrackUsage PyMac_PRECHECK(GetTrackUsage); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackUsage(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *TrackObj_SetTrackUsage(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; long usage; #ifndef SetTrackUsage PyMac_PRECHECK(SetTrackUsage); #endif if (!PyArg_ParseTuple(_args, "l", &usage)) return NULL; SetTrackUsage(_self->ob_itself, usage); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackDuration(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue _rv; #ifndef GetTrackDuration PyMac_PRECHECK(GetTrackDuration); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackDuration(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *TrackObj_GetTrackOffset(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue _rv; #ifndef GetTrackOffset PyMac_PRECHECK(GetTrackOffset); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackOffset(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *TrackObj_SetTrackOffset(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue movieOffsetTime; #ifndef SetTrackOffset PyMac_PRECHECK(SetTrackOffset); #endif if (!PyArg_ParseTuple(_args, "l", &movieOffsetTime)) return NULL; SetTrackOffset(_self->ob_itself, movieOffsetTime); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackLayer(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; short _rv; #ifndef GetTrackLayer PyMac_PRECHECK(GetTrackLayer); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackLayer(_self->ob_itself); _res = Py_BuildValue("h", _rv); return _res; } static PyObject *TrackObj_SetTrackLayer(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; short layer; #ifndef SetTrackLayer PyMac_PRECHECK(SetTrackLayer); #endif if (!PyArg_ParseTuple(_args, "h", &layer)) return NULL; SetTrackLayer(_self->ob_itself, layer); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackAlternate(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Track _rv; #ifndef GetTrackAlternate PyMac_PRECHECK(GetTrackAlternate); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackAlternate(_self->ob_itself); _res = Py_BuildValue("O&", TrackObj_New, _rv); return _res; } static PyObject *TrackObj_SetTrackAlternate(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Track alternateT; #ifndef SetTrackAlternate PyMac_PRECHECK(SetTrackAlternate); #endif if (!PyArg_ParseTuple(_args, "O&", TrackObj_Convert, &alternateT)) return NULL; SetTrackAlternate(_self->ob_itself, alternateT); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackVolume(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; short _rv; #ifndef GetTrackVolume PyMac_PRECHECK(GetTrackVolume); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackVolume(_self->ob_itself); _res = Py_BuildValue("h", _rv); return _res; } static PyObject *TrackObj_SetTrackVolume(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; short volume; #ifndef SetTrackVolume PyMac_PRECHECK(SetTrackVolume); #endif if (!PyArg_ParseTuple(_args, "h", &volume)) return NULL; SetTrackVolume(_self->ob_itself, volume); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackDimensions(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed width; Fixed height; #ifndef GetTrackDimensions PyMac_PRECHECK(GetTrackDimensions); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GetTrackDimensions(_self->ob_itself, &width, &height); _res = Py_BuildValue("O&O&", PyMac_BuildFixed, width, PyMac_BuildFixed, height); return _res; } static PyObject *TrackObj_SetTrackDimensions(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed width; Fixed height; #ifndef SetTrackDimensions PyMac_PRECHECK(SetTrackDimensions); #endif if (!PyArg_ParseTuple(_args, "O&O&", PyMac_GetFixed, &width, PyMac_GetFixed, &height)) return NULL; SetTrackDimensions(_self->ob_itself, width, height); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackUserData(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; UserData _rv; #ifndef GetTrackUserData PyMac_PRECHECK(GetTrackUserData); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackUserData(_self->ob_itself); _res = Py_BuildValue("O&", UserDataObj_New, _rv); return _res; } static PyObject *TrackObj_GetTrackSoundLocalizationSettings(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle settings; #ifndef GetTrackSoundLocalizationSettings PyMac_PRECHECK(GetTrackSoundLocalizationSettings); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = GetTrackSoundLocalizationSettings(_self->ob_itself, &settings); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", ResObj_New, settings); return _res; } static PyObject *TrackObj_SetTrackSoundLocalizationSettings(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle settings; #ifndef SetTrackSoundLocalizationSettings PyMac_PRECHECK(SetTrackSoundLocalizationSettings); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &settings)) return NULL; _err = SetTrackSoundLocalizationSettings(_self->ob_itself, settings); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_NewTrackMedia(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Media _rv; OSType mediaType; TimeScale timeScale; Handle dataRef; OSType dataRefType; #ifndef NewTrackMedia PyMac_PRECHECK(NewTrackMedia); #endif if (!PyArg_ParseTuple(_args, "O&lO&O&", PyMac_GetOSType, &mediaType, &timeScale, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType)) return NULL; _rv = NewTrackMedia(_self->ob_itself, mediaType, timeScale, dataRef, dataRefType); _res = Py_BuildValue("O&", MediaObj_New, _rv); return _res; } static PyObject *TrackObj_GetTrackMedia(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Media _rv; #ifndef GetTrackMedia PyMac_PRECHECK(GetTrackMedia); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackMedia(_self->ob_itself); _res = Py_BuildValue("O&", MediaObj_New, _rv); return _res; } static PyObject *TrackObj_InsertMediaIntoTrack(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue trackStart; TimeValue mediaTime; TimeValue mediaDuration; Fixed mediaRate; #ifndef InsertMediaIntoTrack PyMac_PRECHECK(InsertMediaIntoTrack); #endif if (!PyArg_ParseTuple(_args, "lllO&", &trackStart, &mediaTime, &mediaDuration, PyMac_GetFixed, &mediaRate)) return NULL; _err = InsertMediaIntoTrack(_self->ob_itself, trackStart, mediaTime, mediaDuration, mediaRate); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_InsertTrackSegment(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Track dstTrack; TimeValue srcIn; TimeValue srcDuration; TimeValue dstIn; #ifndef InsertTrackSegment PyMac_PRECHECK(InsertTrackSegment); #endif if (!PyArg_ParseTuple(_args, "O&lll", TrackObj_Convert, &dstTrack, &srcIn, &srcDuration, &dstIn)) return NULL; _err = InsertTrackSegment(_self->ob_itself, dstTrack, srcIn, srcDuration, dstIn); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_InsertEmptyTrackSegment(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue dstIn; TimeValue dstDuration; #ifndef InsertEmptyTrackSegment PyMac_PRECHECK(InsertEmptyTrackSegment); #endif if (!PyArg_ParseTuple(_args, "ll", &dstIn, &dstDuration)) return NULL; _err = InsertEmptyTrackSegment(_self->ob_itself, dstIn, dstDuration); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_DeleteTrackSegment(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue startTime; TimeValue duration; #ifndef DeleteTrackSegment PyMac_PRECHECK(DeleteTrackSegment); #endif if (!PyArg_ParseTuple(_args, "ll", &startTime, &duration)) return NULL; _err = DeleteTrackSegment(_self->ob_itself, startTime, duration); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_ScaleTrackSegment(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue startTime; TimeValue oldDuration; TimeValue newDuration; #ifndef ScaleTrackSegment PyMac_PRECHECK(ScaleTrackSegment); #endif if (!PyArg_ParseTuple(_args, "lll", &startTime, &oldDuration, &newDuration)) return NULL; _err = ScaleTrackSegment(_self->ob_itself, startTime, oldDuration, newDuration); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_IsScrapMovie(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Component _rv; #ifndef IsScrapMovie PyMac_PRECHECK(IsScrapMovie); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = IsScrapMovie(_self->ob_itself); _res = Py_BuildValue("O&", CmpObj_New, _rv); return _res; } static PyObject *TrackObj_CopyTrackSettings(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Track dstTrack; #ifndef CopyTrackSettings PyMac_PRECHECK(CopyTrackSettings); #endif if (!PyArg_ParseTuple(_args, "O&", TrackObj_Convert, &dstTrack)) return NULL; _err = CopyTrackSettings(_self->ob_itself, dstTrack); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_AddEmptyTrackToMovie(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie dstMovie; Handle dataRef; OSType dataRefType; Track dstTrack; #ifndef AddEmptyTrackToMovie PyMac_PRECHECK(AddEmptyTrackToMovie); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", MovieObj_Convert, &dstMovie, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType)) return NULL; _err = AddEmptyTrackToMovie(_self->ob_itself, dstMovie, dataRef, dataRefType, &dstTrack); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", TrackObj_New, dstTrack); return _res; } static PyObject *TrackObj_AddClonedTrackToMovie(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie dstMovie; long flags; Track dstTrack; #ifndef AddClonedTrackToMovie PyMac_PRECHECK(AddClonedTrackToMovie); #endif if (!PyArg_ParseTuple(_args, "O&l", MovieObj_Convert, &dstMovie, &flags)) return NULL; _err = AddClonedTrackToMovie(_self->ob_itself, dstMovie, flags, &dstTrack); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", TrackObj_New, dstTrack); return _res; } static PyObject *TrackObj_AddTrackReference(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Track refTrack; OSType refType; long addedIndex; #ifndef AddTrackReference PyMac_PRECHECK(AddTrackReference); #endif if (!PyArg_ParseTuple(_args, "O&O&", TrackObj_Convert, &refTrack, PyMac_GetOSType, &refType)) return NULL; _err = AddTrackReference(_self->ob_itself, refTrack, refType, &addedIndex); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", addedIndex); return _res; } static PyObject *TrackObj_DeleteTrackReference(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; OSType refType; long index; #ifndef DeleteTrackReference PyMac_PRECHECK(DeleteTrackReference); #endif if (!PyArg_ParseTuple(_args, "O&l", PyMac_GetOSType, &refType, &index)) return NULL; _err = DeleteTrackReference(_self->ob_itself, refType, index); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_SetTrackReference(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Track refTrack; OSType refType; long index; #ifndef SetTrackReference PyMac_PRECHECK(SetTrackReference); #endif if (!PyArg_ParseTuple(_args, "O&O&l", TrackObj_Convert, &refTrack, PyMac_GetOSType, &refType, &index)) return NULL; _err = SetTrackReference(_self->ob_itself, refTrack, refType, index); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackReference(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Track _rv; OSType refType; long index; #ifndef GetTrackReference PyMac_PRECHECK(GetTrackReference); #endif if (!PyArg_ParseTuple(_args, "O&l", PyMac_GetOSType, &refType, &index)) return NULL; _rv = GetTrackReference(_self->ob_itself, refType, index); _res = Py_BuildValue("O&", TrackObj_New, _rv); return _res; } static PyObject *TrackObj_GetNextTrackReferenceType(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSType _rv; OSType refType; #ifndef GetNextTrackReferenceType PyMac_PRECHECK(GetNextTrackReferenceType); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetOSType, &refType)) return NULL; _rv = GetNextTrackReferenceType(_self->ob_itself, refType); _res = Py_BuildValue("O&", PyMac_BuildOSType, _rv); return _res; } static PyObject *TrackObj_GetTrackReferenceCount(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; OSType refType; #ifndef GetTrackReferenceCount PyMac_PRECHECK(GetTrackReferenceCount); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetOSType, &refType)) return NULL; _rv = GetTrackReferenceCount(_self->ob_itself, refType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *TrackObj_GetTrackEditRate(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; TimeValue atTime; #ifndef GetTrackEditRate PyMac_PRECHECK(GetTrackEditRate); #endif if (!PyArg_ParseTuple(_args, "l", &atTime)) return NULL; _rv = GetTrackEditRate(_self->ob_itself, atTime); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *TrackObj_GetTrackDataSize(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; TimeValue startTime; TimeValue duration; #ifndef GetTrackDataSize PyMac_PRECHECK(GetTrackDataSize); #endif if (!PyArg_ParseTuple(_args, "ll", &startTime, &duration)) return NULL; _rv = GetTrackDataSize(_self->ob_itself, startTime, duration); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *TrackObj_GetTrackDataSize64(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue startTime; TimeValue duration; wide dataSize; #ifndef GetTrackDataSize64 PyMac_PRECHECK(GetTrackDataSize64); #endif if (!PyArg_ParseTuple(_args, "ll", &startTime, &duration)) return NULL; _err = GetTrackDataSize64(_self->ob_itself, startTime, duration, &dataSize); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", PyMac_Buildwide, dataSize); return _res; } static PyObject *TrackObj_PtInTrack(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; Boolean _rv; Point pt; #ifndef PtInTrack PyMac_PRECHECK(PtInTrack); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetPoint, &pt)) return NULL; _rv = PtInTrack(_self->ob_itself, pt); _res = Py_BuildValue("b", _rv); return _res; } static PyObject *TrackObj_CopyTrackUserData(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Track dstTrack; OSType copyRule; #ifndef CopyTrackUserData PyMac_PRECHECK(CopyTrackUserData); #endif if (!PyArg_ParseTuple(_args, "O&O&", TrackObj_Convert, &dstTrack, PyMac_GetOSType, &copyRule)) return NULL; _err = CopyTrackUserData(_self->ob_itself, dstTrack, copyRule); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackNextInterestingTime(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; short interestingTimeFlags; TimeValue time; Fixed rate; TimeValue interestingTime; TimeValue interestingDuration; #ifndef GetTrackNextInterestingTime PyMac_PRECHECK(GetTrackNextInterestingTime); #endif if (!PyArg_ParseTuple(_args, "hlO&", &interestingTimeFlags, &time, PyMac_GetFixed, &rate)) return NULL; GetTrackNextInterestingTime(_self->ob_itself, interestingTimeFlags, time, rate, &interestingTime, &interestingDuration); _res = Py_BuildValue("ll", interestingTime, interestingDuration); return _res; } static PyObject *TrackObj_GetTrackSegmentDisplayBoundsRgn(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; TimeValue time; TimeValue duration; #ifndef GetTrackSegmentDisplayBoundsRgn PyMac_PRECHECK(GetTrackSegmentDisplayBoundsRgn); #endif if (!PyArg_ParseTuple(_args, "ll", &time, &duration)) return NULL; _rv = GetTrackSegmentDisplayBoundsRgn(_self->ob_itself, time, duration); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *TrackObj_GetTrackStatus(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; #ifndef GetTrackStatus PyMac_PRECHECK(GetTrackStatus); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetTrackStatus(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *TrackObj_SetTrackLoadSettings(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue preloadTime; TimeValue preloadDuration; long preloadFlags; long defaultHints; #ifndef SetTrackLoadSettings PyMac_PRECHECK(SetTrackLoadSettings); #endif if (!PyArg_ParseTuple(_args, "llll", &preloadTime, &preloadDuration, &preloadFlags, &defaultHints)) return NULL; SetTrackLoadSettings(_self->ob_itself, preloadTime, preloadDuration, preloadFlags, defaultHints); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *TrackObj_GetTrackLoadSettings(TrackObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue preloadTime; TimeValue preloadDuration; long preloadFlags; long defaultHints; #ifndef GetTrackLoadSettings PyMac_PRECHECK(GetTrackLoadSettings); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GetTrackLoadSettings(_self->ob_itself, &preloadTime, &preloadDuration, &preloadFlags, &defaultHints); _res = Py_BuildValue("llll", preloadTime, preloadDuration, preloadFlags, defaultHints); return _res; } static PyMethodDef TrackObj_methods[] = { {"LoadTrackIntoRam", (PyCFunction)TrackObj_LoadTrackIntoRam, 1, PyDoc_STR("(TimeValue time, TimeValue duration, long flags) -> None")}, {"GetTrackPict", (PyCFunction)TrackObj_GetTrackPict, 1, PyDoc_STR("(TimeValue time) -> (PicHandle _rv)")}, {"GetTrackClipRgn", (PyCFunction)TrackObj_GetTrackClipRgn, 1, PyDoc_STR("() -> (RgnHandle _rv)")}, {"SetTrackClipRgn", (PyCFunction)TrackObj_SetTrackClipRgn, 1, PyDoc_STR("(RgnHandle theClip) -> None")}, {"GetTrackDisplayBoundsRgn", (PyCFunction)TrackObj_GetTrackDisplayBoundsRgn, 1, PyDoc_STR("() -> (RgnHandle _rv)")}, {"GetTrackMovieBoundsRgn", (PyCFunction)TrackObj_GetTrackMovieBoundsRgn, 1, PyDoc_STR("() -> (RgnHandle _rv)")}, {"GetTrackBoundsRgn", (PyCFunction)TrackObj_GetTrackBoundsRgn, 1, PyDoc_STR("() -> (RgnHandle _rv)")}, {"GetTrackMatte", (PyCFunction)TrackObj_GetTrackMatte, 1, PyDoc_STR("() -> (PixMapHandle _rv)")}, {"SetTrackMatte", (PyCFunction)TrackObj_SetTrackMatte, 1, PyDoc_STR("(PixMapHandle theMatte) -> None")}, {"GetTrackID", (PyCFunction)TrackObj_GetTrackID, 1, PyDoc_STR("() -> (long _rv)")}, {"GetTrackMovie", (PyCFunction)TrackObj_GetTrackMovie, 1, PyDoc_STR("() -> (Movie _rv)")}, {"GetTrackCreationTime", (PyCFunction)TrackObj_GetTrackCreationTime, 1, PyDoc_STR("() -> (unsigned long _rv)")}, {"GetTrackModificationTime", (PyCFunction)TrackObj_GetTrackModificationTime, 1, PyDoc_STR("() -> (unsigned long _rv)")}, {"GetTrackEnabled", (PyCFunction)TrackObj_GetTrackEnabled, 1, PyDoc_STR("() -> (Boolean _rv)")}, {"SetTrackEnabled", (PyCFunction)TrackObj_SetTrackEnabled, 1, PyDoc_STR("(Boolean isEnabled) -> None")}, {"GetTrackUsage", (PyCFunction)TrackObj_GetTrackUsage, 1, PyDoc_STR("() -> (long _rv)")}, {"SetTrackUsage", (PyCFunction)TrackObj_SetTrackUsage, 1, PyDoc_STR("(long usage) -> None")}, {"GetTrackDuration", (PyCFunction)TrackObj_GetTrackDuration, 1, PyDoc_STR("() -> (TimeValue _rv)")}, {"GetTrackOffset", (PyCFunction)TrackObj_GetTrackOffset, 1, PyDoc_STR("() -> (TimeValue _rv)")}, {"SetTrackOffset", (PyCFunction)TrackObj_SetTrackOffset, 1, PyDoc_STR("(TimeValue movieOffsetTime) -> None")}, {"GetTrackLayer", (PyCFunction)TrackObj_GetTrackLayer, 1, PyDoc_STR("() -> (short _rv)")}, {"SetTrackLayer", (PyCFunction)TrackObj_SetTrackLayer, 1, PyDoc_STR("(short layer) -> None")}, {"GetTrackAlternate", (PyCFunction)TrackObj_GetTrackAlternate, 1, PyDoc_STR("() -> (Track _rv)")}, {"SetTrackAlternate", (PyCFunction)TrackObj_SetTrackAlternate, 1, PyDoc_STR("(Track alternateT) -> None")}, {"GetTrackVolume", (PyCFunction)TrackObj_GetTrackVolume, 1, PyDoc_STR("() -> (short _rv)")}, {"SetTrackVolume", (PyCFunction)TrackObj_SetTrackVolume, 1, PyDoc_STR("(short volume) -> None")}, {"GetTrackDimensions", (PyCFunction)TrackObj_GetTrackDimensions, 1, PyDoc_STR("() -> (Fixed width, Fixed height)")}, {"SetTrackDimensions", (PyCFunction)TrackObj_SetTrackDimensions, 1, PyDoc_STR("(Fixed width, Fixed height) -> None")}, {"GetTrackUserData", (PyCFunction)TrackObj_GetTrackUserData, 1, PyDoc_STR("() -> (UserData _rv)")}, {"GetTrackSoundLocalizationSettings", (PyCFunction)TrackObj_GetTrackSoundLocalizationSettings, 1, PyDoc_STR("() -> (Handle settings)")}, {"SetTrackSoundLocalizationSettings", (PyCFunction)TrackObj_SetTrackSoundLocalizationSettings, 1, PyDoc_STR("(Handle settings) -> None")}, {"NewTrackMedia", (PyCFunction)TrackObj_NewTrackMedia, 1, PyDoc_STR("(OSType mediaType, TimeScale timeScale, Handle dataRef, OSType dataRefType) -> (Media _rv)")}, {"GetTrackMedia", (PyCFunction)TrackObj_GetTrackMedia, 1, PyDoc_STR("() -> (Media _rv)")}, {"InsertMediaIntoTrack", (PyCFunction)TrackObj_InsertMediaIntoTrack, 1, PyDoc_STR("(TimeValue trackStart, TimeValue mediaTime, TimeValue mediaDuration, Fixed mediaRate) -> None")}, {"InsertTrackSegment", (PyCFunction)TrackObj_InsertTrackSegment, 1, PyDoc_STR("(Track dstTrack, TimeValue srcIn, TimeValue srcDuration, TimeValue dstIn) -> None")}, {"InsertEmptyTrackSegment", (PyCFunction)TrackObj_InsertEmptyTrackSegment, 1, PyDoc_STR("(TimeValue dstIn, TimeValue dstDuration) -> None")}, {"DeleteTrackSegment", (PyCFunction)TrackObj_DeleteTrackSegment, 1, PyDoc_STR("(TimeValue startTime, TimeValue duration) -> None")}, {"ScaleTrackSegment", (PyCFunction)TrackObj_ScaleTrackSegment, 1, PyDoc_STR("(TimeValue startTime, TimeValue oldDuration, TimeValue newDuration) -> None")}, {"IsScrapMovie", (PyCFunction)TrackObj_IsScrapMovie, 1, PyDoc_STR("() -> (Component _rv)")}, {"CopyTrackSettings", (PyCFunction)TrackObj_CopyTrackSettings, 1, PyDoc_STR("(Track dstTrack) -> None")}, {"AddEmptyTrackToMovie", (PyCFunction)TrackObj_AddEmptyTrackToMovie, 1, PyDoc_STR("(Movie dstMovie, Handle dataRef, OSType dataRefType) -> (Track dstTrack)")}, {"AddClonedTrackToMovie", (PyCFunction)TrackObj_AddClonedTrackToMovie, 1, PyDoc_STR("(Movie dstMovie, long flags) -> (Track dstTrack)")}, {"AddTrackReference", (PyCFunction)TrackObj_AddTrackReference, 1, PyDoc_STR("(Track refTrack, OSType refType) -> (long addedIndex)")}, {"DeleteTrackReference", (PyCFunction)TrackObj_DeleteTrackReference, 1, PyDoc_STR("(OSType refType, long index) -> None")}, {"SetTrackReference", (PyCFunction)TrackObj_SetTrackReference, 1, PyDoc_STR("(Track refTrack, OSType refType, long index) -> None")}, {"GetTrackReference", (PyCFunction)TrackObj_GetTrackReference, 1, PyDoc_STR("(OSType refType, long index) -> (Track _rv)")}, {"GetNextTrackReferenceType", (PyCFunction)TrackObj_GetNextTrackReferenceType, 1, PyDoc_STR("(OSType refType) -> (OSType _rv)")}, {"GetTrackReferenceCount", (PyCFunction)TrackObj_GetTrackReferenceCount, 1, PyDoc_STR("(OSType refType) -> (long _rv)")}, {"GetTrackEditRate", (PyCFunction)TrackObj_GetTrackEditRate, 1, PyDoc_STR("(TimeValue atTime) -> (Fixed _rv)")}, {"GetTrackDataSize", (PyCFunction)TrackObj_GetTrackDataSize, 1, PyDoc_STR("(TimeValue startTime, TimeValue duration) -> (long _rv)")}, {"GetTrackDataSize64", (PyCFunction)TrackObj_GetTrackDataSize64, 1, PyDoc_STR("(TimeValue startTime, TimeValue duration) -> (wide dataSize)")}, {"PtInTrack", (PyCFunction)TrackObj_PtInTrack, 1, PyDoc_STR("(Point pt) -> (Boolean _rv)")}, {"CopyTrackUserData", (PyCFunction)TrackObj_CopyTrackUserData, 1, PyDoc_STR("(Track dstTrack, OSType copyRule) -> None")}, {"GetTrackNextInterestingTime", (PyCFunction)TrackObj_GetTrackNextInterestingTime, 1, PyDoc_STR("(short interestingTimeFlags, TimeValue time, Fixed rate) -> (TimeValue interestingTime, TimeValue interestingDuration)")}, {"GetTrackSegmentDisplayBoundsRgn", (PyCFunction)TrackObj_GetTrackSegmentDisplayBoundsRgn, 1, PyDoc_STR("(TimeValue time, TimeValue duration) -> (RgnHandle _rv)")}, {"GetTrackStatus", (PyCFunction)TrackObj_GetTrackStatus, 1, PyDoc_STR("() -> (ComponentResult _rv)")}, {"SetTrackLoadSettings", (PyCFunction)TrackObj_SetTrackLoadSettings, 1, PyDoc_STR("(TimeValue preloadTime, TimeValue preloadDuration, long preloadFlags, long defaultHints) -> None")}, {"GetTrackLoadSettings", (PyCFunction)TrackObj_GetTrackLoadSettings, 1, PyDoc_STR("() -> (TimeValue preloadTime, TimeValue preloadDuration, long preloadFlags, long defaultHints)")}, {NULL, NULL, 0} }; #define TrackObj_getsetlist NULL #define TrackObj_compare NULL #define TrackObj_repr NULL #define TrackObj_hash NULL #define TrackObj_tp_init 0 #define TrackObj_tp_alloc PyType_GenericAlloc static PyObject *TrackObj_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds) { PyObject *_self; Track itself; char *kw[] = {"itself", 0}; if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, TrackObj_Convert, &itself)) return NULL; if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; ((TrackObject *)_self)->ob_itself = itself; return _self; } #define TrackObj_tp_free PyObject_Del PyTypeObject Track_Type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ "_Qt.Track", /*tp_name*/ sizeof(TrackObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ (destructor) TrackObj_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ (getattrfunc)0, /*tp_getattr*/ (setattrfunc)0, /*tp_setattr*/ (cmpfunc) TrackObj_compare, /*tp_compare*/ (reprfunc) TrackObj_repr, /*tp_repr*/ (PyNumberMethods *)0, /* tp_as_number */ (PySequenceMethods *)0, /* tp_as_sequence */ (PyMappingMethods *)0, /* tp_as_mapping */ (hashfunc) TrackObj_hash, /*tp_hash*/ 0, /*tp_call*/ 0, /*tp_str*/ PyObject_GenericGetAttr, /*tp_getattro*/ PyObject_GenericSetAttr, /*tp_setattro */ 0, /*tp_as_buffer*/ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ 0, /*tp_richcompare*/ 0, /*tp_weaklistoffset*/ 0, /*tp_iter*/ 0, /*tp_iternext*/ TrackObj_methods, /* tp_methods */ 0, /*tp_members*/ TrackObj_getsetlist, /*tp_getset*/ 0, /*tp_base*/ 0, /*tp_dict*/ 0, /*tp_descr_get*/ 0, /*tp_descr_set*/ 0, /*tp_dictoffset*/ TrackObj_tp_init, /* tp_init */ TrackObj_tp_alloc, /* tp_alloc */ TrackObj_tp_new, /* tp_new */ TrackObj_tp_free, /* tp_free */ }; /* --------------------- End object type Track ---------------------- */ /* ----------------------- Object type Movie ------------------------ */ PyTypeObject Movie_Type; #define MovieObj_Check(x) ((x)->ob_type == &Movie_Type || PyObject_TypeCheck((x), &Movie_Type)) typedef struct MovieObject { PyObject_HEAD Movie ob_itself; } MovieObject; PyObject *MovieObj_New(Movie itself) { MovieObject *it; if (itself == NULL) { PyErr_SetString(Qt_Error,"Cannot create Movie from NULL pointer"); return NULL; } it = PyObject_NEW(MovieObject, &Movie_Type); if (it == NULL) return NULL; it->ob_itself = itself; return (PyObject *)it; } int MovieObj_Convert(PyObject *v, Movie *p_itself) { if (v == Py_None) { *p_itself = NULL; return 1; } if (!MovieObj_Check(v)) { PyErr_SetString(PyExc_TypeError, "Movie required"); return 0; } *p_itself = ((MovieObject *)v)->ob_itself; return 1; } static void MovieObj_dealloc(MovieObject *self) { if (self->ob_itself) DisposeMovie(self->ob_itself); self->ob_type->tp_free((PyObject *)self); } static PyObject *MovieObj_MoviesTask(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; long maxMilliSecToUse; #ifndef MoviesTask PyMac_PRECHECK(MoviesTask); #endif if (!PyArg_ParseTuple(_args, "l", &maxMilliSecToUse)) return NULL; MoviesTask(_self->ob_itself, maxMilliSecToUse); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_PrerollMovie(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue time; Fixed Rate; #ifndef PrerollMovie PyMac_PRECHECK(PrerollMovie); #endif if (!PyArg_ParseTuple(_args, "lO&", &time, PyMac_GetFixed, &Rate)) return NULL; _err = PrerollMovie(_self->ob_itself, time, Rate); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_AbortPrePrerollMovie(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr err; #ifndef AbortPrePrerollMovie PyMac_PRECHECK(AbortPrePrerollMovie); #endif if (!PyArg_ParseTuple(_args, "h", &err)) return NULL; AbortPrePrerollMovie(_self->ob_itself, err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_LoadMovieIntoRam(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue time; TimeValue duration; long flags; #ifndef LoadMovieIntoRam PyMac_PRECHECK(LoadMovieIntoRam); #endif if (!PyArg_ParseTuple(_args, "lll", &time, &duration, &flags)) return NULL; _err = LoadMovieIntoRam(_self->ob_itself, time, duration, flags); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_SetMovieActive(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Boolean active; #ifndef SetMovieActive PyMac_PRECHECK(SetMovieActive); #endif if (!PyArg_ParseTuple(_args, "b", &active)) return NULL; SetMovieActive(_self->ob_itself, active); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieActive(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Boolean _rv; #ifndef GetMovieActive PyMac_PRECHECK(GetMovieActive); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieActive(_self->ob_itself); _res = Py_BuildValue("b", _rv); return _res; } static PyObject *MovieObj_StartMovie(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; #ifndef StartMovie PyMac_PRECHECK(StartMovie); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; StartMovie(_self->ob_itself); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_StopMovie(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; #ifndef StopMovie PyMac_PRECHECK(StopMovie); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; StopMovie(_self->ob_itself); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GoToBeginningOfMovie(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; #ifndef GoToBeginningOfMovie PyMac_PRECHECK(GoToBeginningOfMovie); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GoToBeginningOfMovie(_self->ob_itself); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GoToEndOfMovie(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; #ifndef GoToEndOfMovie PyMac_PRECHECK(GoToEndOfMovie); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GoToEndOfMovie(_self->ob_itself); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_IsMovieDone(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Boolean _rv; #ifndef IsMovieDone PyMac_PRECHECK(IsMovieDone); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = IsMovieDone(_self->ob_itself); _res = Py_BuildValue("b", _rv); return _res; } static PyObject *MovieObj_GetMoviePreviewMode(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Boolean _rv; #ifndef GetMoviePreviewMode PyMac_PRECHECK(GetMoviePreviewMode); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMoviePreviewMode(_self->ob_itself); _res = Py_BuildValue("b", _rv); return _res; } static PyObject *MovieObj_SetMoviePreviewMode(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Boolean usePreview; #ifndef SetMoviePreviewMode PyMac_PRECHECK(SetMoviePreviewMode); #endif if (!PyArg_ParseTuple(_args, "b", &usePreview)) return NULL; SetMoviePreviewMode(_self->ob_itself, usePreview); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_ShowMoviePoster(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; #ifndef ShowMoviePoster PyMac_PRECHECK(ShowMoviePoster); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; ShowMoviePoster(_self->ob_itself); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieTimeBase(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeBase _rv; #ifndef GetMovieTimeBase PyMac_PRECHECK(GetMovieTimeBase); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieTimeBase(_self->ob_itself); _res = Py_BuildValue("O&", TimeBaseObj_New, _rv); return _res; } static PyObject *MovieObj_SetMovieMasterTimeBase(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeBase tb; TimeRecord slaveZero; #ifndef SetMovieMasterTimeBase PyMac_PRECHECK(SetMovieMasterTimeBase); #endif if (!PyArg_ParseTuple(_args, "O&O&", TimeBaseObj_Convert, &tb, QtTimeRecord_Convert, &slaveZero)) return NULL; SetMovieMasterTimeBase(_self->ob_itself, tb, &slaveZero); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_SetMovieMasterClock(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Component clockMeister; TimeRecord slaveZero; #ifndef SetMovieMasterClock PyMac_PRECHECK(SetMovieMasterClock); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpObj_Convert, &clockMeister, QtTimeRecord_Convert, &slaveZero)) return NULL; SetMovieMasterClock(_self->ob_itself, clockMeister, &slaveZero); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_ChooseMovieClock(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; long flags; #ifndef ChooseMovieClock PyMac_PRECHECK(ChooseMovieClock); #endif if (!PyArg_ParseTuple(_args, "l", &flags)) return NULL; ChooseMovieClock(_self->ob_itself, flags); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieGWorld(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; CGrafPtr port; GDHandle gdh; #ifndef GetMovieGWorld PyMac_PRECHECK(GetMovieGWorld); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GetMovieGWorld(_self->ob_itself, &port, &gdh); _res = Py_BuildValue("O&O&", GrafObj_New, port, OptResObj_New, gdh); return _res; } static PyObject *MovieObj_SetMovieGWorld(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; CGrafPtr port; GDHandle gdh; #ifndef SetMovieGWorld PyMac_PRECHECK(SetMovieGWorld); #endif if (!PyArg_ParseTuple(_args, "O&O&", GrafObj_Convert, &port, OptResObj_Convert, &gdh)) return NULL; SetMovieGWorld(_self->ob_itself, port, gdh); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieNaturalBoundsRect(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Rect naturalBounds; #ifndef GetMovieNaturalBoundsRect PyMac_PRECHECK(GetMovieNaturalBoundsRect); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GetMovieNaturalBoundsRect(_self->ob_itself, &naturalBounds); _res = Py_BuildValue("O&", PyMac_BuildRect, &naturalBounds); return _res; } static PyObject *MovieObj_GetNextTrackForCompositing(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Track _rv; Track theTrack; #ifndef GetNextTrackForCompositing PyMac_PRECHECK(GetNextTrackForCompositing); #endif if (!PyArg_ParseTuple(_args, "O&", TrackObj_Convert, &theTrack)) return NULL; _rv = GetNextTrackForCompositing(_self->ob_itself, theTrack); _res = Py_BuildValue("O&", TrackObj_New, _rv); return _res; } static PyObject *MovieObj_GetPrevTrackForCompositing(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Track _rv; Track theTrack; #ifndef GetPrevTrackForCompositing PyMac_PRECHECK(GetPrevTrackForCompositing); #endif if (!PyArg_ParseTuple(_args, "O&", TrackObj_Convert, &theTrack)) return NULL; _rv = GetPrevTrackForCompositing(_self->ob_itself, theTrack); _res = Py_BuildValue("O&", TrackObj_New, _rv); return _res; } static PyObject *MovieObj_GetMoviePict(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; PicHandle _rv; TimeValue time; #ifndef GetMoviePict PyMac_PRECHECK(GetMoviePict); #endif if (!PyArg_ParseTuple(_args, "l", &time)) return NULL; _rv = GetMoviePict(_self->ob_itself, time); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *MovieObj_GetMoviePosterPict(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; PicHandle _rv; #ifndef GetMoviePosterPict PyMac_PRECHECK(GetMoviePosterPict); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMoviePosterPict(_self->ob_itself); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *MovieObj_UpdateMovie(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; #ifndef UpdateMovie PyMac_PRECHECK(UpdateMovie); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = UpdateMovie(_self->ob_itself); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_InvalidateMovieRegion(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; RgnHandle invalidRgn; #ifndef InvalidateMovieRegion PyMac_PRECHECK(InvalidateMovieRegion); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &invalidRgn)) return NULL; _err = InvalidateMovieRegion(_self->ob_itself, invalidRgn); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieBox(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Rect boxRect; #ifndef GetMovieBox PyMac_PRECHECK(GetMovieBox); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GetMovieBox(_self->ob_itself, &boxRect); _res = Py_BuildValue("O&", PyMac_BuildRect, &boxRect); return _res; } static PyObject *MovieObj_SetMovieBox(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Rect boxRect; #ifndef SetMovieBox PyMac_PRECHECK(SetMovieBox); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetRect, &boxRect)) return NULL; SetMovieBox(_self->ob_itself, &boxRect); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieDisplayClipRgn(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; #ifndef GetMovieDisplayClipRgn PyMac_PRECHECK(GetMovieDisplayClipRgn); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieDisplayClipRgn(_self->ob_itself); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *MovieObj_SetMovieDisplayClipRgn(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle theClip; #ifndef SetMovieDisplayClipRgn PyMac_PRECHECK(SetMovieDisplayClipRgn); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &theClip)) return NULL; SetMovieDisplayClipRgn(_self->ob_itself, theClip); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieClipRgn(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; #ifndef GetMovieClipRgn PyMac_PRECHECK(GetMovieClipRgn); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieClipRgn(_self->ob_itself); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *MovieObj_SetMovieClipRgn(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle theClip; #ifndef SetMovieClipRgn PyMac_PRECHECK(SetMovieClipRgn); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &theClip)) return NULL; SetMovieClipRgn(_self->ob_itself, theClip); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieDisplayBoundsRgn(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; #ifndef GetMovieDisplayBoundsRgn PyMac_PRECHECK(GetMovieDisplayBoundsRgn); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieDisplayBoundsRgn(_self->ob_itself); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *MovieObj_GetMovieBoundsRgn(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; #ifndef GetMovieBoundsRgn PyMac_PRECHECK(GetMovieBoundsRgn); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieBoundsRgn(_self->ob_itself); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *MovieObj_SetMovieVideoOutput(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentInstance vout; #ifndef SetMovieVideoOutput PyMac_PRECHECK(SetMovieVideoOutput); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &vout)) return NULL; SetMovieVideoOutput(_self->ob_itself, vout); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_PutMovieIntoHandle(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle publicMovie; #ifndef PutMovieIntoHandle PyMac_PRECHECK(PutMovieIntoHandle); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &publicMovie)) return NULL; _err = PutMovieIntoHandle(_self->ob_itself, publicMovie); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_PutMovieIntoDataFork(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short fRefNum; long offset; long maxSize; #ifndef PutMovieIntoDataFork PyMac_PRECHECK(PutMovieIntoDataFork); #endif if (!PyArg_ParseTuple(_args, "hll", &fRefNum, &offset, &maxSize)) return NULL; _err = PutMovieIntoDataFork(_self->ob_itself, fRefNum, offset, maxSize); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_PutMovieIntoDataFork64(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; long fRefNum; wide offset; unsigned long maxSize; #ifndef PutMovieIntoDataFork64 PyMac_PRECHECK(PutMovieIntoDataFork64); #endif if (!PyArg_ParseTuple(_args, "lO&l", &fRefNum, PyMac_Getwide, &offset, &maxSize)) return NULL; _err = PutMovieIntoDataFork64(_self->ob_itself, fRefNum, &offset, maxSize); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_PutMovieIntoStorage(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; DataHandler dh; wide offset; unsigned long maxSize; #ifndef PutMovieIntoStorage PyMac_PRECHECK(PutMovieIntoStorage); #endif if (!PyArg_ParseTuple(_args, "O&O&l", CmpInstObj_Convert, &dh, PyMac_Getwide, &offset, &maxSize)) return NULL; _err = PutMovieIntoStorage(_self->ob_itself, dh, &offset, maxSize); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_PutMovieForDataRefIntoHandle(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle dataRef; OSType dataRefType; Handle publicMovie; #ifndef PutMovieForDataRefIntoHandle PyMac_PRECHECK(PutMovieForDataRefIntoHandle); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, ResObj_Convert, &publicMovie)) return NULL; _err = PutMovieForDataRefIntoHandle(_self->ob_itself, dataRef, dataRefType, publicMovie); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieCreationTime(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; unsigned long _rv; #ifndef GetMovieCreationTime PyMac_PRECHECK(GetMovieCreationTime); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieCreationTime(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieObj_GetMovieModificationTime(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; unsigned long _rv; #ifndef GetMovieModificationTime PyMac_PRECHECK(GetMovieModificationTime); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieModificationTime(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieObj_GetMovieTimeScale(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeScale _rv; #ifndef GetMovieTimeScale PyMac_PRECHECK(GetMovieTimeScale); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieTimeScale(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieObj_SetMovieTimeScale(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeScale timeScale; #ifndef SetMovieTimeScale PyMac_PRECHECK(SetMovieTimeScale); #endif if (!PyArg_ParseTuple(_args, "l", &timeScale)) return NULL; SetMovieTimeScale(_self->ob_itself, timeScale); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieDuration(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue _rv; #ifndef GetMovieDuration PyMac_PRECHECK(GetMovieDuration); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieDuration(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieObj_GetMovieRate(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; #ifndef GetMovieRate PyMac_PRECHECK(GetMovieRate); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieRate(_self->ob_itself); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *MovieObj_SetMovieRate(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed rate; #ifndef SetMovieRate PyMac_PRECHECK(SetMovieRate); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetFixed, &rate)) return NULL; SetMovieRate(_self->ob_itself, rate); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMoviePreferredRate(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; #ifndef GetMoviePreferredRate PyMac_PRECHECK(GetMoviePreferredRate); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMoviePreferredRate(_self->ob_itself); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *MovieObj_SetMoviePreferredRate(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed rate; #ifndef SetMoviePreferredRate PyMac_PRECHECK(SetMoviePreferredRate); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetFixed, &rate)) return NULL; SetMoviePreferredRate(_self->ob_itself, rate); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMoviePreferredVolume(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; short _rv; #ifndef GetMoviePreferredVolume PyMac_PRECHECK(GetMoviePreferredVolume); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMoviePreferredVolume(_self->ob_itself); _res = Py_BuildValue("h", _rv); return _res; } static PyObject *MovieObj_SetMoviePreferredVolume(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; short volume; #ifndef SetMoviePreferredVolume PyMac_PRECHECK(SetMoviePreferredVolume); #endif if (!PyArg_ParseTuple(_args, "h", &volume)) return NULL; SetMoviePreferredVolume(_self->ob_itself, volume); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieVolume(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; short _rv; #ifndef GetMovieVolume PyMac_PRECHECK(GetMovieVolume); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieVolume(_self->ob_itself); _res = Py_BuildValue("h", _rv); return _res; } static PyObject *MovieObj_SetMovieVolume(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; short volume; #ifndef SetMovieVolume PyMac_PRECHECK(SetMovieVolume); #endif if (!PyArg_ParseTuple(_args, "h", &volume)) return NULL; SetMovieVolume(_self->ob_itself, volume); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMoviePreviewTime(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue previewTime; TimeValue previewDuration; #ifndef GetMoviePreviewTime PyMac_PRECHECK(GetMoviePreviewTime); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GetMoviePreviewTime(_self->ob_itself, &previewTime, &previewDuration); _res = Py_BuildValue("ll", previewTime, previewDuration); return _res; } static PyObject *MovieObj_SetMoviePreviewTime(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue previewTime; TimeValue previewDuration; #ifndef SetMoviePreviewTime PyMac_PRECHECK(SetMoviePreviewTime); #endif if (!PyArg_ParseTuple(_args, "ll", &previewTime, &previewDuration)) return NULL; SetMoviePreviewTime(_self->ob_itself, previewTime, previewDuration); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMoviePosterTime(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue _rv; #ifndef GetMoviePosterTime PyMac_PRECHECK(GetMoviePosterTime); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMoviePosterTime(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieObj_SetMoviePosterTime(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue posterTime; #ifndef SetMoviePosterTime PyMac_PRECHECK(SetMoviePosterTime); #endif if (!PyArg_ParseTuple(_args, "l", &posterTime)) return NULL; SetMoviePosterTime(_self->ob_itself, posterTime); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieSelection(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue selectionTime; TimeValue selectionDuration; #ifndef GetMovieSelection PyMac_PRECHECK(GetMovieSelection); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GetMovieSelection(_self->ob_itself, &selectionTime, &selectionDuration); _res = Py_BuildValue("ll", selectionTime, selectionDuration); return _res; } static PyObject *MovieObj_SetMovieSelection(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue selectionTime; TimeValue selectionDuration; #ifndef SetMovieSelection PyMac_PRECHECK(SetMovieSelection); #endif if (!PyArg_ParseTuple(_args, "ll", &selectionTime, &selectionDuration)) return NULL; SetMovieSelection(_self->ob_itself, selectionTime, selectionDuration); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_SetMovieActiveSegment(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue startTime; TimeValue duration; #ifndef SetMovieActiveSegment PyMac_PRECHECK(SetMovieActiveSegment); #endif if (!PyArg_ParseTuple(_args, "ll", &startTime, &duration)) return NULL; SetMovieActiveSegment(_self->ob_itself, startTime, duration); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieActiveSegment(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue startTime; TimeValue duration; #ifndef GetMovieActiveSegment PyMac_PRECHECK(GetMovieActiveSegment); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GetMovieActiveSegment(_self->ob_itself, &startTime, &duration); _res = Py_BuildValue("ll", startTime, duration); return _res; } static PyObject *MovieObj_GetMovieTime(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue _rv; TimeRecord currentTime; #ifndef GetMovieTime PyMac_PRECHECK(GetMovieTime); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieTime(_self->ob_itself, &currentTime); _res = Py_BuildValue("lO&", _rv, QtTimeRecord_New, &currentTime); return _res; } static PyObject *MovieObj_SetMovieTime(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeRecord newtime; #ifndef SetMovieTime PyMac_PRECHECK(SetMovieTime); #endif if (!PyArg_ParseTuple(_args, "O&", QtTimeRecord_Convert, &newtime)) return NULL; SetMovieTime(_self->ob_itself, &newtime); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_SetMovieTimeValue(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue newtime; #ifndef SetMovieTimeValue PyMac_PRECHECK(SetMovieTimeValue); #endif if (!PyArg_ParseTuple(_args, "l", &newtime)) return NULL; SetMovieTimeValue(_self->ob_itself, newtime); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieUserData(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; UserData _rv; #ifndef GetMovieUserData PyMac_PRECHECK(GetMovieUserData); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieUserData(_self->ob_itself); _res = Py_BuildValue("O&", UserDataObj_New, _rv); return _res; } static PyObject *MovieObj_GetMovieTrackCount(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; #ifndef GetMovieTrackCount PyMac_PRECHECK(GetMovieTrackCount); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieTrackCount(_self->ob_itself); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieObj_GetMovieTrack(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Track _rv; long trackID; #ifndef GetMovieTrack PyMac_PRECHECK(GetMovieTrack); #endif if (!PyArg_ParseTuple(_args, "l", &trackID)) return NULL; _rv = GetMovieTrack(_self->ob_itself, trackID); _res = Py_BuildValue("O&", TrackObj_New, _rv); return _res; } static PyObject *MovieObj_GetMovieIndTrack(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Track _rv; long index; #ifndef GetMovieIndTrack PyMac_PRECHECK(GetMovieIndTrack); #endif if (!PyArg_ParseTuple(_args, "l", &index)) return NULL; _rv = GetMovieIndTrack(_self->ob_itself, index); _res = Py_BuildValue("O&", TrackObj_New, _rv); return _res; } static PyObject *MovieObj_GetMovieIndTrackType(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Track _rv; long index; OSType trackType; long flags; #ifndef GetMovieIndTrackType PyMac_PRECHECK(GetMovieIndTrackType); #endif if (!PyArg_ParseTuple(_args, "lO&l", &index, PyMac_GetOSType, &trackType, &flags)) return NULL; _rv = GetMovieIndTrackType(_self->ob_itself, index, trackType, flags); _res = Py_BuildValue("O&", TrackObj_New, _rv); return _res; } static PyObject *MovieObj_NewMovieTrack(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Track _rv; Fixed width; Fixed height; short trackVolume; #ifndef NewMovieTrack PyMac_PRECHECK(NewMovieTrack); #endif if (!PyArg_ParseTuple(_args, "O&O&h", PyMac_GetFixed, &width, PyMac_GetFixed, &height, &trackVolume)) return NULL; _rv = NewMovieTrack(_self->ob_itself, width, height, trackVolume); _res = Py_BuildValue("O&", TrackObj_New, _rv); return _res; } static PyObject *MovieObj_SetAutoTrackAlternatesEnabled(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Boolean enable; #ifndef SetAutoTrackAlternatesEnabled PyMac_PRECHECK(SetAutoTrackAlternatesEnabled); #endif if (!PyArg_ParseTuple(_args, "b", &enable)) return NULL; SetAutoTrackAlternatesEnabled(_self->ob_itself, enable); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_SelectMovieAlternates(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; #ifndef SelectMovieAlternates PyMac_PRECHECK(SelectMovieAlternates); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; SelectMovieAlternates(_self->ob_itself); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_InsertMovieSegment(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie dstMovie; TimeValue srcIn; TimeValue srcDuration; TimeValue dstIn; #ifndef InsertMovieSegment PyMac_PRECHECK(InsertMovieSegment); #endif if (!PyArg_ParseTuple(_args, "O&lll", MovieObj_Convert, &dstMovie, &srcIn, &srcDuration, &dstIn)) return NULL; _err = InsertMovieSegment(_self->ob_itself, dstMovie, srcIn, srcDuration, dstIn); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_InsertEmptyMovieSegment(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue dstIn; TimeValue dstDuration; #ifndef InsertEmptyMovieSegment PyMac_PRECHECK(InsertEmptyMovieSegment); #endif if (!PyArg_ParseTuple(_args, "ll", &dstIn, &dstDuration)) return NULL; _err = InsertEmptyMovieSegment(_self->ob_itself, dstIn, dstDuration); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_DeleteMovieSegment(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue startTime; TimeValue duration; #ifndef DeleteMovieSegment PyMac_PRECHECK(DeleteMovieSegment); #endif if (!PyArg_ParseTuple(_args, "ll", &startTime, &duration)) return NULL; _err = DeleteMovieSegment(_self->ob_itself, startTime, duration); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_ScaleMovieSegment(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue startTime; TimeValue oldDuration; TimeValue newDuration; #ifndef ScaleMovieSegment PyMac_PRECHECK(ScaleMovieSegment); #endif if (!PyArg_ParseTuple(_args, "lll", &startTime, &oldDuration, &newDuration)) return NULL; _err = ScaleMovieSegment(_self->ob_itself, startTime, oldDuration, newDuration); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_CutMovieSelection(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie _rv; #ifndef CutMovieSelection PyMac_PRECHECK(CutMovieSelection); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = CutMovieSelection(_self->ob_itself); _res = Py_BuildValue("O&", MovieObj_New, _rv); return _res; } static PyObject *MovieObj_CopyMovieSelection(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie _rv; #ifndef CopyMovieSelection PyMac_PRECHECK(CopyMovieSelection); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = CopyMovieSelection(_self->ob_itself); _res = Py_BuildValue("O&", MovieObj_New, _rv); return _res; } static PyObject *MovieObj_PasteMovieSelection(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie src; #ifndef PasteMovieSelection PyMac_PRECHECK(PasteMovieSelection); #endif if (!PyArg_ParseTuple(_args, "O&", MovieObj_Convert, &src)) return NULL; PasteMovieSelection(_self->ob_itself, src); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_AddMovieSelection(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie src; #ifndef AddMovieSelection PyMac_PRECHECK(AddMovieSelection); #endif if (!PyArg_ParseTuple(_args, "O&", MovieObj_Convert, &src)) return NULL; AddMovieSelection(_self->ob_itself, src); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_ClearMovieSelection(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; #ifndef ClearMovieSelection PyMac_PRECHECK(ClearMovieSelection); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; ClearMovieSelection(_self->ob_itself); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_PutMovieIntoTypedHandle(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Track targetTrack; OSType handleType; Handle publicMovie; TimeValue start; TimeValue dur; long flags; ComponentInstance userComp; #ifndef PutMovieIntoTypedHandle PyMac_PRECHECK(PutMovieIntoTypedHandle); #endif if (!PyArg_ParseTuple(_args, "O&O&O&lllO&", TrackObj_Convert, &targetTrack, PyMac_GetOSType, &handleType, ResObj_Convert, &publicMovie, &start, &dur, &flags, CmpInstObj_Convert, &userComp)) return NULL; _err = PutMovieIntoTypedHandle(_self->ob_itself, targetTrack, handleType, publicMovie, start, dur, flags, userComp); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_CopyMovieSettings(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie dstMovie; #ifndef CopyMovieSettings PyMac_PRECHECK(CopyMovieSettings); #endif if (!PyArg_ParseTuple(_args, "O&", MovieObj_Convert, &dstMovie)) return NULL; _err = CopyMovieSettings(_self->ob_itself, dstMovie); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_ConvertMovieToFile(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Track onlyTrack; FSSpec outputFile; OSType fileType; OSType creator; ScriptCode scriptTag; short resID; long flags; ComponentInstance userComp; #ifndef ConvertMovieToFile PyMac_PRECHECK(ConvertMovieToFile); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&hlO&", TrackObj_Convert, &onlyTrack, PyMac_GetFSSpec, &outputFile, PyMac_GetOSType, &fileType, PyMac_GetOSType, &creator, &scriptTag, &flags, CmpInstObj_Convert, &userComp)) return NULL; _err = ConvertMovieToFile(_self->ob_itself, onlyTrack, &outputFile, fileType, creator, scriptTag, &resID, flags, userComp); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("h", resID); return _res; } static PyObject *MovieObj_GetMovieDataSize(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; TimeValue startTime; TimeValue duration; #ifndef GetMovieDataSize PyMac_PRECHECK(GetMovieDataSize); #endif if (!PyArg_ParseTuple(_args, "ll", &startTime, &duration)) return NULL; _rv = GetMovieDataSize(_self->ob_itself, startTime, duration); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *MovieObj_GetMovieDataSize64(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue startTime; TimeValue duration; wide dataSize; #ifndef GetMovieDataSize64 PyMac_PRECHECK(GetMovieDataSize64); #endif if (!PyArg_ParseTuple(_args, "ll", &startTime, &duration)) return NULL; _err = GetMovieDataSize64(_self->ob_itself, startTime, duration, &dataSize); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", PyMac_Buildwide, dataSize); return _res; } static PyObject *MovieObj_PtInMovie(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Boolean _rv; Point pt; #ifndef PtInMovie PyMac_PRECHECK(PtInMovie); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetPoint, &pt)) return NULL; _rv = PtInMovie(_self->ob_itself, pt); _res = Py_BuildValue("b", _rv); return _res; } static PyObject *MovieObj_SetMovieLanguage(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; long language; #ifndef SetMovieLanguage PyMac_PRECHECK(SetMovieLanguage); #endif if (!PyArg_ParseTuple(_args, "l", &language)) return NULL; SetMovieLanguage(_self->ob_itself, language); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_CopyMovieUserData(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie dstMovie; OSType copyRule; #ifndef CopyMovieUserData PyMac_PRECHECK(CopyMovieUserData); #endif if (!PyArg_ParseTuple(_args, "O&O&", MovieObj_Convert, &dstMovie, PyMac_GetOSType, &copyRule)) return NULL; _err = CopyMovieUserData(_self->ob_itself, dstMovie, copyRule); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieNextInterestingTime(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; short interestingTimeFlags; short numMediaTypes; OSType whichMediaTypes; TimeValue time; Fixed rate; TimeValue interestingTime; TimeValue interestingDuration; #ifndef GetMovieNextInterestingTime PyMac_PRECHECK(GetMovieNextInterestingTime); #endif if (!PyArg_ParseTuple(_args, "hhO&lO&", &interestingTimeFlags, &numMediaTypes, PyMac_GetOSType, &whichMediaTypes, &time, PyMac_GetFixed, &rate)) return NULL; GetMovieNextInterestingTime(_self->ob_itself, interestingTimeFlags, numMediaTypes, &whichMediaTypes, time, rate, &interestingTime, &interestingDuration); _res = Py_BuildValue("ll", interestingTime, interestingDuration); return _res; } static PyObject *MovieObj_AddMovieResource(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short resRefNum; short resId; Str255 resName; #ifndef AddMovieResource PyMac_PRECHECK(AddMovieResource); #endif if (!PyArg_ParseTuple(_args, "hO&", &resRefNum, PyMac_GetStr255, resName)) return NULL; _err = AddMovieResource(_self->ob_itself, resRefNum, &resId, resName); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("h", resId); return _res; } static PyObject *MovieObj_UpdateMovieResource(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short resRefNum; short resId; Str255 resName; #ifndef UpdateMovieResource PyMac_PRECHECK(UpdateMovieResource); #endif if (!PyArg_ParseTuple(_args, "hhO&", &resRefNum, &resId, PyMac_GetStr255, resName)) return NULL; _err = UpdateMovieResource(_self->ob_itself, resRefNum, resId, resName); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_AddMovieToStorage(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; DataHandler dh; #ifndef AddMovieToStorage PyMac_PRECHECK(AddMovieToStorage); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _err = AddMovieToStorage(_self->ob_itself, dh); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_UpdateMovieInStorage(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; DataHandler dh; #ifndef UpdateMovieInStorage PyMac_PRECHECK(UpdateMovieInStorage); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _err = UpdateMovieInStorage(_self->ob_itself, dh); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_HasMovieChanged(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Boolean _rv; #ifndef HasMovieChanged PyMac_PRECHECK(HasMovieChanged); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = HasMovieChanged(_self->ob_itself); _res = Py_BuildValue("b", _rv); return _res; } static PyObject *MovieObj_ClearMovieChanged(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; #ifndef ClearMovieChanged PyMac_PRECHECK(ClearMovieChanged); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; ClearMovieChanged(_self->ob_itself); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_SetMovieDefaultDataRef(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle dataRef; OSType dataRefType; #ifndef SetMovieDefaultDataRef PyMac_PRECHECK(SetMovieDefaultDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&", ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType)) return NULL; _err = SetMovieDefaultDataRef(_self->ob_itself, dataRef, dataRefType); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieDefaultDataRef(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle dataRef; OSType dataRefType; #ifndef GetMovieDefaultDataRef PyMac_PRECHECK(GetMovieDefaultDataRef); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = GetMovieDefaultDataRef(_self->ob_itself, &dataRef, &dataRefType); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&O&", ResObj_New, dataRef, PyMac_BuildOSType, dataRefType); return _res; } static PyObject *MovieObj_SetMovieColorTable(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; CTabHandle ctab; #ifndef SetMovieColorTable PyMac_PRECHECK(SetMovieColorTable); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &ctab)) return NULL; _err = SetMovieColorTable(_self->ob_itself, ctab); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieColorTable(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; CTabHandle ctab; #ifndef GetMovieColorTable PyMac_PRECHECK(GetMovieColorTable); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = GetMovieColorTable(_self->ob_itself, &ctab); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", ResObj_New, ctab); return _res; } static PyObject *MovieObj_FlattenMovie(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; long movieFlattenFlags; FSSpec theFile; OSType creator; ScriptCode scriptTag; long createMovieFileFlags; short resId; Str255 resName; #ifndef FlattenMovie PyMac_PRECHECK(FlattenMovie); #endif if (!PyArg_ParseTuple(_args, "lO&O&hlO&", &movieFlattenFlags, PyMac_GetFSSpec, &theFile, PyMac_GetOSType, &creator, &scriptTag, &createMovieFileFlags, PyMac_GetStr255, resName)) return NULL; FlattenMovie(_self->ob_itself, movieFlattenFlags, &theFile, creator, scriptTag, createMovieFileFlags, &resId, resName); _res = Py_BuildValue("h", resId); return _res; } static PyObject *MovieObj_FlattenMovieData(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie _rv; long movieFlattenFlags; FSSpec theFile; OSType creator; ScriptCode scriptTag; long createMovieFileFlags; #ifndef FlattenMovieData PyMac_PRECHECK(FlattenMovieData); #endif if (!PyArg_ParseTuple(_args, "lO&O&hl", &movieFlattenFlags, PyMac_GetFSSpec, &theFile, PyMac_GetOSType, &creator, &scriptTag, &createMovieFileFlags)) return NULL; _rv = FlattenMovieData(_self->ob_itself, movieFlattenFlags, &theFile, creator, scriptTag, createMovieFileFlags); _res = Py_BuildValue("O&", MovieObj_New, _rv); return _res; } static PyObject *MovieObj_FlattenMovieDataToDataRef(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie _rv; long movieFlattenFlags; Handle dataRef; OSType dataRefType; OSType creator; ScriptCode scriptTag; long createMovieFileFlags; #ifndef FlattenMovieDataToDataRef PyMac_PRECHECK(FlattenMovieDataToDataRef); #endif if (!PyArg_ParseTuple(_args, "lO&O&O&hl", &movieFlattenFlags, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, PyMac_GetOSType, &creator, &scriptTag, &createMovieFileFlags)) return NULL; _rv = FlattenMovieDataToDataRef(_self->ob_itself, movieFlattenFlags, dataRef, dataRefType, creator, scriptTag, createMovieFileFlags); _res = Py_BuildValue("O&", MovieObj_New, _rv); return _res; } static PyObject *MovieObj_MovieSearchText(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Ptr text; long size; long searchFlags; Track searchTrack; TimeValue searchTime; long searchOffset; #ifndef MovieSearchText PyMac_PRECHECK(MovieSearchText); #endif if (!PyArg_ParseTuple(_args, "sll", &text, &size, &searchFlags)) return NULL; _err = MovieSearchText(_self->ob_itself, text, size, searchFlags, &searchTrack, &searchTime, &searchOffset); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&ll", TrackObj_New, searchTrack, searchTime, searchOffset); return _res; } static PyObject *MovieObj_GetPosterBox(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Rect boxRect; #ifndef GetPosterBox PyMac_PRECHECK(GetPosterBox); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; GetPosterBox(_self->ob_itself, &boxRect); _res = Py_BuildValue("O&", PyMac_BuildRect, &boxRect); return _res; } static PyObject *MovieObj_SetPosterBox(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; Rect boxRect; #ifndef SetPosterBox PyMac_PRECHECK(SetPosterBox); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetRect, &boxRect)) return NULL; SetPosterBox(_self->ob_itself, &boxRect); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMovieSegmentDisplayBoundsRgn(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; RgnHandle _rv; TimeValue time; TimeValue duration; #ifndef GetMovieSegmentDisplayBoundsRgn PyMac_PRECHECK(GetMovieSegmentDisplayBoundsRgn); #endif if (!PyArg_ParseTuple(_args, "ll", &time, &duration)) return NULL; _rv = GetMovieSegmentDisplayBoundsRgn(_self->ob_itself, time, duration); _res = Py_BuildValue("O&", ResObj_New, _rv); return _res; } static PyObject *MovieObj_GetMovieStatus(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; Track firstProblemTrack; #ifndef GetMovieStatus PyMac_PRECHECK(GetMovieStatus); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = GetMovieStatus(_self->ob_itself, &firstProblemTrack); _res = Py_BuildValue("lO&", _rv, TrackObj_New, firstProblemTrack); return _res; } static PyObject *MovieObj_NewMovieController(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; MovieController _rv; Rect movieRect; long someFlags; #ifndef NewMovieController PyMac_PRECHECK(NewMovieController); #endif if (!PyArg_ParseTuple(_args, "O&l", PyMac_GetRect, &movieRect, &someFlags)) return NULL; _rv = NewMovieController(_self->ob_itself, &movieRect, someFlags); _res = Py_BuildValue("O&", MovieCtlObj_New, _rv); return _res; } static PyObject *MovieObj_PutMovieOnScrap(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; long movieScrapFlags; #ifndef PutMovieOnScrap PyMac_PRECHECK(PutMovieOnScrap); #endif if (!PyArg_ParseTuple(_args, "l", &movieScrapFlags)) return NULL; _err = PutMovieOnScrap(_self->ob_itself, movieScrapFlags); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_SetMoviePlayHints(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; long flags; long flagsMask; #ifndef SetMoviePlayHints PyMac_PRECHECK(SetMoviePlayHints); #endif if (!PyArg_ParseTuple(_args, "ll", &flags, &flagsMask)) return NULL; SetMoviePlayHints(_self->ob_itself, flags, flagsMask); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *MovieObj_GetMaxLoadedTimeInMovie(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeValue time; #ifndef GetMaxLoadedTimeInMovie PyMac_PRECHECK(GetMaxLoadedTimeInMovie); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = GetMaxLoadedTimeInMovie(_self->ob_itself, &time); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", time); return _res; } static PyObject *MovieObj_QTMovieNeedsTimeTable(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Boolean needsTimeTable; #ifndef QTMovieNeedsTimeTable PyMac_PRECHECK(QTMovieNeedsTimeTable); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = QTMovieNeedsTimeTable(_self->ob_itself, &needsTimeTable); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("b", needsTimeTable); return _res; } static PyObject *MovieObj_QTGetDataRefMaxFileOffset(MovieObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; OSType dataRefType; Handle dataRef; long offset; #ifndef QTGetDataRefMaxFileOffset PyMac_PRECHECK(QTGetDataRefMaxFileOffset); #endif if (!PyArg_ParseTuple(_args, "O&O&", PyMac_GetOSType, &dataRefType, ResObj_Convert, &dataRef)) return NULL; _err = QTGetDataRefMaxFileOffset(_self->ob_itself, dataRefType, dataRef, &offset); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", offset); return _res; } static PyMethodDef MovieObj_methods[] = { {"MoviesTask", (PyCFunction)MovieObj_MoviesTask, 1, PyDoc_STR("(long maxMilliSecToUse) -> None")}, {"PrerollMovie", (PyCFunction)MovieObj_PrerollMovie, 1, PyDoc_STR("(TimeValue time, Fixed Rate) -> None")}, {"AbortPrePrerollMovie", (PyCFunction)MovieObj_AbortPrePrerollMovie, 1, PyDoc_STR("(OSErr err) -> None")}, {"LoadMovieIntoRam", (PyCFunction)MovieObj_LoadMovieIntoRam, 1, PyDoc_STR("(TimeValue time, TimeValue duration, long flags) -> None")}, {"SetMovieActive", (PyCFunction)MovieObj_SetMovieActive, 1, PyDoc_STR("(Boolean active) -> None")}, {"GetMovieActive", (PyCFunction)MovieObj_GetMovieActive, 1, PyDoc_STR("() -> (Boolean _rv)")}, {"StartMovie", (PyCFunction)MovieObj_StartMovie, 1, PyDoc_STR("() -> None")}, {"StopMovie", (PyCFunction)MovieObj_StopMovie, 1, PyDoc_STR("() -> None")}, {"GoToBeginningOfMovie", (PyCFunction)MovieObj_GoToBeginningOfMovie, 1, PyDoc_STR("() -> None")}, {"GoToEndOfMovie", (PyCFunction)MovieObj_GoToEndOfMovie, 1, PyDoc_STR("() -> None")}, {"IsMovieDone", (PyCFunction)MovieObj_IsMovieDone, 1, PyDoc_STR("() -> (Boolean _rv)")}, {"GetMoviePreviewMode", (PyCFunction)MovieObj_GetMoviePreviewMode, 1, PyDoc_STR("() -> (Boolean _rv)")}, {"SetMoviePreviewMode", (PyCFunction)MovieObj_SetMoviePreviewMode, 1, PyDoc_STR("(Boolean usePreview) -> None")}, {"ShowMoviePoster", (PyCFunction)MovieObj_ShowMoviePoster, 1, PyDoc_STR("() -> None")}, {"GetMovieTimeBase", (PyCFunction)MovieObj_GetMovieTimeBase, 1, PyDoc_STR("() -> (TimeBase _rv)")}, {"SetMovieMasterTimeBase", (PyCFunction)MovieObj_SetMovieMasterTimeBase, 1, PyDoc_STR("(TimeBase tb, TimeRecord slaveZero) -> None")}, {"SetMovieMasterClock", (PyCFunction)MovieObj_SetMovieMasterClock, 1, PyDoc_STR("(Component clockMeister, TimeRecord slaveZero) -> None")}, {"ChooseMovieClock", (PyCFunction)MovieObj_ChooseMovieClock, 1, PyDoc_STR("(long flags) -> None")}, {"GetMovieGWorld", (PyCFunction)MovieObj_GetMovieGWorld, 1, PyDoc_STR("() -> (CGrafPtr port, GDHandle gdh)")}, {"SetMovieGWorld", (PyCFunction)MovieObj_SetMovieGWorld, 1, PyDoc_STR("(CGrafPtr port, GDHandle gdh) -> None")}, {"GetMovieNaturalBoundsRect", (PyCFunction)MovieObj_GetMovieNaturalBoundsRect, 1, PyDoc_STR("() -> (Rect naturalBounds)")}, {"GetNextTrackForCompositing", (PyCFunction)MovieObj_GetNextTrackForCompositing, 1, PyDoc_STR("(Track theTrack) -> (Track _rv)")}, {"GetPrevTrackForCompositing", (PyCFunction)MovieObj_GetPrevTrackForCompositing, 1, PyDoc_STR("(Track theTrack) -> (Track _rv)")}, {"GetMoviePict", (PyCFunction)MovieObj_GetMoviePict, 1, PyDoc_STR("(TimeValue time) -> (PicHandle _rv)")}, {"GetMoviePosterPict", (PyCFunction)MovieObj_GetMoviePosterPict, 1, PyDoc_STR("() -> (PicHandle _rv)")}, {"UpdateMovie", (PyCFunction)MovieObj_UpdateMovie, 1, PyDoc_STR("() -> None")}, {"InvalidateMovieRegion", (PyCFunction)MovieObj_InvalidateMovieRegion, 1, PyDoc_STR("(RgnHandle invalidRgn) -> None")}, {"GetMovieBox", (PyCFunction)MovieObj_GetMovieBox, 1, PyDoc_STR("() -> (Rect boxRect)")}, {"SetMovieBox", (PyCFunction)MovieObj_SetMovieBox, 1, PyDoc_STR("(Rect boxRect) -> None")}, {"GetMovieDisplayClipRgn", (PyCFunction)MovieObj_GetMovieDisplayClipRgn, 1, PyDoc_STR("() -> (RgnHandle _rv)")}, {"SetMovieDisplayClipRgn", (PyCFunction)MovieObj_SetMovieDisplayClipRgn, 1, PyDoc_STR("(RgnHandle theClip) -> None")}, {"GetMovieClipRgn", (PyCFunction)MovieObj_GetMovieClipRgn, 1, PyDoc_STR("() -> (RgnHandle _rv)")}, {"SetMovieClipRgn", (PyCFunction)MovieObj_SetMovieClipRgn, 1, PyDoc_STR("(RgnHandle theClip) -> None")}, {"GetMovieDisplayBoundsRgn", (PyCFunction)MovieObj_GetMovieDisplayBoundsRgn, 1, PyDoc_STR("() -> (RgnHandle _rv)")}, {"GetMovieBoundsRgn", (PyCFunction)MovieObj_GetMovieBoundsRgn, 1, PyDoc_STR("() -> (RgnHandle _rv)")}, {"SetMovieVideoOutput", (PyCFunction)MovieObj_SetMovieVideoOutput, 1, PyDoc_STR("(ComponentInstance vout) -> None")}, {"PutMovieIntoHandle", (PyCFunction)MovieObj_PutMovieIntoHandle, 1, PyDoc_STR("(Handle publicMovie) -> None")}, {"PutMovieIntoDataFork", (PyCFunction)MovieObj_PutMovieIntoDataFork, 1, PyDoc_STR("(short fRefNum, long offset, long maxSize) -> None")}, {"PutMovieIntoDataFork64", (PyCFunction)MovieObj_PutMovieIntoDataFork64, 1, PyDoc_STR("(long fRefNum, wide offset, unsigned long maxSize) -> None")}, {"PutMovieIntoStorage", (PyCFunction)MovieObj_PutMovieIntoStorage, 1, PyDoc_STR("(DataHandler dh, wide offset, unsigned long maxSize) -> None")}, {"PutMovieForDataRefIntoHandle", (PyCFunction)MovieObj_PutMovieForDataRefIntoHandle, 1, PyDoc_STR("(Handle dataRef, OSType dataRefType, Handle publicMovie) -> None")}, {"GetMovieCreationTime", (PyCFunction)MovieObj_GetMovieCreationTime, 1, PyDoc_STR("() -> (unsigned long _rv)")}, {"GetMovieModificationTime", (PyCFunction)MovieObj_GetMovieModificationTime, 1, PyDoc_STR("() -> (unsigned long _rv)")}, {"GetMovieTimeScale", (PyCFunction)MovieObj_GetMovieTimeScale, 1, PyDoc_STR("() -> (TimeScale _rv)")}, {"SetMovieTimeScale", (PyCFunction)MovieObj_SetMovieTimeScale, 1, PyDoc_STR("(TimeScale timeScale) -> None")}, {"GetMovieDuration", (PyCFunction)MovieObj_GetMovieDuration, 1, PyDoc_STR("() -> (TimeValue _rv)")}, {"GetMovieRate", (PyCFunction)MovieObj_GetMovieRate, 1, PyDoc_STR("() -> (Fixed _rv)")}, {"SetMovieRate", (PyCFunction)MovieObj_SetMovieRate, 1, PyDoc_STR("(Fixed rate) -> None")}, {"GetMoviePreferredRate", (PyCFunction)MovieObj_GetMoviePreferredRate, 1, PyDoc_STR("() -> (Fixed _rv)")}, {"SetMoviePreferredRate", (PyCFunction)MovieObj_SetMoviePreferredRate, 1, PyDoc_STR("(Fixed rate) -> None")}, {"GetMoviePreferredVolume", (PyCFunction)MovieObj_GetMoviePreferredVolume, 1, PyDoc_STR("() -> (short _rv)")}, {"SetMoviePreferredVolume", (PyCFunction)MovieObj_SetMoviePreferredVolume, 1, PyDoc_STR("(short volume) -> None")}, {"GetMovieVolume", (PyCFunction)MovieObj_GetMovieVolume, 1, PyDoc_STR("() -> (short _rv)")}, {"SetMovieVolume", (PyCFunction)MovieObj_SetMovieVolume, 1, PyDoc_STR("(short volume) -> None")}, {"GetMoviePreviewTime", (PyCFunction)MovieObj_GetMoviePreviewTime, 1, PyDoc_STR("() -> (TimeValue previewTime, TimeValue previewDuration)")}, {"SetMoviePreviewTime", (PyCFunction)MovieObj_SetMoviePreviewTime, 1, PyDoc_STR("(TimeValue previewTime, TimeValue previewDuration) -> None")}, {"GetMoviePosterTime", (PyCFunction)MovieObj_GetMoviePosterTime, 1, PyDoc_STR("() -> (TimeValue _rv)")}, {"SetMoviePosterTime", (PyCFunction)MovieObj_SetMoviePosterTime, 1, PyDoc_STR("(TimeValue posterTime) -> None")}, {"GetMovieSelection", (PyCFunction)MovieObj_GetMovieSelection, 1, PyDoc_STR("() -> (TimeValue selectionTime, TimeValue selectionDuration)")}, {"SetMovieSelection", (PyCFunction)MovieObj_SetMovieSelection, 1, PyDoc_STR("(TimeValue selectionTime, TimeValue selectionDuration) -> None")}, {"SetMovieActiveSegment", (PyCFunction)MovieObj_SetMovieActiveSegment, 1, PyDoc_STR("(TimeValue startTime, TimeValue duration) -> None")}, {"GetMovieActiveSegment", (PyCFunction)MovieObj_GetMovieActiveSegment, 1, PyDoc_STR("() -> (TimeValue startTime, TimeValue duration)")}, {"GetMovieTime", (PyCFunction)MovieObj_GetMovieTime, 1, PyDoc_STR("() -> (TimeValue _rv, TimeRecord currentTime)")}, {"SetMovieTime", (PyCFunction)MovieObj_SetMovieTime, 1, PyDoc_STR("(TimeRecord newtime) -> None")}, {"SetMovieTimeValue", (PyCFunction)MovieObj_SetMovieTimeValue, 1, PyDoc_STR("(TimeValue newtime) -> None")}, {"GetMovieUserData", (PyCFunction)MovieObj_GetMovieUserData, 1, PyDoc_STR("() -> (UserData _rv)")}, {"GetMovieTrackCount", (PyCFunction)MovieObj_GetMovieTrackCount, 1, PyDoc_STR("() -> (long _rv)")}, {"GetMovieTrack", (PyCFunction)MovieObj_GetMovieTrack, 1, PyDoc_STR("(long trackID) -> (Track _rv)")}, {"GetMovieIndTrack", (PyCFunction)MovieObj_GetMovieIndTrack, 1, PyDoc_STR("(long index) -> (Track _rv)")}, {"GetMovieIndTrackType", (PyCFunction)MovieObj_GetMovieIndTrackType, 1, PyDoc_STR("(long index, OSType trackType, long flags) -> (Track _rv)")}, {"NewMovieTrack", (PyCFunction)MovieObj_NewMovieTrack, 1, PyDoc_STR("(Fixed width, Fixed height, short trackVolume) -> (Track _rv)")}, {"SetAutoTrackAlternatesEnabled", (PyCFunction)MovieObj_SetAutoTrackAlternatesEnabled, 1, PyDoc_STR("(Boolean enable) -> None")}, {"SelectMovieAlternates", (PyCFunction)MovieObj_SelectMovieAlternates, 1, PyDoc_STR("() -> None")}, {"InsertMovieSegment", (PyCFunction)MovieObj_InsertMovieSegment, 1, PyDoc_STR("(Movie dstMovie, TimeValue srcIn, TimeValue srcDuration, TimeValue dstIn) -> None")}, {"InsertEmptyMovieSegment", (PyCFunction)MovieObj_InsertEmptyMovieSegment, 1, PyDoc_STR("(TimeValue dstIn, TimeValue dstDuration) -> None")}, {"DeleteMovieSegment", (PyCFunction)MovieObj_DeleteMovieSegment, 1, PyDoc_STR("(TimeValue startTime, TimeValue duration) -> None")}, {"ScaleMovieSegment", (PyCFunction)MovieObj_ScaleMovieSegment, 1, PyDoc_STR("(TimeValue startTime, TimeValue oldDuration, TimeValue newDuration) -> None")}, {"CutMovieSelection", (PyCFunction)MovieObj_CutMovieSelection, 1, PyDoc_STR("() -> (Movie _rv)")}, {"CopyMovieSelection", (PyCFunction)MovieObj_CopyMovieSelection, 1, PyDoc_STR("() -> (Movie _rv)")}, {"PasteMovieSelection", (PyCFunction)MovieObj_PasteMovieSelection, 1, PyDoc_STR("(Movie src) -> None")}, {"AddMovieSelection", (PyCFunction)MovieObj_AddMovieSelection, 1, PyDoc_STR("(Movie src) -> None")}, {"ClearMovieSelection", (PyCFunction)MovieObj_ClearMovieSelection, 1, PyDoc_STR("() -> None")}, {"PutMovieIntoTypedHandle", (PyCFunction)MovieObj_PutMovieIntoTypedHandle, 1, PyDoc_STR("(Track targetTrack, OSType handleType, Handle publicMovie, TimeValue start, TimeValue dur, long flags, ComponentInstance userComp) -> None")}, {"CopyMovieSettings", (PyCFunction)MovieObj_CopyMovieSettings, 1, PyDoc_STR("(Movie dstMovie) -> None")}, {"ConvertMovieToFile", (PyCFunction)MovieObj_ConvertMovieToFile, 1, PyDoc_STR("(Track onlyTrack, FSSpec outputFile, OSType fileType, OSType creator, ScriptCode scriptTag, long flags, ComponentInstance userComp) -> (short resID)")}, {"GetMovieDataSize", (PyCFunction)MovieObj_GetMovieDataSize, 1, PyDoc_STR("(TimeValue startTime, TimeValue duration) -> (long _rv)")}, {"GetMovieDataSize64", (PyCFunction)MovieObj_GetMovieDataSize64, 1, PyDoc_STR("(TimeValue startTime, TimeValue duration) -> (wide dataSize)")}, {"PtInMovie", (PyCFunction)MovieObj_PtInMovie, 1, PyDoc_STR("(Point pt) -> (Boolean _rv)")}, {"SetMovieLanguage", (PyCFunction)MovieObj_SetMovieLanguage, 1, PyDoc_STR("(long language) -> None")}, {"CopyMovieUserData", (PyCFunction)MovieObj_CopyMovieUserData, 1, PyDoc_STR("(Movie dstMovie, OSType copyRule) -> None")}, {"GetMovieNextInterestingTime", (PyCFunction)MovieObj_GetMovieNextInterestingTime, 1, PyDoc_STR("(short interestingTimeFlags, short numMediaTypes, OSType whichMediaTypes, TimeValue time, Fixed rate) -> (TimeValue interestingTime, TimeValue interestingDuration)")}, {"AddMovieResource", (PyCFunction)MovieObj_AddMovieResource, 1, PyDoc_STR("(short resRefNum, Str255 resName) -> (short resId)")}, {"UpdateMovieResource", (PyCFunction)MovieObj_UpdateMovieResource, 1, PyDoc_STR("(short resRefNum, short resId, Str255 resName) -> None")}, {"AddMovieToStorage", (PyCFunction)MovieObj_AddMovieToStorage, 1, PyDoc_STR("(DataHandler dh) -> None")}, {"UpdateMovieInStorage", (PyCFunction)MovieObj_UpdateMovieInStorage, 1, PyDoc_STR("(DataHandler dh) -> None")}, {"HasMovieChanged", (PyCFunction)MovieObj_HasMovieChanged, 1, PyDoc_STR("() -> (Boolean _rv)")}, {"ClearMovieChanged", (PyCFunction)MovieObj_ClearMovieChanged, 1, PyDoc_STR("() -> None")}, {"SetMovieDefaultDataRef", (PyCFunction)MovieObj_SetMovieDefaultDataRef, 1, PyDoc_STR("(Handle dataRef, OSType dataRefType) -> None")}, {"GetMovieDefaultDataRef", (PyCFunction)MovieObj_GetMovieDefaultDataRef, 1, PyDoc_STR("() -> (Handle dataRef, OSType dataRefType)")}, {"SetMovieColorTable", (PyCFunction)MovieObj_SetMovieColorTable, 1, PyDoc_STR("(CTabHandle ctab) -> None")}, {"GetMovieColorTable", (PyCFunction)MovieObj_GetMovieColorTable, 1, PyDoc_STR("() -> (CTabHandle ctab)")}, {"FlattenMovie", (PyCFunction)MovieObj_FlattenMovie, 1, PyDoc_STR("(long movieFlattenFlags, FSSpec theFile, OSType creator, ScriptCode scriptTag, long createMovieFileFlags, Str255 resName) -> (short resId)")}, {"FlattenMovieData", (PyCFunction)MovieObj_FlattenMovieData, 1, PyDoc_STR("(long movieFlattenFlags, FSSpec theFile, OSType creator, ScriptCode scriptTag, long createMovieFileFlags) -> (Movie _rv)")}, {"FlattenMovieDataToDataRef", (PyCFunction)MovieObj_FlattenMovieDataToDataRef, 1, PyDoc_STR("(long movieFlattenFlags, Handle dataRef, OSType dataRefType, OSType creator, ScriptCode scriptTag, long createMovieFileFlags) -> (Movie _rv)")}, {"MovieSearchText", (PyCFunction)MovieObj_MovieSearchText, 1, PyDoc_STR("(Ptr text, long size, long searchFlags) -> (Track searchTrack, TimeValue searchTime, long searchOffset)")}, {"GetPosterBox", (PyCFunction)MovieObj_GetPosterBox, 1, PyDoc_STR("() -> (Rect boxRect)")}, {"SetPosterBox", (PyCFunction)MovieObj_SetPosterBox, 1, PyDoc_STR("(Rect boxRect) -> None")}, {"GetMovieSegmentDisplayBoundsRgn", (PyCFunction)MovieObj_GetMovieSegmentDisplayBoundsRgn, 1, PyDoc_STR("(TimeValue time, TimeValue duration) -> (RgnHandle _rv)")}, {"GetMovieStatus", (PyCFunction)MovieObj_GetMovieStatus, 1, PyDoc_STR("() -> (ComponentResult _rv, Track firstProblemTrack)")}, {"NewMovieController", (PyCFunction)MovieObj_NewMovieController, 1, PyDoc_STR("(Rect movieRect, long someFlags) -> (MovieController _rv)")}, {"PutMovieOnScrap", (PyCFunction)MovieObj_PutMovieOnScrap, 1, PyDoc_STR("(long movieScrapFlags) -> None")}, {"SetMoviePlayHints", (PyCFunction)MovieObj_SetMoviePlayHints, 1, PyDoc_STR("(long flags, long flagsMask) -> None")}, {"GetMaxLoadedTimeInMovie", (PyCFunction)MovieObj_GetMaxLoadedTimeInMovie, 1, PyDoc_STR("() -> (TimeValue time)")}, {"QTMovieNeedsTimeTable", (PyCFunction)MovieObj_QTMovieNeedsTimeTable, 1, PyDoc_STR("() -> (Boolean needsTimeTable)")}, {"QTGetDataRefMaxFileOffset", (PyCFunction)MovieObj_QTGetDataRefMaxFileOffset, 1, PyDoc_STR("(OSType dataRefType, Handle dataRef) -> (long offset)")}, {NULL, NULL, 0} }; #define MovieObj_getsetlist NULL #define MovieObj_compare NULL #define MovieObj_repr NULL #define MovieObj_hash NULL #define MovieObj_tp_init 0 #define MovieObj_tp_alloc PyType_GenericAlloc static PyObject *MovieObj_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds) { PyObject *_self; Movie itself; char *kw[] = {"itself", 0}; if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, MovieObj_Convert, &itself)) return NULL; if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; ((MovieObject *)_self)->ob_itself = itself; return _self; } #define MovieObj_tp_free PyObject_Del PyTypeObject Movie_Type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ "_Qt.Movie", /*tp_name*/ sizeof(MovieObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ (destructor) MovieObj_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ (getattrfunc)0, /*tp_getattr*/ (setattrfunc)0, /*tp_setattr*/ (cmpfunc) MovieObj_compare, /*tp_compare*/ (reprfunc) MovieObj_repr, /*tp_repr*/ (PyNumberMethods *)0, /* tp_as_number */ (PySequenceMethods *)0, /* tp_as_sequence */ (PyMappingMethods *)0, /* tp_as_mapping */ (hashfunc) MovieObj_hash, /*tp_hash*/ 0, /*tp_call*/ 0, /*tp_str*/ PyObject_GenericGetAttr, /*tp_getattro*/ PyObject_GenericSetAttr, /*tp_setattro */ 0, /*tp_as_buffer*/ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ 0, /*tp_richcompare*/ 0, /*tp_weaklistoffset*/ 0, /*tp_iter*/ 0, /*tp_iternext*/ MovieObj_methods, /* tp_methods */ 0, /*tp_members*/ MovieObj_getsetlist, /*tp_getset*/ 0, /*tp_base*/ 0, /*tp_dict*/ 0, /*tp_descr_get*/ 0, /*tp_descr_set*/ 0, /*tp_dictoffset*/ MovieObj_tp_init, /* tp_init */ MovieObj_tp_alloc, /* tp_alloc */ MovieObj_tp_new, /* tp_new */ MovieObj_tp_free, /* tp_free */ }; /* --------------------- End object type Movie ---------------------- */ /* ---------------------- Object type SGOutput ---------------------- */ PyTypeObject SGOutput_Type; #define SGOutputObj_Check(x) ((x)->ob_type == &SGOutput_Type || PyObject_TypeCheck((x), &SGOutput_Type)) typedef struct SGOutputObject { PyObject_HEAD SGOutput ob_itself; } SGOutputObject; PyObject *SGOutputObj_New(SGOutput itself) { SGOutputObject *it; if (itself == NULL) { PyErr_SetString(Qt_Error,"Cannot create SGOutput from NULL pointer"); return NULL; } it = PyObject_NEW(SGOutputObject, &SGOutput_Type); if (it == NULL) return NULL; it->ob_itself = itself; return (PyObject *)it; } int SGOutputObj_Convert(PyObject *v, SGOutput *p_itself) { if (v == Py_None) { *p_itself = NULL; return 1; } if (!SGOutputObj_Check(v)) { PyErr_SetString(PyExc_TypeError, "SGOutput required"); return 0; } *p_itself = ((SGOutputObject *)v)->ob_itself; return 1; } static void SGOutputObj_dealloc(SGOutputObject *self) { /* Cleanup of self->ob_itself goes here */ self->ob_type->tp_free((PyObject *)self); } static PyMethodDef SGOutputObj_methods[] = { {NULL, NULL, 0} }; #define SGOutputObj_getsetlist NULL #define SGOutputObj_compare NULL #define SGOutputObj_repr NULL #define SGOutputObj_hash NULL #define SGOutputObj_tp_init 0 #define SGOutputObj_tp_alloc PyType_GenericAlloc static PyObject *SGOutputObj_tp_new(PyTypeObject *type, PyObject *_args, PyObject *_kwds) { PyObject *_self; SGOutput itself; char *kw[] = {"itself", 0}; if (!PyArg_ParseTupleAndKeywords(_args, _kwds, "O&", kw, SGOutputObj_Convert, &itself)) return NULL; if ((_self = type->tp_alloc(type, 0)) == NULL) return NULL; ((SGOutputObject *)_self)->ob_itself = itself; return _self; } #define SGOutputObj_tp_free PyObject_Del PyTypeObject SGOutput_Type = { PyObject_HEAD_INIT(NULL) 0, /*ob_size*/ "_Qt.SGOutput", /*tp_name*/ sizeof(SGOutputObject), /*tp_basicsize*/ 0, /*tp_itemsize*/ /* methods */ (destructor) SGOutputObj_dealloc, /*tp_dealloc*/ 0, /*tp_print*/ (getattrfunc)0, /*tp_getattr*/ (setattrfunc)0, /*tp_setattr*/ (cmpfunc) SGOutputObj_compare, /*tp_compare*/ (reprfunc) SGOutputObj_repr, /*tp_repr*/ (PyNumberMethods *)0, /* tp_as_number */ (PySequenceMethods *)0, /* tp_as_sequence */ (PyMappingMethods *)0, /* tp_as_mapping */ (hashfunc) SGOutputObj_hash, /*tp_hash*/ 0, /*tp_call*/ 0, /*tp_str*/ PyObject_GenericGetAttr, /*tp_getattro*/ PyObject_GenericSetAttr, /*tp_setattro */ 0, /*tp_as_buffer*/ Py_TPFLAGS_DEFAULT|Py_TPFLAGS_BASETYPE, /* tp_flags */ 0, /*tp_doc*/ 0, /*tp_traverse*/ 0, /*tp_clear*/ 0, /*tp_richcompare*/ 0, /*tp_weaklistoffset*/ 0, /*tp_iter*/ 0, /*tp_iternext*/ SGOutputObj_methods, /* tp_methods */ 0, /*tp_members*/ SGOutputObj_getsetlist, /*tp_getset*/ 0, /*tp_base*/ 0, /*tp_dict*/ 0, /*tp_descr_get*/ 0, /*tp_descr_set*/ 0, /*tp_dictoffset*/ SGOutputObj_tp_init, /* tp_init */ SGOutputObj_tp_alloc, /* tp_alloc */ SGOutputObj_tp_new, /* tp_new */ SGOutputObj_tp_free, /* tp_free */ }; /* -------------------- End object type SGOutput -------------------- */ static PyObject *Qt_EnterMovies(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; #ifndef EnterMovies PyMac_PRECHECK(EnterMovies); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = EnterMovies(); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_ExitMovies(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; #ifndef ExitMovies PyMac_PRECHECK(ExitMovies); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; ExitMovies(); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_GetMoviesError(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; #ifndef GetMoviesError PyMac_PRECHECK(GetMoviesError); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = GetMoviesError(); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_ClearMoviesStickyError(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; #ifndef ClearMoviesStickyError PyMac_PRECHECK(ClearMoviesStickyError); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; ClearMoviesStickyError(); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_GetMoviesStickyError(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; #ifndef GetMoviesStickyError PyMac_PRECHECK(GetMoviesStickyError); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = GetMoviesStickyError(); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_QTGetWallClockTimeBase(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; TimeBase wallClockTimeBase; #ifndef QTGetWallClockTimeBase PyMac_PRECHECK(QTGetWallClockTimeBase); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = QTGetWallClockTimeBase(&wallClockTimeBase); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", TimeBaseObj_New, wallClockTimeBase); return _res; } static PyObject *Qt_QTIdleManagerOpen(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; IdleManager _rv; #ifndef QTIdleManagerOpen PyMac_PRECHECK(QTIdleManagerOpen); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = QTIdleManagerOpen(); _res = Py_BuildValue("O&", IdleManagerObj_New, _rv); return _res; } static PyObject *Qt_CreateMovieControl(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; WindowPtr theWindow; Rect localRect; Movie theMovie; UInt32 options; ControlHandle returnedControl; #ifndef CreateMovieControl PyMac_PRECHECK(CreateMovieControl); #endif if (!PyArg_ParseTuple(_args, "O&O&l", WinObj_Convert, &theWindow, MovieObj_Convert, &theMovie, &options)) return NULL; _err = CreateMovieControl(theWindow, &localRect, theMovie, options, &returnedControl); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&O&", PyMac_BuildRect, &localRect, CtlObj_New, returnedControl); return _res; } static PyObject *Qt_DisposeMatte(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; PixMapHandle theMatte; #ifndef DisposeMatte PyMac_PRECHECK(DisposeMatte); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &theMatte)) return NULL; DisposeMatte(theMatte); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_NewMovie(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie _rv; long flags; #ifndef NewMovie PyMac_PRECHECK(NewMovie); #endif if (!PyArg_ParseTuple(_args, "l", &flags)) return NULL; _rv = NewMovie(flags); _res = Py_BuildValue("O&", MovieObj_New, _rv); return _res; } static PyObject *Qt_QTGetTimeUntilNextTask(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; long duration; long scale; #ifndef QTGetTimeUntilNextTask PyMac_PRECHECK(QTGetTimeUntilNextTask); #endif if (!PyArg_ParseTuple(_args, "l", &scale)) return NULL; _err = QTGetTimeUntilNextTask(&duration, scale); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", duration); return _res; } static PyObject *Qt_GetDataHandler(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Component _rv; Handle dataRef; OSType dataHandlerSubType; long flags; #ifndef GetDataHandler PyMac_PRECHECK(GetDataHandler); #endif if (!PyArg_ParseTuple(_args, "O&O&l", ResObj_Convert, &dataRef, PyMac_GetOSType, &dataHandlerSubType, &flags)) return NULL; _rv = GetDataHandler(dataRef, dataHandlerSubType, flags); _res = Py_BuildValue("O&", CmpObj_New, _rv); return _res; } static PyObject *Qt_PasteHandleIntoMovie(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle h; OSType handleType; Movie theMovie; long flags; ComponentInstance userComp; #ifndef PasteHandleIntoMovie PyMac_PRECHECK(PasteHandleIntoMovie); #endif if (!PyArg_ParseTuple(_args, "O&O&O&lO&", ResObj_Convert, &h, PyMac_GetOSType, &handleType, MovieObj_Convert, &theMovie, &flags, CmpInstObj_Convert, &userComp)) return NULL; _err = PasteHandleIntoMovie(h, handleType, theMovie, flags, userComp); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_GetMovieImporterForDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; OSType dataRefType; Handle dataRef; long flags; Component importer; #ifndef GetMovieImporterForDataRef PyMac_PRECHECK(GetMovieImporterForDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&l", PyMac_GetOSType, &dataRefType, ResObj_Convert, &dataRef, &flags)) return NULL; _err = GetMovieImporterForDataRef(dataRefType, dataRef, flags, &importer); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", CmpObj_New, importer); return _res; } static PyObject *Qt_QTGetMIMETypeInfo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; char* mimeStringStart; short mimeStringLength; OSType infoSelector; void * infoDataPtr; long infoDataSize; #ifndef QTGetMIMETypeInfo PyMac_PRECHECK(QTGetMIMETypeInfo); #endif if (!PyArg_ParseTuple(_args, "shO&s", &mimeStringStart, &mimeStringLength, PyMac_GetOSType, &infoSelector, &infoDataPtr)) return NULL; _err = QTGetMIMETypeInfo(mimeStringStart, mimeStringLength, infoSelector, infoDataPtr, &infoDataSize); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", infoDataSize); return _res; } static PyObject *Qt_TrackTimeToMediaTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeValue _rv; TimeValue value; Track theTrack; #ifndef TrackTimeToMediaTime PyMac_PRECHECK(TrackTimeToMediaTime); #endif if (!PyArg_ParseTuple(_args, "lO&", &value, TrackObj_Convert, &theTrack)) return NULL; _rv = TrackTimeToMediaTime(value, theTrack); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_NewUserData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; UserData theUserData; #ifndef NewUserData PyMac_PRECHECK(NewUserData); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = NewUserData(&theUserData); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", UserDataObj_New, theUserData); return _res; } static PyObject *Qt_NewUserDataFromHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle h; UserData theUserData; #ifndef NewUserDataFromHandle PyMac_PRECHECK(NewUserDataFromHandle); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &h)) return NULL; _err = NewUserDataFromHandle(h, &theUserData); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", UserDataObj_New, theUserData); return _res; } static PyObject *Qt_CreateMovieFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; FSSpec fileSpec; OSType creator; ScriptCode scriptTag; long createMovieFileFlags; short resRefNum; Movie newmovie; #ifndef CreateMovieFile PyMac_PRECHECK(CreateMovieFile); #endif if (!PyArg_ParseTuple(_args, "O&O&hl", PyMac_GetFSSpec, &fileSpec, PyMac_GetOSType, &creator, &scriptTag, &createMovieFileFlags)) return NULL; _err = CreateMovieFile(&fileSpec, creator, scriptTag, createMovieFileFlags, &resRefNum, &newmovie); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("hO&", resRefNum, MovieObj_New, newmovie); return _res; } static PyObject *Qt_OpenMovieFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; FSSpec fileSpec; short resRefNum; SInt8 permission; #ifndef OpenMovieFile PyMac_PRECHECK(OpenMovieFile); #endif if (!PyArg_ParseTuple(_args, "O&b", PyMac_GetFSSpec, &fileSpec, &permission)) return NULL; _err = OpenMovieFile(&fileSpec, &resRefNum, permission); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("h", resRefNum); return _res; } static PyObject *Qt_CloseMovieFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short resRefNum; #ifndef CloseMovieFile PyMac_PRECHECK(CloseMovieFile); #endif if (!PyArg_ParseTuple(_args, "h", &resRefNum)) return NULL; _err = CloseMovieFile(resRefNum); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_DeleteMovieFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; FSSpec fileSpec; #ifndef DeleteMovieFile PyMac_PRECHECK(DeleteMovieFile); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetFSSpec, &fileSpec)) return NULL; _err = DeleteMovieFile(&fileSpec); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_NewMovieFromFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie theMovie; short resRefNum; short resId; short newMovieFlags; Boolean dataRefWasChanged; #ifndef NewMovieFromFile PyMac_PRECHECK(NewMovieFromFile); #endif if (!PyArg_ParseTuple(_args, "hhh", &resRefNum, &resId, &newMovieFlags)) return NULL; _err = NewMovieFromFile(&theMovie, resRefNum, &resId, (StringPtr)0, newMovieFlags, &dataRefWasChanged); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&hb", MovieObj_New, theMovie, resId, dataRefWasChanged); return _res; } static PyObject *Qt_NewMovieFromHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie theMovie; Handle h; short newMovieFlags; Boolean dataRefWasChanged; #ifndef NewMovieFromHandle PyMac_PRECHECK(NewMovieFromHandle); #endif if (!PyArg_ParseTuple(_args, "O&h", ResObj_Convert, &h, &newMovieFlags)) return NULL; _err = NewMovieFromHandle(&theMovie, h, newMovieFlags, &dataRefWasChanged); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&b", MovieObj_New, theMovie, dataRefWasChanged); return _res; } static PyObject *Qt_NewMovieFromDataFork(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie theMovie; short fRefNum; long fileOffset; short newMovieFlags; Boolean dataRefWasChanged; #ifndef NewMovieFromDataFork PyMac_PRECHECK(NewMovieFromDataFork); #endif if (!PyArg_ParseTuple(_args, "hlh", &fRefNum, &fileOffset, &newMovieFlags)) return NULL; _err = NewMovieFromDataFork(&theMovie, fRefNum, fileOffset, newMovieFlags, &dataRefWasChanged); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&b", MovieObj_New, theMovie, dataRefWasChanged); return _res; } static PyObject *Qt_NewMovieFromDataFork64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie theMovie; long fRefNum; wide fileOffset; short newMovieFlags; Boolean dataRefWasChanged; #ifndef NewMovieFromDataFork64 PyMac_PRECHECK(NewMovieFromDataFork64); #endif if (!PyArg_ParseTuple(_args, "lO&h", &fRefNum, PyMac_Getwide, &fileOffset, &newMovieFlags)) return NULL; _err = NewMovieFromDataFork64(&theMovie, fRefNum, &fileOffset, newMovieFlags, &dataRefWasChanged); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&b", MovieObj_New, theMovie, dataRefWasChanged); return _res; } static PyObject *Qt_NewMovieFromDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie m; short flags; short id; Handle dataRef; OSType dtaRefType; #ifndef NewMovieFromDataRef PyMac_PRECHECK(NewMovieFromDataRef); #endif if (!PyArg_ParseTuple(_args, "hO&O&", &flags, ResObj_Convert, &dataRef, PyMac_GetOSType, &dtaRefType)) return NULL; _err = NewMovieFromDataRef(&m, flags, &id, dataRef, dtaRefType); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&h", MovieObj_New, m, id); return _res; } static PyObject *Qt_NewMovieFromStorageOffset(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie theMovie; DataHandler dh; wide fileOffset; short newMovieFlags; Boolean dataRefWasCataRefType; #ifndef NewMovieFromStorageOffset PyMac_PRECHECK(NewMovieFromStorageOffset); #endif if (!PyArg_ParseTuple(_args, "O&O&h", CmpInstObj_Convert, &dh, PyMac_Getwide, &fileOffset, &newMovieFlags)) return NULL; _err = NewMovieFromStorageOffset(&theMovie, dh, &fileOffset, newMovieFlags, &dataRefWasCataRefType); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&b", MovieObj_New, theMovie, dataRefWasCataRefType); return _res; } static PyObject *Qt_NewMovieForDataRefFromHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Movie theMovie; Handle h; short newMovieFlags; Boolean dataRefWasChanged; Handle dataRef; OSType dataRefType; #ifndef NewMovieForDataRefFromHandle PyMac_PRECHECK(NewMovieForDataRefFromHandle); #endif if (!PyArg_ParseTuple(_args, "O&hO&O&", ResObj_Convert, &h, &newMovieFlags, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType)) return NULL; _err = NewMovieForDataRefFromHandle(&theMovie, h, newMovieFlags, &dataRefWasChanged, dataRef, dataRefType); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&b", MovieObj_New, theMovie, dataRefWasChanged); return _res; } static PyObject *Qt_RemoveMovieResource(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short resRefNum; short resId; #ifndef RemoveMovieResource PyMac_PRECHECK(RemoveMovieResource); #endif if (!PyArg_ParseTuple(_args, "hh", &resRefNum, &resId)) return NULL; _err = RemoveMovieResource(resRefNum, resId); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_CreateMovieStorage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle dataRef; OSType dataRefType; OSType creator; ScriptCode scriptTag; long createMovieFileFlags; DataHandler outDataHandler; Movie newmovie; #ifndef CreateMovieStorage PyMac_PRECHECK(CreateMovieStorage); #endif if (!PyArg_ParseTuple(_args, "O&O&O&hl", ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, PyMac_GetOSType, &creator, &scriptTag, &createMovieFileFlags)) return NULL; _err = CreateMovieStorage(dataRef, dataRefType, creator, scriptTag, createMovieFileFlags, &outDataHandler, &newmovie); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&O&", CmpInstObj_New, outDataHandler, MovieObj_New, newmovie); return _res; } static PyObject *Qt_OpenMovieStorage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle dataRef; OSType dataRefType; long flags; DataHandler outDataHandler; #ifndef OpenMovieStorage PyMac_PRECHECK(OpenMovieStorage); #endif if (!PyArg_ParseTuple(_args, "O&O&l", ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, &flags)) return NULL; _err = OpenMovieStorage(dataRef, dataRefType, flags, &outDataHandler); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", CmpInstObj_New, outDataHandler); return _res; } static PyObject *Qt_CloseMovieStorage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; DataHandler dh; #ifndef CloseMovieStorage PyMac_PRECHECK(CloseMovieStorage); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _err = CloseMovieStorage(dh); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_DeleteMovieStorage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle dataRef; OSType dataRefType; #ifndef DeleteMovieStorage PyMac_PRECHECK(DeleteMovieStorage); #endif if (!PyArg_ParseTuple(_args, "O&O&", ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType)) return NULL; _err = DeleteMovieStorage(dataRef, dataRefType); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_CreateShortcutMovieFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; FSSpec fileSpec; OSType creator; ScriptCode scriptTag; long createMovieFileFlags; Handle targetDataRef; OSType targetDataRefType; #ifndef CreateShortcutMovieFile PyMac_PRECHECK(CreateShortcutMovieFile); #endif if (!PyArg_ParseTuple(_args, "O&O&hlO&O&", PyMac_GetFSSpec, &fileSpec, PyMac_GetOSType, &creator, &scriptTag, &createMovieFileFlags, ResObj_Convert, &targetDataRef, PyMac_GetOSType, &targetDataRefType)) return NULL; _err = CreateShortcutMovieFile(&fileSpec, creator, scriptTag, createMovieFileFlags, targetDataRef, targetDataRefType); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_CanQuickTimeOpenFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; FSSpec fileSpec; OSType fileType; OSType fileNameExtension; Boolean outCanOpenWithGraphicsImporter; Boolean outCanOpenAsMovie; Boolean outPreferGraphicsImporter; UInt32 inFlags; #ifndef CanQuickTimeOpenFile PyMac_PRECHECK(CanQuickTimeOpenFile); #endif if (!PyArg_ParseTuple(_args, "O&O&O&l", PyMac_GetFSSpec, &fileSpec, PyMac_GetOSType, &fileType, PyMac_GetOSType, &fileNameExtension, &inFlags)) return NULL; _err = CanQuickTimeOpenFile(&fileSpec, fileType, fileNameExtension, &outCanOpenWithGraphicsImporter, &outCanOpenAsMovie, &outPreferGraphicsImporter, inFlags); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("bbb", outCanOpenWithGraphicsImporter, outCanOpenAsMovie, outPreferGraphicsImporter); return _res; } static PyObject *Qt_CanQuickTimeOpenDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle dataRef; OSType dataRefType; Boolean outCanOpenWithGraphicsImporter; Boolean outCanOpenAsMovie; Boolean outPreferGraphicsImporter; UInt32 inFlags; #ifndef CanQuickTimeOpenDataRef PyMac_PRECHECK(CanQuickTimeOpenDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&l", ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, &inFlags)) return NULL; _err = CanQuickTimeOpenDataRef(dataRef, dataRefType, &outCanOpenWithGraphicsImporter, &outCanOpenAsMovie, &outPreferGraphicsImporter, inFlags); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("bbb", outCanOpenWithGraphicsImporter, outCanOpenAsMovie, outPreferGraphicsImporter); return _res; } static PyObject *Qt_NewMovieFromScrap(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie _rv; long newMovieFlags; #ifndef NewMovieFromScrap PyMac_PRECHECK(NewMovieFromScrap); #endif if (!PyArg_ParseTuple(_args, "l", &newMovieFlags)) return NULL; _rv = NewMovieFromScrap(newMovieFlags); _res = Py_BuildValue("O&", MovieObj_New, _rv); return _res; } static PyObject *Qt_QTNewAlias(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; FSSpec fss; AliasHandle alias; Boolean minimal; #ifndef QTNewAlias PyMac_PRECHECK(QTNewAlias); #endif if (!PyArg_ParseTuple(_args, "O&b", PyMac_GetFSSpec, &fss, &minimal)) return NULL; _err = QTNewAlias(&fss, &alias, minimal); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", ResObj_New, alias); return _res; } static PyObject *Qt_EndFullScreen(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Ptr fullState; long flags; #ifndef EndFullScreen PyMac_PRECHECK(EndFullScreen); #endif if (!PyArg_ParseTuple(_args, "sl", &fullState, &flags)) return NULL; _err = EndFullScreen(fullState, flags); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_AddSoundDescriptionExtension(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; SoundDescriptionHandle desc; Handle extension; OSType idType; #ifndef AddSoundDescriptionExtension PyMac_PRECHECK(AddSoundDescriptionExtension); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", ResObj_Convert, &desc, ResObj_Convert, &extension, PyMac_GetOSType, &idType)) return NULL; _err = AddSoundDescriptionExtension(desc, extension, idType); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_GetSoundDescriptionExtension(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; SoundDescriptionHandle desc; Handle extension; OSType idType; #ifndef GetSoundDescriptionExtension PyMac_PRECHECK(GetSoundDescriptionExtension); #endif if (!PyArg_ParseTuple(_args, "O&O&", ResObj_Convert, &desc, PyMac_GetOSType, &idType)) return NULL; _err = GetSoundDescriptionExtension(desc, &extension, idType); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", ResObj_New, extension); return _res; } static PyObject *Qt_RemoveSoundDescriptionExtension(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; SoundDescriptionHandle desc; OSType idType; #ifndef RemoveSoundDescriptionExtension PyMac_PRECHECK(RemoveSoundDescriptionExtension); #endif if (!PyArg_ParseTuple(_args, "O&O&", ResObj_Convert, &desc, PyMac_GetOSType, &idType)) return NULL; _err = RemoveSoundDescriptionExtension(desc, idType); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_QTIsStandardParameterDialogEvent(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; EventRecord pEvent; QTParameterDialog createdDialog; #ifndef QTIsStandardParameterDialogEvent PyMac_PRECHECK(QTIsStandardParameterDialogEvent); #endif if (!PyArg_ParseTuple(_args, "l", &createdDialog)) return NULL; _err = QTIsStandardParameterDialogEvent(&pEvent, createdDialog); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", PyMac_BuildEventRecord, &pEvent); return _res; } static PyObject *Qt_QTDismissStandardParameterDialog(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; QTParameterDialog createdDialog; #ifndef QTDismissStandardParameterDialog PyMac_PRECHECK(QTDismissStandardParameterDialog); #endif if (!PyArg_ParseTuple(_args, "l", &createdDialog)) return NULL; _err = QTDismissStandardParameterDialog(createdDialog); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_QTStandardParameterDialogDoAction(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; QTParameterDialog createdDialog; long action; void * params; #ifndef QTStandardParameterDialogDoAction PyMac_PRECHECK(QTStandardParameterDialogDoAction); #endif if (!PyArg_ParseTuple(_args, "lls", &createdDialog, &action, &params)) return NULL; _err = QTStandardParameterDialogDoAction(createdDialog, action, params); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_QTRegisterAccessKey(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Str255 accessKeyType; long flags; Handle accessKey; #ifndef QTRegisterAccessKey PyMac_PRECHECK(QTRegisterAccessKey); #endif if (!PyArg_ParseTuple(_args, "O&lO&", PyMac_GetStr255, accessKeyType, &flags, ResObj_Convert, &accessKey)) return NULL; _err = QTRegisterAccessKey(accessKeyType, flags, accessKey); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_QTUnregisterAccessKey(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Str255 accessKeyType; long flags; Handle accessKey; #ifndef QTUnregisterAccessKey PyMac_PRECHECK(QTUnregisterAccessKey); #endif if (!PyArg_ParseTuple(_args, "O&lO&", PyMac_GetStr255, accessKeyType, &flags, ResObj_Convert, &accessKey)) return NULL; _err = QTUnregisterAccessKey(accessKeyType, flags, accessKey); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_QTGetSupportedRestrictions(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; OSType inRestrictionClass; UInt32 outRestrictionIDs; #ifndef QTGetSupportedRestrictions PyMac_PRECHECK(QTGetSupportedRestrictions); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetOSType, &inRestrictionClass)) return NULL; _err = QTGetSupportedRestrictions(inRestrictionClass, &outRestrictionIDs); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", outRestrictionIDs); return _res; } static PyObject *Qt_QTTextToNativeText(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle theText; long encoding; long flags; #ifndef QTTextToNativeText PyMac_PRECHECK(QTTextToNativeText); #endif if (!PyArg_ParseTuple(_args, "O&ll", ResObj_Convert, &theText, &encoding, &flags)) return NULL; _err = QTTextToNativeText(theText, encoding, flags); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_VideoMediaResetStatistics(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; #ifndef VideoMediaResetStatistics PyMac_PRECHECK(VideoMediaResetStatistics); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = VideoMediaResetStatistics(mh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VideoMediaGetStatistics(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; #ifndef VideoMediaGetStatistics PyMac_PRECHECK(VideoMediaGetStatistics); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = VideoMediaGetStatistics(mh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VideoMediaGetStallCount(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; unsigned long stalls; #ifndef VideoMediaGetStallCount PyMac_PRECHECK(VideoMediaGetStallCount); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = VideoMediaGetStallCount(mh, &stalls); _res = Py_BuildValue("ll", _rv, stalls); return _res; } static PyObject *Qt_VideoMediaSetCodecParameter(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; CodecType cType; OSType parameterID; long parameterChangeSeed; void * dataPtr; long dataSize; #ifndef VideoMediaSetCodecParameter PyMac_PRECHECK(VideoMediaSetCodecParameter); #endif if (!PyArg_ParseTuple(_args, "O&O&O&lsl", CmpInstObj_Convert, &mh, PyMac_GetOSType, &cType, PyMac_GetOSType, &parameterID, &parameterChangeSeed, &dataPtr, &dataSize)) return NULL; _rv = VideoMediaSetCodecParameter(mh, cType, parameterID, parameterChangeSeed, dataPtr, dataSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VideoMediaGetCodecParameter(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; CodecType cType; OSType parameterID; Handle outParameterData; #ifndef VideoMediaGetCodecParameter PyMac_PRECHECK(VideoMediaGetCodecParameter); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&", CmpInstObj_Convert, &mh, PyMac_GetOSType, &cType, PyMac_GetOSType, &parameterID, ResObj_Convert, &outParameterData)) return NULL; _rv = VideoMediaGetCodecParameter(mh, cType, parameterID, outParameterData); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TextMediaAddTextSample(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Ptr text; unsigned long size; short fontNumber; short fontSize; Style textFace; RGBColor textColor; RGBColor backColor; short textJustification; Rect textBox; long displayFlags; TimeValue scrollDelay; short hiliteStart; short hiliteEnd; RGBColor rgbHiliteColor; TimeValue duration; TimeValue sampleTime; #ifndef TextMediaAddTextSample PyMac_PRECHECK(TextMediaAddTextSample); #endif if (!PyArg_ParseTuple(_args, "O&slhhbhllhhl", CmpInstObj_Convert, &mh, &text, &size, &fontNumber, &fontSize, &textFace, &textJustification, &displayFlags, &scrollDelay, &hiliteStart, &hiliteEnd, &duration)) return NULL; _rv = TextMediaAddTextSample(mh, text, size, fontNumber, fontSize, textFace, &textColor, &backColor, textJustification, &textBox, displayFlags, scrollDelay, hiliteStart, hiliteEnd, &rgbHiliteColor, duration, &sampleTime); _res = Py_BuildValue("lO&O&O&O&l", _rv, QdRGB_New, &textColor, QdRGB_New, &backColor, PyMac_BuildRect, &textBox, QdRGB_New, &rgbHiliteColor, sampleTime); return _res; } static PyObject *Qt_TextMediaAddTESample(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; TEHandle hTE; RGBColor backColor; short textJustification; Rect textBox; long displayFlags; TimeValue scrollDelay; short hiliteStart; short hiliteEnd; RGBColor rgbHiliteColor; TimeValue duration; TimeValue sampleTime; #ifndef TextMediaAddTESample PyMac_PRECHECK(TextMediaAddTESample); #endif if (!PyArg_ParseTuple(_args, "O&O&hllhhl", CmpInstObj_Convert, &mh, ResObj_Convert, &hTE, &textJustification, &displayFlags, &scrollDelay, &hiliteStart, &hiliteEnd, &duration)) return NULL; _rv = TextMediaAddTESample(mh, hTE, &backColor, textJustification, &textBox, displayFlags, scrollDelay, hiliteStart, hiliteEnd, &rgbHiliteColor, duration, &sampleTime); _res = Py_BuildValue("lO&O&O&l", _rv, QdRGB_New, &backColor, PyMac_BuildRect, &textBox, QdRGB_New, &rgbHiliteColor, sampleTime); return _res; } static PyObject *Qt_TextMediaAddHiliteSample(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short hiliteStart; short hiliteEnd; RGBColor rgbHiliteColor; TimeValue duration; TimeValue sampleTime; #ifndef TextMediaAddHiliteSample PyMac_PRECHECK(TextMediaAddHiliteSample); #endif if (!PyArg_ParseTuple(_args, "O&hhl", CmpInstObj_Convert, &mh, &hiliteStart, &hiliteEnd, &duration)) return NULL; _rv = TextMediaAddHiliteSample(mh, hiliteStart, hiliteEnd, &rgbHiliteColor, duration, &sampleTime); _res = Py_BuildValue("lO&l", _rv, QdRGB_New, &rgbHiliteColor, sampleTime); return _res; } static PyObject *Qt_TextMediaDrawRaw(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; GWorldPtr gw; GDHandle gd; void * data; long dataSize; TextDescriptionHandle tdh; #ifndef TextMediaDrawRaw PyMac_PRECHECK(TextMediaDrawRaw); #endif if (!PyArg_ParseTuple(_args, "O&O&O&slO&", CmpInstObj_Convert, &mh, GWorldObj_Convert, &gw, OptResObj_Convert, &gd, &data, &dataSize, ResObj_Convert, &tdh)) return NULL; _rv = TextMediaDrawRaw(mh, gw, gd, data, dataSize, tdh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TextMediaSetTextProperty(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; TimeValue atMediaTime; long propertyType; void * data; long dataSize; #ifndef TextMediaSetTextProperty PyMac_PRECHECK(TextMediaSetTextProperty); #endif if (!PyArg_ParseTuple(_args, "O&llsl", CmpInstObj_Convert, &mh, &atMediaTime, &propertyType, &data, &dataSize)) return NULL; _rv = TextMediaSetTextProperty(mh, atMediaTime, propertyType, data, dataSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TextMediaRawSetup(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; GWorldPtr gw; GDHandle gd; void * data; long dataSize; TextDescriptionHandle tdh; TimeValue sampleDuration; #ifndef TextMediaRawSetup PyMac_PRECHECK(TextMediaRawSetup); #endif if (!PyArg_ParseTuple(_args, "O&O&O&slO&l", CmpInstObj_Convert, &mh, GWorldObj_Convert, &gw, OptResObj_Convert, &gd, &data, &dataSize, ResObj_Convert, &tdh, &sampleDuration)) return NULL; _rv = TextMediaRawSetup(mh, gw, gd, data, dataSize, tdh, sampleDuration); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TextMediaRawIdle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; GWorldPtr gw; GDHandle gd; TimeValue sampleTime; long flagsIn; long flagsOut; #ifndef TextMediaRawIdle PyMac_PRECHECK(TextMediaRawIdle); #endif if (!PyArg_ParseTuple(_args, "O&O&O&ll", CmpInstObj_Convert, &mh, GWorldObj_Convert, &gw, OptResObj_Convert, &gd, &sampleTime, &flagsIn)) return NULL; _rv = TextMediaRawIdle(mh, gw, gd, sampleTime, flagsIn, &flagsOut); _res = Py_BuildValue("ll", _rv, flagsOut); return _res; } static PyObject *Qt_TextMediaGetTextProperty(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; TimeValue atMediaTime; long propertyType; void * data; long dataSize; #ifndef TextMediaGetTextProperty PyMac_PRECHECK(TextMediaGetTextProperty); #endif if (!PyArg_ParseTuple(_args, "O&llsl", CmpInstObj_Convert, &mh, &atMediaTime, &propertyType, &data, &dataSize)) return NULL; _rv = TextMediaGetTextProperty(mh, atMediaTime, propertyType, data, dataSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TextMediaFindNextText(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Ptr text; long size; short findFlags; TimeValue startTime; TimeValue foundTime; TimeValue foundDuration; long offset; #ifndef TextMediaFindNextText PyMac_PRECHECK(TextMediaFindNextText); #endif if (!PyArg_ParseTuple(_args, "O&slhl", CmpInstObj_Convert, &mh, &text, &size, &findFlags, &startTime)) return NULL; _rv = TextMediaFindNextText(mh, text, size, findFlags, startTime, &foundTime, &foundDuration, &offset); _res = Py_BuildValue("llll", _rv, foundTime, foundDuration, offset); return _res; } static PyObject *Qt_TextMediaHiliteTextSample(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; TimeValue sampleTime; short hiliteStart; short hiliteEnd; RGBColor rgbHiliteColor; #ifndef TextMediaHiliteTextSample PyMac_PRECHECK(TextMediaHiliteTextSample); #endif if (!PyArg_ParseTuple(_args, "O&lhh", CmpInstObj_Convert, &mh, &sampleTime, &hiliteStart, &hiliteEnd)) return NULL; _rv = TextMediaHiliteTextSample(mh, sampleTime, hiliteStart, hiliteEnd, &rgbHiliteColor); _res = Py_BuildValue("lO&", _rv, QdRGB_New, &rgbHiliteColor); return _res; } static PyObject *Qt_TextMediaSetTextSampleData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; void * data; OSType dataType; #ifndef TextMediaSetTextSampleData PyMac_PRECHECK(TextMediaSetTextSampleData); #endif if (!PyArg_ParseTuple(_args, "O&sO&", CmpInstObj_Convert, &mh, &data, PyMac_GetOSType, &dataType)) return NULL; _rv = TextMediaSetTextSampleData(mh, data, dataType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaSetProperty(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short spriteIndex; long propertyType; void * propertyValue; #ifndef SpriteMediaSetProperty PyMac_PRECHECK(SpriteMediaSetProperty); #endif if (!PyArg_ParseTuple(_args, "O&hls", CmpInstObj_Convert, &mh, &spriteIndex, &propertyType, &propertyValue)) return NULL; _rv = SpriteMediaSetProperty(mh, spriteIndex, propertyType, propertyValue); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaGetProperty(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short spriteIndex; long propertyType; void * propertyValue; #ifndef SpriteMediaGetProperty PyMac_PRECHECK(SpriteMediaGetProperty); #endif if (!PyArg_ParseTuple(_args, "O&hls", CmpInstObj_Convert, &mh, &spriteIndex, &propertyType, &propertyValue)) return NULL; _rv = SpriteMediaGetProperty(mh, spriteIndex, propertyType, propertyValue); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaHitTestSprites(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long flags; Point loc; short spriteHitIndex; #ifndef SpriteMediaHitTestSprites PyMac_PRECHECK(SpriteMediaHitTestSprites); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &mh, &flags, PyMac_GetPoint, &loc)) return NULL; _rv = SpriteMediaHitTestSprites(mh, flags, loc, &spriteHitIndex); _res = Py_BuildValue("lh", _rv, spriteHitIndex); return _res; } static PyObject *Qt_SpriteMediaCountSprites(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short numSprites; #ifndef SpriteMediaCountSprites PyMac_PRECHECK(SpriteMediaCountSprites); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = SpriteMediaCountSprites(mh, &numSprites); _res = Py_BuildValue("lh", _rv, numSprites); return _res; } static PyObject *Qt_SpriteMediaCountImages(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short numImages; #ifndef SpriteMediaCountImages PyMac_PRECHECK(SpriteMediaCountImages); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = SpriteMediaCountImages(mh, &numImages); _res = Py_BuildValue("lh", _rv, numImages); return _res; } static PyObject *Qt_SpriteMediaGetIndImageDescription(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short imageIndex; ImageDescriptionHandle imageDescription; #ifndef SpriteMediaGetIndImageDescription PyMac_PRECHECK(SpriteMediaGetIndImageDescription); #endif if (!PyArg_ParseTuple(_args, "O&hO&", CmpInstObj_Convert, &mh, &imageIndex, ResObj_Convert, &imageDescription)) return NULL; _rv = SpriteMediaGetIndImageDescription(mh, imageIndex, imageDescription); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaGetDisplayedSampleNumber(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long sampleNum; #ifndef SpriteMediaGetDisplayedSampleNumber PyMac_PRECHECK(SpriteMediaGetDisplayedSampleNumber); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = SpriteMediaGetDisplayedSampleNumber(mh, &sampleNum); _res = Py_BuildValue("ll", _rv, sampleNum); return _res; } static PyObject *Qt_SpriteMediaGetSpriteName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTAtomID spriteID; Str255 spriteName; #ifndef SpriteMediaGetSpriteName PyMac_PRECHECK(SpriteMediaGetSpriteName); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &mh, &spriteID, PyMac_GetStr255, spriteName)) return NULL; _rv = SpriteMediaGetSpriteName(mh, spriteID, spriteName); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaGetImageName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short imageIndex; Str255 imageName; #ifndef SpriteMediaGetImageName PyMac_PRECHECK(SpriteMediaGetImageName); #endif if (!PyArg_ParseTuple(_args, "O&hO&", CmpInstObj_Convert, &mh, &imageIndex, PyMac_GetStr255, imageName)) return NULL; _rv = SpriteMediaGetImageName(mh, imageIndex, imageName); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaSetSpriteProperty(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTAtomID spriteID; long propertyType; void * propertyValue; #ifndef SpriteMediaSetSpriteProperty PyMac_PRECHECK(SpriteMediaSetSpriteProperty); #endif if (!PyArg_ParseTuple(_args, "O&lls", CmpInstObj_Convert, &mh, &spriteID, &propertyType, &propertyValue)) return NULL; _rv = SpriteMediaSetSpriteProperty(mh, spriteID, propertyType, propertyValue); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaGetSpriteProperty(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTAtomID spriteID; long propertyType; void * propertyValue; #ifndef SpriteMediaGetSpriteProperty PyMac_PRECHECK(SpriteMediaGetSpriteProperty); #endif if (!PyArg_ParseTuple(_args, "O&lls", CmpInstObj_Convert, &mh, &spriteID, &propertyType, &propertyValue)) return NULL; _rv = SpriteMediaGetSpriteProperty(mh, spriteID, propertyType, propertyValue); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaHitTestAllSprites(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long flags; Point loc; QTAtomID spriteHitID; #ifndef SpriteMediaHitTestAllSprites PyMac_PRECHECK(SpriteMediaHitTestAllSprites); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &mh, &flags, PyMac_GetPoint, &loc)) return NULL; _rv = SpriteMediaHitTestAllSprites(mh, flags, loc, &spriteHitID); _res = Py_BuildValue("ll", _rv, spriteHitID); return _res; } static PyObject *Qt_SpriteMediaHitTestOneSprite(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTAtomID spriteID; long flags; Point loc; Boolean wasHit; #ifndef SpriteMediaHitTestOneSprite PyMac_PRECHECK(SpriteMediaHitTestOneSprite); #endif if (!PyArg_ParseTuple(_args, "O&llO&", CmpInstObj_Convert, &mh, &spriteID, &flags, PyMac_GetPoint, &loc)) return NULL; _rv = SpriteMediaHitTestOneSprite(mh, spriteID, flags, loc, &wasHit); _res = Py_BuildValue("lb", _rv, wasHit); return _res; } static PyObject *Qt_SpriteMediaSpriteIndexToID(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short spriteIndex; QTAtomID spriteID; #ifndef SpriteMediaSpriteIndexToID PyMac_PRECHECK(SpriteMediaSpriteIndexToID); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &mh, &spriteIndex)) return NULL; _rv = SpriteMediaSpriteIndexToID(mh, spriteIndex, &spriteID); _res = Py_BuildValue("ll", _rv, spriteID); return _res; } static PyObject *Qt_SpriteMediaSpriteIDToIndex(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTAtomID spriteID; short spriteIndex; #ifndef SpriteMediaSpriteIDToIndex PyMac_PRECHECK(SpriteMediaSpriteIDToIndex); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &spriteID)) return NULL; _rv = SpriteMediaSpriteIDToIndex(mh, spriteID, &spriteIndex); _res = Py_BuildValue("lh", _rv, spriteIndex); return _res; } static PyObject *Qt_SpriteMediaSetActionVariable(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTAtomID variableID; float value; #ifndef SpriteMediaSetActionVariable PyMac_PRECHECK(SpriteMediaSetActionVariable); #endif if (!PyArg_ParseTuple(_args, "O&lf", CmpInstObj_Convert, &mh, &variableID, &value)) return NULL; _rv = SpriteMediaSetActionVariable(mh, variableID, &value); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaGetActionVariable(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTAtomID variableID; float value; #ifndef SpriteMediaGetActionVariable PyMac_PRECHECK(SpriteMediaGetActionVariable); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &variableID)) return NULL; _rv = SpriteMediaGetActionVariable(mh, variableID, &value); _res = Py_BuildValue("lf", _rv, value); return _res; } static PyObject *Qt_SpriteMediaDisposeSprite(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTAtomID spriteID; #ifndef SpriteMediaDisposeSprite PyMac_PRECHECK(SpriteMediaDisposeSprite); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &spriteID)) return NULL; _rv = SpriteMediaDisposeSprite(mh, spriteID); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaSetActionVariableToString(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTAtomID variableID; Ptr theCString; #ifndef SpriteMediaSetActionVariableToString PyMac_PRECHECK(SpriteMediaSetActionVariableToString); #endif if (!PyArg_ParseTuple(_args, "O&ls", CmpInstObj_Convert, &mh, &variableID, &theCString)) return NULL; _rv = SpriteMediaSetActionVariableToString(mh, variableID, theCString); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaGetActionVariableAsString(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTAtomID variableID; Handle theCString; #ifndef SpriteMediaGetActionVariableAsString PyMac_PRECHECK(SpriteMediaGetActionVariableAsString); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &variableID)) return NULL; _rv = SpriteMediaGetActionVariableAsString(mh, variableID, &theCString); _res = Py_BuildValue("lO&", _rv, ResObj_New, theCString); return _res; } static PyObject *Qt_SpriteMediaNewImage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Handle dataRef; OSType dataRefType; QTAtomID desiredID; #ifndef SpriteMediaNewImage PyMac_PRECHECK(SpriteMediaNewImage); #endif if (!PyArg_ParseTuple(_args, "O&O&O&l", CmpInstObj_Convert, &mh, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, &desiredID)) return NULL; _rv = SpriteMediaNewImage(mh, dataRef, dataRefType, desiredID); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaDisposeImage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short imageIndex; #ifndef SpriteMediaDisposeImage PyMac_PRECHECK(SpriteMediaDisposeImage); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &mh, &imageIndex)) return NULL; _rv = SpriteMediaDisposeImage(mh, imageIndex); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SpriteMediaImageIndexToID(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short imageIndex; QTAtomID imageID; #ifndef SpriteMediaImageIndexToID PyMac_PRECHECK(SpriteMediaImageIndexToID); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &mh, &imageIndex)) return NULL; _rv = SpriteMediaImageIndexToID(mh, imageIndex, &imageID); _res = Py_BuildValue("ll", _rv, imageID); return _res; } static PyObject *Qt_SpriteMediaImageIDToIndex(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTAtomID imageID; short imageIndex; #ifndef SpriteMediaImageIDToIndex PyMac_PRECHECK(SpriteMediaImageIDToIndex); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &imageID)) return NULL; _rv = SpriteMediaImageIDToIndex(mh, imageID, &imageIndex); _res = Py_BuildValue("lh", _rv, imageIndex); return _res; } static PyObject *Qt_FlashMediaSetPan(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short xPercent; short yPercent; #ifndef FlashMediaSetPan PyMac_PRECHECK(FlashMediaSetPan); #endif if (!PyArg_ParseTuple(_args, "O&hh", CmpInstObj_Convert, &mh, &xPercent, &yPercent)) return NULL; _rv = FlashMediaSetPan(mh, xPercent, yPercent); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_FlashMediaSetZoom(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short factor; #ifndef FlashMediaSetZoom PyMac_PRECHECK(FlashMediaSetZoom); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &mh, &factor)) return NULL; _rv = FlashMediaSetZoom(mh, factor); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_FlashMediaSetZoomRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long left; long top; long right; long bottom; #ifndef FlashMediaSetZoomRect PyMac_PRECHECK(FlashMediaSetZoomRect); #endif if (!PyArg_ParseTuple(_args, "O&llll", CmpInstObj_Convert, &mh, &left, &top, &right, &bottom)) return NULL; _rv = FlashMediaSetZoomRect(mh, left, top, right, bottom); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_FlashMediaGetRefConBounds(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long refCon; long left; long top; long right; long bottom; #ifndef FlashMediaGetRefConBounds PyMac_PRECHECK(FlashMediaGetRefConBounds); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &refCon)) return NULL; _rv = FlashMediaGetRefConBounds(mh, refCon, &left, &top, &right, &bottom); _res = Py_BuildValue("lllll", _rv, left, top, right, bottom); return _res; } static PyObject *Qt_FlashMediaGetRefConID(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long refCon; long refConID; #ifndef FlashMediaGetRefConID PyMac_PRECHECK(FlashMediaGetRefConID); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &refCon)) return NULL; _rv = FlashMediaGetRefConID(mh, refCon, &refConID); _res = Py_BuildValue("ll", _rv, refConID); return _res; } static PyObject *Qt_FlashMediaIDToRefCon(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long refConID; long refCon; #ifndef FlashMediaIDToRefCon PyMac_PRECHECK(FlashMediaIDToRefCon); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &refConID)) return NULL; _rv = FlashMediaIDToRefCon(mh, refConID, &refCon); _res = Py_BuildValue("ll", _rv, refCon); return _res; } static PyObject *Qt_FlashMediaGetDisplayedFrameNumber(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long flashFrameNumber; #ifndef FlashMediaGetDisplayedFrameNumber PyMac_PRECHECK(FlashMediaGetDisplayedFrameNumber); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = FlashMediaGetDisplayedFrameNumber(mh, &flashFrameNumber); _res = Py_BuildValue("ll", _rv, flashFrameNumber); return _res; } static PyObject *Qt_FlashMediaFrameNumberToMovieTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long flashFrameNumber; TimeValue movieTime; #ifndef FlashMediaFrameNumberToMovieTime PyMac_PRECHECK(FlashMediaFrameNumberToMovieTime); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &flashFrameNumber)) return NULL; _rv = FlashMediaFrameNumberToMovieTime(mh, flashFrameNumber, &movieTime); _res = Py_BuildValue("ll", _rv, movieTime); return _res; } static PyObject *Qt_FlashMediaFrameLabelToMovieTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Ptr theLabel; TimeValue movieTime; #ifndef FlashMediaFrameLabelToMovieTime PyMac_PRECHECK(FlashMediaFrameLabelToMovieTime); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &mh, &theLabel)) return NULL; _rv = FlashMediaFrameLabelToMovieTime(mh, theLabel, &movieTime); _res = Py_BuildValue("ll", _rv, movieTime); return _res; } static PyObject *Qt_FlashMediaGetFlashVariable(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; char path; char name; Handle theVariableCStringOut; #ifndef FlashMediaGetFlashVariable PyMac_PRECHECK(FlashMediaGetFlashVariable); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = FlashMediaGetFlashVariable(mh, &path, &name, &theVariableCStringOut); _res = Py_BuildValue("lccO&", _rv, path, name, ResObj_New, theVariableCStringOut); return _res; } static PyObject *Qt_FlashMediaSetFlashVariable(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; char path; char name; char value; Boolean updateFocus; #ifndef FlashMediaSetFlashVariable PyMac_PRECHECK(FlashMediaSetFlashVariable); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &mh, &updateFocus)) return NULL; _rv = FlashMediaSetFlashVariable(mh, &path, &name, &value, updateFocus); _res = Py_BuildValue("lccc", _rv, path, name, value); return _res; } static PyObject *Qt_FlashMediaDoButtonActions(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; char path; long buttonID; long transition; #ifndef FlashMediaDoButtonActions PyMac_PRECHECK(FlashMediaDoButtonActions); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mh, &buttonID, &transition)) return NULL; _rv = FlashMediaDoButtonActions(mh, &path, buttonID, transition); _res = Py_BuildValue("lc", _rv, path); return _res; } static PyObject *Qt_FlashMediaGetSupportedSwfVersion(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; UInt8 swfVersion; #ifndef FlashMediaGetSupportedSwfVersion PyMac_PRECHECK(FlashMediaGetSupportedSwfVersion); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = FlashMediaGetSupportedSwfVersion(mh, &swfVersion); _res = Py_BuildValue("lb", _rv, swfVersion); return _res; } static PyObject *Qt_Media3DGetCurrentGroup(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; void * group; #ifndef Media3DGetCurrentGroup PyMac_PRECHECK(Media3DGetCurrentGroup); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &mh, &group)) return NULL; _rv = Media3DGetCurrentGroup(mh, group); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_Media3DTranslateNamedObjectTo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; char objectName; Fixed x; Fixed y; Fixed z; #ifndef Media3DTranslateNamedObjectTo PyMac_PRECHECK(Media3DTranslateNamedObjectTo); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&", CmpInstObj_Convert, &mh, PyMac_GetFixed, &x, PyMac_GetFixed, &y, PyMac_GetFixed, &z)) return NULL; _rv = Media3DTranslateNamedObjectTo(mh, &objectName, x, y, z); _res = Py_BuildValue("lc", _rv, objectName); return _res; } static PyObject *Qt_Media3DScaleNamedObjectTo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; char objectName; Fixed xScale; Fixed yScale; Fixed zScale; #ifndef Media3DScaleNamedObjectTo PyMac_PRECHECK(Media3DScaleNamedObjectTo); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&", CmpInstObj_Convert, &mh, PyMac_GetFixed, &xScale, PyMac_GetFixed, &yScale, PyMac_GetFixed, &zScale)) return NULL; _rv = Media3DScaleNamedObjectTo(mh, &objectName, xScale, yScale, zScale); _res = Py_BuildValue("lc", _rv, objectName); return _res; } static PyObject *Qt_Media3DRotateNamedObjectTo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; char objectName; Fixed xDegrees; Fixed yDegrees; Fixed zDegrees; #ifndef Media3DRotateNamedObjectTo PyMac_PRECHECK(Media3DRotateNamedObjectTo); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&", CmpInstObj_Convert, &mh, PyMac_GetFixed, &xDegrees, PyMac_GetFixed, &yDegrees, PyMac_GetFixed, &zDegrees)) return NULL; _rv = Media3DRotateNamedObjectTo(mh, &objectName, xDegrees, yDegrees, zDegrees); _res = Py_BuildValue("lc", _rv, objectName); return _res; } static PyObject *Qt_Media3DSetCameraData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; void * cameraData; #ifndef Media3DSetCameraData PyMac_PRECHECK(Media3DSetCameraData); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &mh, &cameraData)) return NULL; _rv = Media3DSetCameraData(mh, cameraData); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_Media3DGetCameraData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; void * cameraData; #ifndef Media3DGetCameraData PyMac_PRECHECK(Media3DGetCameraData); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &mh, &cameraData)) return NULL; _rv = Media3DGetCameraData(mh, cameraData); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_Media3DSetCameraAngleAspect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTFloatSingle fov; QTFloatSingle aspectRatioXToY; #ifndef Media3DSetCameraAngleAspect PyMac_PRECHECK(Media3DSetCameraAngleAspect); #endif if (!PyArg_ParseTuple(_args, "O&ff", CmpInstObj_Convert, &mh, &fov, &aspectRatioXToY)) return NULL; _rv = Media3DSetCameraAngleAspect(mh, fov, aspectRatioXToY); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_Media3DGetCameraAngleAspect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; QTFloatSingle fov; QTFloatSingle aspectRatioXToY; #ifndef Media3DGetCameraAngleAspect PyMac_PRECHECK(Media3DGetCameraAngleAspect); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = Media3DGetCameraAngleAspect(mh, &fov, &aspectRatioXToY); _res = Py_BuildValue("lff", _rv, fov, aspectRatioXToY); return _res; } static PyObject *Qt_Media3DSetCameraRange(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; void * tQ3CameraRange; #ifndef Media3DSetCameraRange PyMac_PRECHECK(Media3DSetCameraRange); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &mh, &tQ3CameraRange)) return NULL; _rv = Media3DSetCameraRange(mh, tQ3CameraRange); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_Media3DGetCameraRange(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; void * tQ3CameraRange; #ifndef Media3DGetCameraRange PyMac_PRECHECK(Media3DGetCameraRange); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &mh, &tQ3CameraRange)) return NULL; _rv = Media3DGetCameraRange(mh, tQ3CameraRange); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_NewTimeBase(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeBase _rv; #ifndef NewTimeBase PyMac_PRECHECK(NewTimeBase); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _rv = NewTimeBase(); _res = Py_BuildValue("O&", TimeBaseObj_New, _rv); return _res; } static PyObject *Qt_ConvertTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeRecord theTime; TimeBase newBase; #ifndef ConvertTime PyMac_PRECHECK(ConvertTime); #endif if (!PyArg_ParseTuple(_args, "O&O&", QtTimeRecord_Convert, &theTime, TimeBaseObj_Convert, &newBase)) return NULL; ConvertTime(&theTime, newBase); _res = Py_BuildValue("O&", QtTimeRecord_New, &theTime); return _res; } static PyObject *Qt_ConvertTimeScale(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeRecord theTime; TimeScale newScale; #ifndef ConvertTimeScale PyMac_PRECHECK(ConvertTimeScale); #endif if (!PyArg_ParseTuple(_args, "O&l", QtTimeRecord_Convert, &theTime, &newScale)) return NULL; ConvertTimeScale(&theTime, newScale); _res = Py_BuildValue("O&", QtTimeRecord_New, &theTime); return _res; } static PyObject *Qt_AddTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeRecord dst; TimeRecord src; #ifndef AddTime PyMac_PRECHECK(AddTime); #endif if (!PyArg_ParseTuple(_args, "O&O&", QtTimeRecord_Convert, &dst, QtTimeRecord_Convert, &src)) return NULL; AddTime(&dst, &src); _res = Py_BuildValue("O&", QtTimeRecord_New, &dst); return _res; } static PyObject *Qt_SubtractTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; TimeRecord dst; TimeRecord src; #ifndef SubtractTime PyMac_PRECHECK(SubtractTime); #endif if (!PyArg_ParseTuple(_args, "O&O&", QtTimeRecord_Convert, &dst, QtTimeRecord_Convert, &src)) return NULL; SubtractTime(&dst, &src); _res = Py_BuildValue("O&", QtTimeRecord_New, &dst); return _res; } static PyObject *Qt_MusicMediaGetIndexedTunePlayer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ti; long sampleDescIndex; ComponentInstance tp; #ifndef MusicMediaGetIndexedTunePlayer PyMac_PRECHECK(MusicMediaGetIndexedTunePlayer); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ti, &sampleDescIndex)) return NULL; _rv = MusicMediaGetIndexedTunePlayer(ti, sampleDescIndex, &tp); _res = Py_BuildValue("lO&", _rv, CmpInstObj_New, tp); return _res; } static PyObject *Qt_CodecManagerVersion(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; long version; #ifndef CodecManagerVersion PyMac_PRECHECK(CodecManagerVersion); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = CodecManagerVersion(&version); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", version); return _res; } static PyObject *Qt_GetMaxCompressionSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; PixMapHandle src; Rect srcRect; short colorDepth; CodecQ quality; CodecType cType; CompressorComponent codec; long size; #ifndef GetMaxCompressionSize PyMac_PRECHECK(GetMaxCompressionSize); #endif if (!PyArg_ParseTuple(_args, "O&O&hlO&O&", ResObj_Convert, &src, PyMac_GetRect, &srcRect, &colorDepth, &quality, PyMac_GetOSType, &cType, CmpObj_Convert, &codec)) return NULL; _err = GetMaxCompressionSize(src, &srcRect, colorDepth, quality, cType, codec, &size); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", size); return _res; } static PyObject *Qt_GetCompressionTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; PixMapHandle src; Rect srcRect; short colorDepth; CodecType cType; CompressorComponent codec; CodecQ spatialQuality; CodecQ temporalQuality; unsigned long compressTime; #ifndef GetCompressionTime PyMac_PRECHECK(GetCompressionTime); #endif if (!PyArg_ParseTuple(_args, "O&O&hO&O&", ResObj_Convert, &src, PyMac_GetRect, &srcRect, &colorDepth, PyMac_GetOSType, &cType, CmpObj_Convert, &codec)) return NULL; _err = GetCompressionTime(src, &srcRect, colorDepth, cType, codec, &spatialQuality, &temporalQuality, &compressTime); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("lll", spatialQuality, temporalQuality, compressTime); return _res; } static PyObject *Qt_CompressImage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; PixMapHandle src; Rect srcRect; CodecQ quality; CodecType cType; ImageDescriptionHandle desc; Ptr data; #ifndef CompressImage PyMac_PRECHECK(CompressImage); #endif if (!PyArg_ParseTuple(_args, "O&O&lO&O&s", ResObj_Convert, &src, PyMac_GetRect, &srcRect, &quality, PyMac_GetOSType, &cType, ResObj_Convert, &desc, &data)) return NULL; _err = CompressImage(src, &srcRect, quality, cType, desc, data); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_DecompressImage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Ptr data; ImageDescriptionHandle desc; PixMapHandle dst; Rect srcRect; Rect dstRect; short mode; RgnHandle mask; #ifndef DecompressImage PyMac_PRECHECK(DecompressImage); #endif if (!PyArg_ParseTuple(_args, "sO&O&O&O&hO&", &data, ResObj_Convert, &desc, ResObj_Convert, &dst, PyMac_GetRect, &srcRect, PyMac_GetRect, &dstRect, &mode, ResObj_Convert, &mask)) return NULL; _err = DecompressImage(data, desc, dst, &srcRect, &dstRect, mode, mask); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_GetSimilarity(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; PixMapHandle src; Rect srcRect; ImageDescriptionHandle desc; Ptr data; Fixed similarity; #ifndef GetSimilarity PyMac_PRECHECK(GetSimilarity); #endif if (!PyArg_ParseTuple(_args, "O&O&O&s", ResObj_Convert, &src, PyMac_GetRect, &srcRect, ResObj_Convert, &desc, &data)) return NULL; _err = GetSimilarity(src, &srcRect, desc, data, &similarity); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", PyMac_BuildFixed, similarity); return _res; } static PyObject *Qt_GetImageDescriptionCTable(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; ImageDescriptionHandle desc; CTabHandle ctable; #ifndef GetImageDescriptionCTable PyMac_PRECHECK(GetImageDescriptionCTable); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &desc)) return NULL; _err = GetImageDescriptionCTable(desc, &ctable); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", ResObj_New, ctable); return _res; } static PyObject *Qt_SetImageDescriptionCTable(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; ImageDescriptionHandle desc; CTabHandle ctable; #ifndef SetImageDescriptionCTable PyMac_PRECHECK(SetImageDescriptionCTable); #endif if (!PyArg_ParseTuple(_args, "O&O&", ResObj_Convert, &desc, ResObj_Convert, &ctable)) return NULL; _err = SetImageDescriptionCTable(desc, ctable); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_GetImageDescriptionExtension(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; ImageDescriptionHandle desc; Handle extension; long idType; long index; #ifndef GetImageDescriptionExtension PyMac_PRECHECK(GetImageDescriptionExtension); #endif if (!PyArg_ParseTuple(_args, "O&ll", ResObj_Convert, &desc, &idType, &index)) return NULL; _err = GetImageDescriptionExtension(desc, &extension, idType, index); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", ResObj_New, extension); return _res; } static PyObject *Qt_AddImageDescriptionExtension(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; ImageDescriptionHandle desc; Handle extension; long idType; #ifndef AddImageDescriptionExtension PyMac_PRECHECK(AddImageDescriptionExtension); #endif if (!PyArg_ParseTuple(_args, "O&O&l", ResObj_Convert, &desc, ResObj_Convert, &extension, &idType)) return NULL; _err = AddImageDescriptionExtension(desc, extension, idType); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_RemoveImageDescriptionExtension(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; ImageDescriptionHandle desc; long idType; long index; #ifndef RemoveImageDescriptionExtension PyMac_PRECHECK(RemoveImageDescriptionExtension); #endif if (!PyArg_ParseTuple(_args, "O&ll", ResObj_Convert, &desc, &idType, &index)) return NULL; _err = RemoveImageDescriptionExtension(desc, idType, index); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_CountImageDescriptionExtensionType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; ImageDescriptionHandle desc; long idType; long count; #ifndef CountImageDescriptionExtensionType PyMac_PRECHECK(CountImageDescriptionExtensionType); #endif if (!PyArg_ParseTuple(_args, "O&l", ResObj_Convert, &desc, &idType)) return NULL; _err = CountImageDescriptionExtensionType(desc, idType, &count); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", count); return _res; } static PyObject *Qt_GetNextImageDescriptionExtensionType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; ImageDescriptionHandle desc; long idType; #ifndef GetNextImageDescriptionExtensionType PyMac_PRECHECK(GetNextImageDescriptionExtensionType); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &desc)) return NULL; _err = GetNextImageDescriptionExtensionType(desc, &idType); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("l", idType); return _res; } static PyObject *Qt_FindCodec(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; CodecType cType; CodecComponent specCodec; CompressorComponent compressor; DecompressorComponent decompressor; #ifndef FindCodec PyMac_PRECHECK(FindCodec); #endif if (!PyArg_ParseTuple(_args, "O&O&", PyMac_GetOSType, &cType, CmpObj_Convert, &specCodec)) return NULL; _err = FindCodec(cType, specCodec, &compressor, &decompressor); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&O&", CmpObj_New, compressor, CmpObj_New, decompressor); return _res; } static PyObject *Qt_CompressPicture(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; PicHandle srcPicture; PicHandle dstPicture; CodecQ quality; CodecType cType; #ifndef CompressPicture PyMac_PRECHECK(CompressPicture); #endif if (!PyArg_ParseTuple(_args, "O&O&lO&", ResObj_Convert, &srcPicture, ResObj_Convert, &dstPicture, &quality, PyMac_GetOSType, &cType)) return NULL; _err = CompressPicture(srcPicture, dstPicture, quality, cType); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_CompressPictureFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short srcRefNum; short dstRefNum; CodecQ quality; CodecType cType; #ifndef CompressPictureFile PyMac_PRECHECK(CompressPictureFile); #endif if (!PyArg_ParseTuple(_args, "hhlO&", &srcRefNum, &dstRefNum, &quality, PyMac_GetOSType, &cType)) return NULL; _err = CompressPictureFile(srcRefNum, dstRefNum, quality, cType); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_ConvertImage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; ImageDescriptionHandle srcDD; Ptr srcData; short colorDepth; CTabHandle ctable; CodecQ accuracy; CodecQ quality; CodecType cType; CodecComponent codec; ImageDescriptionHandle dstDD; Ptr dstData; #ifndef ConvertImage PyMac_PRECHECK(ConvertImage); #endif if (!PyArg_ParseTuple(_args, "O&shO&llO&O&O&s", ResObj_Convert, &srcDD, &srcData, &colorDepth, ResObj_Convert, &ctable, &accuracy, &quality, PyMac_GetOSType, &cType, CmpObj_Convert, &codec, ResObj_Convert, &dstDD, &dstData)) return NULL; _err = ConvertImage(srcDD, srcData, colorDepth, ctable, accuracy, quality, cType, codec, dstDD, dstData); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_AddFilePreview(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; short resRefNum; OSType previewType; Handle previewData; #ifndef AddFilePreview PyMac_PRECHECK(AddFilePreview); #endif if (!PyArg_ParseTuple(_args, "hO&O&", &resRefNum, PyMac_GetOSType, &previewType, ResObj_Convert, &previewData)) return NULL; _err = AddFilePreview(resRefNum, previewType, previewData); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_GetBestDeviceRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; GDHandle gdh; Rect rp; #ifndef GetBestDeviceRect PyMac_PRECHECK(GetBestDeviceRect); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; _err = GetBestDeviceRect(&gdh, &rp); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&O&", OptResObj_New, gdh, PyMac_BuildRect, &rp); return _res; } static PyObject *Qt_GDHasScale(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; GDHandle gdh; short depth; Fixed scale; #ifndef GDHasScale PyMac_PRECHECK(GDHasScale); #endif if (!PyArg_ParseTuple(_args, "O&h", OptResObj_Convert, &gdh, &depth)) return NULL; _err = GDHasScale(gdh, depth, &scale); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", PyMac_BuildFixed, scale); return _res; } static PyObject *Qt_GDGetScale(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; GDHandle gdh; Fixed scale; short flags; #ifndef GDGetScale PyMac_PRECHECK(GDGetScale); #endif if (!PyArg_ParseTuple(_args, "O&", OptResObj_Convert, &gdh)) return NULL; _err = GDGetScale(gdh, &scale, &flags); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&h", PyMac_BuildFixed, scale, flags); return _res; } static PyObject *Qt_GDSetScale(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; GDHandle gdh; Fixed scale; short flags; #ifndef GDSetScale PyMac_PRECHECK(GDSetScale); #endif if (!PyArg_ParseTuple(_args, "O&O&h", OptResObj_Convert, &gdh, PyMac_GetFixed, &scale, &flags)) return NULL; _err = GDSetScale(gdh, scale, flags); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_GetGraphicsImporterForFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; FSSpec theFile; ComponentInstance gi; #ifndef GetGraphicsImporterForFile PyMac_PRECHECK(GetGraphicsImporterForFile); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetFSSpec, &theFile)) return NULL; _err = GetGraphicsImporterForFile(&theFile, &gi); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", CmpInstObj_New, gi); return _res; } static PyObject *Qt_GetGraphicsImporterForDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle dataRef; OSType dataRefType; ComponentInstance gi; #ifndef GetGraphicsImporterForDataRef PyMac_PRECHECK(GetGraphicsImporterForDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&", ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType)) return NULL; _err = GetGraphicsImporterForDataRef(dataRef, dataRefType, &gi); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", CmpInstObj_New, gi); return _res; } static PyObject *Qt_GetGraphicsImporterForFileWithFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; FSSpec theFile; ComponentInstance gi; long flags; #ifndef GetGraphicsImporterForFileWithFlags PyMac_PRECHECK(GetGraphicsImporterForFileWithFlags); #endif if (!PyArg_ParseTuple(_args, "O&l", PyMac_GetFSSpec, &theFile, &flags)) return NULL; _err = GetGraphicsImporterForFileWithFlags(&theFile, &gi, flags); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", CmpInstObj_New, gi); return _res; } static PyObject *Qt_GetGraphicsImporterForDataRefWithFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; Handle dataRef; OSType dataRefType; ComponentInstance gi; long flags; #ifndef GetGraphicsImporterForDataRefWithFlags PyMac_PRECHECK(GetGraphicsImporterForDataRefWithFlags); #endif if (!PyArg_ParseTuple(_args, "O&O&l", ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, &flags)) return NULL; _err = GetGraphicsImporterForDataRefWithFlags(dataRef, dataRefType, &gi, flags); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", CmpInstObj_New, gi); return _res; } static PyObject *Qt_MakeImageDescriptionForPixMap(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; PixMapHandle pixmap; ImageDescriptionHandle idh; #ifndef MakeImageDescriptionForPixMap PyMac_PRECHECK(MakeImageDescriptionForPixMap); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &pixmap)) return NULL; _err = MakeImageDescriptionForPixMap(pixmap, &idh); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", ResObj_New, idh); return _res; } static PyObject *Qt_MakeImageDescriptionForEffect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; OSType effectType; ImageDescriptionHandle idh; #ifndef MakeImageDescriptionForEffect PyMac_PRECHECK(MakeImageDescriptionForEffect); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetOSType, &effectType)) return NULL; _err = MakeImageDescriptionForEffect(effectType, &idh); if (_err != noErr) return PyMac_Error(_err); _res = Py_BuildValue("O&", ResObj_New, idh); return _res; } static PyObject *Qt_QTGetPixelSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; short _rv; OSType PixelFormat; #ifndef QTGetPixelSize PyMac_PRECHECK(QTGetPixelSize); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetOSType, &PixelFormat)) return NULL; _rv = QTGetPixelSize(PixelFormat); _res = Py_BuildValue("h", _rv); return _res; } static PyObject *Qt_QTGetPixelFormatDepthForImageDescription(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; short _rv; OSType PixelFormat; #ifndef QTGetPixelFormatDepthForImageDescription PyMac_PRECHECK(QTGetPixelFormatDepthForImageDescription); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetOSType, &PixelFormat)) return NULL; _rv = QTGetPixelFormatDepthForImageDescription(PixelFormat); _res = Py_BuildValue("h", _rv); return _res; } static PyObject *Qt_QTGetPixMapHandleRowBytes(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; PixMapHandle pm; #ifndef QTGetPixMapHandleRowBytes PyMac_PRECHECK(QTGetPixMapHandleRowBytes); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &pm)) return NULL; _rv = QTGetPixMapHandleRowBytes(pm); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_QTSetPixMapHandleRowBytes(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; PixMapHandle pm; long rowBytes; #ifndef QTSetPixMapHandleRowBytes PyMac_PRECHECK(QTSetPixMapHandleRowBytes); #endif if (!PyArg_ParseTuple(_args, "O&l", ResObj_Convert, &pm, &rowBytes)) return NULL; _err = QTSetPixMapHandleRowBytes(pm, rowBytes); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_QTGetPixMapHandleGammaLevel(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; PixMapHandle pm; #ifndef QTGetPixMapHandleGammaLevel PyMac_PRECHECK(QTGetPixMapHandleGammaLevel); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &pm)) return NULL; _rv = QTGetPixMapHandleGammaLevel(pm); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *Qt_QTSetPixMapHandleGammaLevel(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; PixMapHandle pm; Fixed gammaLevel; #ifndef QTSetPixMapHandleGammaLevel PyMac_PRECHECK(QTSetPixMapHandleGammaLevel); #endif if (!PyArg_ParseTuple(_args, "O&O&", ResObj_Convert, &pm, PyMac_GetFixed, &gammaLevel)) return NULL; _err = QTSetPixMapHandleGammaLevel(pm, gammaLevel); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_QTGetPixMapHandleRequestedGammaLevel(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; PixMapHandle pm; #ifndef QTGetPixMapHandleRequestedGammaLevel PyMac_PRECHECK(QTGetPixMapHandleRequestedGammaLevel); #endif if (!PyArg_ParseTuple(_args, "O&", ResObj_Convert, &pm)) return NULL; _rv = QTGetPixMapHandleRequestedGammaLevel(pm); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *Qt_QTSetPixMapHandleRequestedGammaLevel(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; OSErr _err; PixMapHandle pm; Fixed requestedGammaLevel; #ifndef QTSetPixMapHandleRequestedGammaLevel PyMac_PRECHECK(QTSetPixMapHandleRequestedGammaLevel); #endif if (!PyArg_ParseTuple(_args, "O&O&", ResObj_Convert, &pm, PyMac_GetFixed, &requestedGammaLevel)) return NULL; _err = QTSetPixMapHandleRequestedGammaLevel(pm, requestedGammaLevel); if (_err != noErr) return PyMac_Error(_err); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_CompAdd(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; wide src; wide dst; #ifndef CompAdd PyMac_PRECHECK(CompAdd); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; CompAdd(&src, &dst); _res = Py_BuildValue("O&O&", PyMac_Buildwide, src, PyMac_Buildwide, dst); return _res; } static PyObject *Qt_CompSub(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; wide src; wide dst; #ifndef CompSub PyMac_PRECHECK(CompSub); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; CompSub(&src, &dst); _res = Py_BuildValue("O&O&", PyMac_Buildwide, src, PyMac_Buildwide, dst); return _res; } static PyObject *Qt_CompNeg(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; wide dst; #ifndef CompNeg PyMac_PRECHECK(CompNeg); #endif if (!PyArg_ParseTuple(_args, "")) return NULL; CompNeg(&dst); _res = Py_BuildValue("O&", PyMac_Buildwide, dst); return _res; } static PyObject *Qt_CompShift(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; wide src; short shift; #ifndef CompShift PyMac_PRECHECK(CompShift); #endif if (!PyArg_ParseTuple(_args, "h", &shift)) return NULL; CompShift(&src, shift); _res = Py_BuildValue("O&", PyMac_Buildwide, src); return _res; } static PyObject *Qt_CompMul(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; long src1; long src2; wide dst; #ifndef CompMul PyMac_PRECHECK(CompMul); #endif if (!PyArg_ParseTuple(_args, "ll", &src1, &src2)) return NULL; CompMul(src1, src2, &dst); _res = Py_BuildValue("O&", PyMac_Buildwide, dst); return _res; } static PyObject *Qt_CompDiv(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; wide numerator; long denominator; long remainder; #ifndef CompDiv PyMac_PRECHECK(CompDiv); #endif if (!PyArg_ParseTuple(_args, "l", &denominator)) return NULL; _rv = CompDiv(&numerator, denominator, &remainder); _res = Py_BuildValue("lO&l", _rv, PyMac_Buildwide, numerator, remainder); return _res; } static PyObject *Qt_CompFixMul(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; wide compSrc; Fixed fixSrc; wide compDst; #ifndef CompFixMul PyMac_PRECHECK(CompFixMul); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetFixed, &fixSrc)) return NULL; CompFixMul(&compSrc, fixSrc, &compDst); _res = Py_BuildValue("O&O&", PyMac_Buildwide, compSrc, PyMac_Buildwide, compDst); return _res; } static PyObject *Qt_CompMulDiv(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; wide co; long mul; long divisor; #ifndef CompMulDiv PyMac_PRECHECK(CompMulDiv); #endif if (!PyArg_ParseTuple(_args, "ll", &mul, &divisor)) return NULL; CompMulDiv(&co, mul, divisor); _res = Py_BuildValue("O&", PyMac_Buildwide, co); return _res; } static PyObject *Qt_CompMulDivTrunc(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; wide co; long mul; long divisor; long remainder; #ifndef CompMulDivTrunc PyMac_PRECHECK(CompMulDivTrunc); #endif if (!PyArg_ParseTuple(_args, "ll", &mul, &divisor)) return NULL; CompMulDivTrunc(&co, mul, divisor, &remainder); _res = Py_BuildValue("O&l", PyMac_Buildwide, co, remainder); return _res; } static PyObject *Qt_CompCompare(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; wide a; wide minusb; #ifndef CompCompare PyMac_PRECHECK(CompCompare); #endif if (!PyArg_ParseTuple(_args, "O&O&", PyMac_Getwide, &a, PyMac_Getwide, &minusb)) return NULL; _rv = CompCompare(&a, &minusb); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_CompSquareRoot(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; unsigned long _rv; wide src; #ifndef CompSquareRoot PyMac_PRECHECK(CompSquareRoot); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_Getwide, &src)) return NULL; _rv = CompSquareRoot(&src); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_FixMulDiv(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; Fixed src; Fixed mul; Fixed divisor; #ifndef FixMulDiv PyMac_PRECHECK(FixMulDiv); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", PyMac_GetFixed, &src, PyMac_GetFixed, &mul, PyMac_GetFixed, &divisor)) return NULL; _rv = FixMulDiv(src, mul, divisor); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *Qt_UnsignedFixMulDiv(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; Fixed src; Fixed mul; Fixed divisor; #ifndef UnsignedFixMulDiv PyMac_PRECHECK(UnsignedFixMulDiv); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", PyMac_GetFixed, &src, PyMac_GetFixed, &mul, PyMac_GetFixed, &divisor)) return NULL; _rv = UnsignedFixMulDiv(src, mul, divisor); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *Qt_FixExp2(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; Fixed src; #ifndef FixExp2 PyMac_PRECHECK(FixExp2); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetFixed, &src)) return NULL; _rv = FixExp2(src); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *Qt_FixLog2(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; Fixed src; #ifndef FixLog2 PyMac_PRECHECK(FixLog2); #endif if (!PyArg_ParseTuple(_args, "O&", PyMac_GetFixed, &src)) return NULL; _rv = FixLog2(src); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *Qt_FixPow(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; Fixed base; Fixed exp; #ifndef FixPow PyMac_PRECHECK(FixPow); #endif if (!PyArg_ParseTuple(_args, "O&O&", PyMac_GetFixed, &base, PyMac_GetFixed, &exp)) return NULL; _rv = FixPow(base, exp); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *Qt_GraphicsImportSetDataReference(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Handle dataRef; OSType dataReType; #ifndef GraphicsImportSetDataReference PyMac_PRECHECK(GraphicsImportSetDataReference); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataReType)) return NULL; _rv = GraphicsImportSetDataReference(ci, dataRef, dataReType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetDataReference(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Handle dataRef; OSType dataReType; #ifndef GraphicsImportGetDataReference PyMac_PRECHECK(GraphicsImportGetDataReference); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetDataReference(ci, &dataRef, &dataReType); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, dataRef, PyMac_BuildOSType, dataReType); return _res; } static PyObject *Qt_GraphicsImportSetDataFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; FSSpec theFile; #ifndef GraphicsImportSetDataFile PyMac_PRECHECK(GraphicsImportSetDataFile); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &theFile)) return NULL; _rv = GraphicsImportSetDataFile(ci, &theFile); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetDataFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; FSSpec theFile; #ifndef GraphicsImportGetDataFile PyMac_PRECHECK(GraphicsImportGetDataFile); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &theFile)) return NULL; _rv = GraphicsImportGetDataFile(ci, &theFile); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportSetDataHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Handle h; #ifndef GraphicsImportSetDataHandle PyMac_PRECHECK(GraphicsImportSetDataHandle); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &h)) return NULL; _rv = GraphicsImportSetDataHandle(ci, h); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetDataHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Handle h; #ifndef GraphicsImportGetDataHandle PyMac_PRECHECK(GraphicsImportGetDataHandle); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetDataHandle(ci, &h); _res = Py_BuildValue("lO&", _rv, ResObj_New, h); return _res; } static PyObject *Qt_GraphicsImportGetImageDescription(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; ImageDescriptionHandle desc; #ifndef GraphicsImportGetImageDescription PyMac_PRECHECK(GraphicsImportGetImageDescription); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetImageDescription(ci, &desc); _res = Py_BuildValue("lO&", _rv, ResObj_New, desc); return _res; } static PyObject *Qt_GraphicsImportGetDataOffsetAndSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; unsigned long offset; unsigned long size; #ifndef GraphicsImportGetDataOffsetAndSize PyMac_PRECHECK(GraphicsImportGetDataOffsetAndSize); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetDataOffsetAndSize(ci, &offset, &size); _res = Py_BuildValue("lll", _rv, offset, size); return _res; } static PyObject *Qt_GraphicsImportReadData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; void * dataPtr; unsigned long dataOffset; unsigned long dataSize; #ifndef GraphicsImportReadData PyMac_PRECHECK(GraphicsImportReadData); #endif if (!PyArg_ParseTuple(_args, "O&sll", CmpInstObj_Convert, &ci, &dataPtr, &dataOffset, &dataSize)) return NULL; _rv = GraphicsImportReadData(ci, dataPtr, dataOffset, dataSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportSetClip(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; RgnHandle clipRgn; #ifndef GraphicsImportSetClip PyMac_PRECHECK(GraphicsImportSetClip); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &clipRgn)) return NULL; _rv = GraphicsImportSetClip(ci, clipRgn); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetClip(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; RgnHandle clipRgn; #ifndef GraphicsImportGetClip PyMac_PRECHECK(GraphicsImportGetClip); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetClip(ci, &clipRgn); _res = Py_BuildValue("lO&", _rv, ResObj_New, clipRgn); return _res; } static PyObject *Qt_GraphicsImportSetSourceRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Rect sourceRect; #ifndef GraphicsImportSetSourceRect PyMac_PRECHECK(GraphicsImportSetSourceRect); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetRect, &sourceRect)) return NULL; _rv = GraphicsImportSetSourceRect(ci, &sourceRect); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetSourceRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Rect sourceRect; #ifndef GraphicsImportGetSourceRect PyMac_PRECHECK(GraphicsImportGetSourceRect); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetSourceRect(ci, &sourceRect); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &sourceRect); return _res; } static PyObject *Qt_GraphicsImportGetNaturalBounds(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Rect naturalBounds; #ifndef GraphicsImportGetNaturalBounds PyMac_PRECHECK(GraphicsImportGetNaturalBounds); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetNaturalBounds(ci, &naturalBounds); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &naturalBounds); return _res; } static PyObject *Qt_GraphicsImportDraw(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; #ifndef GraphicsImportDraw PyMac_PRECHECK(GraphicsImportDraw); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportDraw(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportSetGWorld(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; CGrafPtr port; GDHandle gd; #ifndef GraphicsImportSetGWorld PyMac_PRECHECK(GraphicsImportSetGWorld); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, GrafObj_Convert, &port, OptResObj_Convert, &gd)) return NULL; _rv = GraphicsImportSetGWorld(ci, port, gd); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetGWorld(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; CGrafPtr port; GDHandle gd; #ifndef GraphicsImportGetGWorld PyMac_PRECHECK(GraphicsImportGetGWorld); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetGWorld(ci, &port, &gd); _res = Py_BuildValue("lO&O&", _rv, GrafObj_New, port, OptResObj_New, gd); return _res; } static PyObject *Qt_GraphicsImportSetBoundsRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Rect bounds; #ifndef GraphicsImportSetBoundsRect PyMac_PRECHECK(GraphicsImportSetBoundsRect); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetRect, &bounds)) return NULL; _rv = GraphicsImportSetBoundsRect(ci, &bounds); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetBoundsRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Rect bounds; #ifndef GraphicsImportGetBoundsRect PyMac_PRECHECK(GraphicsImportGetBoundsRect); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetBoundsRect(ci, &bounds); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &bounds); return _res; } static PyObject *Qt_GraphicsImportSaveAsPicture(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; FSSpec fss; ScriptCode scriptTag; #ifndef GraphicsImportSaveAsPicture PyMac_PRECHECK(GraphicsImportSaveAsPicture); #endif if (!PyArg_ParseTuple(_args, "O&O&h", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &fss, &scriptTag)) return NULL; _rv = GraphicsImportSaveAsPicture(ci, &fss, scriptTag); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportSetGraphicsMode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; long graphicsMode; RGBColor opColor; #ifndef GraphicsImportSetGraphicsMode PyMac_PRECHECK(GraphicsImportSetGraphicsMode); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &ci, &graphicsMode, QdRGB_Convert, &opColor)) return NULL; _rv = GraphicsImportSetGraphicsMode(ci, graphicsMode, &opColor); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetGraphicsMode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; long graphicsMode; RGBColor opColor; #ifndef GraphicsImportGetGraphicsMode PyMac_PRECHECK(GraphicsImportGetGraphicsMode); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetGraphicsMode(ci, &graphicsMode, &opColor); _res = Py_BuildValue("llO&", _rv, graphicsMode, QdRGB_New, &opColor); return _res; } static PyObject *Qt_GraphicsImportSetQuality(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; CodecQ quality; #ifndef GraphicsImportSetQuality PyMac_PRECHECK(GraphicsImportSetQuality); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &quality)) return NULL; _rv = GraphicsImportSetQuality(ci, quality); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetQuality(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; CodecQ quality; #ifndef GraphicsImportGetQuality PyMac_PRECHECK(GraphicsImportGetQuality); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetQuality(ci, &quality); _res = Py_BuildValue("ll", _rv, quality); return _res; } static PyObject *Qt_GraphicsImportSaveAsQuickTimeImageFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; FSSpec fss; ScriptCode scriptTag; #ifndef GraphicsImportSaveAsQuickTimeImageFile PyMac_PRECHECK(GraphicsImportSaveAsQuickTimeImageFile); #endif if (!PyArg_ParseTuple(_args, "O&O&h", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &fss, &scriptTag)) return NULL; _rv = GraphicsImportSaveAsQuickTimeImageFile(ci, &fss, scriptTag); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportSetDataReferenceOffsetAndLimit(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; unsigned long offset; unsigned long limit; #ifndef GraphicsImportSetDataReferenceOffsetAndLimit PyMac_PRECHECK(GraphicsImportSetDataReferenceOffsetAndLimit); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &ci, &offset, &limit)) return NULL; _rv = GraphicsImportSetDataReferenceOffsetAndLimit(ci, offset, limit); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetDataReferenceOffsetAndLimit(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; unsigned long offset; unsigned long limit; #ifndef GraphicsImportGetDataReferenceOffsetAndLimit PyMac_PRECHECK(GraphicsImportGetDataReferenceOffsetAndLimit); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetDataReferenceOffsetAndLimit(ci, &offset, &limit); _res = Py_BuildValue("lll", _rv, offset, limit); return _res; } static PyObject *Qt_GraphicsImportGetAliasedDataReference(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Handle dataRef; OSType dataRefType; #ifndef GraphicsImportGetAliasedDataReference PyMac_PRECHECK(GraphicsImportGetAliasedDataReference); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetAliasedDataReference(ci, &dataRef, &dataRefType); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, dataRef, PyMac_BuildOSType, dataRefType); return _res; } static PyObject *Qt_GraphicsImportValidate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Boolean valid; #ifndef GraphicsImportValidate PyMac_PRECHECK(GraphicsImportValidate); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportValidate(ci, &valid); _res = Py_BuildValue("lb", _rv, valid); return _res; } static PyObject *Qt_GraphicsImportGetMetaData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; void * userData; #ifndef GraphicsImportGetMetaData PyMac_PRECHECK(GraphicsImportGetMetaData); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &userData)) return NULL; _rv = GraphicsImportGetMetaData(ci, userData); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetMIMETypeList(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; void * qtAtomContainerPtr; #ifndef GraphicsImportGetMIMETypeList PyMac_PRECHECK(GraphicsImportGetMIMETypeList); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &qtAtomContainerPtr)) return NULL; _rv = GraphicsImportGetMIMETypeList(ci, qtAtomContainerPtr); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportDoesDrawAllPixels(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; short drawsAllPixels; #ifndef GraphicsImportDoesDrawAllPixels PyMac_PRECHECK(GraphicsImportDoesDrawAllPixels); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportDoesDrawAllPixels(ci, &drawsAllPixels); _res = Py_BuildValue("lh", _rv, drawsAllPixels); return _res; } static PyObject *Qt_GraphicsImportGetAsPicture(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; PicHandle picture; #ifndef GraphicsImportGetAsPicture PyMac_PRECHECK(GraphicsImportGetAsPicture); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetAsPicture(ci, &picture); _res = Py_BuildValue("lO&", _rv, ResObj_New, picture); return _res; } static PyObject *Qt_GraphicsImportExportImageFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; OSType fileType; OSType fileCreator; FSSpec fss; ScriptCode scriptTag; #ifndef GraphicsImportExportImageFile PyMac_PRECHECK(GraphicsImportExportImageFile); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&h", CmpInstObj_Convert, &ci, PyMac_GetOSType, &fileType, PyMac_GetOSType, &fileCreator, PyMac_GetFSSpec, &fss, &scriptTag)) return NULL; _rv = GraphicsImportExportImageFile(ci, fileType, fileCreator, &fss, scriptTag); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetExportImageTypeList(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; void * qtAtomContainerPtr; #ifndef GraphicsImportGetExportImageTypeList PyMac_PRECHECK(GraphicsImportGetExportImageTypeList); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &qtAtomContainerPtr)) return NULL; _rv = GraphicsImportGetExportImageTypeList(ci, qtAtomContainerPtr); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetExportSettingsAsAtomContainer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; void * qtAtomContainerPtr; #ifndef GraphicsImportGetExportSettingsAsAtomContainer PyMac_PRECHECK(GraphicsImportGetExportSettingsAsAtomContainer); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &qtAtomContainerPtr)) return NULL; _rv = GraphicsImportGetExportSettingsAsAtomContainer(ci, qtAtomContainerPtr); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportSetExportSettingsFromAtomContainer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; void * qtAtomContainer; #ifndef GraphicsImportSetExportSettingsFromAtomContainer PyMac_PRECHECK(GraphicsImportSetExportSettingsFromAtomContainer); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &qtAtomContainer)) return NULL; _rv = GraphicsImportSetExportSettingsFromAtomContainer(ci, qtAtomContainer); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetImageCount(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; unsigned long imageCount; #ifndef GraphicsImportGetImageCount PyMac_PRECHECK(GraphicsImportGetImageCount); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetImageCount(ci, &imageCount); _res = Py_BuildValue("ll", _rv, imageCount); return _res; } static PyObject *Qt_GraphicsImportSetImageIndex(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; unsigned long imageIndex; #ifndef GraphicsImportSetImageIndex PyMac_PRECHECK(GraphicsImportSetImageIndex); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &imageIndex)) return NULL; _rv = GraphicsImportSetImageIndex(ci, imageIndex); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetImageIndex(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; unsigned long imageIndex; #ifndef GraphicsImportGetImageIndex PyMac_PRECHECK(GraphicsImportGetImageIndex); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetImageIndex(ci, &imageIndex); _res = Py_BuildValue("ll", _rv, imageIndex); return _res; } static PyObject *Qt_GraphicsImportGetDataOffsetAndSize64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; wide offset; wide size; #ifndef GraphicsImportGetDataOffsetAndSize64 PyMac_PRECHECK(GraphicsImportGetDataOffsetAndSize64); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetDataOffsetAndSize64(ci, &offset, &size); _res = Py_BuildValue("lO&O&", _rv, PyMac_Buildwide, offset, PyMac_Buildwide, size); return _res; } static PyObject *Qt_GraphicsImportReadData64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; void * dataPtr; wide dataOffset; unsigned long dataSize; #ifndef GraphicsImportReadData64 PyMac_PRECHECK(GraphicsImportReadData64); #endif if (!PyArg_ParseTuple(_args, "O&sO&l", CmpInstObj_Convert, &ci, &dataPtr, PyMac_Getwide, &dataOffset, &dataSize)) return NULL; _rv = GraphicsImportReadData64(ci, dataPtr, &dataOffset, dataSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportSetDataReferenceOffsetAndLimit64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; wide offset; wide limit; #ifndef GraphicsImportSetDataReferenceOffsetAndLimit64 PyMac_PRECHECK(GraphicsImportSetDataReferenceOffsetAndLimit64); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, PyMac_Getwide, &offset, PyMac_Getwide, &limit)) return NULL; _rv = GraphicsImportSetDataReferenceOffsetAndLimit64(ci, &offset, &limit); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetDataReferenceOffsetAndLimit64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; wide offset; wide limit; #ifndef GraphicsImportGetDataReferenceOffsetAndLimit64 PyMac_PRECHECK(GraphicsImportGetDataReferenceOffsetAndLimit64); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetDataReferenceOffsetAndLimit64(ci, &offset, &limit); _res = Py_BuildValue("lO&O&", _rv, PyMac_Buildwide, offset, PyMac_Buildwide, limit); return _res; } static PyObject *Qt_GraphicsImportGetDefaultClip(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; RgnHandle defaultRgn; #ifndef GraphicsImportGetDefaultClip PyMac_PRECHECK(GraphicsImportGetDefaultClip); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetDefaultClip(ci, &defaultRgn); _res = Py_BuildValue("lO&", _rv, ResObj_New, defaultRgn); return _res; } static PyObject *Qt_GraphicsImportGetDefaultGraphicsMode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; long defaultGraphicsMode; RGBColor defaultOpColor; #ifndef GraphicsImportGetDefaultGraphicsMode PyMac_PRECHECK(GraphicsImportGetDefaultGraphicsMode); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetDefaultGraphicsMode(ci, &defaultGraphicsMode, &defaultOpColor); _res = Py_BuildValue("llO&", _rv, defaultGraphicsMode, QdRGB_New, &defaultOpColor); return _res; } static PyObject *Qt_GraphicsImportGetDefaultSourceRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Rect defaultSourceRect; #ifndef GraphicsImportGetDefaultSourceRect PyMac_PRECHECK(GraphicsImportGetDefaultSourceRect); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetDefaultSourceRect(ci, &defaultSourceRect); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &defaultSourceRect); return _res; } static PyObject *Qt_GraphicsImportGetColorSyncProfile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Handle profile; #ifndef GraphicsImportGetColorSyncProfile PyMac_PRECHECK(GraphicsImportGetColorSyncProfile); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetColorSyncProfile(ci, &profile); _res = Py_BuildValue("lO&", _rv, ResObj_New, profile); return _res; } static PyObject *Qt_GraphicsImportSetDestRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Rect destRect; #ifndef GraphicsImportSetDestRect PyMac_PRECHECK(GraphicsImportSetDestRect); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetRect, &destRect)) return NULL; _rv = GraphicsImportSetDestRect(ci, &destRect); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetDestRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; Rect destRect; #ifndef GraphicsImportGetDestRect PyMac_PRECHECK(GraphicsImportGetDestRect); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetDestRect(ci, &destRect); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &destRect); return _res; } static PyObject *Qt_GraphicsImportSetFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; long flags; #ifndef GraphicsImportSetFlags PyMac_PRECHECK(GraphicsImportSetFlags); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &flags)) return NULL; _rv = GraphicsImportSetFlags(ci, flags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImportGetFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; long flags; #ifndef GraphicsImportGetFlags PyMac_PRECHECK(GraphicsImportGetFlags); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetFlags(ci, &flags); _res = Py_BuildValue("ll", _rv, flags); return _res; } static PyObject *Qt_GraphicsImportGetBaseDataOffsetAndSize64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; wide offset; wide size; #ifndef GraphicsImportGetBaseDataOffsetAndSize64 PyMac_PRECHECK(GraphicsImportGetBaseDataOffsetAndSize64); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportGetBaseDataOffsetAndSize64(ci, &offset, &size); _res = Py_BuildValue("lO&O&", _rv, PyMac_Buildwide, offset, PyMac_Buildwide, size); return _res; } static PyObject *Qt_GraphicsImportSetImageIndexToThumbnail(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsImportComponent ci; #ifndef GraphicsImportSetImageIndexToThumbnail PyMac_PRECHECK(GraphicsImportSetImageIndexToThumbnail); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImportSetImageIndexToThumbnail(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportDoExport(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long actualSizeWritten; #ifndef GraphicsExportDoExport PyMac_PRECHECK(GraphicsExportDoExport); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportDoExport(ci, &actualSizeWritten); _res = Py_BuildValue("ll", _rv, actualSizeWritten); return _res; } static PyObject *Qt_GraphicsExportCanTranscode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Boolean canTranscode; #ifndef GraphicsExportCanTranscode PyMac_PRECHECK(GraphicsExportCanTranscode); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportCanTranscode(ci, &canTranscode); _res = Py_BuildValue("lb", _rv, canTranscode); return _res; } static PyObject *Qt_GraphicsExportDoTranscode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; #ifndef GraphicsExportDoTranscode PyMac_PRECHECK(GraphicsExportDoTranscode); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportDoTranscode(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportCanUseCompressor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Boolean canUseCompressor; void * codecSettingsAtomContainerPtr; #ifndef GraphicsExportCanUseCompressor PyMac_PRECHECK(GraphicsExportCanUseCompressor); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &codecSettingsAtomContainerPtr)) return NULL; _rv = GraphicsExportCanUseCompressor(ci, &canUseCompressor, codecSettingsAtomContainerPtr); _res = Py_BuildValue("lb", _rv, canUseCompressor); return _res; } static PyObject *Qt_GraphicsExportDoUseCompressor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; void * codecSettingsAtomContainer; ImageDescriptionHandle outDesc; #ifndef GraphicsExportDoUseCompressor PyMac_PRECHECK(GraphicsExportDoUseCompressor); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &codecSettingsAtomContainer)) return NULL; _rv = GraphicsExportDoUseCompressor(ci, codecSettingsAtomContainer, &outDesc); _res = Py_BuildValue("lO&", _rv, ResObj_New, outDesc); return _res; } static PyObject *Qt_GraphicsExportDoStandaloneExport(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; #ifndef GraphicsExportDoStandaloneExport PyMac_PRECHECK(GraphicsExportDoStandaloneExport); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportDoStandaloneExport(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetDefaultFileTypeAndCreator(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; OSType fileType; OSType fileCreator; #ifndef GraphicsExportGetDefaultFileTypeAndCreator PyMac_PRECHECK(GraphicsExportGetDefaultFileTypeAndCreator); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetDefaultFileTypeAndCreator(ci, &fileType, &fileCreator); _res = Py_BuildValue("lO&O&", _rv, PyMac_BuildOSType, fileType, PyMac_BuildOSType, fileCreator); return _res; } static PyObject *Qt_GraphicsExportGetDefaultFileNameExtension(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; OSType fileNameExtension; #ifndef GraphicsExportGetDefaultFileNameExtension PyMac_PRECHECK(GraphicsExportGetDefaultFileNameExtension); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetDefaultFileNameExtension(ci, &fileNameExtension); _res = Py_BuildValue("lO&", _rv, PyMac_BuildOSType, fileNameExtension); return _res; } static PyObject *Qt_GraphicsExportGetMIMETypeList(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; void * qtAtomContainerPtr; #ifndef GraphicsExportGetMIMETypeList PyMac_PRECHECK(GraphicsExportGetMIMETypeList); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &qtAtomContainerPtr)) return NULL; _rv = GraphicsExportGetMIMETypeList(ci, qtAtomContainerPtr); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportSetSettingsFromAtomContainer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; void * qtAtomContainer; #ifndef GraphicsExportSetSettingsFromAtomContainer PyMac_PRECHECK(GraphicsExportSetSettingsFromAtomContainer); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &qtAtomContainer)) return NULL; _rv = GraphicsExportSetSettingsFromAtomContainer(ci, qtAtomContainer); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetSettingsAsAtomContainer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; void * qtAtomContainerPtr; #ifndef GraphicsExportGetSettingsAsAtomContainer PyMac_PRECHECK(GraphicsExportGetSettingsAsAtomContainer); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &qtAtomContainerPtr)) return NULL; _rv = GraphicsExportGetSettingsAsAtomContainer(ci, qtAtomContainerPtr); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetSettingsAsText(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Handle theText; #ifndef GraphicsExportGetSettingsAsText PyMac_PRECHECK(GraphicsExportGetSettingsAsText); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetSettingsAsText(ci, &theText); _res = Py_BuildValue("lO&", _rv, ResObj_New, theText); return _res; } static PyObject *Qt_GraphicsExportSetDontRecompress(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Boolean dontRecompress; #ifndef GraphicsExportSetDontRecompress PyMac_PRECHECK(GraphicsExportSetDontRecompress); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &ci, &dontRecompress)) return NULL; _rv = GraphicsExportSetDontRecompress(ci, dontRecompress); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetDontRecompress(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Boolean dontRecompress; #ifndef GraphicsExportGetDontRecompress PyMac_PRECHECK(GraphicsExportGetDontRecompress); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetDontRecompress(ci, &dontRecompress); _res = Py_BuildValue("lb", _rv, dontRecompress); return _res; } static PyObject *Qt_GraphicsExportSetInterlaceStyle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long interlaceStyle; #ifndef GraphicsExportSetInterlaceStyle PyMac_PRECHECK(GraphicsExportSetInterlaceStyle); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &interlaceStyle)) return NULL; _rv = GraphicsExportSetInterlaceStyle(ci, interlaceStyle); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetInterlaceStyle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long interlaceStyle; #ifndef GraphicsExportGetInterlaceStyle PyMac_PRECHECK(GraphicsExportGetInterlaceStyle); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInterlaceStyle(ci, &interlaceStyle); _res = Py_BuildValue("ll", _rv, interlaceStyle); return _res; } static PyObject *Qt_GraphicsExportSetMetaData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; void * userData; #ifndef GraphicsExportSetMetaData PyMac_PRECHECK(GraphicsExportSetMetaData); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &userData)) return NULL; _rv = GraphicsExportSetMetaData(ci, userData); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetMetaData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; void * userData; #ifndef GraphicsExportGetMetaData PyMac_PRECHECK(GraphicsExportGetMetaData); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &ci, &userData)) return NULL; _rv = GraphicsExportGetMetaData(ci, userData); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportSetTargetDataSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long targetDataSize; #ifndef GraphicsExportSetTargetDataSize PyMac_PRECHECK(GraphicsExportSetTargetDataSize); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &targetDataSize)) return NULL; _rv = GraphicsExportSetTargetDataSize(ci, targetDataSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetTargetDataSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long targetDataSize; #ifndef GraphicsExportGetTargetDataSize PyMac_PRECHECK(GraphicsExportGetTargetDataSize); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetTargetDataSize(ci, &targetDataSize); _res = Py_BuildValue("ll", _rv, targetDataSize); return _res; } static PyObject *Qt_GraphicsExportSetCompressionMethod(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; long compressionMethod; #ifndef GraphicsExportSetCompressionMethod PyMac_PRECHECK(GraphicsExportSetCompressionMethod); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &compressionMethod)) return NULL; _rv = GraphicsExportSetCompressionMethod(ci, compressionMethod); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetCompressionMethod(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; long compressionMethod; #ifndef GraphicsExportGetCompressionMethod PyMac_PRECHECK(GraphicsExportGetCompressionMethod); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetCompressionMethod(ci, &compressionMethod); _res = Py_BuildValue("ll", _rv, compressionMethod); return _res; } static PyObject *Qt_GraphicsExportSetCompressionQuality(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; CodecQ spatialQuality; #ifndef GraphicsExportSetCompressionQuality PyMac_PRECHECK(GraphicsExportSetCompressionQuality); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &spatialQuality)) return NULL; _rv = GraphicsExportSetCompressionQuality(ci, spatialQuality); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetCompressionQuality(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; CodecQ spatialQuality; #ifndef GraphicsExportGetCompressionQuality PyMac_PRECHECK(GraphicsExportGetCompressionQuality); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetCompressionQuality(ci, &spatialQuality); _res = Py_BuildValue("ll", _rv, spatialQuality); return _res; } static PyObject *Qt_GraphicsExportSetResolution(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Fixed horizontalResolution; Fixed verticalResolution; #ifndef GraphicsExportSetResolution PyMac_PRECHECK(GraphicsExportSetResolution); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, PyMac_GetFixed, &horizontalResolution, PyMac_GetFixed, &verticalResolution)) return NULL; _rv = GraphicsExportSetResolution(ci, horizontalResolution, verticalResolution); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetResolution(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Fixed horizontalResolution; Fixed verticalResolution; #ifndef GraphicsExportGetResolution PyMac_PRECHECK(GraphicsExportGetResolution); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetResolution(ci, &horizontalResolution, &verticalResolution); _res = Py_BuildValue("lO&O&", _rv, PyMac_BuildFixed, horizontalResolution, PyMac_BuildFixed, verticalResolution); return _res; } static PyObject *Qt_GraphicsExportSetDepth(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; long depth; #ifndef GraphicsExportSetDepth PyMac_PRECHECK(GraphicsExportSetDepth); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &depth)) return NULL; _rv = GraphicsExportSetDepth(ci, depth); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetDepth(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; long depth; #ifndef GraphicsExportGetDepth PyMac_PRECHECK(GraphicsExportGetDepth); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetDepth(ci, &depth); _res = Py_BuildValue("ll", _rv, depth); return _res; } static PyObject *Qt_GraphicsExportSetColorSyncProfile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Handle colorSyncProfile; #ifndef GraphicsExportSetColorSyncProfile PyMac_PRECHECK(GraphicsExportSetColorSyncProfile); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &colorSyncProfile)) return NULL; _rv = GraphicsExportSetColorSyncProfile(ci, colorSyncProfile); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetColorSyncProfile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Handle colorSyncProfile; #ifndef GraphicsExportGetColorSyncProfile PyMac_PRECHECK(GraphicsExportGetColorSyncProfile); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetColorSyncProfile(ci, &colorSyncProfile); _res = Py_BuildValue("lO&", _rv, ResObj_New, colorSyncProfile); return _res; } static PyObject *Qt_GraphicsExportSetInputDataReference(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Handle dataRef; OSType dataRefType; ImageDescriptionHandle desc; #ifndef GraphicsExportSetInputDataReference PyMac_PRECHECK(GraphicsExportSetInputDataReference); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, ResObj_Convert, &desc)) return NULL; _rv = GraphicsExportSetInputDataReference(ci, dataRef, dataRefType, desc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetInputDataReference(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Handle dataRef; OSType dataRefType; #ifndef GraphicsExportGetInputDataReference PyMac_PRECHECK(GraphicsExportGetInputDataReference); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInputDataReference(ci, &dataRef, &dataRefType); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, dataRef, PyMac_BuildOSType, dataRefType); return _res; } static PyObject *Qt_GraphicsExportSetInputFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; FSSpec theFile; ImageDescriptionHandle desc; #ifndef GraphicsExportSetInputFile PyMac_PRECHECK(GraphicsExportSetInputFile); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &theFile, ResObj_Convert, &desc)) return NULL; _rv = GraphicsExportSetInputFile(ci, &theFile, desc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetInputFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; FSSpec theFile; #ifndef GraphicsExportGetInputFile PyMac_PRECHECK(GraphicsExportGetInputFile); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &theFile)) return NULL; _rv = GraphicsExportGetInputFile(ci, &theFile); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportSetInputHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Handle h; ImageDescriptionHandle desc; #ifndef GraphicsExportSetInputHandle PyMac_PRECHECK(GraphicsExportSetInputHandle); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &h, ResObj_Convert, &desc)) return NULL; _rv = GraphicsExportSetInputHandle(ci, h, desc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetInputHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Handle h; #ifndef GraphicsExportGetInputHandle PyMac_PRECHECK(GraphicsExportGetInputHandle); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInputHandle(ci, &h); _res = Py_BuildValue("lO&", _rv, ResObj_New, h); return _res; } static PyObject *Qt_GraphicsExportSetInputPtr(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Ptr p; unsigned long size; ImageDescriptionHandle desc; #ifndef GraphicsExportSetInputPtr PyMac_PRECHECK(GraphicsExportSetInputPtr); #endif if (!PyArg_ParseTuple(_args, "O&slO&", CmpInstObj_Convert, &ci, &p, &size, ResObj_Convert, &desc)) return NULL; _rv = GraphicsExportSetInputPtr(ci, p, size, desc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportSetInputGraphicsImporter(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; GraphicsImportComponent grip; #ifndef GraphicsExportSetInputGraphicsImporter PyMac_PRECHECK(GraphicsExportSetInputGraphicsImporter); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, CmpInstObj_Convert, &grip)) return NULL; _rv = GraphicsExportSetInputGraphicsImporter(ci, grip); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetInputGraphicsImporter(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; GraphicsImportComponent grip; #ifndef GraphicsExportGetInputGraphicsImporter PyMac_PRECHECK(GraphicsExportGetInputGraphicsImporter); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInputGraphicsImporter(ci, &grip); _res = Py_BuildValue("lO&", _rv, CmpInstObj_New, grip); return _res; } static PyObject *Qt_GraphicsExportSetInputPicture(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; PicHandle picture; #ifndef GraphicsExportSetInputPicture PyMac_PRECHECK(GraphicsExportSetInputPicture); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &picture)) return NULL; _rv = GraphicsExportSetInputPicture(ci, picture); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetInputPicture(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; PicHandle picture; #ifndef GraphicsExportGetInputPicture PyMac_PRECHECK(GraphicsExportGetInputPicture); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInputPicture(ci, &picture); _res = Py_BuildValue("lO&", _rv, ResObj_New, picture); return _res; } static PyObject *Qt_GraphicsExportSetInputGWorld(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; GWorldPtr gworld; #ifndef GraphicsExportSetInputGWorld PyMac_PRECHECK(GraphicsExportSetInputGWorld); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, GWorldObj_Convert, &gworld)) return NULL; _rv = GraphicsExportSetInputGWorld(ci, gworld); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetInputGWorld(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; GWorldPtr gworld; #ifndef GraphicsExportGetInputGWorld PyMac_PRECHECK(GraphicsExportGetInputGWorld); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInputGWorld(ci, &gworld); _res = Py_BuildValue("lO&", _rv, GWorldObj_New, gworld); return _res; } static PyObject *Qt_GraphicsExportSetInputPixmap(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; PixMapHandle pixmap; #ifndef GraphicsExportSetInputPixmap PyMac_PRECHECK(GraphicsExportSetInputPixmap); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &pixmap)) return NULL; _rv = GraphicsExportSetInputPixmap(ci, pixmap); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetInputPixmap(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; PixMapHandle pixmap; #ifndef GraphicsExportGetInputPixmap PyMac_PRECHECK(GraphicsExportGetInputPixmap); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInputPixmap(ci, &pixmap); _res = Py_BuildValue("lO&", _rv, ResObj_New, pixmap); return _res; } static PyObject *Qt_GraphicsExportSetInputOffsetAndLimit(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long offset; unsigned long limit; #ifndef GraphicsExportSetInputOffsetAndLimit PyMac_PRECHECK(GraphicsExportSetInputOffsetAndLimit); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &ci, &offset, &limit)) return NULL; _rv = GraphicsExportSetInputOffsetAndLimit(ci, offset, limit); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetInputOffsetAndLimit(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long offset; unsigned long limit; #ifndef GraphicsExportGetInputOffsetAndLimit PyMac_PRECHECK(GraphicsExportGetInputOffsetAndLimit); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInputOffsetAndLimit(ci, &offset, &limit); _res = Py_BuildValue("lll", _rv, offset, limit); return _res; } static PyObject *Qt_GraphicsExportMayExporterReadInputData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Boolean mayReadInputData; #ifndef GraphicsExportMayExporterReadInputData PyMac_PRECHECK(GraphicsExportMayExporterReadInputData); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportMayExporterReadInputData(ci, &mayReadInputData); _res = Py_BuildValue("lb", _rv, mayReadInputData); return _res; } static PyObject *Qt_GraphicsExportGetInputDataSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long size; #ifndef GraphicsExportGetInputDataSize PyMac_PRECHECK(GraphicsExportGetInputDataSize); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInputDataSize(ci, &size); _res = Py_BuildValue("ll", _rv, size); return _res; } static PyObject *Qt_GraphicsExportReadInputData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; void * dataPtr; unsigned long dataOffset; unsigned long dataSize; #ifndef GraphicsExportReadInputData PyMac_PRECHECK(GraphicsExportReadInputData); #endif if (!PyArg_ParseTuple(_args, "O&sll", CmpInstObj_Convert, &ci, &dataPtr, &dataOffset, &dataSize)) return NULL; _rv = GraphicsExportReadInputData(ci, dataPtr, dataOffset, dataSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetInputImageDescription(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; ImageDescriptionHandle desc; #ifndef GraphicsExportGetInputImageDescription PyMac_PRECHECK(GraphicsExportGetInputImageDescription); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInputImageDescription(ci, &desc); _res = Py_BuildValue("lO&", _rv, ResObj_New, desc); return _res; } static PyObject *Qt_GraphicsExportGetInputImageDimensions(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Rect dimensions; #ifndef GraphicsExportGetInputImageDimensions PyMac_PRECHECK(GraphicsExportGetInputImageDimensions); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInputImageDimensions(ci, &dimensions); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &dimensions); return _res; } static PyObject *Qt_GraphicsExportGetInputImageDepth(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; long inputDepth; #ifndef GraphicsExportGetInputImageDepth PyMac_PRECHECK(GraphicsExportGetInputImageDepth); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetInputImageDepth(ci, &inputDepth); _res = Py_BuildValue("ll", _rv, inputDepth); return _res; } static PyObject *Qt_GraphicsExportDrawInputImage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; CGrafPtr gw; GDHandle gd; Rect srcRect; Rect dstRect; #ifndef GraphicsExportDrawInputImage PyMac_PRECHECK(GraphicsExportDrawInputImage); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&O&", CmpInstObj_Convert, &ci, GrafObj_Convert, &gw, OptResObj_Convert, &gd, PyMac_GetRect, &srcRect, PyMac_GetRect, &dstRect)) return NULL; _rv = GraphicsExportDrawInputImage(ci, gw, gd, &srcRect, &dstRect); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportSetOutputDataReference(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Handle dataRef; OSType dataRefType; #ifndef GraphicsExportSetOutputDataReference PyMac_PRECHECK(GraphicsExportSetOutputDataReference); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType)) return NULL; _rv = GraphicsExportSetOutputDataReference(ci, dataRef, dataRefType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetOutputDataReference(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Handle dataRef; OSType dataRefType; #ifndef GraphicsExportGetOutputDataReference PyMac_PRECHECK(GraphicsExportGetOutputDataReference); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetOutputDataReference(ci, &dataRef, &dataRefType); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, dataRef, PyMac_BuildOSType, dataRefType); return _res; } static PyObject *Qt_GraphicsExportSetOutputFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; FSSpec theFile; #ifndef GraphicsExportSetOutputFile PyMac_PRECHECK(GraphicsExportSetOutputFile); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &theFile)) return NULL; _rv = GraphicsExportSetOutputFile(ci, &theFile); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetOutputFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; FSSpec theFile; #ifndef GraphicsExportGetOutputFile PyMac_PRECHECK(GraphicsExportGetOutputFile); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &theFile)) return NULL; _rv = GraphicsExportGetOutputFile(ci, &theFile); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportSetOutputHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Handle h; #ifndef GraphicsExportSetOutputHandle PyMac_PRECHECK(GraphicsExportSetOutputHandle); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &h)) return NULL; _rv = GraphicsExportSetOutputHandle(ci, h); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetOutputHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Handle h; #ifndef GraphicsExportGetOutputHandle PyMac_PRECHECK(GraphicsExportGetOutputHandle); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetOutputHandle(ci, &h); _res = Py_BuildValue("lO&", _rv, ResObj_New, h); return _res; } static PyObject *Qt_GraphicsExportSetOutputOffsetAndMaxSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long offset; unsigned long maxSize; Boolean truncateFile; #ifndef GraphicsExportSetOutputOffsetAndMaxSize PyMac_PRECHECK(GraphicsExportSetOutputOffsetAndMaxSize); #endif if (!PyArg_ParseTuple(_args, "O&llb", CmpInstObj_Convert, &ci, &offset, &maxSize, &truncateFile)) return NULL; _rv = GraphicsExportSetOutputOffsetAndMaxSize(ci, offset, maxSize, truncateFile); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetOutputOffsetAndMaxSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long offset; unsigned long maxSize; Boolean truncateFile; #ifndef GraphicsExportGetOutputOffsetAndMaxSize PyMac_PRECHECK(GraphicsExportGetOutputOffsetAndMaxSize); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetOutputOffsetAndMaxSize(ci, &offset, &maxSize, &truncateFile); _res = Py_BuildValue("lllb", _rv, offset, maxSize, truncateFile); return _res; } static PyObject *Qt_GraphicsExportSetOutputFileTypeAndCreator(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; OSType fileType; OSType fileCreator; #ifndef GraphicsExportSetOutputFileTypeAndCreator PyMac_PRECHECK(GraphicsExportSetOutputFileTypeAndCreator); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, PyMac_GetOSType, &fileType, PyMac_GetOSType, &fileCreator)) return NULL; _rv = GraphicsExportSetOutputFileTypeAndCreator(ci, fileType, fileCreator); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetOutputFileTypeAndCreator(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; OSType fileType; OSType fileCreator; #ifndef GraphicsExportGetOutputFileTypeAndCreator PyMac_PRECHECK(GraphicsExportGetOutputFileTypeAndCreator); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetOutputFileTypeAndCreator(ci, &fileType, &fileCreator); _res = Py_BuildValue("lO&O&", _rv, PyMac_BuildOSType, fileType, PyMac_BuildOSType, fileCreator); return _res; } static PyObject *Qt_GraphicsExportSetOutputMark(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long mark; #ifndef GraphicsExportSetOutputMark PyMac_PRECHECK(GraphicsExportSetOutputMark); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &mark)) return NULL; _rv = GraphicsExportSetOutputMark(ci, mark); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetOutputMark(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; unsigned long mark; #ifndef GraphicsExportGetOutputMark PyMac_PRECHECK(GraphicsExportGetOutputMark); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetOutputMark(ci, &mark); _res = Py_BuildValue("ll", _rv, mark); return _res; } static PyObject *Qt_GraphicsExportReadOutputData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; void * dataPtr; unsigned long dataOffset; unsigned long dataSize; #ifndef GraphicsExportReadOutputData PyMac_PRECHECK(GraphicsExportReadOutputData); #endif if (!PyArg_ParseTuple(_args, "O&sll", CmpInstObj_Convert, &ci, &dataPtr, &dataOffset, &dataSize)) return NULL; _rv = GraphicsExportReadOutputData(ci, dataPtr, dataOffset, dataSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportSetThumbnailEnabled(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Boolean enableThumbnail; long maxThumbnailWidth; long maxThumbnailHeight; #ifndef GraphicsExportSetThumbnailEnabled PyMac_PRECHECK(GraphicsExportSetThumbnailEnabled); #endif if (!PyArg_ParseTuple(_args, "O&bll", CmpInstObj_Convert, &ci, &enableThumbnail, &maxThumbnailWidth, &maxThumbnailHeight)) return NULL; _rv = GraphicsExportSetThumbnailEnabled(ci, enableThumbnail, maxThumbnailWidth, maxThumbnailHeight); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetThumbnailEnabled(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Boolean thumbnailEnabled; long maxThumbnailWidth; long maxThumbnailHeight; #ifndef GraphicsExportGetThumbnailEnabled PyMac_PRECHECK(GraphicsExportGetThumbnailEnabled); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetThumbnailEnabled(ci, &thumbnailEnabled, &maxThumbnailWidth, &maxThumbnailHeight); _res = Py_BuildValue("lbll", _rv, thumbnailEnabled, maxThumbnailWidth, maxThumbnailHeight); return _res; } static PyObject *Qt_GraphicsExportSetExifEnabled(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Boolean enableExif; #ifndef GraphicsExportSetExifEnabled PyMac_PRECHECK(GraphicsExportSetExifEnabled); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &ci, &enableExif)) return NULL; _rv = GraphicsExportSetExifEnabled(ci, enableExif); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsExportGetExifEnabled(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicsExportComponent ci; Boolean exifEnabled; #ifndef GraphicsExportGetExifEnabled PyMac_PRECHECK(GraphicsExportGetExifEnabled); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsExportGetExifEnabled(ci, &exifEnabled); _res = Py_BuildValue("lb", _rv, exifEnabled); return _res; } static PyObject *Qt_ImageTranscoderBeginSequence(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ImageTranscoderComponent itc; ImageDescriptionHandle srcDesc; ImageDescriptionHandle dstDesc; void * data; long dataSize; #ifndef ImageTranscoderBeginSequence PyMac_PRECHECK(ImageTranscoderBeginSequence); #endif if (!PyArg_ParseTuple(_args, "O&O&sl", CmpInstObj_Convert, &itc, ResObj_Convert, &srcDesc, &data, &dataSize)) return NULL; _rv = ImageTranscoderBeginSequence(itc, srcDesc, &dstDesc, data, dataSize); _res = Py_BuildValue("lO&", _rv, ResObj_New, dstDesc); return _res; } static PyObject *Qt_ImageTranscoderDisposeData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ImageTranscoderComponent itc; void * dstData; #ifndef ImageTranscoderDisposeData PyMac_PRECHECK(ImageTranscoderDisposeData); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &itc, &dstData)) return NULL; _rv = ImageTranscoderDisposeData(itc, dstData); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_ImageTranscoderEndSequence(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ImageTranscoderComponent itc; #ifndef ImageTranscoderEndSequence PyMac_PRECHECK(ImageTranscoderEndSequence); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &itc)) return NULL; _rv = ImageTranscoderEndSequence(itc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_ClockGetTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aClock; TimeRecord out; #ifndef ClockGetTime PyMac_PRECHECK(ClockGetTime); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &aClock)) return NULL; _rv = ClockGetTime(aClock, &out); _res = Py_BuildValue("lO&", _rv, QtTimeRecord_New, &out); return _res; } static PyObject *Qt_ClockSetTimeBase(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aClock; TimeBase tb; #ifndef ClockSetTimeBase PyMac_PRECHECK(ClockSetTimeBase); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &aClock, TimeBaseObj_Convert, &tb)) return NULL; _rv = ClockSetTimeBase(aClock, tb); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_ClockGetRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aClock; Fixed rate; #ifndef ClockGetRate PyMac_PRECHECK(ClockGetRate); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &aClock)) return NULL; _rv = ClockGetRate(aClock, &rate); _res = Py_BuildValue("lO&", _rv, PyMac_BuildFixed, rate); return _res; } static PyObject *Qt_SCPositionRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; Rect rp; Point where; #ifndef SCPositionRect PyMac_PRECHECK(SCPositionRect); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = SCPositionRect(ci, &rp, &where); _res = Py_BuildValue("lO&O&", _rv, PyMac_BuildRect, &rp, PyMac_BuildPoint, where); return _res; } static PyObject *Qt_SCPositionDialog(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; short id; Point where; #ifndef SCPositionDialog PyMac_PRECHECK(SCPositionDialog); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &id)) return NULL; _rv = SCPositionDialog(ci, id, &where); _res = Py_BuildValue("lO&", _rv, PyMac_BuildPoint, where); return _res; } static PyObject *Qt_SCSetTestImagePictHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; PicHandle testPict; Rect testRect; short testFlags; #ifndef SCSetTestImagePictHandle PyMac_PRECHECK(SCSetTestImagePictHandle); #endif if (!PyArg_ParseTuple(_args, "O&O&h", CmpInstObj_Convert, &ci, ResObj_Convert, &testPict, &testFlags)) return NULL; _rv = SCSetTestImagePictHandle(ci, testPict, &testRect, testFlags); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &testRect); return _res; } static PyObject *Qt_SCSetTestImagePictFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; short testFileRef; Rect testRect; short testFlags; #ifndef SCSetTestImagePictFile PyMac_PRECHECK(SCSetTestImagePictFile); #endif if (!PyArg_ParseTuple(_args, "O&hh", CmpInstObj_Convert, &ci, &testFileRef, &testFlags)) return NULL; _rv = SCSetTestImagePictFile(ci, testFileRef, &testRect, testFlags); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &testRect); return _res; } static PyObject *Qt_SCSetTestImagePixMap(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; PixMapHandle testPixMap; Rect testRect; short testFlags; #ifndef SCSetTestImagePixMap PyMac_PRECHECK(SCSetTestImagePixMap); #endif if (!PyArg_ParseTuple(_args, "O&O&h", CmpInstObj_Convert, &ci, ResObj_Convert, &testPixMap, &testFlags)) return NULL; _rv = SCSetTestImagePixMap(ci, testPixMap, &testRect, testFlags); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &testRect); return _res; } static PyObject *Qt_SCGetBestDeviceRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; Rect r; #ifndef SCGetBestDeviceRect PyMac_PRECHECK(SCGetBestDeviceRect); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = SCGetBestDeviceRect(ci, &r); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &r); return _res; } static PyObject *Qt_SCRequestImageSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; #ifndef SCRequestImageSettings PyMac_PRECHECK(SCRequestImageSettings); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = SCRequestImageSettings(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SCCompressImage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; PixMapHandle src; Rect srcRect; ImageDescriptionHandle desc; Handle data; #ifndef SCCompressImage PyMac_PRECHECK(SCCompressImage); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &src, PyMac_GetRect, &srcRect)) return NULL; _rv = SCCompressImage(ci, src, &srcRect, &desc, &data); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, desc, ResObj_New, data); return _res; } static PyObject *Qt_SCCompressPicture(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; PicHandle srcPicture; PicHandle dstPicture; #ifndef SCCompressPicture PyMac_PRECHECK(SCCompressPicture); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &srcPicture, ResObj_Convert, &dstPicture)) return NULL; _rv = SCCompressPicture(ci, srcPicture, dstPicture); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SCCompressPictureFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; short srcRefNum; short dstRefNum; #ifndef SCCompressPictureFile PyMac_PRECHECK(SCCompressPictureFile); #endif if (!PyArg_ParseTuple(_args, "O&hh", CmpInstObj_Convert, &ci, &srcRefNum, &dstRefNum)) return NULL; _rv = SCCompressPictureFile(ci, srcRefNum, dstRefNum); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SCRequestSequenceSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; #ifndef SCRequestSequenceSettings PyMac_PRECHECK(SCRequestSequenceSettings); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = SCRequestSequenceSettings(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SCCompressSequenceBegin(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; PixMapHandle src; Rect srcRect; ImageDescriptionHandle desc; #ifndef SCCompressSequenceBegin PyMac_PRECHECK(SCCompressSequenceBegin); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &src, PyMac_GetRect, &srcRect)) return NULL; _rv = SCCompressSequenceBegin(ci, src, &srcRect, &desc); _res = Py_BuildValue("lO&", _rv, ResObj_New, desc); return _res; } static PyObject *Qt_SCCompressSequenceFrame(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; PixMapHandle src; Rect srcRect; Handle data; long dataSize; short notSyncFlag; #ifndef SCCompressSequenceFrame PyMac_PRECHECK(SCCompressSequenceFrame); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &src, PyMac_GetRect, &srcRect)) return NULL; _rv = SCCompressSequenceFrame(ci, src, &srcRect, &data, &dataSize, &notSyncFlag); _res = Py_BuildValue("lO&lh", _rv, ResObj_New, data, dataSize, notSyncFlag); return _res; } static PyObject *Qt_SCCompressSequenceEnd(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; #ifndef SCCompressSequenceEnd PyMac_PRECHECK(SCCompressSequenceEnd); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = SCCompressSequenceEnd(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SCDefaultPictHandleSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; PicHandle srcPicture; short motion; #ifndef SCDefaultPictHandleSettings PyMac_PRECHECK(SCDefaultPictHandleSettings); #endif if (!PyArg_ParseTuple(_args, "O&O&h", CmpInstObj_Convert, &ci, ResObj_Convert, &srcPicture, &motion)) return NULL; _rv = SCDefaultPictHandleSettings(ci, srcPicture, motion); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SCDefaultPictFileSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; short srcRef; short motion; #ifndef SCDefaultPictFileSettings PyMac_PRECHECK(SCDefaultPictFileSettings); #endif if (!PyArg_ParseTuple(_args, "O&hh", CmpInstObj_Convert, &ci, &srcRef, &motion)) return NULL; _rv = SCDefaultPictFileSettings(ci, srcRef, motion); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SCDefaultPixMapSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; PixMapHandle src; short motion; #ifndef SCDefaultPixMapSettings PyMac_PRECHECK(SCDefaultPixMapSettings); #endif if (!PyArg_ParseTuple(_args, "O&O&h", CmpInstObj_Convert, &ci, ResObj_Convert, &src, &motion)) return NULL; _rv = SCDefaultPixMapSettings(ci, src, motion); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SCGetInfo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; OSType infoType; void * info; #ifndef SCGetInfo PyMac_PRECHECK(SCGetInfo); #endif if (!PyArg_ParseTuple(_args, "O&O&s", CmpInstObj_Convert, &ci, PyMac_GetOSType, &infoType, &info)) return NULL; _rv = SCGetInfo(ci, infoType, info); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SCSetInfo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; OSType infoType; void * info; #ifndef SCSetInfo PyMac_PRECHECK(SCSetInfo); #endif if (!PyArg_ParseTuple(_args, "O&O&s", CmpInstObj_Convert, &ci, PyMac_GetOSType, &infoType, &info)) return NULL; _rv = SCSetInfo(ci, infoType, info); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SCSetCompressFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; long flags; #ifndef SCSetCompressFlags PyMac_PRECHECK(SCSetCompressFlags); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &flags)) return NULL; _rv = SCSetCompressFlags(ci, flags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SCGetCompressFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; long flags; #ifndef SCGetCompressFlags PyMac_PRECHECK(SCGetCompressFlags); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = SCGetCompressFlags(ci, &flags); _res = Py_BuildValue("ll", _rv, flags); return _res; } static PyObject *Qt_SCGetSettingsAsText(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; Handle text; #ifndef SCGetSettingsAsText PyMac_PRECHECK(SCGetSettingsAsText); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = SCGetSettingsAsText(ci, &text); _res = Py_BuildValue("lO&", _rv, ResObj_New, text); return _res; } static PyObject *Qt_SCAsyncIdle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance ci; #ifndef SCAsyncIdle PyMac_PRECHECK(SCAsyncIdle); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = SCAsyncIdle(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TweenerReset(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TweenerComponent tc; #ifndef TweenerReset PyMac_PRECHECK(TweenerReset); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &tc)) return NULL; _rv = TweenerReset(tc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TCGetSourceRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; HandlerError _rv; MediaHandler mh; TimeCodeDescriptionHandle tcdH; UserData srefH; #ifndef TCGetSourceRef PyMac_PRECHECK(TCGetSourceRef); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, ResObj_Convert, &tcdH)) return NULL; _rv = TCGetSourceRef(mh, tcdH, &srefH); _res = Py_BuildValue("lO&", _rv, UserDataObj_New, srefH); return _res; } static PyObject *Qt_TCSetSourceRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; HandlerError _rv; MediaHandler mh; TimeCodeDescriptionHandle tcdH; UserData srefH; #ifndef TCSetSourceRef PyMac_PRECHECK(TCSetSourceRef); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &mh, ResObj_Convert, &tcdH, UserDataObj_Convert, &srefH)) return NULL; _rv = TCSetSourceRef(mh, tcdH, srefH); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TCSetTimeCodeFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; HandlerError _rv; MediaHandler mh; long flags; long flagsMask; #ifndef TCSetTimeCodeFlags PyMac_PRECHECK(TCSetTimeCodeFlags); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mh, &flags, &flagsMask)) return NULL; _rv = TCSetTimeCodeFlags(mh, flags, flagsMask); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TCGetTimeCodeFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; HandlerError _rv; MediaHandler mh; long flags; #ifndef TCGetTimeCodeFlags PyMac_PRECHECK(TCGetTimeCodeFlags); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = TCGetTimeCodeFlags(mh, &flags); _res = Py_BuildValue("ll", _rv, flags); return _res; } static PyObject *Qt_MovieImportHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; Handle dataH; Movie theMovie; Track targetTrack; Track usedTrack; TimeValue atTime; TimeValue addedDuration; long inFlags; long outFlags; #ifndef MovieImportHandle PyMac_PRECHECK(MovieImportHandle); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&ll", CmpInstObj_Convert, &ci, ResObj_Convert, &dataH, MovieObj_Convert, &theMovie, TrackObj_Convert, &targetTrack, &atTime, &inFlags)) return NULL; _rv = MovieImportHandle(ci, dataH, theMovie, targetTrack, &usedTrack, atTime, &addedDuration, inFlags, &outFlags); _res = Py_BuildValue("lO&ll", _rv, TrackObj_New, usedTrack, addedDuration, outFlags); return _res; } static PyObject *Qt_MovieImportFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; FSSpec theFile; Movie theMovie; Track targetTrack; Track usedTrack; TimeValue atTime; TimeValue addedDuration; long inFlags; long outFlags; #ifndef MovieImportFile PyMac_PRECHECK(MovieImportFile); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&ll", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &theFile, MovieObj_Convert, &theMovie, TrackObj_Convert, &targetTrack, &atTime, &inFlags)) return NULL; _rv = MovieImportFile(ci, &theFile, theMovie, targetTrack, &usedTrack, atTime, &addedDuration, inFlags, &outFlags); _res = Py_BuildValue("lO&ll", _rv, TrackObj_New, usedTrack, addedDuration, outFlags); return _res; } static PyObject *Qt_MovieImportSetSampleDuration(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; TimeValue duration; TimeScale scale; #ifndef MovieImportSetSampleDuration PyMac_PRECHECK(MovieImportSetSampleDuration); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &ci, &duration, &scale)) return NULL; _rv = MovieImportSetSampleDuration(ci, duration, scale); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportSetSampleDescription(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; SampleDescriptionHandle desc; OSType mediaType; #ifndef MovieImportSetSampleDescription PyMac_PRECHECK(MovieImportSetSampleDescription); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &desc, PyMac_GetOSType, &mediaType)) return NULL; _rv = MovieImportSetSampleDescription(ci, desc, mediaType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportSetMediaFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; AliasHandle alias; #ifndef MovieImportSetMediaFile PyMac_PRECHECK(MovieImportSetMediaFile); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &alias)) return NULL; _rv = MovieImportSetMediaFile(ci, alias); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportSetDimensions(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; Fixed width; Fixed height; #ifndef MovieImportSetDimensions PyMac_PRECHECK(MovieImportSetDimensions); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, PyMac_GetFixed, &width, PyMac_GetFixed, &height)) return NULL; _rv = MovieImportSetDimensions(ci, width, height); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportSetChunkSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; long chunkSize; #ifndef MovieImportSetChunkSize PyMac_PRECHECK(MovieImportSetChunkSize); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &chunkSize)) return NULL; _rv = MovieImportSetChunkSize(ci, chunkSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportSetAuxiliaryData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; Handle data; OSType handleType; #ifndef MovieImportSetAuxiliaryData PyMac_PRECHECK(MovieImportSetAuxiliaryData); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &data, PyMac_GetOSType, &handleType)) return NULL; _rv = MovieImportSetAuxiliaryData(ci, data, handleType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportSetFromScrap(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; Boolean fromScrap; #ifndef MovieImportSetFromScrap PyMac_PRECHECK(MovieImportSetFromScrap); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &ci, &fromScrap)) return NULL; _rv = MovieImportSetFromScrap(ci, fromScrap); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportDoUserDialog(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; FSSpec theFile; Handle theData; Boolean canceled; #ifndef MovieImportDoUserDialog PyMac_PRECHECK(MovieImportDoUserDialog); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &theFile, ResObj_Convert, &theData)) return NULL; _rv = MovieImportDoUserDialog(ci, &theFile, theData, &canceled); _res = Py_BuildValue("lb", _rv, canceled); return _res; } static PyObject *Qt_MovieImportSetDuration(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; TimeValue duration; #ifndef MovieImportSetDuration PyMac_PRECHECK(MovieImportSetDuration); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &duration)) return NULL; _rv = MovieImportSetDuration(ci, duration); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportGetAuxiliaryDataType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; OSType auxType; #ifndef MovieImportGetAuxiliaryDataType PyMac_PRECHECK(MovieImportGetAuxiliaryDataType); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MovieImportGetAuxiliaryDataType(ci, &auxType); _res = Py_BuildValue("lO&", _rv, PyMac_BuildOSType, auxType); return _res; } static PyObject *Qt_MovieImportValidate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; FSSpec theFile; Handle theData; Boolean valid; #ifndef MovieImportValidate PyMac_PRECHECK(MovieImportValidate); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &theFile, ResObj_Convert, &theData)) return NULL; _rv = MovieImportValidate(ci, &theFile, theData, &valid); _res = Py_BuildValue("lb", _rv, valid); return _res; } static PyObject *Qt_MovieImportGetFileType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; OSType fileType; #ifndef MovieImportGetFileType PyMac_PRECHECK(MovieImportGetFileType); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MovieImportGetFileType(ci, &fileType); _res = Py_BuildValue("lO&", _rv, PyMac_BuildOSType, fileType); return _res; } static PyObject *Qt_MovieImportDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; Handle dataRef; OSType dataRefType; Movie theMovie; Track targetTrack; Track usedTrack; TimeValue atTime; TimeValue addedDuration; long inFlags; long outFlags; #ifndef MovieImportDataRef PyMac_PRECHECK(MovieImportDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&O&ll", CmpInstObj_Convert, &ci, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, MovieObj_Convert, &theMovie, TrackObj_Convert, &targetTrack, &atTime, &inFlags)) return NULL; _rv = MovieImportDataRef(ci, dataRef, dataRefType, theMovie, targetTrack, &usedTrack, atTime, &addedDuration, inFlags, &outFlags); _res = Py_BuildValue("lO&ll", _rv, TrackObj_New, usedTrack, addedDuration, outFlags); return _res; } static PyObject *Qt_MovieImportGetSampleDescription(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; SampleDescriptionHandle desc; OSType mediaType; #ifndef MovieImportGetSampleDescription PyMac_PRECHECK(MovieImportGetSampleDescription); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MovieImportGetSampleDescription(ci, &desc, &mediaType); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, desc, PyMac_BuildOSType, mediaType); return _res; } static PyObject *Qt_MovieImportSetOffsetAndLimit(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; unsigned long offset; unsigned long limit; #ifndef MovieImportSetOffsetAndLimit PyMac_PRECHECK(MovieImportSetOffsetAndLimit); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &ci, &offset, &limit)) return NULL; _rv = MovieImportSetOffsetAndLimit(ci, offset, limit); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportSetOffsetAndLimit64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; wide offset; wide limit; #ifndef MovieImportSetOffsetAndLimit64 PyMac_PRECHECK(MovieImportSetOffsetAndLimit64); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, PyMac_Getwide, &offset, PyMac_Getwide, &limit)) return NULL; _rv = MovieImportSetOffsetAndLimit64(ci, &offset, &limit); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportIdle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; long inFlags; long outFlags; #ifndef MovieImportIdle PyMac_PRECHECK(MovieImportIdle); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &inFlags)) return NULL; _rv = MovieImportIdle(ci, inFlags, &outFlags); _res = Py_BuildValue("ll", _rv, outFlags); return _res; } static PyObject *Qt_MovieImportValidateDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; Handle dataRef; OSType dataRefType; UInt8 valid; #ifndef MovieImportValidateDataRef PyMac_PRECHECK(MovieImportValidateDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType)) return NULL; _rv = MovieImportValidateDataRef(ci, dataRef, dataRefType, &valid); _res = Py_BuildValue("lb", _rv, valid); return _res; } static PyObject *Qt_MovieImportGetLoadState(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; long importerLoadState; #ifndef MovieImportGetLoadState PyMac_PRECHECK(MovieImportGetLoadState); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MovieImportGetLoadState(ci, &importerLoadState); _res = Py_BuildValue("ll", _rv, importerLoadState); return _res; } static PyObject *Qt_MovieImportGetMaxLoadedTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; TimeValue time; #ifndef MovieImportGetMaxLoadedTime PyMac_PRECHECK(MovieImportGetMaxLoadedTime); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MovieImportGetMaxLoadedTime(ci, &time); _res = Py_BuildValue("ll", _rv, time); return _res; } static PyObject *Qt_MovieImportEstimateCompletionTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; TimeRecord time; #ifndef MovieImportEstimateCompletionTime PyMac_PRECHECK(MovieImportEstimateCompletionTime); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MovieImportEstimateCompletionTime(ci, &time); _res = Py_BuildValue("lO&", _rv, QtTimeRecord_New, &time); return _res; } static PyObject *Qt_MovieImportSetDontBlock(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; Boolean dontBlock; #ifndef MovieImportSetDontBlock PyMac_PRECHECK(MovieImportSetDontBlock); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &ci, &dontBlock)) return NULL; _rv = MovieImportSetDontBlock(ci, dontBlock); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportGetDontBlock(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; Boolean willBlock; #ifndef MovieImportGetDontBlock PyMac_PRECHECK(MovieImportGetDontBlock); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MovieImportGetDontBlock(ci, &willBlock); _res = Py_BuildValue("lb", _rv, willBlock); return _res; } static PyObject *Qt_MovieImportSetIdleManager(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; IdleManager im; #ifndef MovieImportSetIdleManager PyMac_PRECHECK(MovieImportSetIdleManager); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, IdleManagerObj_Convert, &im)) return NULL; _rv = MovieImportSetIdleManager(ci, im); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportSetNewMovieFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; long newMovieFlags; #ifndef MovieImportSetNewMovieFlags PyMac_PRECHECK(MovieImportSetNewMovieFlags); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &newMovieFlags)) return NULL; _rv = MovieImportSetNewMovieFlags(ci, newMovieFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieImportGetDestinationMediaType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieImportComponent ci; OSType mediaType; #ifndef MovieImportGetDestinationMediaType PyMac_PRECHECK(MovieImportGetDestinationMediaType); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MovieImportGetDestinationMediaType(ci, &mediaType); _res = Py_BuildValue("lO&", _rv, PyMac_BuildOSType, mediaType); return _res; } static PyObject *Qt_MovieExportToHandle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; Handle dataH; Movie theMovie; Track onlyThisTrack; TimeValue startTime; TimeValue duration; #ifndef MovieExportToHandle PyMac_PRECHECK(MovieExportToHandle); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&ll", CmpInstObj_Convert, &ci, ResObj_Convert, &dataH, MovieObj_Convert, &theMovie, TrackObj_Convert, &onlyThisTrack, &startTime, &duration)) return NULL; _rv = MovieExportToHandle(ci, dataH, theMovie, onlyThisTrack, startTime, duration); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieExportToFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; FSSpec theFile; Movie theMovie; Track onlyThisTrack; TimeValue startTime; TimeValue duration; #ifndef MovieExportToFile PyMac_PRECHECK(MovieExportToFile); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&ll", CmpInstObj_Convert, &ci, PyMac_GetFSSpec, &theFile, MovieObj_Convert, &theMovie, TrackObj_Convert, &onlyThisTrack, &startTime, &duration)) return NULL; _rv = MovieExportToFile(ci, &theFile, theMovie, onlyThisTrack, startTime, duration); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieExportGetAuxiliaryData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; Handle dataH; OSType handleType; #ifndef MovieExportGetAuxiliaryData PyMac_PRECHECK(MovieExportGetAuxiliaryData); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &dataH)) return NULL; _rv = MovieExportGetAuxiliaryData(ci, dataH, &handleType); _res = Py_BuildValue("lO&", _rv, PyMac_BuildOSType, handleType); return _res; } static PyObject *Qt_MovieExportSetSampleDescription(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; SampleDescriptionHandle desc; OSType mediaType; #ifndef MovieExportSetSampleDescription PyMac_PRECHECK(MovieExportSetSampleDescription); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &desc, PyMac_GetOSType, &mediaType)) return NULL; _rv = MovieExportSetSampleDescription(ci, desc, mediaType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieExportDoUserDialog(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; Movie theMovie; Track onlyThisTrack; TimeValue startTime; TimeValue duration; Boolean canceled; #ifndef MovieExportDoUserDialog PyMac_PRECHECK(MovieExportDoUserDialog); #endif if (!PyArg_ParseTuple(_args, "O&O&O&ll", CmpInstObj_Convert, &ci, MovieObj_Convert, &theMovie, TrackObj_Convert, &onlyThisTrack, &startTime, &duration)) return NULL; _rv = MovieExportDoUserDialog(ci, theMovie, onlyThisTrack, startTime, duration, &canceled); _res = Py_BuildValue("lb", _rv, canceled); return _res; } static PyObject *Qt_MovieExportGetCreatorType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; OSType creator; #ifndef MovieExportGetCreatorType PyMac_PRECHECK(MovieExportGetCreatorType); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MovieExportGetCreatorType(ci, &creator); _res = Py_BuildValue("lO&", _rv, PyMac_BuildOSType, creator); return _res; } static PyObject *Qt_MovieExportToDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; Handle dataRef; OSType dataRefType; Movie theMovie; Track onlyThisTrack; TimeValue startTime; TimeValue duration; #ifndef MovieExportToDataRef PyMac_PRECHECK(MovieExportToDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&O&ll", CmpInstObj_Convert, &ci, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, MovieObj_Convert, &theMovie, TrackObj_Convert, &onlyThisTrack, &startTime, &duration)) return NULL; _rv = MovieExportToDataRef(ci, dataRef, dataRefType, theMovie, onlyThisTrack, startTime, duration); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieExportFromProceduresToDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; Handle dataRef; OSType dataRefType; #ifndef MovieExportFromProceduresToDataRef PyMac_PRECHECK(MovieExportFromProceduresToDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType)) return NULL; _rv = MovieExportFromProceduresToDataRef(ci, dataRef, dataRefType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieExportValidate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; Movie theMovie; Track onlyThisTrack; Boolean valid; #ifndef MovieExportValidate PyMac_PRECHECK(MovieExportValidate); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &ci, MovieObj_Convert, &theMovie, TrackObj_Convert, &onlyThisTrack)) return NULL; _rv = MovieExportValidate(ci, theMovie, onlyThisTrack, &valid); _res = Py_BuildValue("lb", _rv, valid); return _res; } static PyObject *Qt_MovieExportGetFileNameExtension(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; OSType extension; #ifndef MovieExportGetFileNameExtension PyMac_PRECHECK(MovieExportGetFileNameExtension); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MovieExportGetFileNameExtension(ci, &extension); _res = Py_BuildValue("lO&", _rv, PyMac_BuildOSType, extension); return _res; } static PyObject *Qt_MovieExportGetShortFileTypeString(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; Str255 typeString; #ifndef MovieExportGetShortFileTypeString PyMac_PRECHECK(MovieExportGetShortFileTypeString); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetStr255, typeString)) return NULL; _rv = MovieExportGetShortFileTypeString(ci, typeString); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MovieExportGetSourceMediaType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MovieExportComponent ci; OSType mediaType; #ifndef MovieExportGetSourceMediaType PyMac_PRECHECK(MovieExportGetSourceMediaType); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MovieExportGetSourceMediaType(ci, &mediaType); _res = Py_BuildValue("lO&", _rv, PyMac_BuildOSType, mediaType); return _res; } static PyObject *Qt_TextExportGetTimeFraction(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TextExportComponent ci; long movieTimeFraction; #ifndef TextExportGetTimeFraction PyMac_PRECHECK(TextExportGetTimeFraction); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = TextExportGetTimeFraction(ci, &movieTimeFraction); _res = Py_BuildValue("ll", _rv, movieTimeFraction); return _res; } static PyObject *Qt_TextExportSetTimeFraction(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TextExportComponent ci; long movieTimeFraction; #ifndef TextExportSetTimeFraction PyMac_PRECHECK(TextExportSetTimeFraction); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &movieTimeFraction)) return NULL; _rv = TextExportSetTimeFraction(ci, movieTimeFraction); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TextExportGetSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TextExportComponent ci; long setting; #ifndef TextExportGetSettings PyMac_PRECHECK(TextExportGetSettings); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = TextExportGetSettings(ci, &setting); _res = Py_BuildValue("ll", _rv, setting); return _res; } static PyObject *Qt_TextExportSetSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TextExportComponent ci; long setting; #ifndef TextExportSetSettings PyMac_PRECHECK(TextExportSetSettings); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &setting)) return NULL; _rv = TextExportSetSettings(ci, setting); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MIDIImportGetSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TextExportComponent ci; long setting; #ifndef MIDIImportGetSettings PyMac_PRECHECK(MIDIImportGetSettings); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = MIDIImportGetSettings(ci, &setting); _res = Py_BuildValue("ll", _rv, setting); return _res; } static PyObject *Qt_MIDIImportSetSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TextExportComponent ci; long setting; #ifndef MIDIImportSetSettings PyMac_PRECHECK(MIDIImportSetSettings); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &setting)) return NULL; _rv = MIDIImportSetSettings(ci, setting); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImageImportSetSequenceEnabled(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicImageMovieImportComponent ci; Boolean enable; #ifndef GraphicsImageImportSetSequenceEnabled PyMac_PRECHECK(GraphicsImageImportSetSequenceEnabled); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &ci, &enable)) return NULL; _rv = GraphicsImageImportSetSequenceEnabled(ci, enable); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_GraphicsImageImportGetSequenceEnabled(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; GraphicImageMovieImportComponent ci; Boolean enable; #ifndef GraphicsImageImportGetSequenceEnabled PyMac_PRECHECK(GraphicsImageImportGetSequenceEnabled); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = GraphicsImageImportGetSequenceEnabled(ci, &enable); _res = Py_BuildValue("lb", _rv, enable); return _res; } static PyObject *Qt_PreviewShowData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; pnotComponent p; OSType dataType; Handle data; Rect inHere; #ifndef PreviewShowData PyMac_PRECHECK(PreviewShowData); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&", CmpInstObj_Convert, &p, PyMac_GetOSType, &dataType, ResObj_Convert, &data, PyMac_GetRect, &inHere)) return NULL; _rv = PreviewShowData(p, dataType, data, &inHere); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_PreviewMakePreviewReference(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; pnotComponent p; OSType previewType; short resID; FSSpec sourceFile; #ifndef PreviewMakePreviewReference PyMac_PRECHECK(PreviewMakePreviewReference); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &p, PyMac_GetFSSpec, &sourceFile)) return NULL; _rv = PreviewMakePreviewReference(p, &previewType, &resID, &sourceFile); _res = Py_BuildValue("lO&h", _rv, PyMac_BuildOSType, previewType, resID); return _res; } static PyObject *Qt_PreviewEvent(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; pnotComponent p; EventRecord e; Boolean handledEvent; #ifndef PreviewEvent PyMac_PRECHECK(PreviewEvent); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &p)) return NULL; _rv = PreviewEvent(p, &e, &handledEvent); _res = Py_BuildValue("lO&b", _rv, PyMac_BuildEventRecord, &e, handledEvent); return _res; } static PyObject *Qt_DataCodecDecompress(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataCodecComponent dc; void * srcData; UInt32 srcSize; void * dstData; UInt32 dstBufferSize; #ifndef DataCodecDecompress PyMac_PRECHECK(DataCodecDecompress); #endif if (!PyArg_ParseTuple(_args, "O&slsl", CmpInstObj_Convert, &dc, &srcData, &srcSize, &dstData, &dstBufferSize)) return NULL; _rv = DataCodecDecompress(dc, srcData, srcSize, dstData, dstBufferSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataCodecGetCompressBufferSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataCodecComponent dc; UInt32 srcSize; UInt32 dstSize; #ifndef DataCodecGetCompressBufferSize PyMac_PRECHECK(DataCodecGetCompressBufferSize); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &dc, &srcSize)) return NULL; _rv = DataCodecGetCompressBufferSize(dc, srcSize, &dstSize); _res = Py_BuildValue("ll", _rv, dstSize); return _res; } static PyObject *Qt_DataCodecCompress(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataCodecComponent dc; void * srcData; UInt32 srcSize; void * dstData; UInt32 dstBufferSize; UInt32 actualDstSize; UInt32 decompressSlop; #ifndef DataCodecCompress PyMac_PRECHECK(DataCodecCompress); #endif if (!PyArg_ParseTuple(_args, "O&slsl", CmpInstObj_Convert, &dc, &srcData, &srcSize, &dstData, &dstBufferSize)) return NULL; _rv = DataCodecCompress(dc, srcData, srcSize, dstData, dstBufferSize, &actualDstSize, &decompressSlop); _res = Py_BuildValue("lll", _rv, actualDstSize, decompressSlop); return _res; } static PyObject *Qt_DataCodecBeginInterruptSafe(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataCodecComponent dc; unsigned long maxSrcSize; #ifndef DataCodecBeginInterruptSafe PyMac_PRECHECK(DataCodecBeginInterruptSafe); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &dc, &maxSrcSize)) return NULL; _rv = DataCodecBeginInterruptSafe(dc, maxSrcSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataCodecEndInterruptSafe(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataCodecComponent dc; #ifndef DataCodecEndInterruptSafe PyMac_PRECHECK(DataCodecEndInterruptSafe); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dc)) return NULL; _rv = DataCodecEndInterruptSafe(dc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle h; long hOffset; long offset; long size; #ifndef DataHGetData PyMac_PRECHECK(DataHGetData); #endif if (!PyArg_ParseTuple(_args, "O&O&lll", CmpInstObj_Convert, &dh, ResObj_Convert, &h, &hOffset, &offset, &size)) return NULL; _rv = DataHGetData(dh, h, hOffset, offset, size); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHPutData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle h; long hOffset; long offset; long size; #ifndef DataHPutData PyMac_PRECHECK(DataHPutData); #endif if (!PyArg_ParseTuple(_args, "O&O&ll", CmpInstObj_Convert, &dh, ResObj_Convert, &h, &hOffset, &size)) return NULL; _rv = DataHPutData(dh, h, hOffset, &offset, size); _res = Py_BuildValue("ll", _rv, offset); return _res; } static PyObject *Qt_DataHFlushData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; #ifndef DataHFlushData PyMac_PRECHECK(DataHFlushData); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHFlushData(dh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHOpenForWrite(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; #ifndef DataHOpenForWrite PyMac_PRECHECK(DataHOpenForWrite); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHOpenForWrite(dh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHCloseForWrite(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; #ifndef DataHCloseForWrite PyMac_PRECHECK(DataHCloseForWrite); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHCloseForWrite(dh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHOpenForRead(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; #ifndef DataHOpenForRead PyMac_PRECHECK(DataHOpenForRead); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHOpenForRead(dh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHCloseForRead(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; #ifndef DataHCloseForRead PyMac_PRECHECK(DataHCloseForRead); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHCloseForRead(dh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHSetDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle dataRef; #ifndef DataHSetDataRef PyMac_PRECHECK(DataHSetDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, ResObj_Convert, &dataRef)) return NULL; _rv = DataHSetDataRef(dh, dataRef); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle dataRef; #ifndef DataHGetDataRef PyMac_PRECHECK(DataHGetDataRef); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetDataRef(dh, &dataRef); _res = Py_BuildValue("lO&", _rv, ResObj_New, dataRef); return _res; } static PyObject *Qt_DataHCompareDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle dataRef; Boolean equal; #ifndef DataHCompareDataRef PyMac_PRECHECK(DataHCompareDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, ResObj_Convert, &dataRef)) return NULL; _rv = DataHCompareDataRef(dh, dataRef, &equal); _res = Py_BuildValue("lb", _rv, equal); return _res; } static PyObject *Qt_DataHTask(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; #ifndef DataHTask PyMac_PRECHECK(DataHTask); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHTask(dh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHFinishData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Ptr PlaceToPutDataPtr; Boolean Cancel; #ifndef DataHFinishData PyMac_PRECHECK(DataHFinishData); #endif if (!PyArg_ParseTuple(_args, "O&sb", CmpInstObj_Convert, &dh, &PlaceToPutDataPtr, &Cancel)) return NULL; _rv = DataHFinishData(dh, PlaceToPutDataPtr, Cancel); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHFlushCache(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; #ifndef DataHFlushCache PyMac_PRECHECK(DataHFlushCache); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHFlushCache(dh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHResolveDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle theDataRef; Boolean wasChanged; Boolean userInterfaceAllowed; #ifndef DataHResolveDataRef PyMac_PRECHECK(DataHResolveDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&b", CmpInstObj_Convert, &dh, ResObj_Convert, &theDataRef, &userInterfaceAllowed)) return NULL; _rv = DataHResolveDataRef(dh, theDataRef, &wasChanged, userInterfaceAllowed); _res = Py_BuildValue("lb", _rv, wasChanged); return _res; } static PyObject *Qt_DataHGetFileSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long fileSize; #ifndef DataHGetFileSize PyMac_PRECHECK(DataHGetFileSize); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetFileSize(dh, &fileSize); _res = Py_BuildValue("ll", _rv, fileSize); return _res; } static PyObject *Qt_DataHCanUseDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle dataRef; long useFlags; #ifndef DataHCanUseDataRef PyMac_PRECHECK(DataHCanUseDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, ResObj_Convert, &dataRef)) return NULL; _rv = DataHCanUseDataRef(dh, dataRef, &useFlags); _res = Py_BuildValue("ll", _rv, useFlags); return _res; } static PyObject *Qt_DataHPreextend(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; unsigned long maxToAdd; unsigned long spaceAdded; #ifndef DataHPreextend PyMac_PRECHECK(DataHPreextend); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &dh, &maxToAdd)) return NULL; _rv = DataHPreextend(dh, maxToAdd, &spaceAdded); _res = Py_BuildValue("ll", _rv, spaceAdded); return _res; } static PyObject *Qt_DataHSetFileSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long fileSize; #ifndef DataHSetFileSize PyMac_PRECHECK(DataHSetFileSize); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &dh, &fileSize)) return NULL; _rv = DataHSetFileSize(dh, fileSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetFreeSpace(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; unsigned long freeSize; #ifndef DataHGetFreeSpace PyMac_PRECHECK(DataHGetFreeSpace); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetFreeSpace(dh, &freeSize); _res = Py_BuildValue("ll", _rv, freeSize); return _res; } static PyObject *Qt_DataHCreateFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; OSType creator; Boolean deleteExisting; #ifndef DataHCreateFile PyMac_PRECHECK(DataHCreateFile); #endif if (!PyArg_ParseTuple(_args, "O&O&b", CmpInstObj_Convert, &dh, PyMac_GetOSType, &creator, &deleteExisting)) return NULL; _rv = DataHCreateFile(dh, creator, deleteExisting); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetPreferredBlockSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long blockSize; #ifndef DataHGetPreferredBlockSize PyMac_PRECHECK(DataHGetPreferredBlockSize); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetPreferredBlockSize(dh, &blockSize); _res = Py_BuildValue("ll", _rv, blockSize); return _res; } static PyObject *Qt_DataHGetDeviceIndex(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long deviceIndex; #ifndef DataHGetDeviceIndex PyMac_PRECHECK(DataHGetDeviceIndex); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetDeviceIndex(dh, &deviceIndex); _res = Py_BuildValue("ll", _rv, deviceIndex); return _res; } static PyObject *Qt_DataHIsStreamingDataHandler(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Boolean yes; #ifndef DataHIsStreamingDataHandler PyMac_PRECHECK(DataHIsStreamingDataHandler); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHIsStreamingDataHandler(dh, &yes); _res = Py_BuildValue("lb", _rv, yes); return _res; } static PyObject *Qt_DataHGetDataInBuffer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long startOffset; long size; #ifndef DataHGetDataInBuffer PyMac_PRECHECK(DataHGetDataInBuffer); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &dh, &startOffset)) return NULL; _rv = DataHGetDataInBuffer(dh, startOffset, &size); _res = Py_BuildValue("ll", _rv, size); return _res; } static PyObject *Qt_DataHGetScheduleAheadTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long millisecs; #ifndef DataHGetScheduleAheadTime PyMac_PRECHECK(DataHGetScheduleAheadTime); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetScheduleAheadTime(dh, &millisecs); _res = Py_BuildValue("ll", _rv, millisecs); return _res; } static PyObject *Qt_DataHSetCacheSizeLimit(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Size cacheSizeLimit; #ifndef DataHSetCacheSizeLimit PyMac_PRECHECK(DataHSetCacheSizeLimit); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &dh, &cacheSizeLimit)) return NULL; _rv = DataHSetCacheSizeLimit(dh, cacheSizeLimit); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetCacheSizeLimit(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Size cacheSizeLimit; #ifndef DataHGetCacheSizeLimit PyMac_PRECHECK(DataHGetCacheSizeLimit); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetCacheSizeLimit(dh, &cacheSizeLimit); _res = Py_BuildValue("ll", _rv, cacheSizeLimit); return _res; } static PyObject *Qt_DataHGetMovie(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Movie theMovie; short id; #ifndef DataHGetMovie PyMac_PRECHECK(DataHGetMovie); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetMovie(dh, &theMovie, &id); _res = Py_BuildValue("lO&h", _rv, MovieObj_New, theMovie, id); return _res; } static PyObject *Qt_DataHAddMovie(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Movie theMovie; short id; #ifndef DataHAddMovie PyMac_PRECHECK(DataHAddMovie); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, MovieObj_Convert, &theMovie)) return NULL; _rv = DataHAddMovie(dh, theMovie, &id); _res = Py_BuildValue("lh", _rv, id); return _res; } static PyObject *Qt_DataHUpdateMovie(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Movie theMovie; short id; #ifndef DataHUpdateMovie PyMac_PRECHECK(DataHUpdateMovie); #endif if (!PyArg_ParseTuple(_args, "O&O&h", CmpInstObj_Convert, &dh, MovieObj_Convert, &theMovie, &id)) return NULL; _rv = DataHUpdateMovie(dh, theMovie, id); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHDoesBuffer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Boolean buffersReads; Boolean buffersWrites; #ifndef DataHDoesBuffer PyMac_PRECHECK(DataHDoesBuffer); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHDoesBuffer(dh, &buffersReads, &buffersWrites); _res = Py_BuildValue("lbb", _rv, buffersReads, buffersWrites); return _res; } static PyObject *Qt_DataHGetFileName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Str255 str; #ifndef DataHGetFileName PyMac_PRECHECK(DataHGetFileName); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, PyMac_GetStr255, str)) return NULL; _rv = DataHGetFileName(dh, str); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetAvailableFileSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long fileSize; #ifndef DataHGetAvailableFileSize PyMac_PRECHECK(DataHGetAvailableFileSize); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetAvailableFileSize(dh, &fileSize); _res = Py_BuildValue("ll", _rv, fileSize); return _res; } static PyObject *Qt_DataHGetMacOSFileType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; OSType fileType; #ifndef DataHGetMacOSFileType PyMac_PRECHECK(DataHGetMacOSFileType); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetMacOSFileType(dh, &fileType); _res = Py_BuildValue("lO&", _rv, PyMac_BuildOSType, fileType); return _res; } static PyObject *Qt_DataHGetMIMEType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Str255 mimeType; #ifndef DataHGetMIMEType PyMac_PRECHECK(DataHGetMIMEType); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, PyMac_GetStr255, mimeType)) return NULL; _rv = DataHGetMIMEType(dh, mimeType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHSetDataRefWithAnchor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle anchorDataRef; OSType dataRefType; Handle dataRef; #ifndef DataHSetDataRefWithAnchor PyMac_PRECHECK(DataHSetDataRefWithAnchor); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&", CmpInstObj_Convert, &dh, ResObj_Convert, &anchorDataRef, PyMac_GetOSType, &dataRefType, ResObj_Convert, &dataRef)) return NULL; _rv = DataHSetDataRefWithAnchor(dh, anchorDataRef, dataRefType, dataRef); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetDataRefWithAnchor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle anchorDataRef; OSType dataRefType; Handle dataRef; #ifndef DataHGetDataRefWithAnchor PyMac_PRECHECK(DataHGetDataRefWithAnchor); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &dh, ResObj_Convert, &anchorDataRef, PyMac_GetOSType, &dataRefType)) return NULL; _rv = DataHGetDataRefWithAnchor(dh, anchorDataRef, dataRefType, &dataRef); _res = Py_BuildValue("lO&", _rv, ResObj_New, dataRef); return _res; } static PyObject *Qt_DataHSetMacOSFileType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; OSType fileType; #ifndef DataHSetMacOSFileType PyMac_PRECHECK(DataHSetMacOSFileType); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, PyMac_GetOSType, &fileType)) return NULL; _rv = DataHSetMacOSFileType(dh, fileType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHSetTimeBase(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; TimeBase tb; #ifndef DataHSetTimeBase PyMac_PRECHECK(DataHSetTimeBase); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, TimeBaseObj_Convert, &tb)) return NULL; _rv = DataHSetTimeBase(dh, tb); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetInfoFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; UInt32 flags; #ifndef DataHGetInfoFlags PyMac_PRECHECK(DataHGetInfoFlags); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetInfoFlags(dh, &flags); _res = Py_BuildValue("ll", _rv, flags); return _res; } static PyObject *Qt_DataHGetFileSize64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; wide fileSize; #ifndef DataHGetFileSize64 PyMac_PRECHECK(DataHGetFileSize64); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetFileSize64(dh, &fileSize); _res = Py_BuildValue("lO&", _rv, PyMac_Buildwide, fileSize); return _res; } static PyObject *Qt_DataHPreextend64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; wide maxToAdd; wide spaceAdded; #ifndef DataHPreextend64 PyMac_PRECHECK(DataHPreextend64); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, PyMac_Getwide, &maxToAdd)) return NULL; _rv = DataHPreextend64(dh, &maxToAdd, &spaceAdded); _res = Py_BuildValue("lO&", _rv, PyMac_Buildwide, spaceAdded); return _res; } static PyObject *Qt_DataHSetFileSize64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; wide fileSize; #ifndef DataHSetFileSize64 PyMac_PRECHECK(DataHSetFileSize64); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, PyMac_Getwide, &fileSize)) return NULL; _rv = DataHSetFileSize64(dh, &fileSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetFreeSpace64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; wide freeSize; #ifndef DataHGetFreeSpace64 PyMac_PRECHECK(DataHGetFreeSpace64); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetFreeSpace64(dh, &freeSize); _res = Py_BuildValue("lO&", _rv, PyMac_Buildwide, freeSize); return _res; } static PyObject *Qt_DataHAppend64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; void * data; wide fileOffset; unsigned long size; #ifndef DataHAppend64 PyMac_PRECHECK(DataHAppend64); #endif if (!PyArg_ParseTuple(_args, "O&sl", CmpInstObj_Convert, &dh, &data, &size)) return NULL; _rv = DataHAppend64(dh, data, &fileOffset, size); _res = Py_BuildValue("lO&", _rv, PyMac_Buildwide, fileOffset); return _res; } static PyObject *Qt_DataHPollRead(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; void * dataPtr; UInt32 dataSizeSoFar; #ifndef DataHPollRead PyMac_PRECHECK(DataHPollRead); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &dh, &dataPtr)) return NULL; _rv = DataHPollRead(dh, dataPtr, &dataSizeSoFar); _res = Py_BuildValue("ll", _rv, dataSizeSoFar); return _res; } static PyObject *Qt_DataHGetDataAvailability(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long offset; long len; long missing_offset; long missing_len; #ifndef DataHGetDataAvailability PyMac_PRECHECK(DataHGetDataAvailability); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &dh, &offset, &len)) return NULL; _rv = DataHGetDataAvailability(dh, offset, len, &missing_offset, &missing_len); _res = Py_BuildValue("lll", _rv, missing_offset, missing_len); return _res; } static PyObject *Qt_DataHGetDataRefAsType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; OSType requestedType; Handle dataRef; #ifndef DataHGetDataRefAsType PyMac_PRECHECK(DataHGetDataRefAsType); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, PyMac_GetOSType, &requestedType)) return NULL; _rv = DataHGetDataRefAsType(dh, requestedType, &dataRef); _res = Py_BuildValue("lO&", _rv, ResObj_New, dataRef); return _res; } static PyObject *Qt_DataHSetDataRefExtension(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle extension; OSType idType; #ifndef DataHSetDataRefExtension PyMac_PRECHECK(DataHSetDataRefExtension); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &dh, ResObj_Convert, &extension, PyMac_GetOSType, &idType)) return NULL; _rv = DataHSetDataRefExtension(dh, extension, idType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetDataRefExtension(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle extension; OSType idType; #ifndef DataHGetDataRefExtension PyMac_PRECHECK(DataHGetDataRefExtension); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, PyMac_GetOSType, &idType)) return NULL; _rv = DataHGetDataRefExtension(dh, &extension, idType); _res = Py_BuildValue("lO&", _rv, ResObj_New, extension); return _res; } static PyObject *Qt_DataHGetMovieWithFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Movie theMovie; short id; short flags; #ifndef DataHGetMovieWithFlags PyMac_PRECHECK(DataHGetMovieWithFlags); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &dh, &flags)) return NULL; _rv = DataHGetMovieWithFlags(dh, &theMovie, &id, flags); _res = Py_BuildValue("lO&h", _rv, MovieObj_New, theMovie, id); return _res; } static PyObject *Qt_DataHGetFileTypeOrdering(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; DataHFileTypeOrderingHandle orderingListHandle; #ifndef DataHGetFileTypeOrdering PyMac_PRECHECK(DataHGetFileTypeOrdering); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetFileTypeOrdering(dh, &orderingListHandle); _res = Py_BuildValue("lO&", _rv, ResObj_New, orderingListHandle); return _res; } static PyObject *Qt_DataHCreateFileWithFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; OSType creator; Boolean deleteExisting; UInt32 flags; #ifndef DataHCreateFileWithFlags PyMac_PRECHECK(DataHCreateFileWithFlags); #endif if (!PyArg_ParseTuple(_args, "O&O&bl", CmpInstObj_Convert, &dh, PyMac_GetOSType, &creator, &deleteExisting, &flags)) return NULL; _rv = DataHCreateFileWithFlags(dh, creator, deleteExisting, flags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetInfo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; OSType what; void * info; #ifndef DataHGetInfo PyMac_PRECHECK(DataHGetInfo); #endif if (!PyArg_ParseTuple(_args, "O&O&s", CmpInstObj_Convert, &dh, PyMac_GetOSType, &what, &info)) return NULL; _rv = DataHGetInfo(dh, what, info); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHSetIdleManager(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; IdleManager im; #ifndef DataHSetIdleManager PyMac_PRECHECK(DataHSetIdleManager); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, IdleManagerObj_Convert, &im)) return NULL; _rv = DataHSetIdleManager(dh, im); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHDeleteFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; #ifndef DataHDeleteFile PyMac_PRECHECK(DataHDeleteFile); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHDeleteFile(dh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHSetMovieUsageFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long flags; #ifndef DataHSetMovieUsageFlags PyMac_PRECHECK(DataHSetMovieUsageFlags); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &dh, &flags)) return NULL; _rv = DataHSetMovieUsageFlags(dh, flags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHUseTemporaryDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long inFlags; #ifndef DataHUseTemporaryDataRef PyMac_PRECHECK(DataHUseTemporaryDataRef); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &dh, &inFlags)) return NULL; _rv = DataHUseTemporaryDataRef(dh, inFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetTemporaryDataRefCapabilities(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long outUnderstoodFlags; #ifndef DataHGetTemporaryDataRefCapabilities PyMac_PRECHECK(DataHGetTemporaryDataRefCapabilities); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &dh)) return NULL; _rv = DataHGetTemporaryDataRefCapabilities(dh, &outUnderstoodFlags); _res = Py_BuildValue("ll", _rv, outUnderstoodFlags); return _res; } static PyObject *Qt_DataHRenameFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; Handle newDataRef; #ifndef DataHRenameFile PyMac_PRECHECK(DataHRenameFile); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &dh, ResObj_Convert, &newDataRef)) return NULL; _rv = DataHRenameFile(dh, newDataRef); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHPlaybackHints(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long flags; unsigned long minFileOffset; unsigned long maxFileOffset; long bytesPerSecond; #ifndef DataHPlaybackHints PyMac_PRECHECK(DataHPlaybackHints); #endif if (!PyArg_ParseTuple(_args, "O&llll", CmpInstObj_Convert, &dh, &flags, &minFileOffset, &maxFileOffset, &bytesPerSecond)) return NULL; _rv = DataHPlaybackHints(dh, flags, minFileOffset, maxFileOffset, bytesPerSecond); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHPlaybackHints64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long flags; wide minFileOffset; wide maxFileOffset; long bytesPerSecond; #ifndef DataHPlaybackHints64 PyMac_PRECHECK(DataHPlaybackHints64); #endif if (!PyArg_ParseTuple(_args, "O&lO&O&l", CmpInstObj_Convert, &dh, &flags, PyMac_Getwide, &minFileOffset, PyMac_Getwide, &maxFileOffset, &bytesPerSecond)) return NULL; _rv = DataHPlaybackHints64(dh, flags, &minFileOffset, &maxFileOffset, bytesPerSecond); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_DataHGetDataRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long flags; long bytesPerSecond; #ifndef DataHGetDataRate PyMac_PRECHECK(DataHGetDataRate); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &dh, &flags)) return NULL; _rv = DataHGetDataRate(dh, flags, &bytesPerSecond); _res = Py_BuildValue("ll", _rv, bytesPerSecond); return _res; } static PyObject *Qt_DataHSetTimeHints(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; DataHandler dh; long flags; long bandwidthPriority; TimeScale scale; TimeValue minTime; TimeValue maxTime; #ifndef DataHSetTimeHints PyMac_PRECHECK(DataHSetTimeHints); #endif if (!PyArg_ParseTuple(_args, "O&lllll", CmpInstObj_Convert, &dh, &flags, &bandwidthPriority, &scale, &minTime, &maxTime)) return NULL; _rv = DataHSetTimeHints(dh, flags, bandwidthPriority, scale, minTime, maxTime); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetMaxSrcRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short inputStd; Rect maxSrcRect; #ifndef VDGetMaxSrcRect PyMac_PRECHECK(VDGetMaxSrcRect); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &inputStd)) return NULL; _rv = VDGetMaxSrcRect(ci, inputStd, &maxSrcRect); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &maxSrcRect); return _res; } static PyObject *Qt_VDGetActiveSrcRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short inputStd; Rect activeSrcRect; #ifndef VDGetActiveSrcRect PyMac_PRECHECK(VDGetActiveSrcRect); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &inputStd)) return NULL; _rv = VDGetActiveSrcRect(ci, inputStd, &activeSrcRect); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &activeSrcRect); return _res; } static PyObject *Qt_VDSetDigitizerRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; Rect digitizerRect; #ifndef VDSetDigitizerRect PyMac_PRECHECK(VDSetDigitizerRect); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDSetDigitizerRect(ci, &digitizerRect); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &digitizerRect); return _res; } static PyObject *Qt_VDGetDigitizerRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; Rect digitizerRect; #ifndef VDGetDigitizerRect PyMac_PRECHECK(VDGetDigitizerRect); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetDigitizerRect(ci, &digitizerRect); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &digitizerRect); return _res; } static PyObject *Qt_VDGetVBlankRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short inputStd; Rect vBlankRect; #ifndef VDGetVBlankRect PyMac_PRECHECK(VDGetVBlankRect); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &inputStd)) return NULL; _rv = VDGetVBlankRect(ci, inputStd, &vBlankRect); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &vBlankRect); return _res; } static PyObject *Qt_VDGetMaskPixMap(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; PixMapHandle maskPixMap; #ifndef VDGetMaskPixMap PyMac_PRECHECK(VDGetMaskPixMap); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &maskPixMap)) return NULL; _rv = VDGetMaskPixMap(ci, maskPixMap); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDUseThisCLUT(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; CTabHandle colorTableHandle; #ifndef VDUseThisCLUT PyMac_PRECHECK(VDUseThisCLUT); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &colorTableHandle)) return NULL; _rv = VDUseThisCLUT(ci, colorTableHandle); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDSetInputGammaValue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; Fixed channel1; Fixed channel2; Fixed channel3; #ifndef VDSetInputGammaValue PyMac_PRECHECK(VDSetInputGammaValue); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&", CmpInstObj_Convert, &ci, PyMac_GetFixed, &channel1, PyMac_GetFixed, &channel2, PyMac_GetFixed, &channel3)) return NULL; _rv = VDSetInputGammaValue(ci, channel1, channel2, channel3); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetInputGammaValue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; Fixed channel1; Fixed channel2; Fixed channel3; #ifndef VDGetInputGammaValue PyMac_PRECHECK(VDGetInputGammaValue); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetInputGammaValue(ci, &channel1, &channel2, &channel3); _res = Py_BuildValue("lO&O&O&", _rv, PyMac_BuildFixed, channel1, PyMac_BuildFixed, channel2, PyMac_BuildFixed, channel3); return _res; } static PyObject *Qt_VDSetBrightness(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short brightness; #ifndef VDSetBrightness PyMac_PRECHECK(VDSetBrightness); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDSetBrightness(ci, &brightness); _res = Py_BuildValue("lH", _rv, brightness); return _res; } static PyObject *Qt_VDGetBrightness(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short brightness; #ifndef VDGetBrightness PyMac_PRECHECK(VDGetBrightness); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetBrightness(ci, &brightness); _res = Py_BuildValue("lH", _rv, brightness); return _res; } static PyObject *Qt_VDSetContrast(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short contrast; #ifndef VDSetContrast PyMac_PRECHECK(VDSetContrast); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDSetContrast(ci, &contrast); _res = Py_BuildValue("lH", _rv, contrast); return _res; } static PyObject *Qt_VDSetHue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short hue; #ifndef VDSetHue PyMac_PRECHECK(VDSetHue); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDSetHue(ci, &hue); _res = Py_BuildValue("lH", _rv, hue); return _res; } static PyObject *Qt_VDSetSharpness(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short sharpness; #ifndef VDSetSharpness PyMac_PRECHECK(VDSetSharpness); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDSetSharpness(ci, &sharpness); _res = Py_BuildValue("lH", _rv, sharpness); return _res; } static PyObject *Qt_VDSetSaturation(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short saturation; #ifndef VDSetSaturation PyMac_PRECHECK(VDSetSaturation); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDSetSaturation(ci, &saturation); _res = Py_BuildValue("lH", _rv, saturation); return _res; } static PyObject *Qt_VDGetContrast(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short contrast; #ifndef VDGetContrast PyMac_PRECHECK(VDGetContrast); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetContrast(ci, &contrast); _res = Py_BuildValue("lH", _rv, contrast); return _res; } static PyObject *Qt_VDGetHue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short hue; #ifndef VDGetHue PyMac_PRECHECK(VDGetHue); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetHue(ci, &hue); _res = Py_BuildValue("lH", _rv, hue); return _res; } static PyObject *Qt_VDGetSharpness(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short sharpness; #ifndef VDGetSharpness PyMac_PRECHECK(VDGetSharpness); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetSharpness(ci, &sharpness); _res = Py_BuildValue("lH", _rv, sharpness); return _res; } static PyObject *Qt_VDGetSaturation(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short saturation; #ifndef VDGetSaturation PyMac_PRECHECK(VDGetSaturation); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetSaturation(ci, &saturation); _res = Py_BuildValue("lH", _rv, saturation); return _res; } static PyObject *Qt_VDGrabOneFrame(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; #ifndef VDGrabOneFrame PyMac_PRECHECK(VDGrabOneFrame); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGrabOneFrame(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetMaxAuxBuffer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; PixMapHandle pm; Rect r; #ifndef VDGetMaxAuxBuffer PyMac_PRECHECK(VDGetMaxAuxBuffer); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetMaxAuxBuffer(ci, &pm, &r); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, pm, PyMac_BuildRect, &r); return _res; } static PyObject *Qt_VDGetCurrentFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long inputCurrentFlag; long outputCurrentFlag; #ifndef VDGetCurrentFlags PyMac_PRECHECK(VDGetCurrentFlags); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetCurrentFlags(ci, &inputCurrentFlag, &outputCurrentFlag); _res = Py_BuildValue("lll", _rv, inputCurrentFlag, outputCurrentFlag); return _res; } static PyObject *Qt_VDSetKeyColor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long index; #ifndef VDSetKeyColor PyMac_PRECHECK(VDSetKeyColor); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &index)) return NULL; _rv = VDSetKeyColor(ci, index); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetKeyColor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long index; #ifndef VDGetKeyColor PyMac_PRECHECK(VDGetKeyColor); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetKeyColor(ci, &index); _res = Py_BuildValue("ll", _rv, index); return _res; } static PyObject *Qt_VDAddKeyColor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long index; #ifndef VDAddKeyColor PyMac_PRECHECK(VDAddKeyColor); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDAddKeyColor(ci, &index); _res = Py_BuildValue("ll", _rv, index); return _res; } static PyObject *Qt_VDGetNextKeyColor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long index; #ifndef VDGetNextKeyColor PyMac_PRECHECK(VDGetNextKeyColor); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &index)) return NULL; _rv = VDGetNextKeyColor(ci, index); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDSetKeyColorRange(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; RGBColor minRGB; RGBColor maxRGB; #ifndef VDSetKeyColorRange PyMac_PRECHECK(VDSetKeyColorRange); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDSetKeyColorRange(ci, &minRGB, &maxRGB); _res = Py_BuildValue("lO&O&", _rv, QdRGB_New, &minRGB, QdRGB_New, &maxRGB); return _res; } static PyObject *Qt_VDGetKeyColorRange(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; RGBColor minRGB; RGBColor maxRGB; #ifndef VDGetKeyColorRange PyMac_PRECHECK(VDGetKeyColorRange); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetKeyColorRange(ci, &minRGB, &maxRGB); _res = Py_BuildValue("lO&O&", _rv, QdRGB_New, &minRGB, QdRGB_New, &maxRGB); return _res; } static PyObject *Qt_VDSetInputColorSpaceMode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short colorSpaceMode; #ifndef VDSetInputColorSpaceMode PyMac_PRECHECK(VDSetInputColorSpaceMode); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &colorSpaceMode)) return NULL; _rv = VDSetInputColorSpaceMode(ci, colorSpaceMode); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetInputColorSpaceMode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short colorSpaceMode; #ifndef VDGetInputColorSpaceMode PyMac_PRECHECK(VDGetInputColorSpaceMode); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetInputColorSpaceMode(ci, &colorSpaceMode); _res = Py_BuildValue("lh", _rv, colorSpaceMode); return _res; } static PyObject *Qt_VDSetClipState(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short clipEnable; #ifndef VDSetClipState PyMac_PRECHECK(VDSetClipState); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &clipEnable)) return NULL; _rv = VDSetClipState(ci, clipEnable); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetClipState(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short clipEnable; #ifndef VDGetClipState PyMac_PRECHECK(VDGetClipState); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetClipState(ci, &clipEnable); _res = Py_BuildValue("lh", _rv, clipEnable); return _res; } static PyObject *Qt_VDSetClipRgn(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; RgnHandle clipRegion; #ifndef VDSetClipRgn PyMac_PRECHECK(VDSetClipRgn); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &clipRegion)) return NULL; _rv = VDSetClipRgn(ci, clipRegion); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDClearClipRgn(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; RgnHandle clipRegion; #ifndef VDClearClipRgn PyMac_PRECHECK(VDClearClipRgn); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &clipRegion)) return NULL; _rv = VDClearClipRgn(ci, clipRegion); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetCLUTInUse(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; CTabHandle colorTableHandle; #ifndef VDGetCLUTInUse PyMac_PRECHECK(VDGetCLUTInUse); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetCLUTInUse(ci, &colorTableHandle); _res = Py_BuildValue("lO&", _rv, ResObj_New, colorTableHandle); return _res; } static PyObject *Qt_VDSetPLLFilterType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short pllType; #ifndef VDSetPLLFilterType PyMac_PRECHECK(VDSetPLLFilterType); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &pllType)) return NULL; _rv = VDSetPLLFilterType(ci, pllType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetPLLFilterType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short pllType; #ifndef VDGetPLLFilterType PyMac_PRECHECK(VDGetPLLFilterType); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetPLLFilterType(ci, &pllType); _res = Py_BuildValue("lh", _rv, pllType); return _res; } static PyObject *Qt_VDGetMaskandValue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short blendLevel; long mask; long value; #ifndef VDGetMaskandValue PyMac_PRECHECK(VDGetMaskandValue); #endif if (!PyArg_ParseTuple(_args, "O&H", CmpInstObj_Convert, &ci, &blendLevel)) return NULL; _rv = VDGetMaskandValue(ci, blendLevel, &mask, &value); _res = Py_BuildValue("lll", _rv, mask, value); return _res; } static PyObject *Qt_VDSetMasterBlendLevel(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short blendLevel; #ifndef VDSetMasterBlendLevel PyMac_PRECHECK(VDSetMasterBlendLevel); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDSetMasterBlendLevel(ci, &blendLevel); _res = Py_BuildValue("lH", _rv, blendLevel); return _res; } static PyObject *Qt_VDSetPlayThruOnOff(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short state; #ifndef VDSetPlayThruOnOff PyMac_PRECHECK(VDSetPlayThruOnOff); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &state)) return NULL; _rv = VDSetPlayThruOnOff(ci, state); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDSetFieldPreference(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short fieldFlag; #ifndef VDSetFieldPreference PyMac_PRECHECK(VDSetFieldPreference); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &fieldFlag)) return NULL; _rv = VDSetFieldPreference(ci, fieldFlag); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetFieldPreference(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short fieldFlag; #ifndef VDGetFieldPreference PyMac_PRECHECK(VDGetFieldPreference); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetFieldPreference(ci, &fieldFlag); _res = Py_BuildValue("lh", _rv, fieldFlag); return _res; } static PyObject *Qt_VDPreflightGlobalRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; GrafPtr theWindow; Rect globalRect; #ifndef VDPreflightGlobalRect PyMac_PRECHECK(VDPreflightGlobalRect); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, GrafObj_Convert, &theWindow)) return NULL; _rv = VDPreflightGlobalRect(ci, theWindow, &globalRect); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &globalRect); return _res; } static PyObject *Qt_VDSetPlayThruGlobalRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; GrafPtr theWindow; Rect globalRect; #ifndef VDSetPlayThruGlobalRect PyMac_PRECHECK(VDSetPlayThruGlobalRect); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, GrafObj_Convert, &theWindow)) return NULL; _rv = VDSetPlayThruGlobalRect(ci, theWindow, &globalRect); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &globalRect); return _res; } static PyObject *Qt_VDSetBlackLevelValue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short blackLevel; #ifndef VDSetBlackLevelValue PyMac_PRECHECK(VDSetBlackLevelValue); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDSetBlackLevelValue(ci, &blackLevel); _res = Py_BuildValue("lH", _rv, blackLevel); return _res; } static PyObject *Qt_VDGetBlackLevelValue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short blackLevel; #ifndef VDGetBlackLevelValue PyMac_PRECHECK(VDGetBlackLevelValue); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetBlackLevelValue(ci, &blackLevel); _res = Py_BuildValue("lH", _rv, blackLevel); return _res; } static PyObject *Qt_VDSetWhiteLevelValue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short whiteLevel; #ifndef VDSetWhiteLevelValue PyMac_PRECHECK(VDSetWhiteLevelValue); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDSetWhiteLevelValue(ci, &whiteLevel); _res = Py_BuildValue("lH", _rv, whiteLevel); return _res; } static PyObject *Qt_VDGetWhiteLevelValue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short whiteLevel; #ifndef VDGetWhiteLevelValue PyMac_PRECHECK(VDGetWhiteLevelValue); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetWhiteLevelValue(ci, &whiteLevel); _res = Py_BuildValue("lH", _rv, whiteLevel); return _res; } static PyObject *Qt_VDGetVideoDefaults(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; unsigned short blackLevel; unsigned short whiteLevel; unsigned short brightness; unsigned short hue; unsigned short saturation; unsigned short contrast; unsigned short sharpness; #ifndef VDGetVideoDefaults PyMac_PRECHECK(VDGetVideoDefaults); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetVideoDefaults(ci, &blackLevel, &whiteLevel, &brightness, &hue, &saturation, &contrast, &sharpness); _res = Py_BuildValue("lHHHHHHH", _rv, blackLevel, whiteLevel, brightness, hue, saturation, contrast, sharpness); return _res; } static PyObject *Qt_VDGetNumberOfInputs(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short inputs; #ifndef VDGetNumberOfInputs PyMac_PRECHECK(VDGetNumberOfInputs); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetNumberOfInputs(ci, &inputs); _res = Py_BuildValue("lh", _rv, inputs); return _res; } static PyObject *Qt_VDGetInputFormat(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short input; short format; #ifndef VDGetInputFormat PyMac_PRECHECK(VDGetInputFormat); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &input)) return NULL; _rv = VDGetInputFormat(ci, input, &format); _res = Py_BuildValue("lh", _rv, format); return _res; } static PyObject *Qt_VDSetInput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short input; #ifndef VDSetInput PyMac_PRECHECK(VDSetInput); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &input)) return NULL; _rv = VDSetInput(ci, input); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetInput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short input; #ifndef VDGetInput PyMac_PRECHECK(VDGetInput); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetInput(ci, &input); _res = Py_BuildValue("lh", _rv, input); return _res; } static PyObject *Qt_VDSetInputStandard(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short inputStandard; #ifndef VDSetInputStandard PyMac_PRECHECK(VDSetInputStandard); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &inputStandard)) return NULL; _rv = VDSetInputStandard(ci, inputStandard); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDSetupBuffers(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; VdigBufferRecListHandle bufferList; #ifndef VDSetupBuffers PyMac_PRECHECK(VDSetupBuffers); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &bufferList)) return NULL; _rv = VDSetupBuffers(ci, bufferList); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGrabOneFrameAsync(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short buffer; #ifndef VDGrabOneFrameAsync PyMac_PRECHECK(VDGrabOneFrameAsync); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &buffer)) return NULL; _rv = VDGrabOneFrameAsync(ci, buffer); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDDone(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; short buffer; #ifndef VDDone PyMac_PRECHECK(VDDone); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &ci, &buffer)) return NULL; _rv = VDDone(ci, buffer); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDSetCompression(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; OSType compressType; short depth; Rect bounds; CodecQ spatialQuality; CodecQ temporalQuality; long keyFrameRate; #ifndef VDSetCompression PyMac_PRECHECK(VDSetCompression); #endif if (!PyArg_ParseTuple(_args, "O&O&hlll", CmpInstObj_Convert, &ci, PyMac_GetOSType, &compressType, &depth, &spatialQuality, &temporalQuality, &keyFrameRate)) return NULL; _rv = VDSetCompression(ci, compressType, depth, &bounds, spatialQuality, temporalQuality, keyFrameRate); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &bounds); return _res; } static PyObject *Qt_VDCompressOneFrameAsync(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; #ifndef VDCompressOneFrameAsync PyMac_PRECHECK(VDCompressOneFrameAsync); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDCompressOneFrameAsync(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetImageDescription(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; ImageDescriptionHandle desc; #ifndef VDGetImageDescription PyMac_PRECHECK(VDGetImageDescription); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &desc)) return NULL; _rv = VDGetImageDescription(ci, desc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDResetCompressSequence(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; #ifndef VDResetCompressSequence PyMac_PRECHECK(VDResetCompressSequence); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDResetCompressSequence(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDSetCompressionOnOff(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; Boolean state; #ifndef VDSetCompressionOnOff PyMac_PRECHECK(VDSetCompressionOnOff); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &ci, &state)) return NULL; _rv = VDSetCompressionOnOff(ci, state); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetCompressionTypes(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; VDCompressionListHandle h; #ifndef VDGetCompressionTypes PyMac_PRECHECK(VDGetCompressionTypes); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, ResObj_Convert, &h)) return NULL; _rv = VDGetCompressionTypes(ci, h); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDSetTimeBase(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; TimeBase t; #ifndef VDSetTimeBase PyMac_PRECHECK(VDSetTimeBase); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, TimeBaseObj_Convert, &t)) return NULL; _rv = VDSetTimeBase(ci, t); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDSetFrameRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; Fixed framesPerSecond; #ifndef VDSetFrameRate PyMac_PRECHECK(VDSetFrameRate); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetFixed, &framesPerSecond)) return NULL; _rv = VDSetFrameRate(ci, framesPerSecond); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetDataRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long milliSecPerFrame; Fixed framesPerSecond; long bytesPerSecond; #ifndef VDGetDataRate PyMac_PRECHECK(VDGetDataRate); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetDataRate(ci, &milliSecPerFrame, &framesPerSecond, &bytesPerSecond); _res = Py_BuildValue("llO&l", _rv, milliSecPerFrame, PyMac_BuildFixed, framesPerSecond, bytesPerSecond); return _res; } static PyObject *Qt_VDGetSoundInputDriver(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; Str255 soundDriverName; #ifndef VDGetSoundInputDriver PyMac_PRECHECK(VDGetSoundInputDriver); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetStr255, soundDriverName)) return NULL; _rv = VDGetSoundInputDriver(ci, soundDriverName); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetDMADepths(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long depthArray; long preferredDepth; #ifndef VDGetDMADepths PyMac_PRECHECK(VDGetDMADepths); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetDMADepths(ci, &depthArray, &preferredDepth); _res = Py_BuildValue("lll", _rv, depthArray, preferredDepth); return _res; } static PyObject *Qt_VDGetPreferredTimeScale(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; TimeScale preferred; #ifndef VDGetPreferredTimeScale PyMac_PRECHECK(VDGetPreferredTimeScale); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetPreferredTimeScale(ci, &preferred); _res = Py_BuildValue("ll", _rv, preferred); return _res; } static PyObject *Qt_VDReleaseAsyncBuffers(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; #ifndef VDReleaseAsyncBuffers PyMac_PRECHECK(VDReleaseAsyncBuffers); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDReleaseAsyncBuffers(ci); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDSetDataRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long bytesPerSecond; #ifndef VDSetDataRate PyMac_PRECHECK(VDSetDataRate); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &bytesPerSecond)) return NULL; _rv = VDSetDataRate(ci, bytesPerSecond); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetTimeCode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; TimeRecord atTime; void * timeCodeFormat; void * timeCodeTime; #ifndef VDGetTimeCode PyMac_PRECHECK(VDGetTimeCode); #endif if (!PyArg_ParseTuple(_args, "O&ss", CmpInstObj_Convert, &ci, &timeCodeFormat, &timeCodeTime)) return NULL; _rv = VDGetTimeCode(ci, &atTime, timeCodeFormat, timeCodeTime); _res = Py_BuildValue("lO&", _rv, QtTimeRecord_New, &atTime); return _res; } static PyObject *Qt_VDUseSafeBuffers(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; Boolean useSafeBuffers; #ifndef VDUseSafeBuffers PyMac_PRECHECK(VDUseSafeBuffers); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &ci, &useSafeBuffers)) return NULL; _rv = VDUseSafeBuffers(ci, useSafeBuffers); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetSoundInputSource(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long videoInput; long soundInput; #ifndef VDGetSoundInputSource PyMac_PRECHECK(VDGetSoundInputSource); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &videoInput)) return NULL; _rv = VDGetSoundInputSource(ci, videoInput, &soundInput); _res = Py_BuildValue("ll", _rv, soundInput); return _res; } static PyObject *Qt_VDGetCompressionTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; OSType compressionType; short depth; Rect srcRect; CodecQ spatialQuality; CodecQ temporalQuality; unsigned long compressTime; #ifndef VDGetCompressionTime PyMac_PRECHECK(VDGetCompressionTime); #endif if (!PyArg_ParseTuple(_args, "O&O&h", CmpInstObj_Convert, &ci, PyMac_GetOSType, &compressionType, &depth)) return NULL; _rv = VDGetCompressionTime(ci, compressionType, depth, &srcRect, &spatialQuality, &temporalQuality, &compressTime); _res = Py_BuildValue("lO&lll", _rv, PyMac_BuildRect, &srcRect, spatialQuality, temporalQuality, compressTime); return _res; } static PyObject *Qt_VDSetPreferredPacketSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long preferredPacketSizeInBytes; #ifndef VDSetPreferredPacketSize PyMac_PRECHECK(VDSetPreferredPacketSize); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &preferredPacketSizeInBytes)) return NULL; _rv = VDSetPreferredPacketSize(ci, preferredPacketSizeInBytes); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDSetPreferredImageDimensions(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long width; long height; #ifndef VDSetPreferredImageDimensions PyMac_PRECHECK(VDSetPreferredImageDimensions); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &ci, &width, &height)) return NULL; _rv = VDSetPreferredImageDimensions(ci, width, height); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetPreferredImageDimensions(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long width; long height; #ifndef VDGetPreferredImageDimensions PyMac_PRECHECK(VDGetPreferredImageDimensions); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = VDGetPreferredImageDimensions(ci, &width, &height); _res = Py_BuildValue("lll", _rv, width, height); return _res; } static PyObject *Qt_VDGetInputName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; long videoInput; Str255 name; #ifndef VDGetInputName PyMac_PRECHECK(VDGetInputName); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &ci, &videoInput, PyMac_GetStr255, name)) return NULL; _rv = VDGetInputName(ci, videoInput, name); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDSetDestinationPort(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; CGrafPtr destPort; #ifndef VDSetDestinationPort PyMac_PRECHECK(VDSetDestinationPort); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, GrafObj_Convert, &destPort)) return NULL; _rv = VDSetDestinationPort(ci, destPort); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_VDGetDeviceNameAndFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; Str255 outName; UInt32 outNameFlags; #ifndef VDGetDeviceNameAndFlags PyMac_PRECHECK(VDGetDeviceNameAndFlags); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &ci, PyMac_GetStr255, outName)) return NULL; _rv = VDGetDeviceNameAndFlags(ci, outName, &outNameFlags); _res = Py_BuildValue("ll", _rv, outNameFlags); return _res; } static PyObject *Qt_VDCaptureStateChanging(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; VideoDigitizerComponent ci; UInt32 inStateFlags; #ifndef VDCaptureStateChanging PyMac_PRECHECK(VDCaptureStateChanging); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &ci, &inStateFlags)) return NULL; _rv = VDCaptureStateChanging(ci, inStateFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_XMLParseGetDetailedParseError(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aParser; long errorLine; StringPtr errDesc; #ifndef XMLParseGetDetailedParseError PyMac_PRECHECK(XMLParseGetDetailedParseError); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &aParser, &errDesc)) return NULL; _rv = XMLParseGetDetailedParseError(aParser, &errorLine, errDesc); _res = Py_BuildValue("ll", _rv, errorLine); return _res; } static PyObject *Qt_XMLParseAddElement(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aParser; char elementName; UInt32 nameSpaceID; UInt32 elementID; long elementFlags; #ifndef XMLParseAddElement PyMac_PRECHECK(XMLParseAddElement); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &aParser, &nameSpaceID, &elementFlags)) return NULL; _rv = XMLParseAddElement(aParser, &elementName, nameSpaceID, &elementID, elementFlags); _res = Py_BuildValue("lcl", _rv, elementName, elementID); return _res; } static PyObject *Qt_XMLParseAddAttribute(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aParser; UInt32 elementID; UInt32 nameSpaceID; char attributeName; UInt32 attributeID; #ifndef XMLParseAddAttribute PyMac_PRECHECK(XMLParseAddAttribute); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &aParser, &elementID, &nameSpaceID)) return NULL; _rv = XMLParseAddAttribute(aParser, elementID, nameSpaceID, &attributeName, &attributeID); _res = Py_BuildValue("lcl", _rv, attributeName, attributeID); return _res; } static PyObject *Qt_XMLParseAddMultipleAttributes(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aParser; UInt32 elementID; UInt32 nameSpaceIDs; char attributeNames; UInt32 attributeIDs; #ifndef XMLParseAddMultipleAttributes PyMac_PRECHECK(XMLParseAddMultipleAttributes); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &aParser, &elementID)) return NULL; _rv = XMLParseAddMultipleAttributes(aParser, elementID, &nameSpaceIDs, &attributeNames, &attributeIDs); _res = Py_BuildValue("llcl", _rv, nameSpaceIDs, attributeNames, attributeIDs); return _res; } static PyObject *Qt_XMLParseAddAttributeAndValue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aParser; UInt32 elementID; UInt32 nameSpaceID; char attributeName; UInt32 attributeID; UInt32 attributeValueKind; void * attributeValueKindInfo; #ifndef XMLParseAddAttributeAndValue PyMac_PRECHECK(XMLParseAddAttributeAndValue); #endif if (!PyArg_ParseTuple(_args, "O&llls", CmpInstObj_Convert, &aParser, &elementID, &nameSpaceID, &attributeValueKind, &attributeValueKindInfo)) return NULL; _rv = XMLParseAddAttributeAndValue(aParser, elementID, nameSpaceID, &attributeName, &attributeID, attributeValueKind, attributeValueKindInfo); _res = Py_BuildValue("lcl", _rv, attributeName, attributeID); return _res; } static PyObject *Qt_XMLParseAddAttributeValueKind(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aParser; UInt32 elementID; UInt32 attributeID; UInt32 attributeValueKind; void * attributeValueKindInfo; #ifndef XMLParseAddAttributeValueKind PyMac_PRECHECK(XMLParseAddAttributeValueKind); #endif if (!PyArg_ParseTuple(_args, "O&llls", CmpInstObj_Convert, &aParser, &elementID, &attributeID, &attributeValueKind, &attributeValueKindInfo)) return NULL; _rv = XMLParseAddAttributeValueKind(aParser, elementID, attributeID, attributeValueKind, attributeValueKindInfo); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_XMLParseAddNameSpace(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aParser; char nameSpaceURL; UInt32 nameSpaceID; #ifndef XMLParseAddNameSpace PyMac_PRECHECK(XMLParseAddNameSpace); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &aParser)) return NULL; _rv = XMLParseAddNameSpace(aParser, &nameSpaceURL, &nameSpaceID); _res = Py_BuildValue("lcl", _rv, nameSpaceURL, nameSpaceID); return _res; } static PyObject *Qt_XMLParseSetOffsetAndLimit(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aParser; UInt32 offset; UInt32 limit; #ifndef XMLParseSetOffsetAndLimit PyMac_PRECHECK(XMLParseSetOffsetAndLimit); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &aParser, &offset, &limit)) return NULL; _rv = XMLParseSetOffsetAndLimit(aParser, offset, limit); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_XMLParseSetEventParseRefCon(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; ComponentInstance aParser; long refcon; #ifndef XMLParseSetEventParseRefCon PyMac_PRECHECK(XMLParseSetEventParseRefCon); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &aParser, &refcon)) return NULL; _rv = XMLParseSetEventParseRefCon(aParser, refcon); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGInitialize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; #ifndef SGInitialize PyMac_PRECHECK(SGInitialize); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGInitialize(s); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetDataOutput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; FSSpec movieFile; long whereFlags; #ifndef SGSetDataOutput PyMac_PRECHECK(SGSetDataOutput); #endif if (!PyArg_ParseTuple(_args, "O&O&l", CmpInstObj_Convert, &s, PyMac_GetFSSpec, &movieFile, &whereFlags)) return NULL; _rv = SGSetDataOutput(s, &movieFile, whereFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetDataOutput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; FSSpec movieFile; long whereFlags; #ifndef SGGetDataOutput PyMac_PRECHECK(SGGetDataOutput); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, PyMac_GetFSSpec, &movieFile)) return NULL; _rv = SGGetDataOutput(s, &movieFile, &whereFlags); _res = Py_BuildValue("ll", _rv, whereFlags); return _res; } static PyObject *Qt_SGSetGWorld(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; CGrafPtr gp; GDHandle gd; #ifndef SGSetGWorld PyMac_PRECHECK(SGSetGWorld); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &s, GrafObj_Convert, &gp, OptResObj_Convert, &gd)) return NULL; _rv = SGSetGWorld(s, gp, gd); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetGWorld(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; CGrafPtr gp; GDHandle gd; #ifndef SGGetGWorld PyMac_PRECHECK(SGGetGWorld); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetGWorld(s, &gp, &gd); _res = Py_BuildValue("lO&O&", _rv, GrafObj_New, gp, OptResObj_New, gd); return _res; } static PyObject *Qt_SGNewChannel(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; OSType channelType; SGChannel ref; #ifndef SGNewChannel PyMac_PRECHECK(SGNewChannel); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, PyMac_GetOSType, &channelType)) return NULL; _rv = SGNewChannel(s, channelType, &ref); _res = Py_BuildValue("lO&", _rv, CmpInstObj_New, ref); return _res; } static PyObject *Qt_SGDisposeChannel(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; #ifndef SGDisposeChannel PyMac_PRECHECK(SGDisposeChannel); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c)) return NULL; _rv = SGDisposeChannel(s, c); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGStartPreview(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; #ifndef SGStartPreview PyMac_PRECHECK(SGStartPreview); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGStartPreview(s); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGStartRecord(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; #ifndef SGStartRecord PyMac_PRECHECK(SGStartRecord); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGStartRecord(s); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGIdle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; #ifndef SGIdle PyMac_PRECHECK(SGIdle); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGIdle(s); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGStop(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; #ifndef SGStop PyMac_PRECHECK(SGStop); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGStop(s); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGPause(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Boolean pause; #ifndef SGPause PyMac_PRECHECK(SGPause); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &s, &pause)) return NULL; _rv = SGPause(s, pause); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGPrepare(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Boolean prepareForPreview; Boolean prepareForRecord; #ifndef SGPrepare PyMac_PRECHECK(SGPrepare); #endif if (!PyArg_ParseTuple(_args, "O&bb", CmpInstObj_Convert, &s, &prepareForPreview, &prepareForRecord)) return NULL; _rv = SGPrepare(s, prepareForPreview, prepareForRecord); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGRelease(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; #ifndef SGRelease PyMac_PRECHECK(SGRelease); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGRelease(s); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetMovie(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Movie _rv; SeqGrabComponent s; #ifndef SGGetMovie PyMac_PRECHECK(SGGetMovie); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetMovie(s); _res = Py_BuildValue("O&", MovieObj_New, _rv); return _res; } static PyObject *Qt_SGSetMaximumRecordTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; unsigned long ticks; #ifndef SGSetMaximumRecordTime PyMac_PRECHECK(SGSetMaximumRecordTime); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &s, &ticks)) return NULL; _rv = SGSetMaximumRecordTime(s, ticks); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetMaximumRecordTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; unsigned long ticks; #ifndef SGGetMaximumRecordTime PyMac_PRECHECK(SGGetMaximumRecordTime); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetMaximumRecordTime(s, &ticks); _res = Py_BuildValue("ll", _rv, ticks); return _res; } static PyObject *Qt_SGGetStorageSpaceRemaining(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; unsigned long bytes; #ifndef SGGetStorageSpaceRemaining PyMac_PRECHECK(SGGetStorageSpaceRemaining); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetStorageSpaceRemaining(s, &bytes); _res = Py_BuildValue("ll", _rv, bytes); return _res; } static PyObject *Qt_SGGetTimeRemaining(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; long ticksLeft; #ifndef SGGetTimeRemaining PyMac_PRECHECK(SGGetTimeRemaining); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetTimeRemaining(s, &ticksLeft); _res = Py_BuildValue("ll", _rv, ticksLeft); return _res; } static PyObject *Qt_SGGrabPict(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; PicHandle p; Rect bounds; short offscreenDepth; long grabPictFlags; #ifndef SGGrabPict PyMac_PRECHECK(SGGrabPict); #endif if (!PyArg_ParseTuple(_args, "O&O&hl", CmpInstObj_Convert, &s, PyMac_GetRect, &bounds, &offscreenDepth, &grabPictFlags)) return NULL; _rv = SGGrabPict(s, &p, &bounds, offscreenDepth, grabPictFlags); _res = Py_BuildValue("lO&", _rv, ResObj_New, p); return _res; } static PyObject *Qt_SGGetLastMovieResID(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; short resID; #ifndef SGGetLastMovieResID PyMac_PRECHECK(SGGetLastMovieResID); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetLastMovieResID(s, &resID); _res = Py_BuildValue("lh", _rv, resID); return _res; } static PyObject *Qt_SGSetFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; long sgFlags; #ifndef SGSetFlags PyMac_PRECHECK(SGSetFlags); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &s, &sgFlags)) return NULL; _rv = SGSetFlags(s, sgFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; long sgFlags; #ifndef SGGetFlags PyMac_PRECHECK(SGGetFlags); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetFlags(s, &sgFlags); _res = Py_BuildValue("ll", _rv, sgFlags); return _res; } static PyObject *Qt_SGNewChannelFromComponent(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel newChannel; Component sgChannelComponent; #ifndef SGNewChannelFromComponent PyMac_PRECHECK(SGNewChannelFromComponent); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, CmpObj_Convert, &sgChannelComponent)) return NULL; _rv = SGNewChannelFromComponent(s, &newChannel, sgChannelComponent); _res = Py_BuildValue("lO&", _rv, CmpInstObj_New, newChannel); return _res; } static PyObject *Qt_SGSetSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; UserData ud; long flags; #ifndef SGSetSettings PyMac_PRECHECK(SGSetSettings); #endif if (!PyArg_ParseTuple(_args, "O&O&l", CmpInstObj_Convert, &s, UserDataObj_Convert, &ud, &flags)) return NULL; _rv = SGSetSettings(s, ud, flags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; UserData ud; long flags; #ifndef SGGetSettings PyMac_PRECHECK(SGGetSettings); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &s, &flags)) return NULL; _rv = SGGetSettings(s, &ud, flags); _res = Py_BuildValue("lO&", _rv, UserDataObj_New, ud); return _res; } static PyObject *Qt_SGGetIndChannel(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; short index; SGChannel ref; OSType chanType; #ifndef SGGetIndChannel PyMac_PRECHECK(SGGetIndChannel); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &s, &index)) return NULL; _rv = SGGetIndChannel(s, index, &ref, &chanType); _res = Py_BuildValue("lO&O&", _rv, CmpInstObj_New, ref, PyMac_BuildOSType, chanType); return _res; } static PyObject *Qt_SGUpdate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; RgnHandle updateRgn; #ifndef SGUpdate PyMac_PRECHECK(SGUpdate); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, ResObj_Convert, &updateRgn)) return NULL; _rv = SGUpdate(s, updateRgn); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetPause(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Boolean paused; #ifndef SGGetPause PyMac_PRECHECK(SGGetPause); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetPause(s, &paused); _res = Py_BuildValue("lb", _rv, paused); return _res; } static PyObject *Qt_SGSetChannelSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; UserData ud; long flags; #ifndef SGSetChannelSettings PyMac_PRECHECK(SGSetChannelSettings); #endif if (!PyArg_ParseTuple(_args, "O&O&O&l", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, UserDataObj_Convert, &ud, &flags)) return NULL; _rv = SGSetChannelSettings(s, c, ud, flags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetChannelSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; UserData ud; long flags; #ifndef SGGetChannelSettings PyMac_PRECHECK(SGGetChannelSettings); #endif if (!PyArg_ParseTuple(_args, "O&O&l", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, &flags)) return NULL; _rv = SGGetChannelSettings(s, c, &ud, flags); _res = Py_BuildValue("lO&", _rv, UserDataObj_New, ud); return _res; } static PyObject *Qt_SGGetMode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Boolean previewMode; Boolean recordMode; #ifndef SGGetMode PyMac_PRECHECK(SGGetMode); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetMode(s, &previewMode, &recordMode); _res = Py_BuildValue("lbb", _rv, previewMode, recordMode); return _res; } static PyObject *Qt_SGSetDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Handle dataRef; OSType dataRefType; long whereFlags; #ifndef SGSetDataRef PyMac_PRECHECK(SGSetDataRef); #endif if (!PyArg_ParseTuple(_args, "O&O&O&l", CmpInstObj_Convert, &s, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, &whereFlags)) return NULL; _rv = SGSetDataRef(s, dataRef, dataRefType, whereFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetDataRef(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Handle dataRef; OSType dataRefType; long whereFlags; #ifndef SGGetDataRef PyMac_PRECHECK(SGGetDataRef); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetDataRef(s, &dataRef, &dataRefType, &whereFlags); _res = Py_BuildValue("lO&O&l", _rv, ResObj_New, dataRef, PyMac_BuildOSType, dataRefType, whereFlags); return _res; } static PyObject *Qt_SGNewOutput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Handle dataRef; OSType dataRefType; long whereFlags; SGOutput sgOut; #ifndef SGNewOutput PyMac_PRECHECK(SGNewOutput); #endif if (!PyArg_ParseTuple(_args, "O&O&O&l", CmpInstObj_Convert, &s, ResObj_Convert, &dataRef, PyMac_GetOSType, &dataRefType, &whereFlags)) return NULL; _rv = SGNewOutput(s, dataRef, dataRefType, whereFlags, &sgOut); _res = Py_BuildValue("lO&", _rv, SGOutputObj_New, sgOut); return _res; } static PyObject *Qt_SGDisposeOutput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGOutput sgOut; #ifndef SGDisposeOutput PyMac_PRECHECK(SGDisposeOutput); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, SGOutputObj_Convert, &sgOut)) return NULL; _rv = SGDisposeOutput(s, sgOut); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetOutputFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGOutput sgOut; long whereFlags; #ifndef SGSetOutputFlags PyMac_PRECHECK(SGSetOutputFlags); #endif if (!PyArg_ParseTuple(_args, "O&O&l", CmpInstObj_Convert, &s, SGOutputObj_Convert, &sgOut, &whereFlags)) return NULL; _rv = SGSetOutputFlags(s, sgOut, whereFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetChannelOutput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; SGOutput sgOut; #ifndef SGSetChannelOutput PyMac_PRECHECK(SGSetChannelOutput); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, SGOutputObj_Convert, &sgOut)) return NULL; _rv = SGSetChannelOutput(s, c, sgOut); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetDataOutputStorageSpaceRemaining(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGOutput sgOut; unsigned long space; #ifndef SGGetDataOutputStorageSpaceRemaining PyMac_PRECHECK(SGGetDataOutputStorageSpaceRemaining); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, SGOutputObj_Convert, &sgOut)) return NULL; _rv = SGGetDataOutputStorageSpaceRemaining(s, sgOut, &space); _res = Py_BuildValue("ll", _rv, space); return _res; } static PyObject *Qt_SGHandleUpdateEvent(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; EventRecord event; Boolean handled; #ifndef SGHandleUpdateEvent PyMac_PRECHECK(SGHandleUpdateEvent); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, PyMac_GetEventRecord, &event)) return NULL; _rv = SGHandleUpdateEvent(s, &event, &handled); _res = Py_BuildValue("lb", _rv, handled); return _res; } static PyObject *Qt_SGSetOutputNextOutput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGOutput sgOut; SGOutput nextOut; #ifndef SGSetOutputNextOutput PyMac_PRECHECK(SGSetOutputNextOutput); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &s, SGOutputObj_Convert, &sgOut, SGOutputObj_Convert, &nextOut)) return NULL; _rv = SGSetOutputNextOutput(s, sgOut, nextOut); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetOutputNextOutput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGOutput sgOut; SGOutput nextOut; #ifndef SGGetOutputNextOutput PyMac_PRECHECK(SGGetOutputNextOutput); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, SGOutputObj_Convert, &sgOut)) return NULL; _rv = SGGetOutputNextOutput(s, sgOut, &nextOut); _res = Py_BuildValue("lO&", _rv, SGOutputObj_New, nextOut); return _res; } static PyObject *Qt_SGSetOutputMaximumOffset(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGOutput sgOut; wide maxOffset; #ifndef SGSetOutputMaximumOffset PyMac_PRECHECK(SGSetOutputMaximumOffset); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &s, SGOutputObj_Convert, &sgOut, PyMac_Getwide, &maxOffset)) return NULL; _rv = SGSetOutputMaximumOffset(s, sgOut, &maxOffset); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetOutputMaximumOffset(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGOutput sgOut; wide maxOffset; #ifndef SGGetOutputMaximumOffset PyMac_PRECHECK(SGGetOutputMaximumOffset); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, SGOutputObj_Convert, &sgOut)) return NULL; _rv = SGGetOutputMaximumOffset(s, sgOut, &maxOffset); _res = Py_BuildValue("lO&", _rv, PyMac_Buildwide, maxOffset); return _res; } static PyObject *Qt_SGGetOutputDataReference(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGOutput sgOut; Handle dataRef; OSType dataRefType; #ifndef SGGetOutputDataReference PyMac_PRECHECK(SGGetOutputDataReference); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, SGOutputObj_Convert, &sgOut)) return NULL; _rv = SGGetOutputDataReference(s, sgOut, &dataRef, &dataRefType); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, dataRef, PyMac_BuildOSType, dataRefType); return _res; } static PyObject *Qt_SGWriteExtendedMovieData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; Ptr p; long len; wide offset; SGOutput sgOut; #ifndef SGWriteExtendedMovieData PyMac_PRECHECK(SGWriteExtendedMovieData); #endif if (!PyArg_ParseTuple(_args, "O&O&sl", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, &p, &len)) return NULL; _rv = SGWriteExtendedMovieData(s, c, p, len, &offset, &sgOut); _res = Py_BuildValue("lO&O&", _rv, PyMac_Buildwide, offset, SGOutputObj_New, sgOut); return _res; } static PyObject *Qt_SGGetStorageSpaceRemaining64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; wide bytes; #ifndef SGGetStorageSpaceRemaining64 PyMac_PRECHECK(SGGetStorageSpaceRemaining64); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetStorageSpaceRemaining64(s, &bytes); _res = Py_BuildValue("lO&", _rv, PyMac_Buildwide, bytes); return _res; } static PyObject *Qt_SGGetDataOutputStorageSpaceRemaining64(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGOutput sgOut; wide space; #ifndef SGGetDataOutputStorageSpaceRemaining64 PyMac_PRECHECK(SGGetDataOutputStorageSpaceRemaining64); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, SGOutputObj_Convert, &sgOut)) return NULL; _rv = SGGetDataOutputStorageSpaceRemaining64(s, sgOut, &space); _res = Py_BuildValue("lO&", _rv, PyMac_Buildwide, space); return _res; } static PyObject *Qt_SGWriteMovieData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; Ptr p; long len; long offset; #ifndef SGWriteMovieData PyMac_PRECHECK(SGWriteMovieData); #endif if (!PyArg_ParseTuple(_args, "O&O&sl", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, &p, &len)) return NULL; _rv = SGWriteMovieData(s, c, p, len, &offset); _res = Py_BuildValue("ll", _rv, offset); return _res; } static PyObject *Qt_SGGetTimeBase(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; TimeBase tb; #ifndef SGGetTimeBase PyMac_PRECHECK(SGGetTimeBase); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGGetTimeBase(s, &tb); _res = Py_BuildValue("lO&", _rv, TimeBaseObj_New, tb); return _res; } static PyObject *Qt_SGAddMovieData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; Ptr p; long len; long offset; long chRefCon; TimeValue time; short writeType; #ifndef SGAddMovieData PyMac_PRECHECK(SGAddMovieData); #endif if (!PyArg_ParseTuple(_args, "O&O&slllh", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, &p, &len, &chRefCon, &time, &writeType)) return NULL; _rv = SGAddMovieData(s, c, p, len, &offset, chRefCon, time, writeType); _res = Py_BuildValue("ll", _rv, offset); return _res; } static PyObject *Qt_SGChangedSource(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; #ifndef SGChangedSource PyMac_PRECHECK(SGChangedSource); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c)) return NULL; _rv = SGChangedSource(s, c); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGAddExtendedMovieData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; Ptr p; long len; wide offset; long chRefCon; TimeValue time; short writeType; SGOutput whichOutput; #ifndef SGAddExtendedMovieData PyMac_PRECHECK(SGAddExtendedMovieData); #endif if (!PyArg_ParseTuple(_args, "O&O&slllh", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, &p, &len, &chRefCon, &time, &writeType)) return NULL; _rv = SGAddExtendedMovieData(s, c, p, len, &offset, chRefCon, time, writeType, &whichOutput); _res = Py_BuildValue("lO&O&", _rv, PyMac_Buildwide, offset, SGOutputObj_New, whichOutput); return _res; } static PyObject *Qt_SGAddOutputDataRefToMedia(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGOutput sgOut; Media theMedia; SampleDescriptionHandle desc; #ifndef SGAddOutputDataRefToMedia PyMac_PRECHECK(SGAddOutputDataRefToMedia); #endif if (!PyArg_ParseTuple(_args, "O&O&O&O&", CmpInstObj_Convert, &s, SGOutputObj_Convert, &sgOut, MediaObj_Convert, &theMedia, ResObj_Convert, &desc)) return NULL; _rv = SGAddOutputDataRefToMedia(s, sgOut, theMedia, desc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetSettingsSummary(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Handle summaryText; #ifndef SGSetSettingsSummary PyMac_PRECHECK(SGSetSettingsSummary); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, ResObj_Convert, &summaryText)) return NULL; _rv = SGSetSettingsSummary(s, summaryText); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetChannelUsage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long usage; #ifndef SGSetChannelUsage PyMac_PRECHECK(SGSetChannelUsage); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &c, &usage)) return NULL; _rv = SGSetChannelUsage(c, usage); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetChannelUsage(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long usage; #ifndef SGGetChannelUsage PyMac_PRECHECK(SGGetChannelUsage); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetChannelUsage(c, &usage); _res = Py_BuildValue("ll", _rv, usage); return _res; } static PyObject *Qt_SGSetChannelBounds(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Rect bounds; #ifndef SGSetChannelBounds PyMac_PRECHECK(SGSetChannelBounds); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, PyMac_GetRect, &bounds)) return NULL; _rv = SGSetChannelBounds(c, &bounds); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetChannelBounds(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Rect bounds; #ifndef SGGetChannelBounds PyMac_PRECHECK(SGGetChannelBounds); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetChannelBounds(c, &bounds); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &bounds); return _res; } static PyObject *Qt_SGSetChannelVolume(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short volume; #ifndef SGSetChannelVolume PyMac_PRECHECK(SGSetChannelVolume); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &c, &volume)) return NULL; _rv = SGSetChannelVolume(c, volume); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetChannelVolume(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short volume; #ifndef SGGetChannelVolume PyMac_PRECHECK(SGGetChannelVolume); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetChannelVolume(c, &volume); _res = Py_BuildValue("lh", _rv, volume); return _res; } static PyObject *Qt_SGGetChannelInfo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long channelInfo; #ifndef SGGetChannelInfo PyMac_PRECHECK(SGGetChannelInfo); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetChannelInfo(c, &channelInfo); _res = Py_BuildValue("ll", _rv, channelInfo); return _res; } static PyObject *Qt_SGSetChannelPlayFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long playFlags; #ifndef SGSetChannelPlayFlags PyMac_PRECHECK(SGSetChannelPlayFlags); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &c, &playFlags)) return NULL; _rv = SGSetChannelPlayFlags(c, playFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetChannelPlayFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long playFlags; #ifndef SGGetChannelPlayFlags PyMac_PRECHECK(SGGetChannelPlayFlags); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetChannelPlayFlags(c, &playFlags); _res = Py_BuildValue("ll", _rv, playFlags); return _res; } static PyObject *Qt_SGSetChannelMaxFrames(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long frameCount; #ifndef SGSetChannelMaxFrames PyMac_PRECHECK(SGSetChannelMaxFrames); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &c, &frameCount)) return NULL; _rv = SGSetChannelMaxFrames(c, frameCount); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetChannelMaxFrames(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long frameCount; #ifndef SGGetChannelMaxFrames PyMac_PRECHECK(SGGetChannelMaxFrames); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetChannelMaxFrames(c, &frameCount); _res = Py_BuildValue("ll", _rv, frameCount); return _res; } static PyObject *Qt_SGSetChannelRefCon(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long refCon; #ifndef SGSetChannelRefCon PyMac_PRECHECK(SGSetChannelRefCon); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &c, &refCon)) return NULL; _rv = SGSetChannelRefCon(c, refCon); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetChannelClip(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; RgnHandle theClip; #ifndef SGSetChannelClip PyMac_PRECHECK(SGSetChannelClip); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, ResObj_Convert, &theClip)) return NULL; _rv = SGSetChannelClip(c, theClip); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetChannelClip(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; RgnHandle theClip; #ifndef SGGetChannelClip PyMac_PRECHECK(SGGetChannelClip); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetChannelClip(c, &theClip); _res = Py_BuildValue("lO&", _rv, ResObj_New, theClip); return _res; } static PyObject *Qt_SGGetChannelSampleDescription(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Handle sampleDesc; #ifndef SGGetChannelSampleDescription PyMac_PRECHECK(SGGetChannelSampleDescription); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, ResObj_Convert, &sampleDesc)) return NULL; _rv = SGGetChannelSampleDescription(c, sampleDesc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetChannelDevice(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; StringPtr name; #ifndef SGSetChannelDevice PyMac_PRECHECK(SGSetChannelDevice); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &c, &name)) return NULL; _rv = SGSetChannelDevice(c, name); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetChannelTimeScale(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; TimeScale scale; #ifndef SGGetChannelTimeScale PyMac_PRECHECK(SGGetChannelTimeScale); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetChannelTimeScale(c, &scale); _res = Py_BuildValue("ll", _rv, scale); return _res; } static PyObject *Qt_SGChannelPutPicture(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; #ifndef SGChannelPutPicture PyMac_PRECHECK(SGChannelPutPicture); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGChannelPutPicture(c); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGChannelSetRequestedDataRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long bytesPerSecond; #ifndef SGChannelSetRequestedDataRate PyMac_PRECHECK(SGChannelSetRequestedDataRate); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &c, &bytesPerSecond)) return NULL; _rv = SGChannelSetRequestedDataRate(c, bytesPerSecond); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGChannelGetRequestedDataRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long bytesPerSecond; #ifndef SGChannelGetRequestedDataRate PyMac_PRECHECK(SGChannelGetRequestedDataRate); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGChannelGetRequestedDataRate(c, &bytesPerSecond); _res = Py_BuildValue("ll", _rv, bytesPerSecond); return _res; } static PyObject *Qt_SGChannelSetDataSourceName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Str255 name; ScriptCode scriptTag; #ifndef SGChannelSetDataSourceName PyMac_PRECHECK(SGChannelSetDataSourceName); #endif if (!PyArg_ParseTuple(_args, "O&O&h", CmpInstObj_Convert, &c, PyMac_GetStr255, name, &scriptTag)) return NULL; _rv = SGChannelSetDataSourceName(c, name, scriptTag); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGChannelGetDataSourceName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Str255 name; ScriptCode scriptTag; #ifndef SGChannelGetDataSourceName PyMac_PRECHECK(SGChannelGetDataSourceName); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, PyMac_GetStr255, name)) return NULL; _rv = SGChannelGetDataSourceName(c, name, &scriptTag); _res = Py_BuildValue("lh", _rv, scriptTag); return _res; } static PyObject *Qt_SGChannelSetCodecSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Handle settings; #ifndef SGChannelSetCodecSettings PyMac_PRECHECK(SGChannelSetCodecSettings); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, ResObj_Convert, &settings)) return NULL; _rv = SGChannelSetCodecSettings(c, settings); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGChannelGetCodecSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Handle settings; #ifndef SGChannelGetCodecSettings PyMac_PRECHECK(SGChannelGetCodecSettings); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGChannelGetCodecSettings(c, &settings); _res = Py_BuildValue("lO&", _rv, ResObj_New, settings); return _res; } static PyObject *Qt_SGGetChannelTimeBase(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; TimeBase tb; #ifndef SGGetChannelTimeBase PyMac_PRECHECK(SGGetChannelTimeBase); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetChannelTimeBase(c, &tb); _res = Py_BuildValue("lO&", _rv, TimeBaseObj_New, tb); return _res; } static PyObject *Qt_SGGetChannelRefCon(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long refCon; #ifndef SGGetChannelRefCon PyMac_PRECHECK(SGGetChannelRefCon); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetChannelRefCon(c, &refCon); _res = Py_BuildValue("ll", _rv, refCon); return _res; } static PyObject *Qt_SGGetChannelDeviceAndInputNames(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Str255 outDeviceName; Str255 outInputName; short outInputNumber; #ifndef SGGetChannelDeviceAndInputNames PyMac_PRECHECK(SGGetChannelDeviceAndInputNames); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &c, PyMac_GetStr255, outDeviceName, PyMac_GetStr255, outInputName)) return NULL; _rv = SGGetChannelDeviceAndInputNames(c, outDeviceName, outInputName, &outInputNumber); _res = Py_BuildValue("lh", _rv, outInputNumber); return _res; } static PyObject *Qt_SGSetChannelDeviceInput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short inInputNumber; #ifndef SGSetChannelDeviceInput PyMac_PRECHECK(SGSetChannelDeviceInput); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &c, &inInputNumber)) return NULL; _rv = SGSetChannelDeviceInput(c, inInputNumber); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetChannelSettingsStateChanging(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; UInt32 inFlags; #ifndef SGSetChannelSettingsStateChanging PyMac_PRECHECK(SGSetChannelSettingsStateChanging); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &c, &inFlags)) return NULL; _rv = SGSetChannelSettingsStateChanging(c, inFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGInitChannel(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; SeqGrabComponent owner; #ifndef SGInitChannel PyMac_PRECHECK(SGInitChannel); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, CmpInstObj_Convert, &owner)) return NULL; _rv = SGInitChannel(c, owner); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGWriteSamples(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Movie m; AliasHandle theFile; #ifndef SGWriteSamples PyMac_PRECHECK(SGWriteSamples); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &c, MovieObj_Convert, &m, ResObj_Convert, &theFile)) return NULL; _rv = SGWriteSamples(c, m, theFile); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetDataRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long bytesPerSecond; #ifndef SGGetDataRate PyMac_PRECHECK(SGGetDataRate); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetDataRate(c, &bytesPerSecond); _res = Py_BuildValue("ll", _rv, bytesPerSecond); return _res; } static PyObject *Qt_SGAlignChannelRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Rect r; #ifndef SGAlignChannelRect PyMac_PRECHECK(SGAlignChannelRect); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGAlignChannelRect(c, &r); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &r); return _res; } static PyObject *Qt_SGPanelGetDitl(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Handle ditl; #ifndef SGPanelGetDitl PyMac_PRECHECK(SGPanelGetDitl); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGPanelGetDitl(s, &ditl); _res = Py_BuildValue("lO&", _rv, ResObj_New, ditl); return _res; } static PyObject *Qt_SGPanelGetTitle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Str255 title; #ifndef SGPanelGetTitle PyMac_PRECHECK(SGPanelGetTitle); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, PyMac_GetStr255, title)) return NULL; _rv = SGPanelGetTitle(s, title); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGPanelCanRun(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; #ifndef SGPanelCanRun PyMac_PRECHECK(SGPanelCanRun); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c)) return NULL; _rv = SGPanelCanRun(s, c); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGPanelInstall(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; DialogPtr d; short itemOffset; #ifndef SGPanelInstall PyMac_PRECHECK(SGPanelInstall); #endif if (!PyArg_ParseTuple(_args, "O&O&O&h", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, DlgObj_Convert, &d, &itemOffset)) return NULL; _rv = SGPanelInstall(s, c, d, itemOffset); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGPanelEvent(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; DialogPtr d; short itemOffset; EventRecord theEvent; short itemHit; Boolean handled; #ifndef SGPanelEvent PyMac_PRECHECK(SGPanelEvent); #endif if (!PyArg_ParseTuple(_args, "O&O&O&hO&", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, DlgObj_Convert, &d, &itemOffset, PyMac_GetEventRecord, &theEvent)) return NULL; _rv = SGPanelEvent(s, c, d, itemOffset, &theEvent, &itemHit, &handled); _res = Py_BuildValue("lhb", _rv, itemHit, handled); return _res; } static PyObject *Qt_SGPanelItem(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; DialogPtr d; short itemOffset; short itemNum; #ifndef SGPanelItem PyMac_PRECHECK(SGPanelItem); #endif if (!PyArg_ParseTuple(_args, "O&O&O&hh", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, DlgObj_Convert, &d, &itemOffset, &itemNum)) return NULL; _rv = SGPanelItem(s, c, d, itemOffset, itemNum); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGPanelRemove(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; DialogPtr d; short itemOffset; #ifndef SGPanelRemove PyMac_PRECHECK(SGPanelRemove); #endif if (!PyArg_ParseTuple(_args, "O&O&O&h", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, DlgObj_Convert, &d, &itemOffset)) return NULL; _rv = SGPanelRemove(s, c, d, itemOffset); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGPanelSetGrabber(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SeqGrabComponent sg; #ifndef SGPanelSetGrabber PyMac_PRECHECK(SGPanelSetGrabber); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &s, CmpInstObj_Convert, &sg)) return NULL; _rv = SGPanelSetGrabber(s, sg); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGPanelSetResFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; short resRef; #ifndef SGPanelSetResFile PyMac_PRECHECK(SGPanelSetResFile); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &s, &resRef)) return NULL; _rv = SGPanelSetResFile(s, resRef); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGPanelGetSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; UserData ud; long flags; #ifndef SGPanelGetSettings PyMac_PRECHECK(SGPanelGetSettings); #endif if (!PyArg_ParseTuple(_args, "O&O&l", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, &flags)) return NULL; _rv = SGPanelGetSettings(s, c, &ud, flags); _res = Py_BuildValue("lO&", _rv, UserDataObj_New, ud); return _res; } static PyObject *Qt_SGPanelSetSettings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; SGChannel c; UserData ud; long flags; #ifndef SGPanelSetSettings PyMac_PRECHECK(SGPanelSetSettings); #endif if (!PyArg_ParseTuple(_args, "O&O&O&l", CmpInstObj_Convert, &s, CmpInstObj_Convert, &c, UserDataObj_Convert, &ud, &flags)) return NULL; _rv = SGPanelSetSettings(s, c, ud, flags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGPanelValidateInput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Boolean ok; #ifndef SGPanelValidateInput PyMac_PRECHECK(SGPanelValidateInput); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGPanelValidateInput(s, &ok); _res = Py_BuildValue("lb", _rv, ok); return _res; } static PyObject *Qt_SGPanelGetDITLForSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SeqGrabComponent s; Handle ditl; Point requestedSize; #ifndef SGPanelGetDITLForSize PyMac_PRECHECK(SGPanelGetDITLForSize); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &s)) return NULL; _rv = SGPanelGetDITLForSize(s, &ditl, &requestedSize); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, ditl, PyMac_BuildPoint, requestedSize); return _res; } static PyObject *Qt_SGGetSrcVideoBounds(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Rect r; #ifndef SGGetSrcVideoBounds PyMac_PRECHECK(SGGetSrcVideoBounds); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetSrcVideoBounds(c, &r); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &r); return _res; } static PyObject *Qt_SGSetVideoRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Rect r; #ifndef SGSetVideoRect PyMac_PRECHECK(SGSetVideoRect); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, PyMac_GetRect, &r)) return NULL; _rv = SGSetVideoRect(c, &r); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetVideoRect(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Rect r; #ifndef SGGetVideoRect PyMac_PRECHECK(SGGetVideoRect); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetVideoRect(c, &r); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &r); return _res; } static PyObject *Qt_SGGetVideoCompressorType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; OSType compressorType; #ifndef SGGetVideoCompressorType PyMac_PRECHECK(SGGetVideoCompressorType); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetVideoCompressorType(c, &compressorType); _res = Py_BuildValue("lO&", _rv, PyMac_BuildOSType, compressorType); return _res; } static PyObject *Qt_SGSetVideoCompressorType(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; OSType compressorType; #ifndef SGSetVideoCompressorType PyMac_PRECHECK(SGSetVideoCompressorType); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, PyMac_GetOSType, &compressorType)) return NULL; _rv = SGSetVideoCompressorType(c, compressorType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetVideoCompressor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short depth; CompressorComponent compressor; CodecQ spatialQuality; CodecQ temporalQuality; long keyFrameRate; #ifndef SGSetVideoCompressor PyMac_PRECHECK(SGSetVideoCompressor); #endif if (!PyArg_ParseTuple(_args, "O&hO&lll", CmpInstObj_Convert, &c, &depth, CmpObj_Convert, &compressor, &spatialQuality, &temporalQuality, &keyFrameRate)) return NULL; _rv = SGSetVideoCompressor(c, depth, compressor, spatialQuality, temporalQuality, keyFrameRate); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetVideoCompressor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short depth; CompressorComponent compressor; CodecQ spatialQuality; CodecQ temporalQuality; long keyFrameRate; #ifndef SGGetVideoCompressor PyMac_PRECHECK(SGGetVideoCompressor); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetVideoCompressor(c, &depth, &compressor, &spatialQuality, &temporalQuality, &keyFrameRate); _res = Py_BuildValue("lhO&lll", _rv, depth, CmpObj_New, compressor, spatialQuality, temporalQuality, keyFrameRate); return _res; } static PyObject *Qt_SGGetVideoDigitizerComponent(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentInstance _rv; SGChannel c; #ifndef SGGetVideoDigitizerComponent PyMac_PRECHECK(SGGetVideoDigitizerComponent); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetVideoDigitizerComponent(c); _res = Py_BuildValue("O&", CmpInstObj_New, _rv); return _res; } static PyObject *Qt_SGSetVideoDigitizerComponent(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; ComponentInstance vdig; #ifndef SGSetVideoDigitizerComponent PyMac_PRECHECK(SGSetVideoDigitizerComponent); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, CmpInstObj_Convert, &vdig)) return NULL; _rv = SGSetVideoDigitizerComponent(c, vdig); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGVideoDigitizerChanged(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; #ifndef SGVideoDigitizerChanged PyMac_PRECHECK(SGVideoDigitizerChanged); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGVideoDigitizerChanged(c); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGrabFrame(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short bufferNum; #ifndef SGGrabFrame PyMac_PRECHECK(SGGrabFrame); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &c, &bufferNum)) return NULL; _rv = SGGrabFrame(c, bufferNum); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGrabFrameComplete(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short bufferNum; Boolean done; #ifndef SGGrabFrameComplete PyMac_PRECHECK(SGGrabFrameComplete); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &c, &bufferNum)) return NULL; _rv = SGGrabFrameComplete(c, bufferNum, &done); _res = Py_BuildValue("lb", _rv, done); return _res; } static PyObject *Qt_SGCompressFrame(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short bufferNum; #ifndef SGCompressFrame PyMac_PRECHECK(SGCompressFrame); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &c, &bufferNum)) return NULL; _rv = SGCompressFrame(c, bufferNum); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetCompressBuffer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short depth; Rect compressSize; #ifndef SGSetCompressBuffer PyMac_PRECHECK(SGSetCompressBuffer); #endif if (!PyArg_ParseTuple(_args, "O&hO&", CmpInstObj_Convert, &c, &depth, PyMac_GetRect, &compressSize)) return NULL; _rv = SGSetCompressBuffer(c, depth, &compressSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetCompressBuffer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short depth; Rect compressSize; #ifndef SGGetCompressBuffer PyMac_PRECHECK(SGGetCompressBuffer); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetCompressBuffer(c, &depth, &compressSize); _res = Py_BuildValue("lhO&", _rv, depth, PyMac_BuildRect, &compressSize); return _res; } static PyObject *Qt_SGGetBufferInfo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short bufferNum; PixMapHandle bufferPM; Rect bufferRect; GWorldPtr compressBuffer; Rect compressBufferRect; #ifndef SGGetBufferInfo PyMac_PRECHECK(SGGetBufferInfo); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &c, &bufferNum)) return NULL; _rv = SGGetBufferInfo(c, bufferNum, &bufferPM, &bufferRect, &compressBuffer, &compressBufferRect); _res = Py_BuildValue("lO&O&O&O&", _rv, ResObj_New, bufferPM, PyMac_BuildRect, &bufferRect, GWorldObj_New, compressBuffer, PyMac_BuildRect, &compressBufferRect); return _res; } static PyObject *Qt_SGSetUseScreenBuffer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Boolean useScreenBuffer; #ifndef SGSetUseScreenBuffer PyMac_PRECHECK(SGSetUseScreenBuffer); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &c, &useScreenBuffer)) return NULL; _rv = SGSetUseScreenBuffer(c, useScreenBuffer); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetUseScreenBuffer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Boolean useScreenBuffer; #ifndef SGGetUseScreenBuffer PyMac_PRECHECK(SGGetUseScreenBuffer); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetUseScreenBuffer(c, &useScreenBuffer); _res = Py_BuildValue("lb", _rv, useScreenBuffer); return _res; } static PyObject *Qt_SGSetFrameRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Fixed frameRate; #ifndef SGSetFrameRate PyMac_PRECHECK(SGSetFrameRate); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, PyMac_GetFixed, &frameRate)) return NULL; _rv = SGSetFrameRate(c, frameRate); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetFrameRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Fixed frameRate; #ifndef SGGetFrameRate PyMac_PRECHECK(SGGetFrameRate); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetFrameRate(c, &frameRate); _res = Py_BuildValue("lO&", _rv, PyMac_BuildFixed, frameRate); return _res; } static PyObject *Qt_SGSetPreferredPacketSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long preferredPacketSizeInBytes; #ifndef SGSetPreferredPacketSize PyMac_PRECHECK(SGSetPreferredPacketSize); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &c, &preferredPacketSizeInBytes)) return NULL; _rv = SGSetPreferredPacketSize(c, preferredPacketSizeInBytes); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetPreferredPacketSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long preferredPacketSizeInBytes; #ifndef SGGetPreferredPacketSize PyMac_PRECHECK(SGGetPreferredPacketSize); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetPreferredPacketSize(c, &preferredPacketSizeInBytes); _res = Py_BuildValue("ll", _rv, preferredPacketSizeInBytes); return _res; } static PyObject *Qt_SGSetUserVideoCompressorList(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Handle compressorTypes; #ifndef SGSetUserVideoCompressorList PyMac_PRECHECK(SGSetUserVideoCompressorList); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, ResObj_Convert, &compressorTypes)) return NULL; _rv = SGSetUserVideoCompressorList(c, compressorTypes); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetUserVideoCompressorList(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Handle compressorTypes; #ifndef SGGetUserVideoCompressorList PyMac_PRECHECK(SGGetUserVideoCompressorList); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetUserVideoCompressorList(c, &compressorTypes); _res = Py_BuildValue("lO&", _rv, ResObj_New, compressorTypes); return _res; } static PyObject *Qt_SGSetSoundInputDriver(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Str255 driverName; #ifndef SGSetSoundInputDriver PyMac_PRECHECK(SGSetSoundInputDriver); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, PyMac_GetStr255, driverName)) return NULL; _rv = SGSetSoundInputDriver(c, driverName); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetSoundInputDriver(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; SGChannel c; #ifndef SGGetSoundInputDriver PyMac_PRECHECK(SGGetSoundInputDriver); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetSoundInputDriver(c); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSoundInputDriverChanged(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; #ifndef SGSoundInputDriverChanged PyMac_PRECHECK(SGSoundInputDriverChanged); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGSoundInputDriverChanged(c); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetSoundRecordChunkSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; long seconds; #ifndef SGSetSoundRecordChunkSize PyMac_PRECHECK(SGSetSoundRecordChunkSize); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &c, &seconds)) return NULL; _rv = SGSetSoundRecordChunkSize(c, seconds); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetSoundRecordChunkSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; long _rv; SGChannel c; #ifndef SGGetSoundRecordChunkSize PyMac_PRECHECK(SGGetSoundRecordChunkSize); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetSoundRecordChunkSize(c); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetSoundInputRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Fixed rate; #ifndef SGSetSoundInputRate PyMac_PRECHECK(SGSetSoundInputRate); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, PyMac_GetFixed, &rate)) return NULL; _rv = SGSetSoundInputRate(c, rate); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetSoundInputRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; Fixed _rv; SGChannel c; #ifndef SGGetSoundInputRate PyMac_PRECHECK(SGGetSoundInputRate); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetSoundInputRate(c); _res = Py_BuildValue("O&", PyMac_BuildFixed, _rv); return _res; } static PyObject *Qt_SGSetSoundInputParameters(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short sampleSize; short numChannels; OSType compressionType; #ifndef SGSetSoundInputParameters PyMac_PRECHECK(SGSetSoundInputParameters); #endif if (!PyArg_ParseTuple(_args, "O&hhO&", CmpInstObj_Convert, &c, &sampleSize, &numChannels, PyMac_GetOSType, &compressionType)) return NULL; _rv = SGSetSoundInputParameters(c, sampleSize, numChannels, compressionType); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetSoundInputParameters(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short sampleSize; short numChannels; OSType compressionType; #ifndef SGGetSoundInputParameters PyMac_PRECHECK(SGGetSoundInputParameters); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetSoundInputParameters(c, &sampleSize, &numChannels, &compressionType); _res = Py_BuildValue("lhhO&", _rv, sampleSize, numChannels, PyMac_BuildOSType, compressionType); return _res; } static PyObject *Qt_SGSetAdditionalSoundRates(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Handle rates; #ifndef SGSetAdditionalSoundRates PyMac_PRECHECK(SGSetAdditionalSoundRates); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &c, ResObj_Convert, &rates)) return NULL; _rv = SGSetAdditionalSoundRates(c, rates); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetAdditionalSoundRates(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; Handle rates; #ifndef SGGetAdditionalSoundRates PyMac_PRECHECK(SGGetAdditionalSoundRates); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetAdditionalSoundRates(c, &rates); _res = Py_BuildValue("lO&", _rv, ResObj_New, rates); return _res; } static PyObject *Qt_SGSetFontName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; StringPtr pstr; #ifndef SGSetFontName PyMac_PRECHECK(SGSetFontName); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &c, &pstr)) return NULL; _rv = SGSetFontName(c, pstr); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetFontSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short fontSize; #ifndef SGSetFontSize PyMac_PRECHECK(SGSetFontSize); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &c, &fontSize)) return NULL; _rv = SGSetFontSize(c, fontSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGSetTextForeColor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; RGBColor theColor; #ifndef SGSetTextForeColor PyMac_PRECHECK(SGSetTextForeColor); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGSetTextForeColor(c, &theColor); _res = Py_BuildValue("lO&", _rv, QdRGB_New, &theColor); return _res; } static PyObject *Qt_SGSetTextBackColor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; RGBColor theColor; #ifndef SGSetTextBackColor PyMac_PRECHECK(SGSetTextBackColor); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGSetTextBackColor(c, &theColor); _res = Py_BuildValue("lO&", _rv, QdRGB_New, &theColor); return _res; } static PyObject *Qt_SGSetJustification(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short just; #ifndef SGSetJustification PyMac_PRECHECK(SGSetJustification); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &c, &just)) return NULL; _rv = SGSetJustification(c, just); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_SGGetTextReturnToSpaceValue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short rettospace; #ifndef SGGetTextReturnToSpaceValue PyMac_PRECHECK(SGGetTextReturnToSpaceValue); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &c)) return NULL; _rv = SGGetTextReturnToSpaceValue(c, &rettospace); _res = Py_BuildValue("lh", _rv, rettospace); return _res; } static PyObject *Qt_SGSetTextReturnToSpaceValue(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; SGChannel c; short rettospace; #ifndef SGSetTextReturnToSpaceValue PyMac_PRECHECK(SGSetTextReturnToSpaceValue); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &c, &rettospace)) return NULL; _rv = SGSetTextReturnToSpaceValue(c, rettospace); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_QTVideoOutputGetCurrentClientName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; Str255 str; #ifndef QTVideoOutputGetCurrentClientName PyMac_PRECHECK(QTVideoOutputGetCurrentClientName); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &vo, PyMac_GetStr255, str)) return NULL; _rv = QTVideoOutputGetCurrentClientName(vo, str); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_QTVideoOutputSetClientName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; Str255 str; #ifndef QTVideoOutputSetClientName PyMac_PRECHECK(QTVideoOutputSetClientName); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &vo, PyMac_GetStr255, str)) return NULL; _rv = QTVideoOutputSetClientName(vo, str); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_QTVideoOutputGetClientName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; Str255 str; #ifndef QTVideoOutputGetClientName PyMac_PRECHECK(QTVideoOutputGetClientName); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &vo, PyMac_GetStr255, str)) return NULL; _rv = QTVideoOutputGetClientName(vo, str); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_QTVideoOutputBegin(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; #ifndef QTVideoOutputBegin PyMac_PRECHECK(QTVideoOutputBegin); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &vo)) return NULL; _rv = QTVideoOutputBegin(vo); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_QTVideoOutputEnd(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; #ifndef QTVideoOutputEnd PyMac_PRECHECK(QTVideoOutputEnd); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &vo)) return NULL; _rv = QTVideoOutputEnd(vo); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_QTVideoOutputSetDisplayMode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; long displayModeID; #ifndef QTVideoOutputSetDisplayMode PyMac_PRECHECK(QTVideoOutputSetDisplayMode); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &vo, &displayModeID)) return NULL; _rv = QTVideoOutputSetDisplayMode(vo, displayModeID); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_QTVideoOutputGetDisplayMode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; long displayModeID; #ifndef QTVideoOutputGetDisplayMode PyMac_PRECHECK(QTVideoOutputGetDisplayMode); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &vo)) return NULL; _rv = QTVideoOutputGetDisplayMode(vo, &displayModeID); _res = Py_BuildValue("ll", _rv, displayModeID); return _res; } static PyObject *Qt_QTVideoOutputGetGWorld(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; GWorldPtr gw; #ifndef QTVideoOutputGetGWorld PyMac_PRECHECK(QTVideoOutputGetGWorld); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &vo)) return NULL; _rv = QTVideoOutputGetGWorld(vo, &gw); _res = Py_BuildValue("lO&", _rv, GWorldObj_New, gw); return _res; } static PyObject *Qt_QTVideoOutputGetIndSoundOutput(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; long index; Component outputComponent; #ifndef QTVideoOutputGetIndSoundOutput PyMac_PRECHECK(QTVideoOutputGetIndSoundOutput); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &vo, &index)) return NULL; _rv = QTVideoOutputGetIndSoundOutput(vo, index, &outputComponent); _res = Py_BuildValue("lO&", _rv, CmpObj_New, outputComponent); return _res; } static PyObject *Qt_QTVideoOutputGetClock(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; ComponentInstance clock; #ifndef QTVideoOutputGetClock PyMac_PRECHECK(QTVideoOutputGetClock); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &vo)) return NULL; _rv = QTVideoOutputGetClock(vo, &clock); _res = Py_BuildValue("lO&", _rv, CmpInstObj_New, clock); return _res; } static PyObject *Qt_QTVideoOutputSetEchoPort(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; CGrafPtr echoPort; #ifndef QTVideoOutputSetEchoPort PyMac_PRECHECK(QTVideoOutputSetEchoPort); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &vo, GrafObj_Convert, &echoPort)) return NULL; _rv = QTVideoOutputSetEchoPort(vo, echoPort); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_QTVideoOutputGetIndImageDecompressor(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; long index; Component codec; #ifndef QTVideoOutputGetIndImageDecompressor PyMac_PRECHECK(QTVideoOutputGetIndImageDecompressor); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &vo, &index)) return NULL; _rv = QTVideoOutputGetIndImageDecompressor(vo, index, &codec); _res = Py_BuildValue("lO&", _rv, CmpObj_New, codec); return _res; } static PyObject *Qt_QTVideoOutputBaseSetEchoPort(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTVideoOutputComponent vo; CGrafPtr echoPort; #ifndef QTVideoOutputBaseSetEchoPort PyMac_PRECHECK(QTVideoOutputBaseSetEchoPort); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &vo, GrafObj_Convert, &echoPort)) return NULL; _rv = QTVideoOutputBaseSetEchoPort(vo, echoPort); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetChunkManagementFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; UInt32 flags; UInt32 flagsMask; #ifndef MediaSetChunkManagementFlags PyMac_PRECHECK(MediaSetChunkManagementFlags); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mh, &flags, &flagsMask)) return NULL; _rv = MediaSetChunkManagementFlags(mh, flags, flagsMask); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetChunkManagementFlags(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; UInt32 flags; #ifndef MediaGetChunkManagementFlags PyMac_PRECHECK(MediaGetChunkManagementFlags); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetChunkManagementFlags(mh, &flags); _res = Py_BuildValue("ll", _rv, flags); return _res; } static PyObject *Qt_MediaSetPurgeableChunkMemoryAllowance(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Size allowance; #ifndef MediaSetPurgeableChunkMemoryAllowance PyMac_PRECHECK(MediaSetPurgeableChunkMemoryAllowance); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &allowance)) return NULL; _rv = MediaSetPurgeableChunkMemoryAllowance(mh, allowance); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetPurgeableChunkMemoryAllowance(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Size allowance; #ifndef MediaGetPurgeableChunkMemoryAllowance PyMac_PRECHECK(MediaGetPurgeableChunkMemoryAllowance); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetPurgeableChunkMemoryAllowance(mh, &allowance); _res = Py_BuildValue("ll", _rv, allowance); return _res; } static PyObject *Qt_MediaEmptyAllPurgeableChunks(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; #ifndef MediaEmptyAllPurgeableChunks PyMac_PRECHECK(MediaEmptyAllPurgeableChunks); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaEmptyAllPurgeableChunks(mh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetHandlerCapabilities(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long flags; long flagsMask; #ifndef MediaSetHandlerCapabilities PyMac_PRECHECK(MediaSetHandlerCapabilities); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mh, &flags, &flagsMask)) return NULL; _rv = MediaSetHandlerCapabilities(mh, flags, flagsMask); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaIdle(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; TimeValue atMediaTime; long flagsIn; long flagsOut; TimeRecord movieTime; #ifndef MediaIdle PyMac_PRECHECK(MediaIdle); #endif if (!PyArg_ParseTuple(_args, "O&llO&", CmpInstObj_Convert, &mh, &atMediaTime, &flagsIn, QtTimeRecord_Convert, &movieTime)) return NULL; _rv = MediaIdle(mh, atMediaTime, flagsIn, &flagsOut, &movieTime); _res = Py_BuildValue("ll", _rv, flagsOut); return _res; } static PyObject *Qt_MediaGetMediaInfo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Handle h; #ifndef MediaGetMediaInfo PyMac_PRECHECK(MediaGetMediaInfo); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, ResObj_Convert, &h)) return NULL; _rv = MediaGetMediaInfo(mh, h); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaPutMediaInfo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Handle h; #ifndef MediaPutMediaInfo PyMac_PRECHECK(MediaPutMediaInfo); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, ResObj_Convert, &h)) return NULL; _rv = MediaPutMediaInfo(mh, h); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetActive(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Boolean enableMedia; #ifndef MediaSetActive PyMac_PRECHECK(MediaSetActive); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &mh, &enableMedia)) return NULL; _rv = MediaSetActive(mh, enableMedia); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetRate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Fixed rate; #ifndef MediaSetRate PyMac_PRECHECK(MediaSetRate); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, PyMac_GetFixed, &rate)) return NULL; _rv = MediaSetRate(mh, rate); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGGetStatus(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; ComponentResult statusErr; #ifndef MediaGGetStatus PyMac_PRECHECK(MediaGGetStatus); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGGetStatus(mh, &statusErr); _res = Py_BuildValue("ll", _rv, statusErr); return _res; } static PyObject *Qt_MediaTrackEdited(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; #ifndef MediaTrackEdited PyMac_PRECHECK(MediaTrackEdited); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaTrackEdited(mh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetMediaTimeScale(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; TimeScale newTimeScale; #ifndef MediaSetMediaTimeScale PyMac_PRECHECK(MediaSetMediaTimeScale); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &newTimeScale)) return NULL; _rv = MediaSetMediaTimeScale(mh, newTimeScale); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetMovieTimeScale(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; TimeScale newTimeScale; #ifndef MediaSetMovieTimeScale PyMac_PRECHECK(MediaSetMovieTimeScale); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &newTimeScale)) return NULL; _rv = MediaSetMovieTimeScale(mh, newTimeScale); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetGWorld(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; CGrafPtr aPort; GDHandle aGD; #ifndef MediaSetGWorld PyMac_PRECHECK(MediaSetGWorld); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &mh, GrafObj_Convert, &aPort, OptResObj_Convert, &aGD)) return NULL; _rv = MediaSetGWorld(mh, aPort, aGD); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetDimensions(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Fixed width; Fixed height; #ifndef MediaSetDimensions PyMac_PRECHECK(MediaSetDimensions); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &mh, PyMac_GetFixed, &width, PyMac_GetFixed, &height)) return NULL; _rv = MediaSetDimensions(mh, width, height); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetClip(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; RgnHandle theClip; #ifndef MediaSetClip PyMac_PRECHECK(MediaSetClip); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, ResObj_Convert, &theClip)) return NULL; _rv = MediaSetClip(mh, theClip); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetTrackOpaque(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Boolean trackIsOpaque; #ifndef MediaGetTrackOpaque PyMac_PRECHECK(MediaGetTrackOpaque); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetTrackOpaque(mh, &trackIsOpaque); _res = Py_BuildValue("lb", _rv, trackIsOpaque); return _res; } static PyObject *Qt_MediaSetGraphicsMode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long mode; RGBColor opColor; #ifndef MediaSetGraphicsMode PyMac_PRECHECK(MediaSetGraphicsMode); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &mh, &mode, QdRGB_Convert, &opColor)) return NULL; _rv = MediaSetGraphicsMode(mh, mode, &opColor); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetGraphicsMode(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long mode; RGBColor opColor; #ifndef MediaGetGraphicsMode PyMac_PRECHECK(MediaGetGraphicsMode); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetGraphicsMode(mh, &mode, &opColor); _res = Py_BuildValue("llO&", _rv, mode, QdRGB_New, &opColor); return _res; } static PyObject *Qt_MediaGSetVolume(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short volume; #ifndef MediaGSetVolume PyMac_PRECHECK(MediaGSetVolume); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &mh, &volume)) return NULL; _rv = MediaGSetVolume(mh, volume); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetSoundBalance(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short balance; #ifndef MediaSetSoundBalance PyMac_PRECHECK(MediaSetSoundBalance); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &mh, &balance)) return NULL; _rv = MediaSetSoundBalance(mh, balance); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetSoundBalance(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short balance; #ifndef MediaGetSoundBalance PyMac_PRECHECK(MediaGetSoundBalance); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetSoundBalance(mh, &balance); _res = Py_BuildValue("lh", _rv, balance); return _res; } static PyObject *Qt_MediaGetNextBoundsChange(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; TimeValue when; #ifndef MediaGetNextBoundsChange PyMac_PRECHECK(MediaGetNextBoundsChange); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetNextBoundsChange(mh, &when); _res = Py_BuildValue("ll", _rv, when); return _res; } static PyObject *Qt_MediaGetSrcRgn(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; RgnHandle rgn; TimeValue atMediaTime; #ifndef MediaGetSrcRgn PyMac_PRECHECK(MediaGetSrcRgn); #endif if (!PyArg_ParseTuple(_args, "O&O&l", CmpInstObj_Convert, &mh, ResObj_Convert, &rgn, &atMediaTime)) return NULL; _rv = MediaGetSrcRgn(mh, rgn, atMediaTime); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaPreroll(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; TimeValue time; Fixed rate; #ifndef MediaPreroll PyMac_PRECHECK(MediaPreroll); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &mh, &time, PyMac_GetFixed, &rate)) return NULL; _rv = MediaPreroll(mh, time, rate); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSampleDescriptionChanged(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long index; #ifndef MediaSampleDescriptionChanged PyMac_PRECHECK(MediaSampleDescriptionChanged); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &index)) return NULL; _rv = MediaSampleDescriptionChanged(mh, index); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaHasCharacteristic(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; OSType characteristic; Boolean hasIt; #ifndef MediaHasCharacteristic PyMac_PRECHECK(MediaHasCharacteristic); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, PyMac_GetOSType, &characteristic)) return NULL; _rv = MediaHasCharacteristic(mh, characteristic, &hasIt); _res = Py_BuildValue("lb", _rv, hasIt); return _res; } static PyObject *Qt_MediaGetOffscreenBufferSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Rect bounds; short depth; CTabHandle ctab; #ifndef MediaGetOffscreenBufferSize PyMac_PRECHECK(MediaGetOffscreenBufferSize); #endif if (!PyArg_ParseTuple(_args, "O&hO&", CmpInstObj_Convert, &mh, &depth, ResObj_Convert, &ctab)) return NULL; _rv = MediaGetOffscreenBufferSize(mh, &bounds, depth, ctab); _res = Py_BuildValue("lO&", _rv, PyMac_BuildRect, &bounds); return _res; } static PyObject *Qt_MediaSetHints(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long hints; #ifndef MediaSetHints PyMac_PRECHECK(MediaSetHints); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &hints)) return NULL; _rv = MediaSetHints(mh, hints); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Str255 name; long requestedLanguage; long actualLanguage; #ifndef MediaGetName PyMac_PRECHECK(MediaGetName); #endif if (!PyArg_ParseTuple(_args, "O&O&l", CmpInstObj_Convert, &mh, PyMac_GetStr255, name, &requestedLanguage)) return NULL; _rv = MediaGetName(mh, name, requestedLanguage, &actualLanguage); _res = Py_BuildValue("ll", _rv, actualLanguage); return _res; } static PyObject *Qt_MediaForceUpdate(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long forceUpdateFlags; #ifndef MediaForceUpdate PyMac_PRECHECK(MediaForceUpdate); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &forceUpdateFlags)) return NULL; _rv = MediaForceUpdate(mh, forceUpdateFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetDrawingRgn(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; RgnHandle partialRgn; #ifndef MediaGetDrawingRgn PyMac_PRECHECK(MediaGetDrawingRgn); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetDrawingRgn(mh, &partialRgn); _res = Py_BuildValue("lO&", _rv, ResObj_New, partialRgn); return _res; } static PyObject *Qt_MediaGSetActiveSegment(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; TimeValue activeStart; TimeValue activeDuration; #ifndef MediaGSetActiveSegment PyMac_PRECHECK(MediaGSetActiveSegment); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mh, &activeStart, &activeDuration)) return NULL; _rv = MediaGSetActiveSegment(mh, activeStart, activeDuration); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaInvalidateRegion(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; RgnHandle invalRgn; #ifndef MediaInvalidateRegion PyMac_PRECHECK(MediaInvalidateRegion); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, ResObj_Convert, &invalRgn)) return NULL; _rv = MediaInvalidateRegion(mh, invalRgn); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetNextStepTime(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short flags; TimeValue mediaTimeIn; TimeValue mediaTimeOut; Fixed rate; #ifndef MediaGetNextStepTime PyMac_PRECHECK(MediaGetNextStepTime); #endif if (!PyArg_ParseTuple(_args, "O&hlO&", CmpInstObj_Convert, &mh, &flags, &mediaTimeIn, PyMac_GetFixed, &rate)) return NULL; _rv = MediaGetNextStepTime(mh, flags, mediaTimeIn, &mediaTimeOut, rate); _res = Py_BuildValue("ll", _rv, mediaTimeOut); return _res; } static PyObject *Qt_MediaChangedNonPrimarySource(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long inputIndex; #ifndef MediaChangedNonPrimarySource PyMac_PRECHECK(MediaChangedNonPrimarySource); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &inputIndex)) return NULL; _rv = MediaChangedNonPrimarySource(mh, inputIndex); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaTrackReferencesChanged(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; #ifndef MediaTrackReferencesChanged PyMac_PRECHECK(MediaTrackReferencesChanged); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaTrackReferencesChanged(mh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaReleaseSampleDataPointer(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long sampleNum; #ifndef MediaReleaseSampleDataPointer PyMac_PRECHECK(MediaReleaseSampleDataPointer); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &sampleNum)) return NULL; _rv = MediaReleaseSampleDataPointer(mh, sampleNum); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaTrackPropertyAtomChanged(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; #ifndef MediaTrackPropertyAtomChanged PyMac_PRECHECK(MediaTrackPropertyAtomChanged); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaTrackPropertyAtomChanged(mh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetVideoParam(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long whichParam; unsigned short value; #ifndef MediaSetVideoParam PyMac_PRECHECK(MediaSetVideoParam); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &whichParam)) return NULL; _rv = MediaSetVideoParam(mh, whichParam, &value); _res = Py_BuildValue("lH", _rv, value); return _res; } static PyObject *Qt_MediaGetVideoParam(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long whichParam; unsigned short value; #ifndef MediaGetVideoParam PyMac_PRECHECK(MediaGetVideoParam); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &whichParam)) return NULL; _rv = MediaGetVideoParam(mh, whichParam, &value); _res = Py_BuildValue("lH", _rv, value); return _res; } static PyObject *Qt_MediaCompare(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Boolean isOK; Media srcMedia; ComponentInstance srcMediaComponent; #ifndef MediaCompare PyMac_PRECHECK(MediaCompare); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", CmpInstObj_Convert, &mh, MediaObj_Convert, &srcMedia, CmpInstObj_Convert, &srcMediaComponent)) return NULL; _rv = MediaCompare(mh, &isOK, srcMedia, srcMediaComponent); _res = Py_BuildValue("lb", _rv, isOK); return _res; } static PyObject *Qt_MediaGetClock(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; ComponentInstance clock; #ifndef MediaGetClock PyMac_PRECHECK(MediaGetClock); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetClock(mh, &clock); _res = Py_BuildValue("lO&", _rv, CmpInstObj_New, clock); return _res; } static PyObject *Qt_MediaSetSoundOutputComponent(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Component outputComponent; #ifndef MediaSetSoundOutputComponent PyMac_PRECHECK(MediaSetSoundOutputComponent); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, CmpObj_Convert, &outputComponent)) return NULL; _rv = MediaSetSoundOutputComponent(mh, outputComponent); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetSoundOutputComponent(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Component outputComponent; #ifndef MediaGetSoundOutputComponent PyMac_PRECHECK(MediaGetSoundOutputComponent); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetSoundOutputComponent(mh, &outputComponent); _res = Py_BuildValue("lO&", _rv, CmpObj_New, outputComponent); return _res; } static PyObject *Qt_MediaSetSoundLocalizationData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Handle data; #ifndef MediaSetSoundLocalizationData PyMac_PRECHECK(MediaSetSoundLocalizationData); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, ResObj_Convert, &data)) return NULL; _rv = MediaSetSoundLocalizationData(mh, data); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetInvalidRegion(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; RgnHandle rgn; #ifndef MediaGetInvalidRegion PyMac_PRECHECK(MediaGetInvalidRegion); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, ResObj_Convert, &rgn)) return NULL; _rv = MediaGetInvalidRegion(mh, rgn); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSampleDescriptionB2N(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; SampleDescriptionHandle sampleDescriptionH; #ifndef MediaSampleDescriptionB2N PyMac_PRECHECK(MediaSampleDescriptionB2N); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, ResObj_Convert, &sampleDescriptionH)) return NULL; _rv = MediaSampleDescriptionB2N(mh, sampleDescriptionH); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSampleDescriptionN2B(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; SampleDescriptionHandle sampleDescriptionH; #ifndef MediaSampleDescriptionN2B PyMac_PRECHECK(MediaSampleDescriptionN2B); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, ResObj_Convert, &sampleDescriptionH)) return NULL; _rv = MediaSampleDescriptionN2B(mh, sampleDescriptionH); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaFlushNonPrimarySourceData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long inputIndex; #ifndef MediaFlushNonPrimarySourceData PyMac_PRECHECK(MediaFlushNonPrimarySourceData); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &inputIndex)) return NULL; _rv = MediaFlushNonPrimarySourceData(mh, inputIndex); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetURLLink(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Point displayWhere; Handle urlLink; #ifndef MediaGetURLLink PyMac_PRECHECK(MediaGetURLLink); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, PyMac_GetPoint, &displayWhere)) return NULL; _rv = MediaGetURLLink(mh, displayWhere, &urlLink); _res = Py_BuildValue("lO&", _rv, ResObj_New, urlLink); return _res; } static PyObject *Qt_MediaHitTestForTargetRefCon(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long flags; Point loc; long targetRefCon; #ifndef MediaHitTestForTargetRefCon PyMac_PRECHECK(MediaHitTestForTargetRefCon); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &mh, &flags, PyMac_GetPoint, &loc)) return NULL; _rv = MediaHitTestForTargetRefCon(mh, flags, loc, &targetRefCon); _res = Py_BuildValue("ll", _rv, targetRefCon); return _res; } static PyObject *Qt_MediaHitTestTargetRefCon(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long targetRefCon; long flags; Point loc; Boolean wasHit; #ifndef MediaHitTestTargetRefCon PyMac_PRECHECK(MediaHitTestTargetRefCon); #endif if (!PyArg_ParseTuple(_args, "O&llO&", CmpInstObj_Convert, &mh, &targetRefCon, &flags, PyMac_GetPoint, &loc)) return NULL; _rv = MediaHitTestTargetRefCon(mh, targetRefCon, flags, loc, &wasHit); _res = Py_BuildValue("lb", _rv, wasHit); return _res; } static PyObject *Qt_MediaDisposeTargetRefCon(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long targetRefCon; #ifndef MediaDisposeTargetRefCon PyMac_PRECHECK(MediaDisposeTargetRefCon); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &targetRefCon)) return NULL; _rv = MediaDisposeTargetRefCon(mh, targetRefCon); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaTargetRefConsEqual(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long firstRefCon; long secondRefCon; Boolean equal; #ifndef MediaTargetRefConsEqual PyMac_PRECHECK(MediaTargetRefConsEqual); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mh, &firstRefCon, &secondRefCon)) return NULL; _rv = MediaTargetRefConsEqual(mh, firstRefCon, secondRefCon, &equal); _res = Py_BuildValue("lb", _rv, equal); return _res; } static PyObject *Qt_MediaPrePrerollCancel(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; void * refcon; #ifndef MediaPrePrerollCancel PyMac_PRECHECK(MediaPrePrerollCancel); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &mh, &refcon)) return NULL; _rv = MediaPrePrerollCancel(mh, refcon); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaEnterEmptyEdit(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; #ifndef MediaEnterEmptyEdit PyMac_PRECHECK(MediaEnterEmptyEdit); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaEnterEmptyEdit(mh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaCurrentMediaQueuedData(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long milliSecs; #ifndef MediaCurrentMediaQueuedData PyMac_PRECHECK(MediaCurrentMediaQueuedData); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaCurrentMediaQueuedData(mh, &milliSecs); _res = Py_BuildValue("ll", _rv, milliSecs); return _res; } static PyObject *Qt_MediaGetEffectiveVolume(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short volume; #ifndef MediaGetEffectiveVolume PyMac_PRECHECK(MediaGetEffectiveVolume); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetEffectiveVolume(mh, &volume); _res = Py_BuildValue("lh", _rv, volume); return _res; } static PyObject *Qt_MediaGetSoundLevelMeteringEnabled(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Boolean enabled; #ifndef MediaGetSoundLevelMeteringEnabled PyMac_PRECHECK(MediaGetSoundLevelMeteringEnabled); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetSoundLevelMeteringEnabled(mh, &enabled); _res = Py_BuildValue("lb", _rv, enabled); return _res; } static PyObject *Qt_MediaSetSoundLevelMeteringEnabled(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Boolean enable; #ifndef MediaSetSoundLevelMeteringEnabled PyMac_PRECHECK(MediaSetSoundLevelMeteringEnabled); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &mh, &enable)) return NULL; _rv = MediaSetSoundLevelMeteringEnabled(mh, enable); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetEffectiveSoundBalance(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short balance; #ifndef MediaGetEffectiveSoundBalance PyMac_PRECHECK(MediaGetEffectiveSoundBalance); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetEffectiveSoundBalance(mh, &balance); _res = Py_BuildValue("lh", _rv, balance); return _res; } static PyObject *Qt_MediaSetScreenLock(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; Boolean lockIt; #ifndef MediaSetScreenLock PyMac_PRECHECK(MediaSetScreenLock); #endif if (!PyArg_ParseTuple(_args, "O&b", CmpInstObj_Convert, &mh, &lockIt)) return NULL; _rv = MediaSetScreenLock(mh, lockIt); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetErrorString(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; ComponentResult theError; Str255 errorString; #ifndef MediaGetErrorString PyMac_PRECHECK(MediaGetErrorString); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &mh, &theError, PyMac_GetStr255, errorString)) return NULL; _rv = MediaGetErrorString(mh, theError, errorString); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetSoundEqualizerBandLevels(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; UInt8 bandLevels; #ifndef MediaGetSoundEqualizerBandLevels PyMac_PRECHECK(MediaGetSoundEqualizerBandLevels); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetSoundEqualizerBandLevels(mh, &bandLevels); _res = Py_BuildValue("lb", _rv, bandLevels); return _res; } static PyObject *Qt_MediaDoIdleActions(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; #ifndef MediaDoIdleActions PyMac_PRECHECK(MediaDoIdleActions); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaDoIdleActions(mh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaSetSoundBassAndTreble(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short bass; short treble; #ifndef MediaSetSoundBassAndTreble PyMac_PRECHECK(MediaSetSoundBassAndTreble); #endif if (!PyArg_ParseTuple(_args, "O&hh", CmpInstObj_Convert, &mh, &bass, &treble)) return NULL; _rv = MediaSetSoundBassAndTreble(mh, bass, treble); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetSoundBassAndTreble(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; short bass; short treble; #ifndef MediaGetSoundBassAndTreble PyMac_PRECHECK(MediaGetSoundBassAndTreble); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetSoundBassAndTreble(mh, &bass, &treble); _res = Py_BuildValue("lhh", _rv, bass, treble); return _res; } static PyObject *Qt_MediaTimeBaseChanged(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; #ifndef MediaTimeBaseChanged PyMac_PRECHECK(MediaTimeBaseChanged); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaTimeBaseChanged(mh); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaMCIsPlayerEvent(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; EventRecord e; Boolean handledIt; #ifndef MediaMCIsPlayerEvent PyMac_PRECHECK(MediaMCIsPlayerEvent); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, PyMac_GetEventRecord, &e)) return NULL; _rv = MediaMCIsPlayerEvent(mh, &e, &handledIt); _res = Py_BuildValue("lb", _rv, handledIt); return _res; } static PyObject *Qt_MediaGetMediaLoadState(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long mediaLoadState; #ifndef MediaGetMediaLoadState PyMac_PRECHECK(MediaGetMediaLoadState); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGetMediaLoadState(mh, &mediaLoadState); _res = Py_BuildValue("ll", _rv, mediaLoadState); return _res; } static PyObject *Qt_MediaVideoOutputChanged(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; ComponentInstance vout; #ifndef MediaVideoOutputChanged PyMac_PRECHECK(MediaVideoOutputChanged); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, CmpInstObj_Convert, &vout)) return NULL; _rv = MediaVideoOutputChanged(mh, vout); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaEmptySampleCache(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long sampleNum; long sampleCount; #ifndef MediaEmptySampleCache PyMac_PRECHECK(MediaEmptySampleCache); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mh, &sampleNum, &sampleCount)) return NULL; _rv = MediaEmptySampleCache(mh, sampleNum, sampleCount); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaGetPublicInfo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; OSType infoSelector; void * infoDataPtr; Size ioDataSize; #ifndef MediaGetPublicInfo PyMac_PRECHECK(MediaGetPublicInfo); #endif if (!PyArg_ParseTuple(_args, "O&O&s", CmpInstObj_Convert, &mh, PyMac_GetOSType, &infoSelector, &infoDataPtr)) return NULL; _rv = MediaGetPublicInfo(mh, infoSelector, infoDataPtr, &ioDataSize); _res = Py_BuildValue("ll", _rv, ioDataSize); return _res; } static PyObject *Qt_MediaSetPublicInfo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; OSType infoSelector; void * infoDataPtr; Size dataSize; #ifndef MediaSetPublicInfo PyMac_PRECHECK(MediaSetPublicInfo); #endif if (!PyArg_ParseTuple(_args, "O&O&sl", CmpInstObj_Convert, &mh, PyMac_GetOSType, &infoSelector, &infoDataPtr, &dataSize)) return NULL; _rv = MediaSetPublicInfo(mh, infoSelector, infoDataPtr, dataSize); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaRefConSetProperty(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long refCon; long propertyType; void * propertyValue; #ifndef MediaRefConSetProperty PyMac_PRECHECK(MediaRefConSetProperty); #endif if (!PyArg_ParseTuple(_args, "O&lls", CmpInstObj_Convert, &mh, &refCon, &propertyType, &propertyValue)) return NULL; _rv = MediaRefConSetProperty(mh, refCon, propertyType, propertyValue); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaRefConGetProperty(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long refCon; long propertyType; void * propertyValue; #ifndef MediaRefConGetProperty PyMac_PRECHECK(MediaRefConGetProperty); #endif if (!PyArg_ParseTuple(_args, "O&lls", CmpInstObj_Convert, &mh, &refCon, &propertyType, &propertyValue)) return NULL; _rv = MediaRefConGetProperty(mh, refCon, propertyType, propertyValue); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MediaNavigateTargetRefCon(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; long navigation; long refCon; #ifndef MediaNavigateTargetRefCon PyMac_PRECHECK(MediaNavigateTargetRefCon); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mh, &navigation)) return NULL; _rv = MediaNavigateTargetRefCon(mh, navigation, &refCon); _res = Py_BuildValue("ll", _rv, refCon); return _res; } static PyObject *Qt_MediaGGetIdleManager(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; IdleManager pim; #ifndef MediaGGetIdleManager PyMac_PRECHECK(MediaGGetIdleManager); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mh)) return NULL; _rv = MediaGGetIdleManager(mh, &pim); _res = Py_BuildValue("lO&", _rv, IdleManagerObj_New, pim); return _res; } static PyObject *Qt_MediaGSetIdleManager(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MediaHandler mh; IdleManager im; #ifndef MediaGSetIdleManager PyMac_PRECHECK(MediaGSetIdleManager); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mh, IdleManagerObj_Convert, &im)) return NULL; _rv = MediaGSetIdleManager(mh, im); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_QTMIDIGetMIDIPorts(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTMIDIComponent ci; QTMIDIPortListHandle inputPorts; QTMIDIPortListHandle outputPorts; #ifndef QTMIDIGetMIDIPorts PyMac_PRECHECK(QTMIDIGetMIDIPorts); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &ci)) return NULL; _rv = QTMIDIGetMIDIPorts(ci, &inputPorts, &outputPorts); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, inputPorts, ResObj_New, outputPorts); return _res; } static PyObject *Qt_QTMIDIUseSendPort(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTMIDIComponent ci; long portIndex; long inUse; #ifndef QTMIDIUseSendPort PyMac_PRECHECK(QTMIDIUseSendPort); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &ci, &portIndex, &inUse)) return NULL; _rv = QTMIDIUseSendPort(ci, portIndex, inUse); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_QTMIDISendMIDI(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; QTMIDIComponent ci; long portIndex; MusicMIDIPacket mp; #ifndef QTMIDISendMIDI PyMac_PRECHECK(QTMIDISendMIDI); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &ci, &portIndex, QtMusicMIDIPacket_Convert, &mp)) return NULL; _rv = QTMIDISendMIDI(ci, portIndex, &mp); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGetPart(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; long midiChannel; long polyphony; #ifndef MusicGetPart PyMac_PRECHECK(MusicGetPart); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &part)) return NULL; _rv = MusicGetPart(mc, part, &midiChannel, &polyphony); _res = Py_BuildValue("lll", _rv, midiChannel, polyphony); return _res; } static PyObject *Qt_MusicSetPart(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; long midiChannel; long polyphony; #ifndef MusicSetPart PyMac_PRECHECK(MusicSetPart); #endif if (!PyArg_ParseTuple(_args, "O&lll", CmpInstObj_Convert, &mc, &part, &midiChannel, &polyphony)) return NULL; _rv = MusicSetPart(mc, part, midiChannel, polyphony); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicSetPartInstrumentNumber(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; long instrumentNumber; #ifndef MusicSetPartInstrumentNumber PyMac_PRECHECK(MusicSetPartInstrumentNumber); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mc, &part, &instrumentNumber)) return NULL; _rv = MusicSetPartInstrumentNumber(mc, part, instrumentNumber); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGetPartInstrumentNumber(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; #ifndef MusicGetPartInstrumentNumber PyMac_PRECHECK(MusicGetPartInstrumentNumber); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &part)) return NULL; _rv = MusicGetPartInstrumentNumber(mc, part); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicStorePartInstrument(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; long instrumentNumber; #ifndef MusicStorePartInstrument PyMac_PRECHECK(MusicStorePartInstrument); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mc, &part, &instrumentNumber)) return NULL; _rv = MusicStorePartInstrument(mc, part, instrumentNumber); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGetPartAtomicInstrument(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; AtomicInstrument ai; long flags; #ifndef MusicGetPartAtomicInstrument PyMac_PRECHECK(MusicGetPartAtomicInstrument); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mc, &part, &flags)) return NULL; _rv = MusicGetPartAtomicInstrument(mc, part, &ai, flags); _res = Py_BuildValue("lO&", _rv, ResObj_New, ai); return _res; } static PyObject *Qt_MusicSetPartAtomicInstrument(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; AtomicInstrumentPtr aiP; long flags; #ifndef MusicSetPartAtomicInstrument PyMac_PRECHECK(MusicSetPartAtomicInstrument); #endif if (!PyArg_ParseTuple(_args, "O&lsl", CmpInstObj_Convert, &mc, &part, &aiP, &flags)) return NULL; _rv = MusicSetPartAtomicInstrument(mc, part, aiP, flags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGetPartKnob(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; long knobID; #ifndef MusicGetPartKnob PyMac_PRECHECK(MusicGetPartKnob); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mc, &part, &knobID)) return NULL; _rv = MusicGetPartKnob(mc, part, knobID); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicSetPartKnob(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; long knobID; long knobValue; #ifndef MusicSetPartKnob PyMac_PRECHECK(MusicSetPartKnob); #endif if (!PyArg_ParseTuple(_args, "O&lll", CmpInstObj_Convert, &mc, &part, &knobID, &knobValue)) return NULL; _rv = MusicSetPartKnob(mc, part, knobID, knobValue); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGetKnob(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long knobID; #ifndef MusicGetKnob PyMac_PRECHECK(MusicGetKnob); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &knobID)) return NULL; _rv = MusicGetKnob(mc, knobID); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicSetKnob(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long knobID; long knobValue; #ifndef MusicSetKnob PyMac_PRECHECK(MusicSetKnob); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mc, &knobID, &knobValue)) return NULL; _rv = MusicSetKnob(mc, knobID, knobValue); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGetPartName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; StringPtr name; #ifndef MusicGetPartName PyMac_PRECHECK(MusicGetPartName); #endif if (!PyArg_ParseTuple(_args, "O&ls", CmpInstObj_Convert, &mc, &part, &name)) return NULL; _rv = MusicGetPartName(mc, part, name); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicSetPartName(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; StringPtr name; #ifndef MusicSetPartName PyMac_PRECHECK(MusicSetPartName); #endif if (!PyArg_ParseTuple(_args, "O&ls", CmpInstObj_Convert, &mc, &part, &name)) return NULL; _rv = MusicSetPartName(mc, part, name); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicPlayNote(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; long pitch; long velocity; #ifndef MusicPlayNote PyMac_PRECHECK(MusicPlayNote); #endif if (!PyArg_ParseTuple(_args, "O&lll", CmpInstObj_Convert, &mc, &part, &pitch, &velocity)) return NULL; _rv = MusicPlayNote(mc, part, pitch, velocity); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicResetPart(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; #ifndef MusicResetPart PyMac_PRECHECK(MusicResetPart); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &part)) return NULL; _rv = MusicResetPart(mc, part); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicSetPartController(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; MusicController controllerNumber; long controllerValue; #ifndef MusicSetPartController PyMac_PRECHECK(MusicSetPartController); #endif if (!PyArg_ParseTuple(_args, "O&lll", CmpInstObj_Convert, &mc, &part, &controllerNumber, &controllerValue)) return NULL; _rv = MusicSetPartController(mc, part, controllerNumber, controllerValue); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGetPartController(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; MusicController controllerNumber; #ifndef MusicGetPartController PyMac_PRECHECK(MusicGetPartController); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mc, &part, &controllerNumber)) return NULL; _rv = MusicGetPartController(mc, part, controllerNumber); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGetInstrumentNames(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long modifiableInstruments; Handle instrumentNames; Handle instrumentCategoryLasts; Handle instrumentCategoryNames; #ifndef MusicGetInstrumentNames PyMac_PRECHECK(MusicGetInstrumentNames); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &modifiableInstruments)) return NULL; _rv = MusicGetInstrumentNames(mc, modifiableInstruments, &instrumentNames, &instrumentCategoryLasts, &instrumentCategoryNames); _res = Py_BuildValue("lO&O&O&", _rv, ResObj_New, instrumentNames, ResObj_New, instrumentCategoryLasts, ResObj_New, instrumentCategoryNames); return _res; } static PyObject *Qt_MusicGetDrumNames(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long modifiableInstruments; Handle instrumentNumbers; Handle instrumentNames; #ifndef MusicGetDrumNames PyMac_PRECHECK(MusicGetDrumNames); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &modifiableInstruments)) return NULL; _rv = MusicGetDrumNames(mc, modifiableInstruments, &instrumentNumbers, &instrumentNames); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, instrumentNumbers, ResObj_New, instrumentNames); return _res; } static PyObject *Qt_MusicGetMasterTune(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; #ifndef MusicGetMasterTune PyMac_PRECHECK(MusicGetMasterTune); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mc)) return NULL; _rv = MusicGetMasterTune(mc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicSetMasterTune(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long masterTune; #ifndef MusicSetMasterTune PyMac_PRECHECK(MusicSetMasterTune); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &masterTune)) return NULL; _rv = MusicSetMasterTune(mc, masterTune); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGetDeviceConnection(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long index; long id1; long id2; #ifndef MusicGetDeviceConnection PyMac_PRECHECK(MusicGetDeviceConnection); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &index)) return NULL; _rv = MusicGetDeviceConnection(mc, index, &id1, &id2); _res = Py_BuildValue("lll", _rv, id1, id2); return _res; } static PyObject *Qt_MusicUseDeviceConnection(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long id1; long id2; #ifndef MusicUseDeviceConnection PyMac_PRECHECK(MusicUseDeviceConnection); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mc, &id1, &id2)) return NULL; _rv = MusicUseDeviceConnection(mc, id1, id2); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGetKnobSettingStrings(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long knobIndex; long isGlobal; Handle settingsNames; Handle settingsCategoryLasts; Handle settingsCategoryNames; #ifndef MusicGetKnobSettingStrings PyMac_PRECHECK(MusicGetKnobSettingStrings); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mc, &knobIndex, &isGlobal)) return NULL; _rv = MusicGetKnobSettingStrings(mc, knobIndex, isGlobal, &settingsNames, &settingsCategoryLasts, &settingsCategoryNames); _res = Py_BuildValue("lO&O&O&", _rv, ResObj_New, settingsNames, ResObj_New, settingsCategoryLasts, ResObj_New, settingsCategoryNames); return _res; } static PyObject *Qt_MusicGetMIDIPorts(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long inputPortCount; long outputPortCount; #ifndef MusicGetMIDIPorts PyMac_PRECHECK(MusicGetMIDIPorts); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mc)) return NULL; _rv = MusicGetMIDIPorts(mc, &inputPortCount, &outputPortCount); _res = Py_BuildValue("lll", _rv, inputPortCount, outputPortCount); return _res; } static PyObject *Qt_MusicSendMIDI(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long portIndex; MusicMIDIPacket mp; #ifndef MusicSendMIDI PyMac_PRECHECK(MusicSendMIDI); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &mc, &portIndex, QtMusicMIDIPacket_Convert, &mp)) return NULL; _rv = MusicSendMIDI(mc, portIndex, &mp); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicSetOfflineTimeTo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long newTimeStamp; #ifndef MusicSetOfflineTimeTo PyMac_PRECHECK(MusicSetOfflineTimeTo); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &newTimeStamp)) return NULL; _rv = MusicSetOfflineTimeTo(mc, newTimeStamp); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGetInfoText(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long selector; Handle textH; Handle styleH; #ifndef MusicGetInfoText PyMac_PRECHECK(MusicGetInfoText); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &selector)) return NULL; _rv = MusicGetInfoText(mc, selector, &textH, &styleH); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, textH, ResObj_New, styleH); return _res; } static PyObject *Qt_MusicGetInstrumentInfo(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long getInstrumentInfoFlags; InstrumentInfoListHandle infoListH; #ifndef MusicGetInstrumentInfo PyMac_PRECHECK(MusicGetInstrumentInfo); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &getInstrumentInfoFlags)) return NULL; _rv = MusicGetInstrumentInfo(mc, getInstrumentInfoFlags, &infoListH); _res = Py_BuildValue("lO&", _rv, ResObj_New, infoListH); return _res; } static PyObject *Qt_MusicTask(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; #ifndef MusicTask PyMac_PRECHECK(MusicTask); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mc)) return NULL; _rv = MusicTask(mc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicSetPartInstrumentNumberInterruptSafe(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; long instrumentNumber; #ifndef MusicSetPartInstrumentNumberInterruptSafe PyMac_PRECHECK(MusicSetPartInstrumentNumberInterruptSafe); #endif if (!PyArg_ParseTuple(_args, "O&ll", CmpInstObj_Convert, &mc, &part, &instrumentNumber)) return NULL; _rv = MusicSetPartInstrumentNumberInterruptSafe(mc, part, instrumentNumber); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicSetPartSoundLocalization(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long part; Handle data; #ifndef MusicSetPartSoundLocalization PyMac_PRECHECK(MusicSetPartSoundLocalization); #endif if (!PyArg_ParseTuple(_args, "O&lO&", CmpInstObj_Convert, &mc, &part, ResObj_Convert, &data)) return NULL; _rv = MusicSetPartSoundLocalization(mc, part, data); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGenericConfigure(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long mode; long flags; long baseResID; #ifndef MusicGenericConfigure PyMac_PRECHECK(MusicGenericConfigure); #endif if (!PyArg_ParseTuple(_args, "O&lll", CmpInstObj_Convert, &mc, &mode, &flags, &baseResID)) return NULL; _rv = MusicGenericConfigure(mc, mode, flags, baseResID); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicGenericGetKnobList(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; long knobType; GenericKnobDescriptionListHandle gkdlH; #ifndef MusicGenericGetKnobList PyMac_PRECHECK(MusicGenericGetKnobList); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &mc, &knobType)) return NULL; _rv = MusicGenericGetKnobList(mc, knobType, &gkdlH); _res = Py_BuildValue("lO&", _rv, ResObj_New, gkdlH); return _res; } static PyObject *Qt_MusicGenericSetResourceNumbers(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; Handle resourceIDH; #ifndef MusicGenericSetResourceNumbers PyMac_PRECHECK(MusicGenericSetResourceNumbers); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mc, ResObj_Convert, &resourceIDH)) return NULL; _rv = MusicGenericSetResourceNumbers(mc, resourceIDH); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicDerivedMIDISend(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; MusicMIDIPacket packet; #ifndef MusicDerivedMIDISend PyMac_PRECHECK(MusicDerivedMIDISend); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &mc, QtMusicMIDIPacket_Convert, &packet)) return NULL; _rv = MusicDerivedMIDISend(mc, &packet); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicDerivedOpenResFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; #ifndef MusicDerivedOpenResFile PyMac_PRECHECK(MusicDerivedOpenResFile); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &mc)) return NULL; _rv = MusicDerivedOpenResFile(mc); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_MusicDerivedCloseResFile(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; MusicComponent mc; short resRefNum; #ifndef MusicDerivedCloseResFile PyMac_PRECHECK(MusicDerivedCloseResFile); #endif if (!PyArg_ParseTuple(_args, "O&h", CmpInstObj_Convert, &mc, &resRefNum)) return NULL; _rv = MusicDerivedCloseResFile(mc, resRefNum); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_NAUnregisterMusicDevice(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; NoteAllocator na; long index; #ifndef NAUnregisterMusicDevice PyMac_PRECHECK(NAUnregisterMusicDevice); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &na, &index)) return NULL; _rv = NAUnregisterMusicDevice(na, index); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_NASaveMusicConfiguration(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; NoteAllocator na; #ifndef NASaveMusicConfiguration PyMac_PRECHECK(NASaveMusicConfiguration); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &na)) return NULL; _rv = NASaveMusicConfiguration(na); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_NAGetMIDIPorts(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; NoteAllocator na; QTMIDIPortListHandle inputPorts; QTMIDIPortListHandle outputPorts; #ifndef NAGetMIDIPorts PyMac_PRECHECK(NAGetMIDIPorts); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &na)) return NULL; _rv = NAGetMIDIPorts(na, &inputPorts, &outputPorts); _res = Py_BuildValue("lO&O&", _rv, ResObj_New, inputPorts, ResObj_New, outputPorts); return _res; } static PyObject *Qt_NATask(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; NoteAllocator na; #ifndef NATask PyMac_PRECHECK(NATask); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &na)) return NULL; _rv = NATask(na); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneSetHeader(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; unsigned long * header; #ifndef TuneSetHeader PyMac_PRECHECK(TuneSetHeader); #endif if (!PyArg_ParseTuple(_args, "O&s", CmpInstObj_Convert, &tp, &header)) return NULL; _rv = TuneSetHeader(tp, header); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneGetTimeBase(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; TimeBase tb; #ifndef TuneGetTimeBase PyMac_PRECHECK(TuneGetTimeBase); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &tp)) return NULL; _rv = TuneGetTimeBase(tp, &tb); _res = Py_BuildValue("lO&", _rv, TimeBaseObj_New, tb); return _res; } static PyObject *Qt_TuneSetTimeScale(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; TimeScale scale; #ifndef TuneSetTimeScale PyMac_PRECHECK(TuneSetTimeScale); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &tp, &scale)) return NULL; _rv = TuneSetTimeScale(tp, scale); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneGetTimeScale(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; TimeScale scale; #ifndef TuneGetTimeScale PyMac_PRECHECK(TuneGetTimeScale); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &tp)) return NULL; _rv = TuneGetTimeScale(tp, &scale); _res = Py_BuildValue("ll", _rv, scale); return _res; } static PyObject *Qt_TuneInstant(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; unsigned long tune; unsigned long tunePosition; #ifndef TuneInstant PyMac_PRECHECK(TuneInstant); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &tp, &tunePosition)) return NULL; _rv = TuneInstant(tp, &tune, tunePosition); _res = Py_BuildValue("ll", _rv, tune); return _res; } static PyObject *Qt_TuneStop(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; long stopFlags; #ifndef TuneStop PyMac_PRECHECK(TuneStop); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &tp, &stopFlags)) return NULL; _rv = TuneStop(tp, stopFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneSetVolume(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; Fixed volume; #ifndef TuneSetVolume PyMac_PRECHECK(TuneSetVolume); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &tp, PyMac_GetFixed, &volume)) return NULL; _rv = TuneSetVolume(tp, volume); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneGetVolume(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; #ifndef TuneGetVolume PyMac_PRECHECK(TuneGetVolume); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &tp)) return NULL; _rv = TuneGetVolume(tp); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TunePreroll(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; #ifndef TunePreroll PyMac_PRECHECK(TunePreroll); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &tp)) return NULL; _rv = TunePreroll(tp); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneUnroll(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; #ifndef TuneUnroll PyMac_PRECHECK(TuneUnroll); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &tp)) return NULL; _rv = TuneUnroll(tp); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneSetPartTranspose(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; unsigned long part; long transpose; long velocityShift; #ifndef TuneSetPartTranspose PyMac_PRECHECK(TuneSetPartTranspose); #endif if (!PyArg_ParseTuple(_args, "O&lll", CmpInstObj_Convert, &tp, &part, &transpose, &velocityShift)) return NULL; _rv = TuneSetPartTranspose(tp, part, transpose, velocityShift); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneGetNoteAllocator(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; NoteAllocator _rv; TunePlayer tp; #ifndef TuneGetNoteAllocator PyMac_PRECHECK(TuneGetNoteAllocator); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &tp)) return NULL; _rv = TuneGetNoteAllocator(tp); _res = Py_BuildValue("O&", CmpInstObj_New, _rv); return _res; } static PyObject *Qt_TuneSetSofter(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; long softer; #ifndef TuneSetSofter PyMac_PRECHECK(TuneSetSofter); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &tp, &softer)) return NULL; _rv = TuneSetSofter(tp, softer); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneTask(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; #ifndef TuneTask PyMac_PRECHECK(TuneTask); #endif if (!PyArg_ParseTuple(_args, "O&", CmpInstObj_Convert, &tp)) return NULL; _rv = TuneTask(tp); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneSetBalance(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; long balance; #ifndef TuneSetBalance PyMac_PRECHECK(TuneSetBalance); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &tp, &balance)) return NULL; _rv = TuneSetBalance(tp, balance); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneSetSoundLocalization(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; Handle data; #ifndef TuneSetSoundLocalization PyMac_PRECHECK(TuneSetSoundLocalization); #endif if (!PyArg_ParseTuple(_args, "O&O&", CmpInstObj_Convert, &tp, ResObj_Convert, &data)) return NULL; _rv = TuneSetSoundLocalization(tp, data); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneSetHeaderWithSize(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; unsigned long * header; unsigned long size; #ifndef TuneSetHeaderWithSize PyMac_PRECHECK(TuneSetHeaderWithSize); #endif if (!PyArg_ParseTuple(_args, "O&sl", CmpInstObj_Convert, &tp, &header, &size)) return NULL; _rv = TuneSetHeaderWithSize(tp, header, size); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneSetPartMix(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; unsigned long partNumber; long volume; long balance; long mixFlags; #ifndef TuneSetPartMix PyMac_PRECHECK(TuneSetPartMix); #endif if (!PyArg_ParseTuple(_args, "O&llll", CmpInstObj_Convert, &tp, &partNumber, &volume, &balance, &mixFlags)) return NULL; _rv = TuneSetPartMix(tp, partNumber, volume, balance, mixFlags); _res = Py_BuildValue("l", _rv); return _res; } static PyObject *Qt_TuneGetPartMix(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; ComponentResult _rv; TunePlayer tp; unsigned long partNumber; long volumeOut; long balanceOut; long mixFlagsOut; #ifndef TuneGetPartMix PyMac_PRECHECK(TuneGetPartMix); #endif if (!PyArg_ParseTuple(_args, "O&l", CmpInstObj_Convert, &tp, &partNumber)) return NULL; _rv = TuneGetPartMix(tp, partNumber, &volumeOut, &balanceOut, &mixFlagsOut); _res = Py_BuildValue("llll", _rv, volumeOut, balanceOut, mixFlagsOut); return _res; } static PyObject *Qt_AlignWindow(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; WindowPtr wp; Boolean front; #ifndef AlignWindow PyMac_PRECHECK(AlignWindow); #endif if (!PyArg_ParseTuple(_args, "O&b", WinObj_Convert, &wp, &front)) return NULL; AlignWindow(wp, front, (Rect *)0, (ICMAlignmentProcRecordPtr)0); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_DragAlignedWindow(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; WindowPtr wp; Point startPt; Rect boundsRect; #ifndef DragAlignedWindow PyMac_PRECHECK(DragAlignedWindow); #endif if (!PyArg_ParseTuple(_args, "O&O&O&", WinObj_Convert, &wp, PyMac_GetPoint, &startPt, PyMac_GetRect, &boundsRect)) return NULL; DragAlignedWindow(wp, startPt, &boundsRect, (Rect *)0, (ICMAlignmentProcRecordPtr)0); Py_INCREF(Py_None); _res = Py_None; return _res; } static PyObject *Qt_MoviesTask(PyObject *_self, PyObject *_args) { PyObject *_res = NULL; long maxMilliSecToUse; #ifndef MoviesTask PyMac_PRECHECK(MoviesTask); #endif if (!PyArg_ParseTuple(_args, "l", &maxMilliSecToUse)) return NULL; MoviesTask((Movie)0, maxMilliSecToUse); Py_INCREF(Py_None); _res = Py_None; return _res; } #endif /* __LP64__ */ static PyMethodDef Qt_methods[] = { #ifndef __LP64__ {"EnterMovies", (PyCFunction)Qt_EnterMovies, 1, PyDoc_STR("() -> None")}, {"ExitMovies", (PyCFunction)Qt_ExitMovies, 1, PyDoc_STR("() -> None")}, {"GetMoviesError", (PyCFunction)Qt_GetMoviesError, 1, PyDoc_STR("() -> None")}, {"ClearMoviesStickyError", (PyCFunction)Qt_ClearMoviesStickyError, 1, PyDoc_STR("() -> None")}, {"GetMoviesStickyError", (PyCFunction)Qt_GetMoviesStickyError, 1, PyDoc_STR("() -> None")}, {"QTGetWallClockTimeBase", (PyCFunction)Qt_QTGetWallClockTimeBase, 1, PyDoc_STR("() -> (TimeBase wallClockTimeBase)")}, {"QTIdleManagerOpen", (PyCFunction)Qt_QTIdleManagerOpen, 1, PyDoc_STR("() -> (IdleManager _rv)")}, {"CreateMovieControl", (PyCFunction)Qt_CreateMovieControl, 1, PyDoc_STR("(WindowPtr theWindow, Movie theMovie, UInt32 options) -> (Rect localRect, ControlHandle returnedControl)")}, {"DisposeMatte", (PyCFunction)Qt_DisposeMatte, 1, PyDoc_STR("(PixMapHandle theMatte) -> None")}, {"NewMovie", (PyCFunction)Qt_NewMovie, 1, PyDoc_STR("(long flags) -> (Movie _rv)")}, {"QTGetTimeUntilNextTask", (PyCFunction)Qt_QTGetTimeUntilNextTask, 1, PyDoc_STR("(long scale) -> (long duration)")}, {"GetDataHandler", (PyCFunction)Qt_GetDataHandler, 1, PyDoc_STR("(Handle dataRef, OSType dataHandlerSubType, long flags) -> (Component _rv)")}, {"PasteHandleIntoMovie", (PyCFunction)Qt_PasteHandleIntoMovie, 1, PyDoc_STR("(Handle h, OSType handleType, Movie theMovie, long flags, ComponentInstance userComp) -> None")}, {"GetMovieImporterForDataRef", (PyCFunction)Qt_GetMovieImporterForDataRef, 1, PyDoc_STR("(OSType dataRefType, Handle dataRef, long flags) -> (Component importer)")}, {"QTGetMIMETypeInfo", (PyCFunction)Qt_QTGetMIMETypeInfo, 1, PyDoc_STR("(char* mimeStringStart, short mimeStringLength, OSType infoSelector, void * infoDataPtr) -> (long infoDataSize)")}, {"TrackTimeToMediaTime", (PyCFunction)Qt_TrackTimeToMediaTime, 1, PyDoc_STR("(TimeValue value, Track theTrack) -> (TimeValue _rv)")}, {"NewUserData", (PyCFunction)Qt_NewUserData, 1, PyDoc_STR("() -> (UserData theUserData)")}, {"NewUserDataFromHandle", (PyCFunction)Qt_NewUserDataFromHandle, 1, PyDoc_STR("(Handle h) -> (UserData theUserData)")}, {"CreateMovieFile", (PyCFunction)Qt_CreateMovieFile, 1, PyDoc_STR("(FSSpec fileSpec, OSType creator, ScriptCode scriptTag, long createMovieFileFlags) -> (short resRefNum, Movie newmovie)")}, {"OpenMovieFile", (PyCFunction)Qt_OpenMovieFile, 1, PyDoc_STR("(FSSpec fileSpec, SInt8 permission) -> (short resRefNum)")}, {"CloseMovieFile", (PyCFunction)Qt_CloseMovieFile, 1, PyDoc_STR("(short resRefNum) -> None")}, {"DeleteMovieFile", (PyCFunction)Qt_DeleteMovieFile, 1, PyDoc_STR("(FSSpec fileSpec) -> None")}, {"NewMovieFromFile", (PyCFunction)Qt_NewMovieFromFile, 1, PyDoc_STR("(short resRefNum, short resId, short newMovieFlags) -> (Movie theMovie, short resId, Boolean dataRefWasChanged)")}, {"NewMovieFromHandle", (PyCFunction)Qt_NewMovieFromHandle, 1, PyDoc_STR("(Handle h, short newMovieFlags) -> (Movie theMovie, Boolean dataRefWasChanged)")}, {"NewMovieFromDataFork", (PyCFunction)Qt_NewMovieFromDataFork, 1, PyDoc_STR("(short fRefNum, long fileOffset, short newMovieFlags) -> (Movie theMovie, Boolean dataRefWasChanged)")}, {"NewMovieFromDataFork64", (PyCFunction)Qt_NewMovieFromDataFork64, 1, PyDoc_STR("(long fRefNum, wide fileOffset, short newMovieFlags) -> (Movie theMovie, Boolean dataRefWasChanged)")}, {"NewMovieFromDataRef", (PyCFunction)Qt_NewMovieFromDataRef, 1, PyDoc_STR("(short flags, Handle dataRef, OSType dtaRefType) -> (Movie m, short id)")}, {"NewMovieFromStorageOffset", (PyCFunction)Qt_NewMovieFromStorageOffset, 1, PyDoc_STR("(DataHandler dh, wide fileOffset, short newMovieFlags) -> (Movie theMovie, Boolean dataRefWasCataRefType)")}, {"NewMovieForDataRefFromHandle", (PyCFunction)Qt_NewMovieForDataRefFromHandle, 1, PyDoc_STR("(Handle h, short newMovieFlags, Handle dataRef, OSType dataRefType) -> (Movie theMovie, Boolean dataRefWasChanged)")}, {"RemoveMovieResource", (PyCFunction)Qt_RemoveMovieResource, 1, PyDoc_STR("(short resRefNum, short resId) -> None")}, {"CreateMovieStorage", (PyCFunction)Qt_CreateMovieStorage, 1, PyDoc_STR("(Handle dataRef, OSType dataRefType, OSType creator, ScriptCode scriptTag, long createMovieFileFlags) -> (DataHandler outDataHandler, Movie newmovie)")}, {"OpenMovieStorage", (PyCFunction)Qt_OpenMovieStorage, 1, PyDoc_STR("(Handle dataRef, OSType dataRefType, long flags) -> (DataHandler outDataHandler)")}, {"CloseMovieStorage", (PyCFunction)Qt_CloseMovieStorage, 1, PyDoc_STR("(DataHandler dh) -> None")}, {"DeleteMovieStorage", (PyCFunction)Qt_DeleteMovieStorage, 1, PyDoc_STR("(Handle dataRef, OSType dataRefType) -> None")}, {"CreateShortcutMovieFile", (PyCFunction)Qt_CreateShortcutMovieFile, 1, PyDoc_STR("(FSSpec fileSpec, OSType creator, ScriptCode scriptTag, long createMovieFileFlags, Handle targetDataRef, OSType targetDataRefType) -> None")}, {"CanQuickTimeOpenFile", (PyCFunction)Qt_CanQuickTimeOpenFile, 1, PyDoc_STR("(FSSpec fileSpec, OSType fileType, OSType fileNameExtension, UInt32 inFlags) -> (Boolean outCanOpenWithGraphicsImporter, Boolean outCanOpenAsMovie, Boolean outPreferGraphicsImporter)")}, {"CanQuickTimeOpenDataRef", (PyCFunction)Qt_CanQuickTimeOpenDataRef, 1, PyDoc_STR("(Handle dataRef, OSType dataRefType, UInt32 inFlags) -> (Boolean outCanOpenWithGraphicsImporter, Boolean outCanOpenAsMovie, Boolean outPreferGraphicsImporter)")}, {"NewMovieFromScrap", (PyCFunction)Qt_NewMovieFromScrap, 1, PyDoc_STR("(long newMovieFlags) -> (Movie _rv)")}, {"QTNewAlias", (PyCFunction)Qt_QTNewAlias, 1, PyDoc_STR("(FSSpec fss, Boolean minimal) -> (AliasHandle alias)")}, {"EndFullScreen", (PyCFunction)Qt_EndFullScreen, 1, PyDoc_STR("(Ptr fullState, long flags) -> None")}, {"AddSoundDescriptionExtension", (PyCFunction)Qt_AddSoundDescriptionExtension, 1, PyDoc_STR("(SoundDescriptionHandle desc, Handle extension, OSType idType) -> None")}, {"GetSoundDescriptionExtension", (PyCFunction)Qt_GetSoundDescriptionExtension, 1, PyDoc_STR("(SoundDescriptionHandle desc, OSType idType) -> (Handle extension)")}, {"RemoveSoundDescriptionExtension", (PyCFunction)Qt_RemoveSoundDescriptionExtension, 1, PyDoc_STR("(SoundDescriptionHandle desc, OSType idType) -> None")}, {"QTIsStandardParameterDialogEvent", (PyCFunction)Qt_QTIsStandardParameterDialogEvent, 1, PyDoc_STR("(QTParameterDialog createdDialog) -> (EventRecord pEvent)")}, {"QTDismissStandardParameterDialog", (PyCFunction)Qt_QTDismissStandardParameterDialog, 1, PyDoc_STR("(QTParameterDialog createdDialog) -> None")}, {"QTStandardParameterDialogDoAction", (PyCFunction)Qt_QTStandardParameterDialogDoAction, 1, PyDoc_STR("(QTParameterDialog createdDialog, long action, void * params) -> None")}, {"QTRegisterAccessKey", (PyCFunction)Qt_QTRegisterAccessKey, 1, PyDoc_STR("(Str255 accessKeyType, long flags, Handle accessKey) -> None")}, {"QTUnregisterAccessKey", (PyCFunction)Qt_QTUnregisterAccessKey, 1, PyDoc_STR("(Str255 accessKeyType, long flags, Handle accessKey) -> None")}, {"QTGetSupportedRestrictions", (PyCFunction)Qt_QTGetSupportedRestrictions, 1, PyDoc_STR("(OSType inRestrictionClass) -> (UInt32 outRestrictionIDs)")}, {"QTTextToNativeText", (PyCFunction)Qt_QTTextToNativeText, 1, PyDoc_STR("(Handle theText, long encoding, long flags) -> None")}, {"VideoMediaResetStatistics", (PyCFunction)Qt_VideoMediaResetStatistics, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv)")}, {"VideoMediaGetStatistics", (PyCFunction)Qt_VideoMediaGetStatistics, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv)")}, {"VideoMediaGetStallCount", (PyCFunction)Qt_VideoMediaGetStallCount, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, unsigned long stalls)")}, {"VideoMediaSetCodecParameter", (PyCFunction)Qt_VideoMediaSetCodecParameter, 1, PyDoc_STR("(MediaHandler mh, CodecType cType, OSType parameterID, long parameterChangeSeed, void * dataPtr, long dataSize) -> (ComponentResult _rv)")}, {"VideoMediaGetCodecParameter", (PyCFunction)Qt_VideoMediaGetCodecParameter, 1, PyDoc_STR("(MediaHandler mh, CodecType cType, OSType parameterID, Handle outParameterData) -> (ComponentResult _rv)")}, {"TextMediaAddTextSample", (PyCFunction)Qt_TextMediaAddTextSample, 1, PyDoc_STR("(MediaHandler mh, Ptr text, unsigned long size, short fontNumber, short fontSize, Style textFace, short textJustification, long displayFlags, TimeValue scrollDelay, short hiliteStart, short hiliteEnd, TimeValue duration) -> (ComponentResult _rv, RGBColor textColor, RGBColor backColor, Rect textBox, RGBColor rgbHiliteColor, TimeValue sampleTime)")}, {"TextMediaAddTESample", (PyCFunction)Qt_TextMediaAddTESample, 1, PyDoc_STR("(MediaHandler mh, TEHandle hTE, short textJustification, long displayFlags, TimeValue scrollDelay, short hiliteStart, short hiliteEnd, TimeValue duration) -> (ComponentResult _rv, RGBColor backColor, Rect textBox, RGBColor rgbHiliteColor, TimeValue sampleTime)")}, {"TextMediaAddHiliteSample", (PyCFunction)Qt_TextMediaAddHiliteSample, 1, PyDoc_STR("(MediaHandler mh, short hiliteStart, short hiliteEnd, TimeValue duration) -> (ComponentResult _rv, RGBColor rgbHiliteColor, TimeValue sampleTime)")}, {"TextMediaDrawRaw", (PyCFunction)Qt_TextMediaDrawRaw, 1, PyDoc_STR("(MediaHandler mh, GWorldPtr gw, GDHandle gd, void * data, long dataSize, TextDescriptionHandle tdh) -> (ComponentResult _rv)")}, {"TextMediaSetTextProperty", (PyCFunction)Qt_TextMediaSetTextProperty, 1, PyDoc_STR("(MediaHandler mh, TimeValue atMediaTime, long propertyType, void * data, long dataSize) -> (ComponentResult _rv)")}, {"TextMediaRawSetup", (PyCFunction)Qt_TextMediaRawSetup, 1, PyDoc_STR("(MediaHandler mh, GWorldPtr gw, GDHandle gd, void * data, long dataSize, TextDescriptionHandle tdh, TimeValue sampleDuration) -> (ComponentResult _rv)")}, {"TextMediaRawIdle", (PyCFunction)Qt_TextMediaRawIdle, 1, PyDoc_STR("(MediaHandler mh, GWorldPtr gw, GDHandle gd, TimeValue sampleTime, long flagsIn) -> (ComponentResult _rv, long flagsOut)")}, {"TextMediaGetTextProperty", (PyCFunction)Qt_TextMediaGetTextProperty, 1, PyDoc_STR("(MediaHandler mh, TimeValue atMediaTime, long propertyType, void * data, long dataSize) -> (ComponentResult _rv)")}, {"TextMediaFindNextText", (PyCFunction)Qt_TextMediaFindNextText, 1, PyDoc_STR("(MediaHandler mh, Ptr text, long size, short findFlags, TimeValue startTime) -> (ComponentResult _rv, TimeValue foundTime, TimeValue foundDuration, long offset)")}, {"TextMediaHiliteTextSample", (PyCFunction)Qt_TextMediaHiliteTextSample, 1, PyDoc_STR("(MediaHandler mh, TimeValue sampleTime, short hiliteStart, short hiliteEnd) -> (ComponentResult _rv, RGBColor rgbHiliteColor)")}, {"TextMediaSetTextSampleData", (PyCFunction)Qt_TextMediaSetTextSampleData, 1, PyDoc_STR("(MediaHandler mh, void * data, OSType dataType) -> (ComponentResult _rv)")}, {"SpriteMediaSetProperty", (PyCFunction)Qt_SpriteMediaSetProperty, 1, PyDoc_STR("(MediaHandler mh, short spriteIndex, long propertyType, void * propertyValue) -> (ComponentResult _rv)")}, {"SpriteMediaGetProperty", (PyCFunction)Qt_SpriteMediaGetProperty, 1, PyDoc_STR("(MediaHandler mh, short spriteIndex, long propertyType, void * propertyValue) -> (ComponentResult _rv)")}, {"SpriteMediaHitTestSprites", (PyCFunction)Qt_SpriteMediaHitTestSprites, 1, PyDoc_STR("(MediaHandler mh, long flags, Point loc) -> (ComponentResult _rv, short spriteHitIndex)")}, {"SpriteMediaCountSprites", (PyCFunction)Qt_SpriteMediaCountSprites, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, short numSprites)")}, {"SpriteMediaCountImages", (PyCFunction)Qt_SpriteMediaCountImages, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, short numImages)")}, {"SpriteMediaGetIndImageDescription", (PyCFunction)Qt_SpriteMediaGetIndImageDescription, 1, PyDoc_STR("(MediaHandler mh, short imageIndex, ImageDescriptionHandle imageDescription) -> (ComponentResult _rv)")}, {"SpriteMediaGetDisplayedSampleNumber", (PyCFunction)Qt_SpriteMediaGetDisplayedSampleNumber, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, long sampleNum)")}, {"SpriteMediaGetSpriteName", (PyCFunction)Qt_SpriteMediaGetSpriteName, 1, PyDoc_STR("(MediaHandler mh, QTAtomID spriteID, Str255 spriteName) -> (ComponentResult _rv)")}, {"SpriteMediaGetImageName", (PyCFunction)Qt_SpriteMediaGetImageName, 1, PyDoc_STR("(MediaHandler mh, short imageIndex, Str255 imageName) -> (ComponentResult _rv)")}, {"SpriteMediaSetSpriteProperty", (PyCFunction)Qt_SpriteMediaSetSpriteProperty, 1, PyDoc_STR("(MediaHandler mh, QTAtomID spriteID, long propertyType, void * propertyValue) -> (ComponentResult _rv)")}, {"SpriteMediaGetSpriteProperty", (PyCFunction)Qt_SpriteMediaGetSpriteProperty, 1, PyDoc_STR("(MediaHandler mh, QTAtomID spriteID, long propertyType, void * propertyValue) -> (ComponentResult _rv)")}, {"SpriteMediaHitTestAllSprites", (PyCFunction)Qt_SpriteMediaHitTestAllSprites, 1, PyDoc_STR("(MediaHandler mh, long flags, Point loc) -> (ComponentResult _rv, QTAtomID spriteHitID)")}, {"SpriteMediaHitTestOneSprite", (PyCFunction)Qt_SpriteMediaHitTestOneSprite, 1, PyDoc_STR("(MediaHandler mh, QTAtomID spriteID, long flags, Point loc) -> (ComponentResult _rv, Boolean wasHit)")}, {"SpriteMediaSpriteIndexToID", (PyCFunction)Qt_SpriteMediaSpriteIndexToID, 1, PyDoc_STR("(MediaHandler mh, short spriteIndex) -> (ComponentResult _rv, QTAtomID spriteID)")}, {"SpriteMediaSpriteIDToIndex", (PyCFunction)Qt_SpriteMediaSpriteIDToIndex, 1, PyDoc_STR("(MediaHandler mh, QTAtomID spriteID) -> (ComponentResult _rv, short spriteIndex)")}, {"SpriteMediaSetActionVariable", (PyCFunction)Qt_SpriteMediaSetActionVariable, 1, PyDoc_STR("(MediaHandler mh, QTAtomID variableID, float value) -> (ComponentResult _rv)")}, {"SpriteMediaGetActionVariable", (PyCFunction)Qt_SpriteMediaGetActionVariable, 1, PyDoc_STR("(MediaHandler mh, QTAtomID variableID) -> (ComponentResult _rv, float value)")}, {"SpriteMediaDisposeSprite", (PyCFunction)Qt_SpriteMediaDisposeSprite, 1, PyDoc_STR("(MediaHandler mh, QTAtomID spriteID) -> (ComponentResult _rv)")}, {"SpriteMediaSetActionVariableToString", (PyCFunction)Qt_SpriteMediaSetActionVariableToString, 1, PyDoc_STR("(MediaHandler mh, QTAtomID variableID, Ptr theCString) -> (ComponentResult _rv)")}, {"SpriteMediaGetActionVariableAsString", (PyCFunction)Qt_SpriteMediaGetActionVariableAsString, 1, PyDoc_STR("(MediaHandler mh, QTAtomID variableID) -> (ComponentResult _rv, Handle theCString)")}, {"SpriteMediaNewImage", (PyCFunction)Qt_SpriteMediaNewImage, 1, PyDoc_STR("(MediaHandler mh, Handle dataRef, OSType dataRefType, QTAtomID desiredID) -> (ComponentResult _rv)")}, {"SpriteMediaDisposeImage", (PyCFunction)Qt_SpriteMediaDisposeImage, 1, PyDoc_STR("(MediaHandler mh, short imageIndex) -> (ComponentResult _rv)")}, {"SpriteMediaImageIndexToID", (PyCFunction)Qt_SpriteMediaImageIndexToID, 1, PyDoc_STR("(MediaHandler mh, short imageIndex) -> (ComponentResult _rv, QTAtomID imageID)")}, {"SpriteMediaImageIDToIndex", (PyCFunction)Qt_SpriteMediaImageIDToIndex, 1, PyDoc_STR("(MediaHandler mh, QTAtomID imageID) -> (ComponentResult _rv, short imageIndex)")}, {"FlashMediaSetPan", (PyCFunction)Qt_FlashMediaSetPan, 1, PyDoc_STR("(MediaHandler mh, short xPercent, short yPercent) -> (ComponentResult _rv)")}, {"FlashMediaSetZoom", (PyCFunction)Qt_FlashMediaSetZoom, 1, PyDoc_STR("(MediaHandler mh, short factor) -> (ComponentResult _rv)")}, {"FlashMediaSetZoomRect", (PyCFunction)Qt_FlashMediaSetZoomRect, 1, PyDoc_STR("(MediaHandler mh, long left, long top, long right, long bottom) -> (ComponentResult _rv)")}, {"FlashMediaGetRefConBounds", (PyCFunction)Qt_FlashMediaGetRefConBounds, 1, PyDoc_STR("(MediaHandler mh, long refCon) -> (ComponentResult _rv, long left, long top, long right, long bottom)")}, {"FlashMediaGetRefConID", (PyCFunction)Qt_FlashMediaGetRefConID, 1, PyDoc_STR("(MediaHandler mh, long refCon) -> (ComponentResult _rv, long refConID)")}, {"FlashMediaIDToRefCon", (PyCFunction)Qt_FlashMediaIDToRefCon, 1, PyDoc_STR("(MediaHandler mh, long refConID) -> (ComponentResult _rv, long refCon)")}, {"FlashMediaGetDisplayedFrameNumber", (PyCFunction)Qt_FlashMediaGetDisplayedFrameNumber, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, long flashFrameNumber)")}, {"FlashMediaFrameNumberToMovieTime", (PyCFunction)Qt_FlashMediaFrameNumberToMovieTime, 1, PyDoc_STR("(MediaHandler mh, long flashFrameNumber) -> (ComponentResult _rv, TimeValue movieTime)")}, {"FlashMediaFrameLabelToMovieTime", (PyCFunction)Qt_FlashMediaFrameLabelToMovieTime, 1, PyDoc_STR("(MediaHandler mh, Ptr theLabel) -> (ComponentResult _rv, TimeValue movieTime)")}, {"FlashMediaGetFlashVariable", (PyCFunction)Qt_FlashMediaGetFlashVariable, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, char path, char name, Handle theVariableCStringOut)")}, {"FlashMediaSetFlashVariable", (PyCFunction)Qt_FlashMediaSetFlashVariable, 1, PyDoc_STR("(MediaHandler mh, Boolean updateFocus) -> (ComponentResult _rv, char path, char name, char value)")}, {"FlashMediaDoButtonActions", (PyCFunction)Qt_FlashMediaDoButtonActions, 1, PyDoc_STR("(MediaHandler mh, long buttonID, long transition) -> (ComponentResult _rv, char path)")}, {"FlashMediaGetSupportedSwfVersion", (PyCFunction)Qt_FlashMediaGetSupportedSwfVersion, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, UInt8 swfVersion)")}, {"Media3DGetCurrentGroup", (PyCFunction)Qt_Media3DGetCurrentGroup, 1, PyDoc_STR("(MediaHandler mh, void * group) -> (ComponentResult _rv)")}, {"Media3DTranslateNamedObjectTo", (PyCFunction)Qt_Media3DTranslateNamedObjectTo, 1, PyDoc_STR("(MediaHandler mh, Fixed x, Fixed y, Fixed z) -> (ComponentResult _rv, char objectName)")}, {"Media3DScaleNamedObjectTo", (PyCFunction)Qt_Media3DScaleNamedObjectTo, 1, PyDoc_STR("(MediaHandler mh, Fixed xScale, Fixed yScale, Fixed zScale) -> (ComponentResult _rv, char objectName)")}, {"Media3DRotateNamedObjectTo", (PyCFunction)Qt_Media3DRotateNamedObjectTo, 1, PyDoc_STR("(MediaHandler mh, Fixed xDegrees, Fixed yDegrees, Fixed zDegrees) -> (ComponentResult _rv, char objectName)")}, {"Media3DSetCameraData", (PyCFunction)Qt_Media3DSetCameraData, 1, PyDoc_STR("(MediaHandler mh, void * cameraData) -> (ComponentResult _rv)")}, {"Media3DGetCameraData", (PyCFunction)Qt_Media3DGetCameraData, 1, PyDoc_STR("(MediaHandler mh, void * cameraData) -> (ComponentResult _rv)")}, {"Media3DSetCameraAngleAspect", (PyCFunction)Qt_Media3DSetCameraAngleAspect, 1, PyDoc_STR("(MediaHandler mh, QTFloatSingle fov, QTFloatSingle aspectRatioXToY) -> (ComponentResult _rv)")}, {"Media3DGetCameraAngleAspect", (PyCFunction)Qt_Media3DGetCameraAngleAspect, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, QTFloatSingle fov, QTFloatSingle aspectRatioXToY)")}, {"Media3DSetCameraRange", (PyCFunction)Qt_Media3DSetCameraRange, 1, PyDoc_STR("(MediaHandler mh, void * tQ3CameraRange) -> (ComponentResult _rv)")}, {"Media3DGetCameraRange", (PyCFunction)Qt_Media3DGetCameraRange, 1, PyDoc_STR("(MediaHandler mh, void * tQ3CameraRange) -> (ComponentResult _rv)")}, {"NewTimeBase", (PyCFunction)Qt_NewTimeBase, 1, PyDoc_STR("() -> (TimeBase _rv)")}, {"ConvertTime", (PyCFunction)Qt_ConvertTime, 1, PyDoc_STR("(TimeRecord theTime, TimeBase newBase) -> (TimeRecord theTime)")}, {"ConvertTimeScale", (PyCFunction)Qt_ConvertTimeScale, 1, PyDoc_STR("(TimeRecord theTime, TimeScale newScale) -> (TimeRecord theTime)")}, {"AddTime", (PyCFunction)Qt_AddTime, 1, PyDoc_STR("(TimeRecord dst, TimeRecord src) -> (TimeRecord dst)")}, {"SubtractTime", (PyCFunction)Qt_SubtractTime, 1, PyDoc_STR("(TimeRecord dst, TimeRecord src) -> (TimeRecord dst)")}, {"MusicMediaGetIndexedTunePlayer", (PyCFunction)Qt_MusicMediaGetIndexedTunePlayer, 1, PyDoc_STR("(ComponentInstance ti, long sampleDescIndex) -> (ComponentResult _rv, ComponentInstance tp)")}, {"CodecManagerVersion", (PyCFunction)Qt_CodecManagerVersion, 1, PyDoc_STR("() -> (long version)")}, {"GetMaxCompressionSize", (PyCFunction)Qt_GetMaxCompressionSize, 1, PyDoc_STR("(PixMapHandle src, Rect srcRect, short colorDepth, CodecQ quality, CodecType cType, CompressorComponent codec) -> (long size)")}, {"GetCompressionTime", (PyCFunction)Qt_GetCompressionTime, 1, PyDoc_STR("(PixMapHandle src, Rect srcRect, short colorDepth, CodecType cType, CompressorComponent codec) -> (CodecQ spatialQuality, CodecQ temporalQuality, unsigned long compressTime)")}, {"CompressImage", (PyCFunction)Qt_CompressImage, 1, PyDoc_STR("(PixMapHandle src, Rect srcRect, CodecQ quality, CodecType cType, ImageDescriptionHandle desc, Ptr data) -> None")}, {"DecompressImage", (PyCFunction)Qt_DecompressImage, 1, PyDoc_STR("(Ptr data, ImageDescriptionHandle desc, PixMapHandle dst, Rect srcRect, Rect dstRect, short mode, RgnHandle mask) -> None")}, {"GetSimilarity", (PyCFunction)Qt_GetSimilarity, 1, PyDoc_STR("(PixMapHandle src, Rect srcRect, ImageDescriptionHandle desc, Ptr data) -> (Fixed similarity)")}, {"GetImageDescriptionCTable", (PyCFunction)Qt_GetImageDescriptionCTable, 1, PyDoc_STR("(ImageDescriptionHandle desc) -> (CTabHandle ctable)")}, {"SetImageDescriptionCTable", (PyCFunction)Qt_SetImageDescriptionCTable, 1, PyDoc_STR("(ImageDescriptionHandle desc, CTabHandle ctable) -> None")}, {"GetImageDescriptionExtension", (PyCFunction)Qt_GetImageDescriptionExtension, 1, PyDoc_STR("(ImageDescriptionHandle desc, long idType, long index) -> (Handle extension)")}, {"AddImageDescriptionExtension", (PyCFunction)Qt_AddImageDescriptionExtension, 1, PyDoc_STR("(ImageDescriptionHandle desc, Handle extension, long idType) -> None")}, {"RemoveImageDescriptionExtension", (PyCFunction)Qt_RemoveImageDescriptionExtension, 1, PyDoc_STR("(ImageDescriptionHandle desc, long idType, long index) -> None")}, {"CountImageDescriptionExtensionType", (PyCFunction)Qt_CountImageDescriptionExtensionType, 1, PyDoc_STR("(ImageDescriptionHandle desc, long idType) -> (long count)")}, {"GetNextImageDescriptionExtensionType", (PyCFunction)Qt_GetNextImageDescriptionExtensionType, 1, PyDoc_STR("(ImageDescriptionHandle desc) -> (long idType)")}, {"FindCodec", (PyCFunction)Qt_FindCodec, 1, PyDoc_STR("(CodecType cType, CodecComponent specCodec) -> (CompressorComponent compressor, DecompressorComponent decompressor)")}, {"CompressPicture", (PyCFunction)Qt_CompressPicture, 1, PyDoc_STR("(PicHandle srcPicture, PicHandle dstPicture, CodecQ quality, CodecType cType) -> None")}, {"CompressPictureFile", (PyCFunction)Qt_CompressPictureFile, 1, PyDoc_STR("(short srcRefNum, short dstRefNum, CodecQ quality, CodecType cType) -> None")}, {"ConvertImage", (PyCFunction)Qt_ConvertImage, 1, PyDoc_STR("(ImageDescriptionHandle srcDD, Ptr srcData, short colorDepth, CTabHandle ctable, CodecQ accuracy, CodecQ quality, CodecType cType, CodecComponent codec, ImageDescriptionHandle dstDD, Ptr dstData) -> None")}, {"AddFilePreview", (PyCFunction)Qt_AddFilePreview, 1, PyDoc_STR("(short resRefNum, OSType previewType, Handle previewData) -> None")}, {"GetBestDeviceRect", (PyCFunction)Qt_GetBestDeviceRect, 1, PyDoc_STR("() -> (GDHandle gdh, Rect rp)")}, {"GDHasScale", (PyCFunction)Qt_GDHasScale, 1, PyDoc_STR("(GDHandle gdh, short depth) -> (Fixed scale)")}, {"GDGetScale", (PyCFunction)Qt_GDGetScale, 1, PyDoc_STR("(GDHandle gdh) -> (Fixed scale, short flags)")}, {"GDSetScale", (PyCFunction)Qt_GDSetScale, 1, PyDoc_STR("(GDHandle gdh, Fixed scale, short flags) -> None")}, {"GetGraphicsImporterForFile", (PyCFunction)Qt_GetGraphicsImporterForFile, 1, PyDoc_STR("(FSSpec theFile) -> (ComponentInstance gi)")}, {"GetGraphicsImporterForDataRef", (PyCFunction)Qt_GetGraphicsImporterForDataRef, 1, PyDoc_STR("(Handle dataRef, OSType dataRefType) -> (ComponentInstance gi)")}, {"GetGraphicsImporterForFileWithFlags", (PyCFunction)Qt_GetGraphicsImporterForFileWithFlags, 1, PyDoc_STR("(FSSpec theFile, long flags) -> (ComponentInstance gi)")}, {"GetGraphicsImporterForDataRefWithFlags", (PyCFunction)Qt_GetGraphicsImporterForDataRefWithFlags, 1, PyDoc_STR("(Handle dataRef, OSType dataRefType, long flags) -> (ComponentInstance gi)")}, {"MakeImageDescriptionForPixMap", (PyCFunction)Qt_MakeImageDescriptionForPixMap, 1, PyDoc_STR("(PixMapHandle pixmap) -> (ImageDescriptionHandle idh)")}, {"MakeImageDescriptionForEffect", (PyCFunction)Qt_MakeImageDescriptionForEffect, 1, PyDoc_STR("(OSType effectType) -> (ImageDescriptionHandle idh)")}, {"QTGetPixelSize", (PyCFunction)Qt_QTGetPixelSize, 1, PyDoc_STR("(OSType PixelFormat) -> (short _rv)")}, {"QTGetPixelFormatDepthForImageDescription", (PyCFunction)Qt_QTGetPixelFormatDepthForImageDescription, 1, PyDoc_STR("(OSType PixelFormat) -> (short _rv)")}, {"QTGetPixMapHandleRowBytes", (PyCFunction)Qt_QTGetPixMapHandleRowBytes, 1, PyDoc_STR("(PixMapHandle pm) -> (long _rv)")}, {"QTSetPixMapHandleRowBytes", (PyCFunction)Qt_QTSetPixMapHandleRowBytes, 1, PyDoc_STR("(PixMapHandle pm, long rowBytes) -> None")}, {"QTGetPixMapHandleGammaLevel", (PyCFunction)Qt_QTGetPixMapHandleGammaLevel, 1, PyDoc_STR("(PixMapHandle pm) -> (Fixed _rv)")}, {"QTSetPixMapHandleGammaLevel", (PyCFunction)Qt_QTSetPixMapHandleGammaLevel, 1, PyDoc_STR("(PixMapHandle pm, Fixed gammaLevel) -> None")}, {"QTGetPixMapHandleRequestedGammaLevel", (PyCFunction)Qt_QTGetPixMapHandleRequestedGammaLevel, 1, PyDoc_STR("(PixMapHandle pm) -> (Fixed _rv)")}, {"QTSetPixMapHandleRequestedGammaLevel", (PyCFunction)Qt_QTSetPixMapHandleRequestedGammaLevel, 1, PyDoc_STR("(PixMapHandle pm, Fixed requestedGammaLevel) -> None")}, {"CompAdd", (PyCFunction)Qt_CompAdd, 1, PyDoc_STR("() -> (wide src, wide dst)")}, {"CompSub", (PyCFunction)Qt_CompSub, 1, PyDoc_STR("() -> (wide src, wide dst)")}, {"CompNeg", (PyCFunction)Qt_CompNeg, 1, PyDoc_STR("() -> (wide dst)")}, {"CompShift", (PyCFunction)Qt_CompShift, 1, PyDoc_STR("(short shift) -> (wide src)")}, {"CompMul", (PyCFunction)Qt_CompMul, 1, PyDoc_STR("(long src1, long src2) -> (wide dst)")}, {"CompDiv", (PyCFunction)Qt_CompDiv, 1, PyDoc_STR("(long denominator) -> (long _rv, wide numerator, long remainder)")}, {"CompFixMul", (PyCFunction)Qt_CompFixMul, 1, PyDoc_STR("(Fixed fixSrc) -> (wide compSrc, wide compDst)")}, {"CompMulDiv", (PyCFunction)Qt_CompMulDiv, 1, PyDoc_STR("(long mul, long divisor) -> (wide co)")}, {"CompMulDivTrunc", (PyCFunction)Qt_CompMulDivTrunc, 1, PyDoc_STR("(long mul, long divisor) -> (wide co, long remainder)")}, {"CompCompare", (PyCFunction)Qt_CompCompare, 1, PyDoc_STR("(wide a, wide minusb) -> (long _rv)")}, {"CompSquareRoot", (PyCFunction)Qt_CompSquareRoot, 1, PyDoc_STR("(wide src) -> (unsigned long _rv)")}, {"FixMulDiv", (PyCFunction)Qt_FixMulDiv, 1, PyDoc_STR("(Fixed src, Fixed mul, Fixed divisor) -> (Fixed _rv)")}, {"UnsignedFixMulDiv", (PyCFunction)Qt_UnsignedFixMulDiv, 1, PyDoc_STR("(Fixed src, Fixed mul, Fixed divisor) -> (Fixed _rv)")}, {"FixExp2", (PyCFunction)Qt_FixExp2, 1, PyDoc_STR("(Fixed src) -> (Fixed _rv)")}, {"FixLog2", (PyCFunction)Qt_FixLog2, 1, PyDoc_STR("(Fixed src) -> (Fixed _rv)")}, {"FixPow", (PyCFunction)Qt_FixPow, 1, PyDoc_STR("(Fixed base, Fixed exp) -> (Fixed _rv)")}, {"GraphicsImportSetDataReference", (PyCFunction)Qt_GraphicsImportSetDataReference, 1, PyDoc_STR("(GraphicsImportComponent ci, Handle dataRef, OSType dataReType) -> (ComponentResult _rv)")}, {"GraphicsImportGetDataReference", (PyCFunction)Qt_GraphicsImportGetDataReference, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, Handle dataRef, OSType dataReType)")}, {"GraphicsImportSetDataFile", (PyCFunction)Qt_GraphicsImportSetDataFile, 1, PyDoc_STR("(GraphicsImportComponent ci, FSSpec theFile) -> (ComponentResult _rv)")}, {"GraphicsImportGetDataFile", (PyCFunction)Qt_GraphicsImportGetDataFile, 1, PyDoc_STR("(GraphicsImportComponent ci, FSSpec theFile) -> (ComponentResult _rv)")}, {"GraphicsImportSetDataHandle", (PyCFunction)Qt_GraphicsImportSetDataHandle, 1, PyDoc_STR("(GraphicsImportComponent ci, Handle h) -> (ComponentResult _rv)")}, {"GraphicsImportGetDataHandle", (PyCFunction)Qt_GraphicsImportGetDataHandle, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, Handle h)")}, {"GraphicsImportGetImageDescription", (PyCFunction)Qt_GraphicsImportGetImageDescription, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, ImageDescriptionHandle desc)")}, {"GraphicsImportGetDataOffsetAndSize", (PyCFunction)Qt_GraphicsImportGetDataOffsetAndSize, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, unsigned long offset, unsigned long size)")}, {"GraphicsImportReadData", (PyCFunction)Qt_GraphicsImportReadData, 1, PyDoc_STR("(GraphicsImportComponent ci, void * dataPtr, unsigned long dataOffset, unsigned long dataSize) -> (ComponentResult _rv)")}, {"GraphicsImportSetClip", (PyCFunction)Qt_GraphicsImportSetClip, 1, PyDoc_STR("(GraphicsImportComponent ci, RgnHandle clipRgn) -> (ComponentResult _rv)")}, {"GraphicsImportGetClip", (PyCFunction)Qt_GraphicsImportGetClip, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, RgnHandle clipRgn)")}, {"GraphicsImportSetSourceRect", (PyCFunction)Qt_GraphicsImportSetSourceRect, 1, PyDoc_STR("(GraphicsImportComponent ci, Rect sourceRect) -> (ComponentResult _rv)")}, {"GraphicsImportGetSourceRect", (PyCFunction)Qt_GraphicsImportGetSourceRect, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, Rect sourceRect)")}, {"GraphicsImportGetNaturalBounds", (PyCFunction)Qt_GraphicsImportGetNaturalBounds, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, Rect naturalBounds)")}, {"GraphicsImportDraw", (PyCFunction)Qt_GraphicsImportDraw, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv)")}, {"GraphicsImportSetGWorld", (PyCFunction)Qt_GraphicsImportSetGWorld, 1, PyDoc_STR("(GraphicsImportComponent ci, CGrafPtr port, GDHandle gd) -> (ComponentResult _rv)")}, {"GraphicsImportGetGWorld", (PyCFunction)Qt_GraphicsImportGetGWorld, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, CGrafPtr port, GDHandle gd)")}, {"GraphicsImportSetBoundsRect", (PyCFunction)Qt_GraphicsImportSetBoundsRect, 1, PyDoc_STR("(GraphicsImportComponent ci, Rect bounds) -> (ComponentResult _rv)")}, {"GraphicsImportGetBoundsRect", (PyCFunction)Qt_GraphicsImportGetBoundsRect, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, Rect bounds)")}, {"GraphicsImportSaveAsPicture", (PyCFunction)Qt_GraphicsImportSaveAsPicture, 1, PyDoc_STR("(GraphicsImportComponent ci, FSSpec fss, ScriptCode scriptTag) -> (ComponentResult _rv)")}, {"GraphicsImportSetGraphicsMode", (PyCFunction)Qt_GraphicsImportSetGraphicsMode, 1, PyDoc_STR("(GraphicsImportComponent ci, long graphicsMode, RGBColor opColor) -> (ComponentResult _rv)")}, {"GraphicsImportGetGraphicsMode", (PyCFunction)Qt_GraphicsImportGetGraphicsMode, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, long graphicsMode, RGBColor opColor)")}, {"GraphicsImportSetQuality", (PyCFunction)Qt_GraphicsImportSetQuality, 1, PyDoc_STR("(GraphicsImportComponent ci, CodecQ quality) -> (ComponentResult _rv)")}, {"GraphicsImportGetQuality", (PyCFunction)Qt_GraphicsImportGetQuality, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, CodecQ quality)")}, {"GraphicsImportSaveAsQuickTimeImageFile", (PyCFunction)Qt_GraphicsImportSaveAsQuickTimeImageFile, 1, PyDoc_STR("(GraphicsImportComponent ci, FSSpec fss, ScriptCode scriptTag) -> (ComponentResult _rv)")}, {"GraphicsImportSetDataReferenceOffsetAndLimit", (PyCFunction)Qt_GraphicsImportSetDataReferenceOffsetAndLimit, 1, PyDoc_STR("(GraphicsImportComponent ci, unsigned long offset, unsigned long limit) -> (ComponentResult _rv)")}, {"GraphicsImportGetDataReferenceOffsetAndLimit", (PyCFunction)Qt_GraphicsImportGetDataReferenceOffsetAndLimit, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, unsigned long offset, unsigned long limit)")}, {"GraphicsImportGetAliasedDataReference", (PyCFunction)Qt_GraphicsImportGetAliasedDataReference, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, Handle dataRef, OSType dataRefType)")}, {"GraphicsImportValidate", (PyCFunction)Qt_GraphicsImportValidate, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, Boolean valid)")}, {"GraphicsImportGetMetaData", (PyCFunction)Qt_GraphicsImportGetMetaData, 1, PyDoc_STR("(GraphicsImportComponent ci, void * userData) -> (ComponentResult _rv)")}, {"GraphicsImportGetMIMETypeList", (PyCFunction)Qt_GraphicsImportGetMIMETypeList, 1, PyDoc_STR("(GraphicsImportComponent ci, void * qtAtomContainerPtr) -> (ComponentResult _rv)")}, {"GraphicsImportDoesDrawAllPixels", (PyCFunction)Qt_GraphicsImportDoesDrawAllPixels, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, short drawsAllPixels)")}, {"GraphicsImportGetAsPicture", (PyCFunction)Qt_GraphicsImportGetAsPicture, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, PicHandle picture)")}, {"GraphicsImportExportImageFile", (PyCFunction)Qt_GraphicsImportExportImageFile, 1, PyDoc_STR("(GraphicsImportComponent ci, OSType fileType, OSType fileCreator, FSSpec fss, ScriptCode scriptTag) -> (ComponentResult _rv)")}, {"GraphicsImportGetExportImageTypeList", (PyCFunction)Qt_GraphicsImportGetExportImageTypeList, 1, PyDoc_STR("(GraphicsImportComponent ci, void * qtAtomContainerPtr) -> (ComponentResult _rv)")}, {"GraphicsImportGetExportSettingsAsAtomContainer", (PyCFunction)Qt_GraphicsImportGetExportSettingsAsAtomContainer, 1, PyDoc_STR("(GraphicsImportComponent ci, void * qtAtomContainerPtr) -> (ComponentResult _rv)")}, {"GraphicsImportSetExportSettingsFromAtomContainer", (PyCFunction)Qt_GraphicsImportSetExportSettingsFromAtomContainer, 1, PyDoc_STR("(GraphicsImportComponent ci, void * qtAtomContainer) -> (ComponentResult _rv)")}, {"GraphicsImportGetImageCount", (PyCFunction)Qt_GraphicsImportGetImageCount, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, unsigned long imageCount)")}, {"GraphicsImportSetImageIndex", (PyCFunction)Qt_GraphicsImportSetImageIndex, 1, PyDoc_STR("(GraphicsImportComponent ci, unsigned long imageIndex) -> (ComponentResult _rv)")}, {"GraphicsImportGetImageIndex", (PyCFunction)Qt_GraphicsImportGetImageIndex, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, unsigned long imageIndex)")}, {"GraphicsImportGetDataOffsetAndSize64", (PyCFunction)Qt_GraphicsImportGetDataOffsetAndSize64, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, wide offset, wide size)")}, {"GraphicsImportReadData64", (PyCFunction)Qt_GraphicsImportReadData64, 1, PyDoc_STR("(GraphicsImportComponent ci, void * dataPtr, wide dataOffset, unsigned long dataSize) -> (ComponentResult _rv)")}, {"GraphicsImportSetDataReferenceOffsetAndLimit64", (PyCFunction)Qt_GraphicsImportSetDataReferenceOffsetAndLimit64, 1, PyDoc_STR("(GraphicsImportComponent ci, wide offset, wide limit) -> (ComponentResult _rv)")}, {"GraphicsImportGetDataReferenceOffsetAndLimit64", (PyCFunction)Qt_GraphicsImportGetDataReferenceOffsetAndLimit64, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, wide offset, wide limit)")}, {"GraphicsImportGetDefaultClip", (PyCFunction)Qt_GraphicsImportGetDefaultClip, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, RgnHandle defaultRgn)")}, {"GraphicsImportGetDefaultGraphicsMode", (PyCFunction)Qt_GraphicsImportGetDefaultGraphicsMode, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, long defaultGraphicsMode, RGBColor defaultOpColor)")}, {"GraphicsImportGetDefaultSourceRect", (PyCFunction)Qt_GraphicsImportGetDefaultSourceRect, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, Rect defaultSourceRect)")}, {"GraphicsImportGetColorSyncProfile", (PyCFunction)Qt_GraphicsImportGetColorSyncProfile, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, Handle profile)")}, {"GraphicsImportSetDestRect", (PyCFunction)Qt_GraphicsImportSetDestRect, 1, PyDoc_STR("(GraphicsImportComponent ci, Rect destRect) -> (ComponentResult _rv)")}, {"GraphicsImportGetDestRect", (PyCFunction)Qt_GraphicsImportGetDestRect, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, Rect destRect)")}, {"GraphicsImportSetFlags", (PyCFunction)Qt_GraphicsImportSetFlags, 1, PyDoc_STR("(GraphicsImportComponent ci, long flags) -> (ComponentResult _rv)")}, {"GraphicsImportGetFlags", (PyCFunction)Qt_GraphicsImportGetFlags, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, long flags)")}, {"GraphicsImportGetBaseDataOffsetAndSize64", (PyCFunction)Qt_GraphicsImportGetBaseDataOffsetAndSize64, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv, wide offset, wide size)")}, {"GraphicsImportSetImageIndexToThumbnail", (PyCFunction)Qt_GraphicsImportSetImageIndexToThumbnail, 1, PyDoc_STR("(GraphicsImportComponent ci) -> (ComponentResult _rv)")}, {"GraphicsExportDoExport", (PyCFunction)Qt_GraphicsExportDoExport, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, unsigned long actualSizeWritten)")}, {"GraphicsExportCanTranscode", (PyCFunction)Qt_GraphicsExportCanTranscode, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Boolean canTranscode)")}, {"GraphicsExportDoTranscode", (PyCFunction)Qt_GraphicsExportDoTranscode, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv)")}, {"GraphicsExportCanUseCompressor", (PyCFunction)Qt_GraphicsExportCanUseCompressor, 1, PyDoc_STR("(GraphicsExportComponent ci, void * codecSettingsAtomContainerPtr) -> (ComponentResult _rv, Boolean canUseCompressor)")}, {"GraphicsExportDoUseCompressor", (PyCFunction)Qt_GraphicsExportDoUseCompressor, 1, PyDoc_STR("(GraphicsExportComponent ci, void * codecSettingsAtomContainer) -> (ComponentResult _rv, ImageDescriptionHandle outDesc)")}, {"GraphicsExportDoStandaloneExport", (PyCFunction)Qt_GraphicsExportDoStandaloneExport, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv)")}, {"GraphicsExportGetDefaultFileTypeAndCreator", (PyCFunction)Qt_GraphicsExportGetDefaultFileTypeAndCreator, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, OSType fileType, OSType fileCreator)")}, {"GraphicsExportGetDefaultFileNameExtension", (PyCFunction)Qt_GraphicsExportGetDefaultFileNameExtension, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, OSType fileNameExtension)")}, {"GraphicsExportGetMIMETypeList", (PyCFunction)Qt_GraphicsExportGetMIMETypeList, 1, PyDoc_STR("(GraphicsExportComponent ci, void * qtAtomContainerPtr) -> (ComponentResult _rv)")}, {"GraphicsExportSetSettingsFromAtomContainer", (PyCFunction)Qt_GraphicsExportSetSettingsFromAtomContainer, 1, PyDoc_STR("(GraphicsExportComponent ci, void * qtAtomContainer) -> (ComponentResult _rv)")}, {"GraphicsExportGetSettingsAsAtomContainer", (PyCFunction)Qt_GraphicsExportGetSettingsAsAtomContainer, 1, PyDoc_STR("(GraphicsExportComponent ci, void * qtAtomContainerPtr) -> (ComponentResult _rv)")}, {"GraphicsExportGetSettingsAsText", (PyCFunction)Qt_GraphicsExportGetSettingsAsText, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Handle theText)")}, {"GraphicsExportSetDontRecompress", (PyCFunction)Qt_GraphicsExportSetDontRecompress, 1, PyDoc_STR("(GraphicsExportComponent ci, Boolean dontRecompress) -> (ComponentResult _rv)")}, {"GraphicsExportGetDontRecompress", (PyCFunction)Qt_GraphicsExportGetDontRecompress, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Boolean dontRecompress)")}, {"GraphicsExportSetInterlaceStyle", (PyCFunction)Qt_GraphicsExportSetInterlaceStyle, 1, PyDoc_STR("(GraphicsExportComponent ci, unsigned long interlaceStyle) -> (ComponentResult _rv)")}, {"GraphicsExportGetInterlaceStyle", (PyCFunction)Qt_GraphicsExportGetInterlaceStyle, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, unsigned long interlaceStyle)")}, {"GraphicsExportSetMetaData", (PyCFunction)Qt_GraphicsExportSetMetaData, 1, PyDoc_STR("(GraphicsExportComponent ci, void * userData) -> (ComponentResult _rv)")}, {"GraphicsExportGetMetaData", (PyCFunction)Qt_GraphicsExportGetMetaData, 1, PyDoc_STR("(GraphicsExportComponent ci, void * userData) -> (ComponentResult _rv)")}, {"GraphicsExportSetTargetDataSize", (PyCFunction)Qt_GraphicsExportSetTargetDataSize, 1, PyDoc_STR("(GraphicsExportComponent ci, unsigned long targetDataSize) -> (ComponentResult _rv)")}, {"GraphicsExportGetTargetDataSize", (PyCFunction)Qt_GraphicsExportGetTargetDataSize, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, unsigned long targetDataSize)")}, {"GraphicsExportSetCompressionMethod", (PyCFunction)Qt_GraphicsExportSetCompressionMethod, 1, PyDoc_STR("(GraphicsExportComponent ci, long compressionMethod) -> (ComponentResult _rv)")}, {"GraphicsExportGetCompressionMethod", (PyCFunction)Qt_GraphicsExportGetCompressionMethod, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, long compressionMethod)")}, {"GraphicsExportSetCompressionQuality", (PyCFunction)Qt_GraphicsExportSetCompressionQuality, 1, PyDoc_STR("(GraphicsExportComponent ci, CodecQ spatialQuality) -> (ComponentResult _rv)")}, {"GraphicsExportGetCompressionQuality", (PyCFunction)Qt_GraphicsExportGetCompressionQuality, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, CodecQ spatialQuality)")}, {"GraphicsExportSetResolution", (PyCFunction)Qt_GraphicsExportSetResolution, 1, PyDoc_STR("(GraphicsExportComponent ci, Fixed horizontalResolution, Fixed verticalResolution) -> (ComponentResult _rv)")}, {"GraphicsExportGetResolution", (PyCFunction)Qt_GraphicsExportGetResolution, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Fixed horizontalResolution, Fixed verticalResolution)")}, {"GraphicsExportSetDepth", (PyCFunction)Qt_GraphicsExportSetDepth, 1, PyDoc_STR("(GraphicsExportComponent ci, long depth) -> (ComponentResult _rv)")}, {"GraphicsExportGetDepth", (PyCFunction)Qt_GraphicsExportGetDepth, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, long depth)")}, {"GraphicsExportSetColorSyncProfile", (PyCFunction)Qt_GraphicsExportSetColorSyncProfile, 1, PyDoc_STR("(GraphicsExportComponent ci, Handle colorSyncProfile) -> (ComponentResult _rv)")}, {"GraphicsExportGetColorSyncProfile", (PyCFunction)Qt_GraphicsExportGetColorSyncProfile, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Handle colorSyncProfile)")}, {"GraphicsExportSetInputDataReference", (PyCFunction)Qt_GraphicsExportSetInputDataReference, 1, PyDoc_STR("(GraphicsExportComponent ci, Handle dataRef, OSType dataRefType, ImageDescriptionHandle desc) -> (ComponentResult _rv)")}, {"GraphicsExportGetInputDataReference", (PyCFunction)Qt_GraphicsExportGetInputDataReference, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Handle dataRef, OSType dataRefType)")}, {"GraphicsExportSetInputFile", (PyCFunction)Qt_GraphicsExportSetInputFile, 1, PyDoc_STR("(GraphicsExportComponent ci, FSSpec theFile, ImageDescriptionHandle desc) -> (ComponentResult _rv)")}, {"GraphicsExportGetInputFile", (PyCFunction)Qt_GraphicsExportGetInputFile, 1, PyDoc_STR("(GraphicsExportComponent ci, FSSpec theFile) -> (ComponentResult _rv)")}, {"GraphicsExportSetInputHandle", (PyCFunction)Qt_GraphicsExportSetInputHandle, 1, PyDoc_STR("(GraphicsExportComponent ci, Handle h, ImageDescriptionHandle desc) -> (ComponentResult _rv)")}, {"GraphicsExportGetInputHandle", (PyCFunction)Qt_GraphicsExportGetInputHandle, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Handle h)")}, {"GraphicsExportSetInputPtr", (PyCFunction)Qt_GraphicsExportSetInputPtr, 1, PyDoc_STR("(GraphicsExportComponent ci, Ptr p, unsigned long size, ImageDescriptionHandle desc) -> (ComponentResult _rv)")}, {"GraphicsExportSetInputGraphicsImporter", (PyCFunction)Qt_GraphicsExportSetInputGraphicsImporter, 1, PyDoc_STR("(GraphicsExportComponent ci, GraphicsImportComponent grip) -> (ComponentResult _rv)")}, {"GraphicsExportGetInputGraphicsImporter", (PyCFunction)Qt_GraphicsExportGetInputGraphicsImporter, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, GraphicsImportComponent grip)")}, {"GraphicsExportSetInputPicture", (PyCFunction)Qt_GraphicsExportSetInputPicture, 1, PyDoc_STR("(GraphicsExportComponent ci, PicHandle picture) -> (ComponentResult _rv)")}, {"GraphicsExportGetInputPicture", (PyCFunction)Qt_GraphicsExportGetInputPicture, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, PicHandle picture)")}, {"GraphicsExportSetInputGWorld", (PyCFunction)Qt_GraphicsExportSetInputGWorld, 1, PyDoc_STR("(GraphicsExportComponent ci, GWorldPtr gworld) -> (ComponentResult _rv)")}, {"GraphicsExportGetInputGWorld", (PyCFunction)Qt_GraphicsExportGetInputGWorld, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, GWorldPtr gworld)")}, {"GraphicsExportSetInputPixmap", (PyCFunction)Qt_GraphicsExportSetInputPixmap, 1, PyDoc_STR("(GraphicsExportComponent ci, PixMapHandle pixmap) -> (ComponentResult _rv)")}, {"GraphicsExportGetInputPixmap", (PyCFunction)Qt_GraphicsExportGetInputPixmap, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, PixMapHandle pixmap)")}, {"GraphicsExportSetInputOffsetAndLimit", (PyCFunction)Qt_GraphicsExportSetInputOffsetAndLimit, 1, PyDoc_STR("(GraphicsExportComponent ci, unsigned long offset, unsigned long limit) -> (ComponentResult _rv)")}, {"GraphicsExportGetInputOffsetAndLimit", (PyCFunction)Qt_GraphicsExportGetInputOffsetAndLimit, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, unsigned long offset, unsigned long limit)")}, {"GraphicsExportMayExporterReadInputData", (PyCFunction)Qt_GraphicsExportMayExporterReadInputData, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Boolean mayReadInputData)")}, {"GraphicsExportGetInputDataSize", (PyCFunction)Qt_GraphicsExportGetInputDataSize, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, unsigned long size)")}, {"GraphicsExportReadInputData", (PyCFunction)Qt_GraphicsExportReadInputData, 1, PyDoc_STR("(GraphicsExportComponent ci, void * dataPtr, unsigned long dataOffset, unsigned long dataSize) -> (ComponentResult _rv)")}, {"GraphicsExportGetInputImageDescription", (PyCFunction)Qt_GraphicsExportGetInputImageDescription, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, ImageDescriptionHandle desc)")}, {"GraphicsExportGetInputImageDimensions", (PyCFunction)Qt_GraphicsExportGetInputImageDimensions, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Rect dimensions)")}, {"GraphicsExportGetInputImageDepth", (PyCFunction)Qt_GraphicsExportGetInputImageDepth, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, long inputDepth)")}, {"GraphicsExportDrawInputImage", (PyCFunction)Qt_GraphicsExportDrawInputImage, 1, PyDoc_STR("(GraphicsExportComponent ci, CGrafPtr gw, GDHandle gd, Rect srcRect, Rect dstRect) -> (ComponentResult _rv)")}, {"GraphicsExportSetOutputDataReference", (PyCFunction)Qt_GraphicsExportSetOutputDataReference, 1, PyDoc_STR("(GraphicsExportComponent ci, Handle dataRef, OSType dataRefType) -> (ComponentResult _rv)")}, {"GraphicsExportGetOutputDataReference", (PyCFunction)Qt_GraphicsExportGetOutputDataReference, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Handle dataRef, OSType dataRefType)")}, {"GraphicsExportSetOutputFile", (PyCFunction)Qt_GraphicsExportSetOutputFile, 1, PyDoc_STR("(GraphicsExportComponent ci, FSSpec theFile) -> (ComponentResult _rv)")}, {"GraphicsExportGetOutputFile", (PyCFunction)Qt_GraphicsExportGetOutputFile, 1, PyDoc_STR("(GraphicsExportComponent ci, FSSpec theFile) -> (ComponentResult _rv)")}, {"GraphicsExportSetOutputHandle", (PyCFunction)Qt_GraphicsExportSetOutputHandle, 1, PyDoc_STR("(GraphicsExportComponent ci, Handle h) -> (ComponentResult _rv)")}, {"GraphicsExportGetOutputHandle", (PyCFunction)Qt_GraphicsExportGetOutputHandle, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Handle h)")}, {"GraphicsExportSetOutputOffsetAndMaxSize", (PyCFunction)Qt_GraphicsExportSetOutputOffsetAndMaxSize, 1, PyDoc_STR("(GraphicsExportComponent ci, unsigned long offset, unsigned long maxSize, Boolean truncateFile) -> (ComponentResult _rv)")}, {"GraphicsExportGetOutputOffsetAndMaxSize", (PyCFunction)Qt_GraphicsExportGetOutputOffsetAndMaxSize, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, unsigned long offset, unsigned long maxSize, Boolean truncateFile)")}, {"GraphicsExportSetOutputFileTypeAndCreator", (PyCFunction)Qt_GraphicsExportSetOutputFileTypeAndCreator, 1, PyDoc_STR("(GraphicsExportComponent ci, OSType fileType, OSType fileCreator) -> (ComponentResult _rv)")}, {"GraphicsExportGetOutputFileTypeAndCreator", (PyCFunction)Qt_GraphicsExportGetOutputFileTypeAndCreator, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, OSType fileType, OSType fileCreator)")}, {"GraphicsExportSetOutputMark", (PyCFunction)Qt_GraphicsExportSetOutputMark, 1, PyDoc_STR("(GraphicsExportComponent ci, unsigned long mark) -> (ComponentResult _rv)")}, {"GraphicsExportGetOutputMark", (PyCFunction)Qt_GraphicsExportGetOutputMark, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, unsigned long mark)")}, {"GraphicsExportReadOutputData", (PyCFunction)Qt_GraphicsExportReadOutputData, 1, PyDoc_STR("(GraphicsExportComponent ci, void * dataPtr, unsigned long dataOffset, unsigned long dataSize) -> (ComponentResult _rv)")}, {"GraphicsExportSetThumbnailEnabled", (PyCFunction)Qt_GraphicsExportSetThumbnailEnabled, 1, PyDoc_STR("(GraphicsExportComponent ci, Boolean enableThumbnail, long maxThumbnailWidth, long maxThumbnailHeight) -> (ComponentResult _rv)")}, {"GraphicsExportGetThumbnailEnabled", (PyCFunction)Qt_GraphicsExportGetThumbnailEnabled, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Boolean thumbnailEnabled, long maxThumbnailWidth, long maxThumbnailHeight)")}, {"GraphicsExportSetExifEnabled", (PyCFunction)Qt_GraphicsExportSetExifEnabled, 1, PyDoc_STR("(GraphicsExportComponent ci, Boolean enableExif) -> (ComponentResult _rv)")}, {"GraphicsExportGetExifEnabled", (PyCFunction)Qt_GraphicsExportGetExifEnabled, 1, PyDoc_STR("(GraphicsExportComponent ci) -> (ComponentResult _rv, Boolean exifEnabled)")}, {"ImageTranscoderBeginSequence", (PyCFunction)Qt_ImageTranscoderBeginSequence, 1, PyDoc_STR("(ImageTranscoderComponent itc, ImageDescriptionHandle srcDesc, void * data, long dataSize) -> (ComponentResult _rv, ImageDescriptionHandle dstDesc)")}, {"ImageTranscoderDisposeData", (PyCFunction)Qt_ImageTranscoderDisposeData, 1, PyDoc_STR("(ImageTranscoderComponent itc, void * dstData) -> (ComponentResult _rv)")}, {"ImageTranscoderEndSequence", (PyCFunction)Qt_ImageTranscoderEndSequence, 1, PyDoc_STR("(ImageTranscoderComponent itc) -> (ComponentResult _rv)")}, {"ClockGetTime", (PyCFunction)Qt_ClockGetTime, 1, PyDoc_STR("(ComponentInstance aClock) -> (ComponentResult _rv, TimeRecord out)")}, {"ClockSetTimeBase", (PyCFunction)Qt_ClockSetTimeBase, 1, PyDoc_STR("(ComponentInstance aClock, TimeBase tb) -> (ComponentResult _rv)")}, {"ClockGetRate", (PyCFunction)Qt_ClockGetRate, 1, PyDoc_STR("(ComponentInstance aClock) -> (ComponentResult _rv, Fixed rate)")}, {"SCPositionRect", (PyCFunction)Qt_SCPositionRect, 1, PyDoc_STR("(ComponentInstance ci) -> (ComponentResult _rv, Rect rp, Point where)")}, {"SCPositionDialog", (PyCFunction)Qt_SCPositionDialog, 1, PyDoc_STR("(ComponentInstance ci, short id) -> (ComponentResult _rv, Point where)")}, {"SCSetTestImagePictHandle", (PyCFunction)Qt_SCSetTestImagePictHandle, 1, PyDoc_STR("(ComponentInstance ci, PicHandle testPict, short testFlags) -> (ComponentResult _rv, Rect testRect)")}, {"SCSetTestImagePictFile", (PyCFunction)Qt_SCSetTestImagePictFile, 1, PyDoc_STR("(ComponentInstance ci, short testFileRef, short testFlags) -> (ComponentResult _rv, Rect testRect)")}, {"SCSetTestImagePixMap", (PyCFunction)Qt_SCSetTestImagePixMap, 1, PyDoc_STR("(ComponentInstance ci, PixMapHandle testPixMap, short testFlags) -> (ComponentResult _rv, Rect testRect)")}, {"SCGetBestDeviceRect", (PyCFunction)Qt_SCGetBestDeviceRect, 1, PyDoc_STR("(ComponentInstance ci) -> (ComponentResult _rv, Rect r)")}, {"SCRequestImageSettings", (PyCFunction)Qt_SCRequestImageSettings, 1, PyDoc_STR("(ComponentInstance ci) -> (ComponentResult _rv)")}, {"SCCompressImage", (PyCFunction)Qt_SCCompressImage, 1, PyDoc_STR("(ComponentInstance ci, PixMapHandle src, Rect srcRect) -> (ComponentResult _rv, ImageDescriptionHandle desc, Handle data)")}, {"SCCompressPicture", (PyCFunction)Qt_SCCompressPicture, 1, PyDoc_STR("(ComponentInstance ci, PicHandle srcPicture, PicHandle dstPicture) -> (ComponentResult _rv)")}, {"SCCompressPictureFile", (PyCFunction)Qt_SCCompressPictureFile, 1, PyDoc_STR("(ComponentInstance ci, short srcRefNum, short dstRefNum) -> (ComponentResult _rv)")}, {"SCRequestSequenceSettings", (PyCFunction)Qt_SCRequestSequenceSettings, 1, PyDoc_STR("(ComponentInstance ci) -> (ComponentResult _rv)")}, {"SCCompressSequenceBegin", (PyCFunction)Qt_SCCompressSequenceBegin, 1, PyDoc_STR("(ComponentInstance ci, PixMapHandle src, Rect srcRect) -> (ComponentResult _rv, ImageDescriptionHandle desc)")}, {"SCCompressSequenceFrame", (PyCFunction)Qt_SCCompressSequenceFrame, 1, PyDoc_STR("(ComponentInstance ci, PixMapHandle src, Rect srcRect) -> (ComponentResult _rv, Handle data, long dataSize, short notSyncFlag)")}, {"SCCompressSequenceEnd", (PyCFunction)Qt_SCCompressSequenceEnd, 1, PyDoc_STR("(ComponentInstance ci) -> (ComponentResult _rv)")}, {"SCDefaultPictHandleSettings", (PyCFunction)Qt_SCDefaultPictHandleSettings, 1, PyDoc_STR("(ComponentInstance ci, PicHandle srcPicture, short motion) -> (ComponentResult _rv)")}, {"SCDefaultPictFileSettings", (PyCFunction)Qt_SCDefaultPictFileSettings, 1, PyDoc_STR("(ComponentInstance ci, short srcRef, short motion) -> (ComponentResult _rv)")}, {"SCDefaultPixMapSettings", (PyCFunction)Qt_SCDefaultPixMapSettings, 1, PyDoc_STR("(ComponentInstance ci, PixMapHandle src, short motion) -> (ComponentResult _rv)")}, {"SCGetInfo", (PyCFunction)Qt_SCGetInfo, 1, PyDoc_STR("(ComponentInstance ci, OSType infoType, void * info) -> (ComponentResult _rv)")}, {"SCSetInfo", (PyCFunction)Qt_SCSetInfo, 1, PyDoc_STR("(ComponentInstance ci, OSType infoType, void * info) -> (ComponentResult _rv)")}, {"SCSetCompressFlags", (PyCFunction)Qt_SCSetCompressFlags, 1, PyDoc_STR("(ComponentInstance ci, long flags) -> (ComponentResult _rv)")}, {"SCGetCompressFlags", (PyCFunction)Qt_SCGetCompressFlags, 1, PyDoc_STR("(ComponentInstance ci) -> (ComponentResult _rv, long flags)")}, {"SCGetSettingsAsText", (PyCFunction)Qt_SCGetSettingsAsText, 1, PyDoc_STR("(ComponentInstance ci) -> (ComponentResult _rv, Handle text)")}, {"SCAsyncIdle", (PyCFunction)Qt_SCAsyncIdle, 1, PyDoc_STR("(ComponentInstance ci) -> (ComponentResult _rv)")}, {"TweenerReset", (PyCFunction)Qt_TweenerReset, 1, PyDoc_STR("(TweenerComponent tc) -> (ComponentResult _rv)")}, {"TCGetSourceRef", (PyCFunction)Qt_TCGetSourceRef, 1, PyDoc_STR("(MediaHandler mh, TimeCodeDescriptionHandle tcdH) -> (HandlerError _rv, UserData srefH)")}, {"TCSetSourceRef", (PyCFunction)Qt_TCSetSourceRef, 1, PyDoc_STR("(MediaHandler mh, TimeCodeDescriptionHandle tcdH, UserData srefH) -> (HandlerError _rv)")}, {"TCSetTimeCodeFlags", (PyCFunction)Qt_TCSetTimeCodeFlags, 1, PyDoc_STR("(MediaHandler mh, long flags, long flagsMask) -> (HandlerError _rv)")}, {"TCGetTimeCodeFlags", (PyCFunction)Qt_TCGetTimeCodeFlags, 1, PyDoc_STR("(MediaHandler mh) -> (HandlerError _rv, long flags)")}, {"MovieImportHandle", (PyCFunction)Qt_MovieImportHandle, 1, PyDoc_STR("(MovieImportComponent ci, Handle dataH, Movie theMovie, Track targetTrack, TimeValue atTime, long inFlags) -> (ComponentResult _rv, Track usedTrack, TimeValue addedDuration, long outFlags)")}, {"MovieImportFile", (PyCFunction)Qt_MovieImportFile, 1, PyDoc_STR("(MovieImportComponent ci, FSSpec theFile, Movie theMovie, Track targetTrack, TimeValue atTime, long inFlags) -> (ComponentResult _rv, Track usedTrack, TimeValue addedDuration, long outFlags)")}, {"MovieImportSetSampleDuration", (PyCFunction)Qt_MovieImportSetSampleDuration, 1, PyDoc_STR("(MovieImportComponent ci, TimeValue duration, TimeScale scale) -> (ComponentResult _rv)")}, {"MovieImportSetSampleDescription", (PyCFunction)Qt_MovieImportSetSampleDescription, 1, PyDoc_STR("(MovieImportComponent ci, SampleDescriptionHandle desc, OSType mediaType) -> (ComponentResult _rv)")}, {"MovieImportSetMediaFile", (PyCFunction)Qt_MovieImportSetMediaFile, 1, PyDoc_STR("(MovieImportComponent ci, AliasHandle alias) -> (ComponentResult _rv)")}, {"MovieImportSetDimensions", (PyCFunction)Qt_MovieImportSetDimensions, 1, PyDoc_STR("(MovieImportComponent ci, Fixed width, Fixed height) -> (ComponentResult _rv)")}, {"MovieImportSetChunkSize", (PyCFunction)Qt_MovieImportSetChunkSize, 1, PyDoc_STR("(MovieImportComponent ci, long chunkSize) -> (ComponentResult _rv)")}, {"MovieImportSetAuxiliaryData", (PyCFunction)Qt_MovieImportSetAuxiliaryData, 1, PyDoc_STR("(MovieImportComponent ci, Handle data, OSType handleType) -> (ComponentResult _rv)")}, {"MovieImportSetFromScrap", (PyCFunction)Qt_MovieImportSetFromScrap, 1, PyDoc_STR("(MovieImportComponent ci, Boolean fromScrap) -> (ComponentResult _rv)")}, {"MovieImportDoUserDialog", (PyCFunction)Qt_MovieImportDoUserDialog, 1, PyDoc_STR("(MovieImportComponent ci, FSSpec theFile, Handle theData) -> (ComponentResult _rv, Boolean canceled)")}, {"MovieImportSetDuration", (PyCFunction)Qt_MovieImportSetDuration, 1, PyDoc_STR("(MovieImportComponent ci, TimeValue duration) -> (ComponentResult _rv)")}, {"MovieImportGetAuxiliaryDataType", (PyCFunction)Qt_MovieImportGetAuxiliaryDataType, 1, PyDoc_STR("(MovieImportComponent ci) -> (ComponentResult _rv, OSType auxType)")}, {"MovieImportValidate", (PyCFunction)Qt_MovieImportValidate, 1, PyDoc_STR("(MovieImportComponent ci, FSSpec theFile, Handle theData) -> (ComponentResult _rv, Boolean valid)")}, {"MovieImportGetFileType", (PyCFunction)Qt_MovieImportGetFileType, 1, PyDoc_STR("(MovieImportComponent ci) -> (ComponentResult _rv, OSType fileType)")}, {"MovieImportDataRef", (PyCFunction)Qt_MovieImportDataRef, 1, PyDoc_STR("(MovieImportComponent ci, Handle dataRef, OSType dataRefType, Movie theMovie, Track targetTrack, TimeValue atTime, long inFlags) -> (ComponentResult _rv, Track usedTrack, TimeValue addedDuration, long outFlags)")}, {"MovieImportGetSampleDescription", (PyCFunction)Qt_MovieImportGetSampleDescription, 1, PyDoc_STR("(MovieImportComponent ci) -> (ComponentResult _rv, SampleDescriptionHandle desc, OSType mediaType)")}, {"MovieImportSetOffsetAndLimit", (PyCFunction)Qt_MovieImportSetOffsetAndLimit, 1, PyDoc_STR("(MovieImportComponent ci, unsigned long offset, unsigned long limit) -> (ComponentResult _rv)")}, {"MovieImportSetOffsetAndLimit64", (PyCFunction)Qt_MovieImportSetOffsetAndLimit64, 1, PyDoc_STR("(MovieImportComponent ci, wide offset, wide limit) -> (ComponentResult _rv)")}, {"MovieImportIdle", (PyCFunction)Qt_MovieImportIdle, 1, PyDoc_STR("(MovieImportComponent ci, long inFlags) -> (ComponentResult _rv, long outFlags)")}, {"MovieImportValidateDataRef", (PyCFunction)Qt_MovieImportValidateDataRef, 1, PyDoc_STR("(MovieImportComponent ci, Handle dataRef, OSType dataRefType) -> (ComponentResult _rv, UInt8 valid)")}, {"MovieImportGetLoadState", (PyCFunction)Qt_MovieImportGetLoadState, 1, PyDoc_STR("(MovieImportComponent ci) -> (ComponentResult _rv, long importerLoadState)")}, {"MovieImportGetMaxLoadedTime", (PyCFunction)Qt_MovieImportGetMaxLoadedTime, 1, PyDoc_STR("(MovieImportComponent ci) -> (ComponentResult _rv, TimeValue time)")}, {"MovieImportEstimateCompletionTime", (PyCFunction)Qt_MovieImportEstimateCompletionTime, 1, PyDoc_STR("(MovieImportComponent ci) -> (ComponentResult _rv, TimeRecord time)")}, {"MovieImportSetDontBlock", (PyCFunction)Qt_MovieImportSetDontBlock, 1, PyDoc_STR("(MovieImportComponent ci, Boolean dontBlock) -> (ComponentResult _rv)")}, {"MovieImportGetDontBlock", (PyCFunction)Qt_MovieImportGetDontBlock, 1, PyDoc_STR("(MovieImportComponent ci) -> (ComponentResult _rv, Boolean willBlock)")}, {"MovieImportSetIdleManager", (PyCFunction)Qt_MovieImportSetIdleManager, 1, PyDoc_STR("(MovieImportComponent ci, IdleManager im) -> (ComponentResult _rv)")}, {"MovieImportSetNewMovieFlags", (PyCFunction)Qt_MovieImportSetNewMovieFlags, 1, PyDoc_STR("(MovieImportComponent ci, long newMovieFlags) -> (ComponentResult _rv)")}, {"MovieImportGetDestinationMediaType", (PyCFunction)Qt_MovieImportGetDestinationMediaType, 1, PyDoc_STR("(MovieImportComponent ci) -> (ComponentResult _rv, OSType mediaType)")}, {"MovieExportToHandle", (PyCFunction)Qt_MovieExportToHandle, 1, PyDoc_STR("(MovieExportComponent ci, Handle dataH, Movie theMovie, Track onlyThisTrack, TimeValue startTime, TimeValue duration) -> (ComponentResult _rv)")}, {"MovieExportToFile", (PyCFunction)Qt_MovieExportToFile, 1, PyDoc_STR("(MovieExportComponent ci, FSSpec theFile, Movie theMovie, Track onlyThisTrack, TimeValue startTime, TimeValue duration) -> (ComponentResult _rv)")}, {"MovieExportGetAuxiliaryData", (PyCFunction)Qt_MovieExportGetAuxiliaryData, 1, PyDoc_STR("(MovieExportComponent ci, Handle dataH) -> (ComponentResult _rv, OSType handleType)")}, {"MovieExportSetSampleDescription", (PyCFunction)Qt_MovieExportSetSampleDescription, 1, PyDoc_STR("(MovieExportComponent ci, SampleDescriptionHandle desc, OSType mediaType) -> (ComponentResult _rv)")}, {"MovieExportDoUserDialog", (PyCFunction)Qt_MovieExportDoUserDialog, 1, PyDoc_STR("(MovieExportComponent ci, Movie theMovie, Track onlyThisTrack, TimeValue startTime, TimeValue duration) -> (ComponentResult _rv, Boolean canceled)")}, {"MovieExportGetCreatorType", (PyCFunction)Qt_MovieExportGetCreatorType, 1, PyDoc_STR("(MovieExportComponent ci) -> (ComponentResult _rv, OSType creator)")}, {"MovieExportToDataRef", (PyCFunction)Qt_MovieExportToDataRef, 1, PyDoc_STR("(MovieExportComponent ci, Handle dataRef, OSType dataRefType, Movie theMovie, Track onlyThisTrack, TimeValue startTime, TimeValue duration) -> (ComponentResult _rv)")}, {"MovieExportFromProceduresToDataRef", (PyCFunction)Qt_MovieExportFromProceduresToDataRef, 1, PyDoc_STR("(MovieExportComponent ci, Handle dataRef, OSType dataRefType) -> (ComponentResult _rv)")}, {"MovieExportValidate", (PyCFunction)Qt_MovieExportValidate, 1, PyDoc_STR("(MovieExportComponent ci, Movie theMovie, Track onlyThisTrack) -> (ComponentResult _rv, Boolean valid)")}, {"MovieExportGetFileNameExtension", (PyCFunction)Qt_MovieExportGetFileNameExtension, 1, PyDoc_STR("(MovieExportComponent ci) -> (ComponentResult _rv, OSType extension)")}, {"MovieExportGetShortFileTypeString", (PyCFunction)Qt_MovieExportGetShortFileTypeString, 1, PyDoc_STR("(MovieExportComponent ci, Str255 typeString) -> (ComponentResult _rv)")}, {"MovieExportGetSourceMediaType", (PyCFunction)Qt_MovieExportGetSourceMediaType, 1, PyDoc_STR("(MovieExportComponent ci) -> (ComponentResult _rv, OSType mediaType)")}, {"TextExportGetTimeFraction", (PyCFunction)Qt_TextExportGetTimeFraction, 1, PyDoc_STR("(TextExportComponent ci) -> (ComponentResult _rv, long movieTimeFraction)")}, {"TextExportSetTimeFraction", (PyCFunction)Qt_TextExportSetTimeFraction, 1, PyDoc_STR("(TextExportComponent ci, long movieTimeFraction) -> (ComponentResult _rv)")}, {"TextExportGetSettings", (PyCFunction)Qt_TextExportGetSettings, 1, PyDoc_STR("(TextExportComponent ci) -> (ComponentResult _rv, long setting)")}, {"TextExportSetSettings", (PyCFunction)Qt_TextExportSetSettings, 1, PyDoc_STR("(TextExportComponent ci, long setting) -> (ComponentResult _rv)")}, {"MIDIImportGetSettings", (PyCFunction)Qt_MIDIImportGetSettings, 1, PyDoc_STR("(TextExportComponent ci) -> (ComponentResult _rv, long setting)")}, {"MIDIImportSetSettings", (PyCFunction)Qt_MIDIImportSetSettings, 1, PyDoc_STR("(TextExportComponent ci, long setting) -> (ComponentResult _rv)")}, {"GraphicsImageImportSetSequenceEnabled", (PyCFunction)Qt_GraphicsImageImportSetSequenceEnabled, 1, PyDoc_STR("(GraphicImageMovieImportComponent ci, Boolean enable) -> (ComponentResult _rv)")}, {"GraphicsImageImportGetSequenceEnabled", (PyCFunction)Qt_GraphicsImageImportGetSequenceEnabled, 1, PyDoc_STR("(GraphicImageMovieImportComponent ci) -> (ComponentResult _rv, Boolean enable)")}, {"PreviewShowData", (PyCFunction)Qt_PreviewShowData, 1, PyDoc_STR("(pnotComponent p, OSType dataType, Handle data, Rect inHere) -> (ComponentResult _rv)")}, {"PreviewMakePreviewReference", (PyCFunction)Qt_PreviewMakePreviewReference, 1, PyDoc_STR("(pnotComponent p, FSSpec sourceFile) -> (ComponentResult _rv, OSType previewType, short resID)")}, {"PreviewEvent", (PyCFunction)Qt_PreviewEvent, 1, PyDoc_STR("(pnotComponent p) -> (ComponentResult _rv, EventRecord e, Boolean handledEvent)")}, {"DataCodecDecompress", (PyCFunction)Qt_DataCodecDecompress, 1, PyDoc_STR("(DataCodecComponent dc, void * srcData, UInt32 srcSize, void * dstData, UInt32 dstBufferSize) -> (ComponentResult _rv)")}, {"DataCodecGetCompressBufferSize", (PyCFunction)Qt_DataCodecGetCompressBufferSize, 1, PyDoc_STR("(DataCodecComponent dc, UInt32 srcSize) -> (ComponentResult _rv, UInt32 dstSize)")}, {"DataCodecCompress", (PyCFunction)Qt_DataCodecCompress, 1, PyDoc_STR("(DataCodecComponent dc, void * srcData, UInt32 srcSize, void * dstData, UInt32 dstBufferSize) -> (ComponentResult _rv, UInt32 actualDstSize, UInt32 decompressSlop)")}, {"DataCodecBeginInterruptSafe", (PyCFunction)Qt_DataCodecBeginInterruptSafe, 1, PyDoc_STR("(DataCodecComponent dc, unsigned long maxSrcSize) -> (ComponentResult _rv)")}, {"DataCodecEndInterruptSafe", (PyCFunction)Qt_DataCodecEndInterruptSafe, 1, PyDoc_STR("(DataCodecComponent dc) -> (ComponentResult _rv)")}, {"DataHGetData", (PyCFunction)Qt_DataHGetData, 1, PyDoc_STR("(DataHandler dh, Handle h, long hOffset, long offset, long size) -> (ComponentResult _rv)")}, {"DataHPutData", (PyCFunction)Qt_DataHPutData, 1, PyDoc_STR("(DataHandler dh, Handle h, long hOffset, long size) -> (ComponentResult _rv, long offset)")}, {"DataHFlushData", (PyCFunction)Qt_DataHFlushData, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv)")}, {"DataHOpenForWrite", (PyCFunction)Qt_DataHOpenForWrite, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv)")}, {"DataHCloseForWrite", (PyCFunction)Qt_DataHCloseForWrite, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv)")}, {"DataHOpenForRead", (PyCFunction)Qt_DataHOpenForRead, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv)")}, {"DataHCloseForRead", (PyCFunction)Qt_DataHCloseForRead, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv)")}, {"DataHSetDataRef", (PyCFunction)Qt_DataHSetDataRef, 1, PyDoc_STR("(DataHandler dh, Handle dataRef) -> (ComponentResult _rv)")}, {"DataHGetDataRef", (PyCFunction)Qt_DataHGetDataRef, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, Handle dataRef)")}, {"DataHCompareDataRef", (PyCFunction)Qt_DataHCompareDataRef, 1, PyDoc_STR("(DataHandler dh, Handle dataRef) -> (ComponentResult _rv, Boolean equal)")}, {"DataHTask", (PyCFunction)Qt_DataHTask, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv)")}, {"DataHFinishData", (PyCFunction)Qt_DataHFinishData, 1, PyDoc_STR("(DataHandler dh, Ptr PlaceToPutDataPtr, Boolean Cancel) -> (ComponentResult _rv)")}, {"DataHFlushCache", (PyCFunction)Qt_DataHFlushCache, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv)")}, {"DataHResolveDataRef", (PyCFunction)Qt_DataHResolveDataRef, 1, PyDoc_STR("(DataHandler dh, Handle theDataRef, Boolean userInterfaceAllowed) -> (ComponentResult _rv, Boolean wasChanged)")}, {"DataHGetFileSize", (PyCFunction)Qt_DataHGetFileSize, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, long fileSize)")}, {"DataHCanUseDataRef", (PyCFunction)Qt_DataHCanUseDataRef, 1, PyDoc_STR("(DataHandler dh, Handle dataRef) -> (ComponentResult _rv, long useFlags)")}, {"DataHPreextend", (PyCFunction)Qt_DataHPreextend, 1, PyDoc_STR("(DataHandler dh, unsigned long maxToAdd) -> (ComponentResult _rv, unsigned long spaceAdded)")}, {"DataHSetFileSize", (PyCFunction)Qt_DataHSetFileSize, 1, PyDoc_STR("(DataHandler dh, long fileSize) -> (ComponentResult _rv)")}, {"DataHGetFreeSpace", (PyCFunction)Qt_DataHGetFreeSpace, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, unsigned long freeSize)")}, {"DataHCreateFile", (PyCFunction)Qt_DataHCreateFile, 1, PyDoc_STR("(DataHandler dh, OSType creator, Boolean deleteExisting) -> (ComponentResult _rv)")}, {"DataHGetPreferredBlockSize", (PyCFunction)Qt_DataHGetPreferredBlockSize, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, long blockSize)")}, {"DataHGetDeviceIndex", (PyCFunction)Qt_DataHGetDeviceIndex, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, long deviceIndex)")}, {"DataHIsStreamingDataHandler", (PyCFunction)Qt_DataHIsStreamingDataHandler, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, Boolean yes)")}, {"DataHGetDataInBuffer", (PyCFunction)Qt_DataHGetDataInBuffer, 1, PyDoc_STR("(DataHandler dh, long startOffset) -> (ComponentResult _rv, long size)")}, {"DataHGetScheduleAheadTime", (PyCFunction)Qt_DataHGetScheduleAheadTime, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, long millisecs)")}, {"DataHSetCacheSizeLimit", (PyCFunction)Qt_DataHSetCacheSizeLimit, 1, PyDoc_STR("(DataHandler dh, Size cacheSizeLimit) -> (ComponentResult _rv)")}, {"DataHGetCacheSizeLimit", (PyCFunction)Qt_DataHGetCacheSizeLimit, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, Size cacheSizeLimit)")}, {"DataHGetMovie", (PyCFunction)Qt_DataHGetMovie, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, Movie theMovie, short id)")}, {"DataHAddMovie", (PyCFunction)Qt_DataHAddMovie, 1, PyDoc_STR("(DataHandler dh, Movie theMovie) -> (ComponentResult _rv, short id)")}, {"DataHUpdateMovie", (PyCFunction)Qt_DataHUpdateMovie, 1, PyDoc_STR("(DataHandler dh, Movie theMovie, short id) -> (ComponentResult _rv)")}, {"DataHDoesBuffer", (PyCFunction)Qt_DataHDoesBuffer, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, Boolean buffersReads, Boolean buffersWrites)")}, {"DataHGetFileName", (PyCFunction)Qt_DataHGetFileName, 1, PyDoc_STR("(DataHandler dh, Str255 str) -> (ComponentResult _rv)")}, {"DataHGetAvailableFileSize", (PyCFunction)Qt_DataHGetAvailableFileSize, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, long fileSize)")}, {"DataHGetMacOSFileType", (PyCFunction)Qt_DataHGetMacOSFileType, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, OSType fileType)")}, {"DataHGetMIMEType", (PyCFunction)Qt_DataHGetMIMEType, 1, PyDoc_STR("(DataHandler dh, Str255 mimeType) -> (ComponentResult _rv)")}, {"DataHSetDataRefWithAnchor", (PyCFunction)Qt_DataHSetDataRefWithAnchor, 1, PyDoc_STR("(DataHandler dh, Handle anchorDataRef, OSType dataRefType, Handle dataRef) -> (ComponentResult _rv)")}, {"DataHGetDataRefWithAnchor", (PyCFunction)Qt_DataHGetDataRefWithAnchor, 1, PyDoc_STR("(DataHandler dh, Handle anchorDataRef, OSType dataRefType) -> (ComponentResult _rv, Handle dataRef)")}, {"DataHSetMacOSFileType", (PyCFunction)Qt_DataHSetMacOSFileType, 1, PyDoc_STR("(DataHandler dh, OSType fileType) -> (ComponentResult _rv)")}, {"DataHSetTimeBase", (PyCFunction)Qt_DataHSetTimeBase, 1, PyDoc_STR("(DataHandler dh, TimeBase tb) -> (ComponentResult _rv)")}, {"DataHGetInfoFlags", (PyCFunction)Qt_DataHGetInfoFlags, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, UInt32 flags)")}, {"DataHGetFileSize64", (PyCFunction)Qt_DataHGetFileSize64, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, wide fileSize)")}, {"DataHPreextend64", (PyCFunction)Qt_DataHPreextend64, 1, PyDoc_STR("(DataHandler dh, wide maxToAdd) -> (ComponentResult _rv, wide spaceAdded)")}, {"DataHSetFileSize64", (PyCFunction)Qt_DataHSetFileSize64, 1, PyDoc_STR("(DataHandler dh, wide fileSize) -> (ComponentResult _rv)")}, {"DataHGetFreeSpace64", (PyCFunction)Qt_DataHGetFreeSpace64, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, wide freeSize)")}, {"DataHAppend64", (PyCFunction)Qt_DataHAppend64, 1, PyDoc_STR("(DataHandler dh, void * data, unsigned long size) -> (ComponentResult _rv, wide fileOffset)")}, {"DataHPollRead", (PyCFunction)Qt_DataHPollRead, 1, PyDoc_STR("(DataHandler dh, void * dataPtr) -> (ComponentResult _rv, UInt32 dataSizeSoFar)")}, {"DataHGetDataAvailability", (PyCFunction)Qt_DataHGetDataAvailability, 1, PyDoc_STR("(DataHandler dh, long offset, long len) -> (ComponentResult _rv, long missing_offset, long missing_len)")}, {"DataHGetDataRefAsType", (PyCFunction)Qt_DataHGetDataRefAsType, 1, PyDoc_STR("(DataHandler dh, OSType requestedType) -> (ComponentResult _rv, Handle dataRef)")}, {"DataHSetDataRefExtension", (PyCFunction)Qt_DataHSetDataRefExtension, 1, PyDoc_STR("(DataHandler dh, Handle extension, OSType idType) -> (ComponentResult _rv)")}, {"DataHGetDataRefExtension", (PyCFunction)Qt_DataHGetDataRefExtension, 1, PyDoc_STR("(DataHandler dh, OSType idType) -> (ComponentResult _rv, Handle extension)")}, {"DataHGetMovieWithFlags", (PyCFunction)Qt_DataHGetMovieWithFlags, 1, PyDoc_STR("(DataHandler dh, short flags) -> (ComponentResult _rv, Movie theMovie, short id)")}, {"DataHGetFileTypeOrdering", (PyCFunction)Qt_DataHGetFileTypeOrdering, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, DataHFileTypeOrderingHandle orderingListHandle)")}, {"DataHCreateFileWithFlags", (PyCFunction)Qt_DataHCreateFileWithFlags, 1, PyDoc_STR("(DataHandler dh, OSType creator, Boolean deleteExisting, UInt32 flags) -> (ComponentResult _rv)")}, {"DataHGetInfo", (PyCFunction)Qt_DataHGetInfo, 1, PyDoc_STR("(DataHandler dh, OSType what, void * info) -> (ComponentResult _rv)")}, {"DataHSetIdleManager", (PyCFunction)Qt_DataHSetIdleManager, 1, PyDoc_STR("(DataHandler dh, IdleManager im) -> (ComponentResult _rv)")}, {"DataHDeleteFile", (PyCFunction)Qt_DataHDeleteFile, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv)")}, {"DataHSetMovieUsageFlags", (PyCFunction)Qt_DataHSetMovieUsageFlags, 1, PyDoc_STR("(DataHandler dh, long flags) -> (ComponentResult _rv)")}, {"DataHUseTemporaryDataRef", (PyCFunction)Qt_DataHUseTemporaryDataRef, 1, PyDoc_STR("(DataHandler dh, long inFlags) -> (ComponentResult _rv)")}, {"DataHGetTemporaryDataRefCapabilities", (PyCFunction)Qt_DataHGetTemporaryDataRefCapabilities, 1, PyDoc_STR("(DataHandler dh) -> (ComponentResult _rv, long outUnderstoodFlags)")}, {"DataHRenameFile", (PyCFunction)Qt_DataHRenameFile, 1, PyDoc_STR("(DataHandler dh, Handle newDataRef) -> (ComponentResult _rv)")}, {"DataHPlaybackHints", (PyCFunction)Qt_DataHPlaybackHints, 1, PyDoc_STR("(DataHandler dh, long flags, unsigned long minFileOffset, unsigned long maxFileOffset, long bytesPerSecond) -> (ComponentResult _rv)")}, {"DataHPlaybackHints64", (PyCFunction)Qt_DataHPlaybackHints64, 1, PyDoc_STR("(DataHandler dh, long flags, wide minFileOffset, wide maxFileOffset, long bytesPerSecond) -> (ComponentResult _rv)")}, {"DataHGetDataRate", (PyCFunction)Qt_DataHGetDataRate, 1, PyDoc_STR("(DataHandler dh, long flags) -> (ComponentResult _rv, long bytesPerSecond)")}, {"DataHSetTimeHints", (PyCFunction)Qt_DataHSetTimeHints, 1, PyDoc_STR("(DataHandler dh, long flags, long bandwidthPriority, TimeScale scale, TimeValue minTime, TimeValue maxTime) -> (ComponentResult _rv)")}, {"VDGetMaxSrcRect", (PyCFunction)Qt_VDGetMaxSrcRect, 1, PyDoc_STR("(VideoDigitizerComponent ci, short inputStd) -> (ComponentResult _rv, Rect maxSrcRect)")}, {"VDGetActiveSrcRect", (PyCFunction)Qt_VDGetActiveSrcRect, 1, PyDoc_STR("(VideoDigitizerComponent ci, short inputStd) -> (ComponentResult _rv, Rect activeSrcRect)")}, {"VDSetDigitizerRect", (PyCFunction)Qt_VDSetDigitizerRect, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, Rect digitizerRect)")}, {"VDGetDigitizerRect", (PyCFunction)Qt_VDGetDigitizerRect, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, Rect digitizerRect)")}, {"VDGetVBlankRect", (PyCFunction)Qt_VDGetVBlankRect, 1, PyDoc_STR("(VideoDigitizerComponent ci, short inputStd) -> (ComponentResult _rv, Rect vBlankRect)")}, {"VDGetMaskPixMap", (PyCFunction)Qt_VDGetMaskPixMap, 1, PyDoc_STR("(VideoDigitizerComponent ci, PixMapHandle maskPixMap) -> (ComponentResult _rv)")}, {"VDUseThisCLUT", (PyCFunction)Qt_VDUseThisCLUT, 1, PyDoc_STR("(VideoDigitizerComponent ci, CTabHandle colorTableHandle) -> (ComponentResult _rv)")}, {"VDSetInputGammaValue", (PyCFunction)Qt_VDSetInputGammaValue, 1, PyDoc_STR("(VideoDigitizerComponent ci, Fixed channel1, Fixed channel2, Fixed channel3) -> (ComponentResult _rv)")}, {"VDGetInputGammaValue", (PyCFunction)Qt_VDGetInputGammaValue, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, Fixed channel1, Fixed channel2, Fixed channel3)")}, {"VDSetBrightness", (PyCFunction)Qt_VDSetBrightness, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short brightness)")}, {"VDGetBrightness", (PyCFunction)Qt_VDGetBrightness, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short brightness)")}, {"VDSetContrast", (PyCFunction)Qt_VDSetContrast, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short contrast)")}, {"VDSetHue", (PyCFunction)Qt_VDSetHue, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short hue)")}, {"VDSetSharpness", (PyCFunction)Qt_VDSetSharpness, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short sharpness)")}, {"VDSetSaturation", (PyCFunction)Qt_VDSetSaturation, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short saturation)")}, {"VDGetContrast", (PyCFunction)Qt_VDGetContrast, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short contrast)")}, {"VDGetHue", (PyCFunction)Qt_VDGetHue, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short hue)")}, {"VDGetSharpness", (PyCFunction)Qt_VDGetSharpness, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short sharpness)")}, {"VDGetSaturation", (PyCFunction)Qt_VDGetSaturation, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short saturation)")}, {"VDGrabOneFrame", (PyCFunction)Qt_VDGrabOneFrame, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv)")}, {"VDGetMaxAuxBuffer", (PyCFunction)Qt_VDGetMaxAuxBuffer, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, PixMapHandle pm, Rect r)")}, {"VDGetCurrentFlags", (PyCFunction)Qt_VDGetCurrentFlags, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, long inputCurrentFlag, long outputCurrentFlag)")}, {"VDSetKeyColor", (PyCFunction)Qt_VDSetKeyColor, 1, PyDoc_STR("(VideoDigitizerComponent ci, long index) -> (ComponentResult _rv)")}, {"VDGetKeyColor", (PyCFunction)Qt_VDGetKeyColor, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, long index)")}, {"VDAddKeyColor", (PyCFunction)Qt_VDAddKeyColor, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, long index)")}, {"VDGetNextKeyColor", (PyCFunction)Qt_VDGetNextKeyColor, 1, PyDoc_STR("(VideoDigitizerComponent ci, long index) -> (ComponentResult _rv)")}, {"VDSetKeyColorRange", (PyCFunction)Qt_VDSetKeyColorRange, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, RGBColor minRGB, RGBColor maxRGB)")}, {"VDGetKeyColorRange", (PyCFunction)Qt_VDGetKeyColorRange, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, RGBColor minRGB, RGBColor maxRGB)")}, {"VDSetInputColorSpaceMode", (PyCFunction)Qt_VDSetInputColorSpaceMode, 1, PyDoc_STR("(VideoDigitizerComponent ci, short colorSpaceMode) -> (ComponentResult _rv)")}, {"VDGetInputColorSpaceMode", (PyCFunction)Qt_VDGetInputColorSpaceMode, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, short colorSpaceMode)")}, {"VDSetClipState", (PyCFunction)Qt_VDSetClipState, 1, PyDoc_STR("(VideoDigitizerComponent ci, short clipEnable) -> (ComponentResult _rv)")}, {"VDGetClipState", (PyCFunction)Qt_VDGetClipState, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, short clipEnable)")}, {"VDSetClipRgn", (PyCFunction)Qt_VDSetClipRgn, 1, PyDoc_STR("(VideoDigitizerComponent ci, RgnHandle clipRegion) -> (ComponentResult _rv)")}, {"VDClearClipRgn", (PyCFunction)Qt_VDClearClipRgn, 1, PyDoc_STR("(VideoDigitizerComponent ci, RgnHandle clipRegion) -> (ComponentResult _rv)")}, {"VDGetCLUTInUse", (PyCFunction)Qt_VDGetCLUTInUse, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, CTabHandle colorTableHandle)")}, {"VDSetPLLFilterType", (PyCFunction)Qt_VDSetPLLFilterType, 1, PyDoc_STR("(VideoDigitizerComponent ci, short pllType) -> (ComponentResult _rv)")}, {"VDGetPLLFilterType", (PyCFunction)Qt_VDGetPLLFilterType, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, short pllType)")}, {"VDGetMaskandValue", (PyCFunction)Qt_VDGetMaskandValue, 1, PyDoc_STR("(VideoDigitizerComponent ci, unsigned short blendLevel) -> (ComponentResult _rv, long mask, long value)")}, {"VDSetMasterBlendLevel", (PyCFunction)Qt_VDSetMasterBlendLevel, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short blendLevel)")}, {"VDSetPlayThruOnOff", (PyCFunction)Qt_VDSetPlayThruOnOff, 1, PyDoc_STR("(VideoDigitizerComponent ci, short state) -> (ComponentResult _rv)")}, {"VDSetFieldPreference", (PyCFunction)Qt_VDSetFieldPreference, 1, PyDoc_STR("(VideoDigitizerComponent ci, short fieldFlag) -> (ComponentResult _rv)")}, {"VDGetFieldPreference", (PyCFunction)Qt_VDGetFieldPreference, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, short fieldFlag)")}, {"VDPreflightGlobalRect", (PyCFunction)Qt_VDPreflightGlobalRect, 1, PyDoc_STR("(VideoDigitizerComponent ci, GrafPtr theWindow) -> (ComponentResult _rv, Rect globalRect)")}, {"VDSetPlayThruGlobalRect", (PyCFunction)Qt_VDSetPlayThruGlobalRect, 1, PyDoc_STR("(VideoDigitizerComponent ci, GrafPtr theWindow) -> (ComponentResult _rv, Rect globalRect)")}, {"VDSetBlackLevelValue", (PyCFunction)Qt_VDSetBlackLevelValue, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short blackLevel)")}, {"VDGetBlackLevelValue", (PyCFunction)Qt_VDGetBlackLevelValue, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short blackLevel)")}, {"VDSetWhiteLevelValue", (PyCFunction)Qt_VDSetWhiteLevelValue, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short whiteLevel)")}, {"VDGetWhiteLevelValue", (PyCFunction)Qt_VDGetWhiteLevelValue, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short whiteLevel)")}, {"VDGetVideoDefaults", (PyCFunction)Qt_VDGetVideoDefaults, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, unsigned short blackLevel, unsigned short whiteLevel, unsigned short brightness, unsigned short hue, unsigned short saturation, unsigned short contrast, unsigned short sharpness)")}, {"VDGetNumberOfInputs", (PyCFunction)Qt_VDGetNumberOfInputs, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, short inputs)")}, {"VDGetInputFormat", (PyCFunction)Qt_VDGetInputFormat, 1, PyDoc_STR("(VideoDigitizerComponent ci, short input) -> (ComponentResult _rv, short format)")}, {"VDSetInput", (PyCFunction)Qt_VDSetInput, 1, PyDoc_STR("(VideoDigitizerComponent ci, short input) -> (ComponentResult _rv)")}, {"VDGetInput", (PyCFunction)Qt_VDGetInput, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, short input)")}, {"VDSetInputStandard", (PyCFunction)Qt_VDSetInputStandard, 1, PyDoc_STR("(VideoDigitizerComponent ci, short inputStandard) -> (ComponentResult _rv)")}, {"VDSetupBuffers", (PyCFunction)Qt_VDSetupBuffers, 1, PyDoc_STR("(VideoDigitizerComponent ci, VdigBufferRecListHandle bufferList) -> (ComponentResult _rv)")}, {"VDGrabOneFrameAsync", (PyCFunction)Qt_VDGrabOneFrameAsync, 1, PyDoc_STR("(VideoDigitizerComponent ci, short buffer) -> (ComponentResult _rv)")}, {"VDDone", (PyCFunction)Qt_VDDone, 1, PyDoc_STR("(VideoDigitizerComponent ci, short buffer) -> (ComponentResult _rv)")}, {"VDSetCompression", (PyCFunction)Qt_VDSetCompression, 1, PyDoc_STR("(VideoDigitizerComponent ci, OSType compressType, short depth, CodecQ spatialQuality, CodecQ temporalQuality, long keyFrameRate) -> (ComponentResult _rv, Rect bounds)")}, {"VDCompressOneFrameAsync", (PyCFunction)Qt_VDCompressOneFrameAsync, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv)")}, {"VDGetImageDescription", (PyCFunction)Qt_VDGetImageDescription, 1, PyDoc_STR("(VideoDigitizerComponent ci, ImageDescriptionHandle desc) -> (ComponentResult _rv)")}, {"VDResetCompressSequence", (PyCFunction)Qt_VDResetCompressSequence, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv)")}, {"VDSetCompressionOnOff", (PyCFunction)Qt_VDSetCompressionOnOff, 1, PyDoc_STR("(VideoDigitizerComponent ci, Boolean state) -> (ComponentResult _rv)")}, {"VDGetCompressionTypes", (PyCFunction)Qt_VDGetCompressionTypes, 1, PyDoc_STR("(VideoDigitizerComponent ci, VDCompressionListHandle h) -> (ComponentResult _rv)")}, {"VDSetTimeBase", (PyCFunction)Qt_VDSetTimeBase, 1, PyDoc_STR("(VideoDigitizerComponent ci, TimeBase t) -> (ComponentResult _rv)")}, {"VDSetFrameRate", (PyCFunction)Qt_VDSetFrameRate, 1, PyDoc_STR("(VideoDigitizerComponent ci, Fixed framesPerSecond) -> (ComponentResult _rv)")}, {"VDGetDataRate", (PyCFunction)Qt_VDGetDataRate, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, long milliSecPerFrame, Fixed framesPerSecond, long bytesPerSecond)")}, {"VDGetSoundInputDriver", (PyCFunction)Qt_VDGetSoundInputDriver, 1, PyDoc_STR("(VideoDigitizerComponent ci, Str255 soundDriverName) -> (ComponentResult _rv)")}, {"VDGetDMADepths", (PyCFunction)Qt_VDGetDMADepths, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, long depthArray, long preferredDepth)")}, {"VDGetPreferredTimeScale", (PyCFunction)Qt_VDGetPreferredTimeScale, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, TimeScale preferred)")}, {"VDReleaseAsyncBuffers", (PyCFunction)Qt_VDReleaseAsyncBuffers, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv)")}, {"VDSetDataRate", (PyCFunction)Qt_VDSetDataRate, 1, PyDoc_STR("(VideoDigitizerComponent ci, long bytesPerSecond) -> (ComponentResult _rv)")}, {"VDGetTimeCode", (PyCFunction)Qt_VDGetTimeCode, 1, PyDoc_STR("(VideoDigitizerComponent ci, void * timeCodeFormat, void * timeCodeTime) -> (ComponentResult _rv, TimeRecord atTime)")}, {"VDUseSafeBuffers", (PyCFunction)Qt_VDUseSafeBuffers, 1, PyDoc_STR("(VideoDigitizerComponent ci, Boolean useSafeBuffers) -> (ComponentResult _rv)")}, {"VDGetSoundInputSource", (PyCFunction)Qt_VDGetSoundInputSource, 1, PyDoc_STR("(VideoDigitizerComponent ci, long videoInput) -> (ComponentResult _rv, long soundInput)")}, {"VDGetCompressionTime", (PyCFunction)Qt_VDGetCompressionTime, 1, PyDoc_STR("(VideoDigitizerComponent ci, OSType compressionType, short depth) -> (ComponentResult _rv, Rect srcRect, CodecQ spatialQuality, CodecQ temporalQuality, unsigned long compressTime)")}, {"VDSetPreferredPacketSize", (PyCFunction)Qt_VDSetPreferredPacketSize, 1, PyDoc_STR("(VideoDigitizerComponent ci, long preferredPacketSizeInBytes) -> (ComponentResult _rv)")}, {"VDSetPreferredImageDimensions", (PyCFunction)Qt_VDSetPreferredImageDimensions, 1, PyDoc_STR("(VideoDigitizerComponent ci, long width, long height) -> (ComponentResult _rv)")}, {"VDGetPreferredImageDimensions", (PyCFunction)Qt_VDGetPreferredImageDimensions, 1, PyDoc_STR("(VideoDigitizerComponent ci) -> (ComponentResult _rv, long width, long height)")}, {"VDGetInputName", (PyCFunction)Qt_VDGetInputName, 1, PyDoc_STR("(VideoDigitizerComponent ci, long videoInput, Str255 name) -> (ComponentResult _rv)")}, {"VDSetDestinationPort", (PyCFunction)Qt_VDSetDestinationPort, 1, PyDoc_STR("(VideoDigitizerComponent ci, CGrafPtr destPort) -> (ComponentResult _rv)")}, {"VDGetDeviceNameAndFlags", (PyCFunction)Qt_VDGetDeviceNameAndFlags, 1, PyDoc_STR("(VideoDigitizerComponent ci, Str255 outName) -> (ComponentResult _rv, UInt32 outNameFlags)")}, {"VDCaptureStateChanging", (PyCFunction)Qt_VDCaptureStateChanging, 1, PyDoc_STR("(VideoDigitizerComponent ci, UInt32 inStateFlags) -> (ComponentResult _rv)")}, {"XMLParseGetDetailedParseError", (PyCFunction)Qt_XMLParseGetDetailedParseError, 1, PyDoc_STR("(ComponentInstance aParser, StringPtr errDesc) -> (ComponentResult _rv, long errorLine)")}, {"XMLParseAddElement", (PyCFunction)Qt_XMLParseAddElement, 1, PyDoc_STR("(ComponentInstance aParser, UInt32 nameSpaceID, long elementFlags) -> (ComponentResult _rv, char elementName, UInt32 elementID)")}, {"XMLParseAddAttribute", (PyCFunction)Qt_XMLParseAddAttribute, 1, PyDoc_STR("(ComponentInstance aParser, UInt32 elementID, UInt32 nameSpaceID) -> (ComponentResult _rv, char attributeName, UInt32 attributeID)")}, {"XMLParseAddMultipleAttributes", (PyCFunction)Qt_XMLParseAddMultipleAttributes, 1, PyDoc_STR("(ComponentInstance aParser, UInt32 elementID) -> (ComponentResult _rv, UInt32 nameSpaceIDs, char attributeNames, UInt32 attributeIDs)")}, {"XMLParseAddAttributeAndValue", (PyCFunction)Qt_XMLParseAddAttributeAndValue, 1, PyDoc_STR("(ComponentInstance aParser, UInt32 elementID, UInt32 nameSpaceID, UInt32 attributeValueKind, void * attributeValueKindInfo) -> (ComponentResult _rv, char attributeName, UInt32 attributeID)")}, {"XMLParseAddAttributeValueKind", (PyCFunction)Qt_XMLParseAddAttributeValueKind, 1, PyDoc_STR("(ComponentInstance aParser, UInt32 elementID, UInt32 attributeID, UInt32 attributeValueKind, void * attributeValueKindInfo) -> (ComponentResult _rv)")}, {"XMLParseAddNameSpace", (PyCFunction)Qt_XMLParseAddNameSpace, 1, PyDoc_STR("(ComponentInstance aParser) -> (ComponentResult _rv, char nameSpaceURL, UInt32 nameSpaceID)")}, {"XMLParseSetOffsetAndLimit", (PyCFunction)Qt_XMLParseSetOffsetAndLimit, 1, PyDoc_STR("(ComponentInstance aParser, UInt32 offset, UInt32 limit) -> (ComponentResult _rv)")}, {"XMLParseSetEventParseRefCon", (PyCFunction)Qt_XMLParseSetEventParseRefCon, 1, PyDoc_STR("(ComponentInstance aParser, long refcon) -> (ComponentResult _rv)")}, {"SGInitialize", (PyCFunction)Qt_SGInitialize, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv)")}, {"SGSetDataOutput", (PyCFunction)Qt_SGSetDataOutput, 1, PyDoc_STR("(SeqGrabComponent s, FSSpec movieFile, long whereFlags) -> (ComponentResult _rv)")}, {"SGGetDataOutput", (PyCFunction)Qt_SGGetDataOutput, 1, PyDoc_STR("(SeqGrabComponent s, FSSpec movieFile) -> (ComponentResult _rv, long whereFlags)")}, {"SGSetGWorld", (PyCFunction)Qt_SGSetGWorld, 1, PyDoc_STR("(SeqGrabComponent s, CGrafPtr gp, GDHandle gd) -> (ComponentResult _rv)")}, {"SGGetGWorld", (PyCFunction)Qt_SGGetGWorld, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, CGrafPtr gp, GDHandle gd)")}, {"SGNewChannel", (PyCFunction)Qt_SGNewChannel, 1, PyDoc_STR("(SeqGrabComponent s, OSType channelType) -> (ComponentResult _rv, SGChannel ref)")}, {"SGDisposeChannel", (PyCFunction)Qt_SGDisposeChannel, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c) -> (ComponentResult _rv)")}, {"SGStartPreview", (PyCFunction)Qt_SGStartPreview, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv)")}, {"SGStartRecord", (PyCFunction)Qt_SGStartRecord, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv)")}, {"SGIdle", (PyCFunction)Qt_SGIdle, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv)")}, {"SGStop", (PyCFunction)Qt_SGStop, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv)")}, {"SGPause", (PyCFunction)Qt_SGPause, 1, PyDoc_STR("(SeqGrabComponent s, Boolean pause) -> (ComponentResult _rv)")}, {"SGPrepare", (PyCFunction)Qt_SGPrepare, 1, PyDoc_STR("(SeqGrabComponent s, Boolean prepareForPreview, Boolean prepareForRecord) -> (ComponentResult _rv)")}, {"SGRelease", (PyCFunction)Qt_SGRelease, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv)")}, {"SGGetMovie", (PyCFunction)Qt_SGGetMovie, 1, PyDoc_STR("(SeqGrabComponent s) -> (Movie _rv)")}, {"SGSetMaximumRecordTime", (PyCFunction)Qt_SGSetMaximumRecordTime, 1, PyDoc_STR("(SeqGrabComponent s, unsigned long ticks) -> (ComponentResult _rv)")}, {"SGGetMaximumRecordTime", (PyCFunction)Qt_SGGetMaximumRecordTime, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, unsigned long ticks)")}, {"SGGetStorageSpaceRemaining", (PyCFunction)Qt_SGGetStorageSpaceRemaining, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, unsigned long bytes)")}, {"SGGetTimeRemaining", (PyCFunction)Qt_SGGetTimeRemaining, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, long ticksLeft)")}, {"SGGrabPict", (PyCFunction)Qt_SGGrabPict, 1, PyDoc_STR("(SeqGrabComponent s, Rect bounds, short offscreenDepth, long grabPictFlags) -> (ComponentResult _rv, PicHandle p)")}, {"SGGetLastMovieResID", (PyCFunction)Qt_SGGetLastMovieResID, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, short resID)")}, {"SGSetFlags", (PyCFunction)Qt_SGSetFlags, 1, PyDoc_STR("(SeqGrabComponent s, long sgFlags) -> (ComponentResult _rv)")}, {"SGGetFlags", (PyCFunction)Qt_SGGetFlags, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, long sgFlags)")}, {"SGNewChannelFromComponent", (PyCFunction)Qt_SGNewChannelFromComponent, 1, PyDoc_STR("(SeqGrabComponent s, Component sgChannelComponent) -> (ComponentResult _rv, SGChannel newChannel)")}, {"SGSetSettings", (PyCFunction)Qt_SGSetSettings, 1, PyDoc_STR("(SeqGrabComponent s, UserData ud, long flags) -> (ComponentResult _rv)")}, {"SGGetSettings", (PyCFunction)Qt_SGGetSettings, 1, PyDoc_STR("(SeqGrabComponent s, long flags) -> (ComponentResult _rv, UserData ud)")}, {"SGGetIndChannel", (PyCFunction)Qt_SGGetIndChannel, 1, PyDoc_STR("(SeqGrabComponent s, short index) -> (ComponentResult _rv, SGChannel ref, OSType chanType)")}, {"SGUpdate", (PyCFunction)Qt_SGUpdate, 1, PyDoc_STR("(SeqGrabComponent s, RgnHandle updateRgn) -> (ComponentResult _rv)")}, {"SGGetPause", (PyCFunction)Qt_SGGetPause, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, Boolean paused)")}, {"SGSetChannelSettings", (PyCFunction)Qt_SGSetChannelSettings, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, UserData ud, long flags) -> (ComponentResult _rv)")}, {"SGGetChannelSettings", (PyCFunction)Qt_SGGetChannelSettings, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, long flags) -> (ComponentResult _rv, UserData ud)")}, {"SGGetMode", (PyCFunction)Qt_SGGetMode, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, Boolean previewMode, Boolean recordMode)")}, {"SGSetDataRef", (PyCFunction)Qt_SGSetDataRef, 1, PyDoc_STR("(SeqGrabComponent s, Handle dataRef, OSType dataRefType, long whereFlags) -> (ComponentResult _rv)")}, {"SGGetDataRef", (PyCFunction)Qt_SGGetDataRef, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, Handle dataRef, OSType dataRefType, long whereFlags)")}, {"SGNewOutput", (PyCFunction)Qt_SGNewOutput, 1, PyDoc_STR("(SeqGrabComponent s, Handle dataRef, OSType dataRefType, long whereFlags) -> (ComponentResult _rv, SGOutput sgOut)")}, {"SGDisposeOutput", (PyCFunction)Qt_SGDisposeOutput, 1, PyDoc_STR("(SeqGrabComponent s, SGOutput sgOut) -> (ComponentResult _rv)")}, {"SGSetOutputFlags", (PyCFunction)Qt_SGSetOutputFlags, 1, PyDoc_STR("(SeqGrabComponent s, SGOutput sgOut, long whereFlags) -> (ComponentResult _rv)")}, {"SGSetChannelOutput", (PyCFunction)Qt_SGSetChannelOutput, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, SGOutput sgOut) -> (ComponentResult _rv)")}, {"SGGetDataOutputStorageSpaceRemaining", (PyCFunction)Qt_SGGetDataOutputStorageSpaceRemaining, 1, PyDoc_STR("(SeqGrabComponent s, SGOutput sgOut) -> (ComponentResult _rv, unsigned long space)")}, {"SGHandleUpdateEvent", (PyCFunction)Qt_SGHandleUpdateEvent, 1, PyDoc_STR("(SeqGrabComponent s, EventRecord event) -> (ComponentResult _rv, Boolean handled)")}, {"SGSetOutputNextOutput", (PyCFunction)Qt_SGSetOutputNextOutput, 1, PyDoc_STR("(SeqGrabComponent s, SGOutput sgOut, SGOutput nextOut) -> (ComponentResult _rv)")}, {"SGGetOutputNextOutput", (PyCFunction)Qt_SGGetOutputNextOutput, 1, PyDoc_STR("(SeqGrabComponent s, SGOutput sgOut) -> (ComponentResult _rv, SGOutput nextOut)")}, {"SGSetOutputMaximumOffset", (PyCFunction)Qt_SGSetOutputMaximumOffset, 1, PyDoc_STR("(SeqGrabComponent s, SGOutput sgOut, wide maxOffset) -> (ComponentResult _rv)")}, {"SGGetOutputMaximumOffset", (PyCFunction)Qt_SGGetOutputMaximumOffset, 1, PyDoc_STR("(SeqGrabComponent s, SGOutput sgOut) -> (ComponentResult _rv, wide maxOffset)")}, {"SGGetOutputDataReference", (PyCFunction)Qt_SGGetOutputDataReference, 1, PyDoc_STR("(SeqGrabComponent s, SGOutput sgOut) -> (ComponentResult _rv, Handle dataRef, OSType dataRefType)")}, {"SGWriteExtendedMovieData", (PyCFunction)Qt_SGWriteExtendedMovieData, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, Ptr p, long len) -> (ComponentResult _rv, wide offset, SGOutput sgOut)")}, {"SGGetStorageSpaceRemaining64", (PyCFunction)Qt_SGGetStorageSpaceRemaining64, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, wide bytes)")}, {"SGGetDataOutputStorageSpaceRemaining64", (PyCFunction)Qt_SGGetDataOutputStorageSpaceRemaining64, 1, PyDoc_STR("(SeqGrabComponent s, SGOutput sgOut) -> (ComponentResult _rv, wide space)")}, {"SGWriteMovieData", (PyCFunction)Qt_SGWriteMovieData, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, Ptr p, long len) -> (ComponentResult _rv, long offset)")}, {"SGGetTimeBase", (PyCFunction)Qt_SGGetTimeBase, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, TimeBase tb)")}, {"SGAddMovieData", (PyCFunction)Qt_SGAddMovieData, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, Ptr p, long len, long chRefCon, TimeValue time, short writeType) -> (ComponentResult _rv, long offset)")}, {"SGChangedSource", (PyCFunction)Qt_SGChangedSource, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c) -> (ComponentResult _rv)")}, {"SGAddExtendedMovieData", (PyCFunction)Qt_SGAddExtendedMovieData, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, Ptr p, long len, long chRefCon, TimeValue time, short writeType) -> (ComponentResult _rv, wide offset, SGOutput whichOutput)")}, {"SGAddOutputDataRefToMedia", (PyCFunction)Qt_SGAddOutputDataRefToMedia, 1, PyDoc_STR("(SeqGrabComponent s, SGOutput sgOut, Media theMedia, SampleDescriptionHandle desc) -> (ComponentResult _rv)")}, {"SGSetSettingsSummary", (PyCFunction)Qt_SGSetSettingsSummary, 1, PyDoc_STR("(SeqGrabComponent s, Handle summaryText) -> (ComponentResult _rv)")}, {"SGSetChannelUsage", (PyCFunction)Qt_SGSetChannelUsage, 1, PyDoc_STR("(SGChannel c, long usage) -> (ComponentResult _rv)")}, {"SGGetChannelUsage", (PyCFunction)Qt_SGGetChannelUsage, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, long usage)")}, {"SGSetChannelBounds", (PyCFunction)Qt_SGSetChannelBounds, 1, PyDoc_STR("(SGChannel c, Rect bounds) -> (ComponentResult _rv)")}, {"SGGetChannelBounds", (PyCFunction)Qt_SGGetChannelBounds, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, Rect bounds)")}, {"SGSetChannelVolume", (PyCFunction)Qt_SGSetChannelVolume, 1, PyDoc_STR("(SGChannel c, short volume) -> (ComponentResult _rv)")}, {"SGGetChannelVolume", (PyCFunction)Qt_SGGetChannelVolume, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, short volume)")}, {"SGGetChannelInfo", (PyCFunction)Qt_SGGetChannelInfo, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, long channelInfo)")}, {"SGSetChannelPlayFlags", (PyCFunction)Qt_SGSetChannelPlayFlags, 1, PyDoc_STR("(SGChannel c, long playFlags) -> (ComponentResult _rv)")}, {"SGGetChannelPlayFlags", (PyCFunction)Qt_SGGetChannelPlayFlags, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, long playFlags)")}, {"SGSetChannelMaxFrames", (PyCFunction)Qt_SGSetChannelMaxFrames, 1, PyDoc_STR("(SGChannel c, long frameCount) -> (ComponentResult _rv)")}, {"SGGetChannelMaxFrames", (PyCFunction)Qt_SGGetChannelMaxFrames, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, long frameCount)")}, {"SGSetChannelRefCon", (PyCFunction)Qt_SGSetChannelRefCon, 1, PyDoc_STR("(SGChannel c, long refCon) -> (ComponentResult _rv)")}, {"SGSetChannelClip", (PyCFunction)Qt_SGSetChannelClip, 1, PyDoc_STR("(SGChannel c, RgnHandle theClip) -> (ComponentResult _rv)")}, {"SGGetChannelClip", (PyCFunction)Qt_SGGetChannelClip, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, RgnHandle theClip)")}, {"SGGetChannelSampleDescription", (PyCFunction)Qt_SGGetChannelSampleDescription, 1, PyDoc_STR("(SGChannel c, Handle sampleDesc) -> (ComponentResult _rv)")}, {"SGSetChannelDevice", (PyCFunction)Qt_SGSetChannelDevice, 1, PyDoc_STR("(SGChannel c, StringPtr name) -> (ComponentResult _rv)")}, {"SGGetChannelTimeScale", (PyCFunction)Qt_SGGetChannelTimeScale, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, TimeScale scale)")}, {"SGChannelPutPicture", (PyCFunction)Qt_SGChannelPutPicture, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv)")}, {"SGChannelSetRequestedDataRate", (PyCFunction)Qt_SGChannelSetRequestedDataRate, 1, PyDoc_STR("(SGChannel c, long bytesPerSecond) -> (ComponentResult _rv)")}, {"SGChannelGetRequestedDataRate", (PyCFunction)Qt_SGChannelGetRequestedDataRate, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, long bytesPerSecond)")}, {"SGChannelSetDataSourceName", (PyCFunction)Qt_SGChannelSetDataSourceName, 1, PyDoc_STR("(SGChannel c, Str255 name, ScriptCode scriptTag) -> (ComponentResult _rv)")}, {"SGChannelGetDataSourceName", (PyCFunction)Qt_SGChannelGetDataSourceName, 1, PyDoc_STR("(SGChannel c, Str255 name) -> (ComponentResult _rv, ScriptCode scriptTag)")}, {"SGChannelSetCodecSettings", (PyCFunction)Qt_SGChannelSetCodecSettings, 1, PyDoc_STR("(SGChannel c, Handle settings) -> (ComponentResult _rv)")}, {"SGChannelGetCodecSettings", (PyCFunction)Qt_SGChannelGetCodecSettings, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, Handle settings)")}, {"SGGetChannelTimeBase", (PyCFunction)Qt_SGGetChannelTimeBase, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, TimeBase tb)")}, {"SGGetChannelRefCon", (PyCFunction)Qt_SGGetChannelRefCon, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, long refCon)")}, {"SGGetChannelDeviceAndInputNames", (PyCFunction)Qt_SGGetChannelDeviceAndInputNames, 1, PyDoc_STR("(SGChannel c, Str255 outDeviceName, Str255 outInputName) -> (ComponentResult _rv, short outInputNumber)")}, {"SGSetChannelDeviceInput", (PyCFunction)Qt_SGSetChannelDeviceInput, 1, PyDoc_STR("(SGChannel c, short inInputNumber) -> (ComponentResult _rv)")}, {"SGSetChannelSettingsStateChanging", (PyCFunction)Qt_SGSetChannelSettingsStateChanging, 1, PyDoc_STR("(SGChannel c, UInt32 inFlags) -> (ComponentResult _rv)")}, {"SGInitChannel", (PyCFunction)Qt_SGInitChannel, 1, PyDoc_STR("(SGChannel c, SeqGrabComponent owner) -> (ComponentResult _rv)")}, {"SGWriteSamples", (PyCFunction)Qt_SGWriteSamples, 1, PyDoc_STR("(SGChannel c, Movie m, AliasHandle theFile) -> (ComponentResult _rv)")}, {"SGGetDataRate", (PyCFunction)Qt_SGGetDataRate, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, long bytesPerSecond)")}, {"SGAlignChannelRect", (PyCFunction)Qt_SGAlignChannelRect, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, Rect r)")}, {"SGPanelGetDitl", (PyCFunction)Qt_SGPanelGetDitl, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, Handle ditl)")}, {"SGPanelGetTitle", (PyCFunction)Qt_SGPanelGetTitle, 1, PyDoc_STR("(SeqGrabComponent s, Str255 title) -> (ComponentResult _rv)")}, {"SGPanelCanRun", (PyCFunction)Qt_SGPanelCanRun, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c) -> (ComponentResult _rv)")}, {"SGPanelInstall", (PyCFunction)Qt_SGPanelInstall, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, DialogPtr d, short itemOffset) -> (ComponentResult _rv)")}, {"SGPanelEvent", (PyCFunction)Qt_SGPanelEvent, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, DialogPtr d, short itemOffset, EventRecord theEvent) -> (ComponentResult _rv, short itemHit, Boolean handled)")}, {"SGPanelItem", (PyCFunction)Qt_SGPanelItem, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, DialogPtr d, short itemOffset, short itemNum) -> (ComponentResult _rv)")}, {"SGPanelRemove", (PyCFunction)Qt_SGPanelRemove, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, DialogPtr d, short itemOffset) -> (ComponentResult _rv)")}, {"SGPanelSetGrabber", (PyCFunction)Qt_SGPanelSetGrabber, 1, PyDoc_STR("(SeqGrabComponent s, SeqGrabComponent sg) -> (ComponentResult _rv)")}, {"SGPanelSetResFile", (PyCFunction)Qt_SGPanelSetResFile, 1, PyDoc_STR("(SeqGrabComponent s, short resRef) -> (ComponentResult _rv)")}, {"SGPanelGetSettings", (PyCFunction)Qt_SGPanelGetSettings, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, long flags) -> (ComponentResult _rv, UserData ud)")}, {"SGPanelSetSettings", (PyCFunction)Qt_SGPanelSetSettings, 1, PyDoc_STR("(SeqGrabComponent s, SGChannel c, UserData ud, long flags) -> (ComponentResult _rv)")}, {"SGPanelValidateInput", (PyCFunction)Qt_SGPanelValidateInput, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, Boolean ok)")}, {"SGPanelGetDITLForSize", (PyCFunction)Qt_SGPanelGetDITLForSize, 1, PyDoc_STR("(SeqGrabComponent s) -> (ComponentResult _rv, Handle ditl, Point requestedSize)")}, {"SGGetSrcVideoBounds", (PyCFunction)Qt_SGGetSrcVideoBounds, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, Rect r)")}, {"SGSetVideoRect", (PyCFunction)Qt_SGSetVideoRect, 1, PyDoc_STR("(SGChannel c, Rect r) -> (ComponentResult _rv)")}, {"SGGetVideoRect", (PyCFunction)Qt_SGGetVideoRect, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, Rect r)")}, {"SGGetVideoCompressorType", (PyCFunction)Qt_SGGetVideoCompressorType, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, OSType compressorType)")}, {"SGSetVideoCompressorType", (PyCFunction)Qt_SGSetVideoCompressorType, 1, PyDoc_STR("(SGChannel c, OSType compressorType) -> (ComponentResult _rv)")}, {"SGSetVideoCompressor", (PyCFunction)Qt_SGSetVideoCompressor, 1, PyDoc_STR("(SGChannel c, short depth, CompressorComponent compressor, CodecQ spatialQuality, CodecQ temporalQuality, long keyFrameRate) -> (ComponentResult _rv)")}, {"SGGetVideoCompressor", (PyCFunction)Qt_SGGetVideoCompressor, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, short depth, CompressorComponent compressor, CodecQ spatialQuality, CodecQ temporalQuality, long keyFrameRate)")}, {"SGGetVideoDigitizerComponent", (PyCFunction)Qt_SGGetVideoDigitizerComponent, 1, PyDoc_STR("(SGChannel c) -> (ComponentInstance _rv)")}, {"SGSetVideoDigitizerComponent", (PyCFunction)Qt_SGSetVideoDigitizerComponent, 1, PyDoc_STR("(SGChannel c, ComponentInstance vdig) -> (ComponentResult _rv)")}, {"SGVideoDigitizerChanged", (PyCFunction)Qt_SGVideoDigitizerChanged, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv)")}, {"SGGrabFrame", (PyCFunction)Qt_SGGrabFrame, 1, PyDoc_STR("(SGChannel c, short bufferNum) -> (ComponentResult _rv)")}, {"SGGrabFrameComplete", (PyCFunction)Qt_SGGrabFrameComplete, 1, PyDoc_STR("(SGChannel c, short bufferNum) -> (ComponentResult _rv, Boolean done)")}, {"SGCompressFrame", (PyCFunction)Qt_SGCompressFrame, 1, PyDoc_STR("(SGChannel c, short bufferNum) -> (ComponentResult _rv)")}, {"SGSetCompressBuffer", (PyCFunction)Qt_SGSetCompressBuffer, 1, PyDoc_STR("(SGChannel c, short depth, Rect compressSize) -> (ComponentResult _rv)")}, {"SGGetCompressBuffer", (PyCFunction)Qt_SGGetCompressBuffer, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, short depth, Rect compressSize)")}, {"SGGetBufferInfo", (PyCFunction)Qt_SGGetBufferInfo, 1, PyDoc_STR("(SGChannel c, short bufferNum) -> (ComponentResult _rv, PixMapHandle bufferPM, Rect bufferRect, GWorldPtr compressBuffer, Rect compressBufferRect)")}, {"SGSetUseScreenBuffer", (PyCFunction)Qt_SGSetUseScreenBuffer, 1, PyDoc_STR("(SGChannel c, Boolean useScreenBuffer) -> (ComponentResult _rv)")}, {"SGGetUseScreenBuffer", (PyCFunction)Qt_SGGetUseScreenBuffer, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, Boolean useScreenBuffer)")}, {"SGSetFrameRate", (PyCFunction)Qt_SGSetFrameRate, 1, PyDoc_STR("(SGChannel c, Fixed frameRate) -> (ComponentResult _rv)")}, {"SGGetFrameRate", (PyCFunction)Qt_SGGetFrameRate, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, Fixed frameRate)")}, {"SGSetPreferredPacketSize", (PyCFunction)Qt_SGSetPreferredPacketSize, 1, PyDoc_STR("(SGChannel c, long preferredPacketSizeInBytes) -> (ComponentResult _rv)")}, {"SGGetPreferredPacketSize", (PyCFunction)Qt_SGGetPreferredPacketSize, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, long preferredPacketSizeInBytes)")}, {"SGSetUserVideoCompressorList", (PyCFunction)Qt_SGSetUserVideoCompressorList, 1, PyDoc_STR("(SGChannel c, Handle compressorTypes) -> (ComponentResult _rv)")}, {"SGGetUserVideoCompressorList", (PyCFunction)Qt_SGGetUserVideoCompressorList, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, Handle compressorTypes)")}, {"SGSetSoundInputDriver", (PyCFunction)Qt_SGSetSoundInputDriver, 1, PyDoc_STR("(SGChannel c, Str255 driverName) -> (ComponentResult _rv)")}, {"SGGetSoundInputDriver", (PyCFunction)Qt_SGGetSoundInputDriver, 1, PyDoc_STR("(SGChannel c) -> (long _rv)")}, {"SGSoundInputDriverChanged", (PyCFunction)Qt_SGSoundInputDriverChanged, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv)")}, {"SGSetSoundRecordChunkSize", (PyCFunction)Qt_SGSetSoundRecordChunkSize, 1, PyDoc_STR("(SGChannel c, long seconds) -> (ComponentResult _rv)")}, {"SGGetSoundRecordChunkSize", (PyCFunction)Qt_SGGetSoundRecordChunkSize, 1, PyDoc_STR("(SGChannel c) -> (long _rv)")}, {"SGSetSoundInputRate", (PyCFunction)Qt_SGSetSoundInputRate, 1, PyDoc_STR("(SGChannel c, Fixed rate) -> (ComponentResult _rv)")}, {"SGGetSoundInputRate", (PyCFunction)Qt_SGGetSoundInputRate, 1, PyDoc_STR("(SGChannel c) -> (Fixed _rv)")}, {"SGSetSoundInputParameters", (PyCFunction)Qt_SGSetSoundInputParameters, 1, PyDoc_STR("(SGChannel c, short sampleSize, short numChannels, OSType compressionType) -> (ComponentResult _rv)")}, {"SGGetSoundInputParameters", (PyCFunction)Qt_SGGetSoundInputParameters, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, short sampleSize, short numChannels, OSType compressionType)")}, {"SGSetAdditionalSoundRates", (PyCFunction)Qt_SGSetAdditionalSoundRates, 1, PyDoc_STR("(SGChannel c, Handle rates) -> (ComponentResult _rv)")}, {"SGGetAdditionalSoundRates", (PyCFunction)Qt_SGGetAdditionalSoundRates, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, Handle rates)")}, {"SGSetFontName", (PyCFunction)Qt_SGSetFontName, 1, PyDoc_STR("(SGChannel c, StringPtr pstr) -> (ComponentResult _rv)")}, {"SGSetFontSize", (PyCFunction)Qt_SGSetFontSize, 1, PyDoc_STR("(SGChannel c, short fontSize) -> (ComponentResult _rv)")}, {"SGSetTextForeColor", (PyCFunction)Qt_SGSetTextForeColor, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, RGBColor theColor)")}, {"SGSetTextBackColor", (PyCFunction)Qt_SGSetTextBackColor, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, RGBColor theColor)")}, {"SGSetJustification", (PyCFunction)Qt_SGSetJustification, 1, PyDoc_STR("(SGChannel c, short just) -> (ComponentResult _rv)")}, {"SGGetTextReturnToSpaceValue", (PyCFunction)Qt_SGGetTextReturnToSpaceValue, 1, PyDoc_STR("(SGChannel c) -> (ComponentResult _rv, short rettospace)")}, {"SGSetTextReturnToSpaceValue", (PyCFunction)Qt_SGSetTextReturnToSpaceValue, 1, PyDoc_STR("(SGChannel c, short rettospace) -> (ComponentResult _rv)")}, {"QTVideoOutputGetCurrentClientName", (PyCFunction)Qt_QTVideoOutputGetCurrentClientName, 1, PyDoc_STR("(QTVideoOutputComponent vo, Str255 str) -> (ComponentResult _rv)")}, {"QTVideoOutputSetClientName", (PyCFunction)Qt_QTVideoOutputSetClientName, 1, PyDoc_STR("(QTVideoOutputComponent vo, Str255 str) -> (ComponentResult _rv)")}, {"QTVideoOutputGetClientName", (PyCFunction)Qt_QTVideoOutputGetClientName, 1, PyDoc_STR("(QTVideoOutputComponent vo, Str255 str) -> (ComponentResult _rv)")}, {"QTVideoOutputBegin", (PyCFunction)Qt_QTVideoOutputBegin, 1, PyDoc_STR("(QTVideoOutputComponent vo) -> (ComponentResult _rv)")}, {"QTVideoOutputEnd", (PyCFunction)Qt_QTVideoOutputEnd, 1, PyDoc_STR("(QTVideoOutputComponent vo) -> (ComponentResult _rv)")}, {"QTVideoOutputSetDisplayMode", (PyCFunction)Qt_QTVideoOutputSetDisplayMode, 1, PyDoc_STR("(QTVideoOutputComponent vo, long displayModeID) -> (ComponentResult _rv)")}, {"QTVideoOutputGetDisplayMode", (PyCFunction)Qt_QTVideoOutputGetDisplayMode, 1, PyDoc_STR("(QTVideoOutputComponent vo) -> (ComponentResult _rv, long displayModeID)")}, {"QTVideoOutputGetGWorld", (PyCFunction)Qt_QTVideoOutputGetGWorld, 1, PyDoc_STR("(QTVideoOutputComponent vo) -> (ComponentResult _rv, GWorldPtr gw)")}, {"QTVideoOutputGetIndSoundOutput", (PyCFunction)Qt_QTVideoOutputGetIndSoundOutput, 1, PyDoc_STR("(QTVideoOutputComponent vo, long index) -> (ComponentResult _rv, Component outputComponent)")}, {"QTVideoOutputGetClock", (PyCFunction)Qt_QTVideoOutputGetClock, 1, PyDoc_STR("(QTVideoOutputComponent vo) -> (ComponentResult _rv, ComponentInstance clock)")}, {"QTVideoOutputSetEchoPort", (PyCFunction)Qt_QTVideoOutputSetEchoPort, 1, PyDoc_STR("(QTVideoOutputComponent vo, CGrafPtr echoPort) -> (ComponentResult _rv)")}, {"QTVideoOutputGetIndImageDecompressor", (PyCFunction)Qt_QTVideoOutputGetIndImageDecompressor, 1, PyDoc_STR("(QTVideoOutputComponent vo, long index) -> (ComponentResult _rv, Component codec)")}, {"QTVideoOutputBaseSetEchoPort", (PyCFunction)Qt_QTVideoOutputBaseSetEchoPort, 1, PyDoc_STR("(QTVideoOutputComponent vo, CGrafPtr echoPort) -> (ComponentResult _rv)")}, {"MediaSetChunkManagementFlags", (PyCFunction)Qt_MediaSetChunkManagementFlags, 1, PyDoc_STR("(MediaHandler mh, UInt32 flags, UInt32 flagsMask) -> (ComponentResult _rv)")}, {"MediaGetChunkManagementFlags", (PyCFunction)Qt_MediaGetChunkManagementFlags, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, UInt32 flags)")}, {"MediaSetPurgeableChunkMemoryAllowance", (PyCFunction)Qt_MediaSetPurgeableChunkMemoryAllowance, 1, PyDoc_STR("(MediaHandler mh, Size allowance) -> (ComponentResult _rv)")}, {"MediaGetPurgeableChunkMemoryAllowance", (PyCFunction)Qt_MediaGetPurgeableChunkMemoryAllowance, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, Size allowance)")}, {"MediaEmptyAllPurgeableChunks", (PyCFunction)Qt_MediaEmptyAllPurgeableChunks, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv)")}, {"MediaSetHandlerCapabilities", (PyCFunction)Qt_MediaSetHandlerCapabilities, 1, PyDoc_STR("(MediaHandler mh, long flags, long flagsMask) -> (ComponentResult _rv)")}, {"MediaIdle", (PyCFunction)Qt_MediaIdle, 1, PyDoc_STR("(MediaHandler mh, TimeValue atMediaTime, long flagsIn, TimeRecord movieTime) -> (ComponentResult _rv, long flagsOut)")}, {"MediaGetMediaInfo", (PyCFunction)Qt_MediaGetMediaInfo, 1, PyDoc_STR("(MediaHandler mh, Handle h) -> (ComponentResult _rv)")}, {"MediaPutMediaInfo", (PyCFunction)Qt_MediaPutMediaInfo, 1, PyDoc_STR("(MediaHandler mh, Handle h) -> (ComponentResult _rv)")}, {"MediaSetActive", (PyCFunction)Qt_MediaSetActive, 1, PyDoc_STR("(MediaHandler mh, Boolean enableMedia) -> (ComponentResult _rv)")}, {"MediaSetRate", (PyCFunction)Qt_MediaSetRate, 1, PyDoc_STR("(MediaHandler mh, Fixed rate) -> (ComponentResult _rv)")}, {"MediaGGetStatus", (PyCFunction)Qt_MediaGGetStatus, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, ComponentResult statusErr)")}, {"MediaTrackEdited", (PyCFunction)Qt_MediaTrackEdited, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv)")}, {"MediaSetMediaTimeScale", (PyCFunction)Qt_MediaSetMediaTimeScale, 1, PyDoc_STR("(MediaHandler mh, TimeScale newTimeScale) -> (ComponentResult _rv)")}, {"MediaSetMovieTimeScale", (PyCFunction)Qt_MediaSetMovieTimeScale, 1, PyDoc_STR("(MediaHandler mh, TimeScale newTimeScale) -> (ComponentResult _rv)")}, {"MediaSetGWorld", (PyCFunction)Qt_MediaSetGWorld, 1, PyDoc_STR("(MediaHandler mh, CGrafPtr aPort, GDHandle aGD) -> (ComponentResult _rv)")}, {"MediaSetDimensions", (PyCFunction)Qt_MediaSetDimensions, 1, PyDoc_STR("(MediaHandler mh, Fixed width, Fixed height) -> (ComponentResult _rv)")}, {"MediaSetClip", (PyCFunction)Qt_MediaSetClip, 1, PyDoc_STR("(MediaHandler mh, RgnHandle theClip) -> (ComponentResult _rv)")}, {"MediaGetTrackOpaque", (PyCFunction)Qt_MediaGetTrackOpaque, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, Boolean trackIsOpaque)")}, {"MediaSetGraphicsMode", (PyCFunction)Qt_MediaSetGraphicsMode, 1, PyDoc_STR("(MediaHandler mh, long mode, RGBColor opColor) -> (ComponentResult _rv)")}, {"MediaGetGraphicsMode", (PyCFunction)Qt_MediaGetGraphicsMode, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, long mode, RGBColor opColor)")}, {"MediaGSetVolume", (PyCFunction)Qt_MediaGSetVolume, 1, PyDoc_STR("(MediaHandler mh, short volume) -> (ComponentResult _rv)")}, {"MediaSetSoundBalance", (PyCFunction)Qt_MediaSetSoundBalance, 1, PyDoc_STR("(MediaHandler mh, short balance) -> (ComponentResult _rv)")}, {"MediaGetSoundBalance", (PyCFunction)Qt_MediaGetSoundBalance, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, short balance)")}, {"MediaGetNextBoundsChange", (PyCFunction)Qt_MediaGetNextBoundsChange, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, TimeValue when)")}, {"MediaGetSrcRgn", (PyCFunction)Qt_MediaGetSrcRgn, 1, PyDoc_STR("(MediaHandler mh, RgnHandle rgn, TimeValue atMediaTime) -> (ComponentResult _rv)")}, {"MediaPreroll", (PyCFunction)Qt_MediaPreroll, 1, PyDoc_STR("(MediaHandler mh, TimeValue time, Fixed rate) -> (ComponentResult _rv)")}, {"MediaSampleDescriptionChanged", (PyCFunction)Qt_MediaSampleDescriptionChanged, 1, PyDoc_STR("(MediaHandler mh, long index) -> (ComponentResult _rv)")}, {"MediaHasCharacteristic", (PyCFunction)Qt_MediaHasCharacteristic, 1, PyDoc_STR("(MediaHandler mh, OSType characteristic) -> (ComponentResult _rv, Boolean hasIt)")}, {"MediaGetOffscreenBufferSize", (PyCFunction)Qt_MediaGetOffscreenBufferSize, 1, PyDoc_STR("(MediaHandler mh, short depth, CTabHandle ctab) -> (ComponentResult _rv, Rect bounds)")}, {"MediaSetHints", (PyCFunction)Qt_MediaSetHints, 1, PyDoc_STR("(MediaHandler mh, long hints) -> (ComponentResult _rv)")}, {"MediaGetName", (PyCFunction)Qt_MediaGetName, 1, PyDoc_STR("(MediaHandler mh, Str255 name, long requestedLanguage) -> (ComponentResult _rv, long actualLanguage)")}, {"MediaForceUpdate", (PyCFunction)Qt_MediaForceUpdate, 1, PyDoc_STR("(MediaHandler mh, long forceUpdateFlags) -> (ComponentResult _rv)")}, {"MediaGetDrawingRgn", (PyCFunction)Qt_MediaGetDrawingRgn, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, RgnHandle partialRgn)")}, {"MediaGSetActiveSegment", (PyCFunction)Qt_MediaGSetActiveSegment, 1, PyDoc_STR("(MediaHandler mh, TimeValue activeStart, TimeValue activeDuration) -> (ComponentResult _rv)")}, {"MediaInvalidateRegion", (PyCFunction)Qt_MediaInvalidateRegion, 1, PyDoc_STR("(MediaHandler mh, RgnHandle invalRgn) -> (ComponentResult _rv)")}, {"MediaGetNextStepTime", (PyCFunction)Qt_MediaGetNextStepTime, 1, PyDoc_STR("(MediaHandler mh, short flags, TimeValue mediaTimeIn, Fixed rate) -> (ComponentResult _rv, TimeValue mediaTimeOut)")}, {"MediaChangedNonPrimarySource", (PyCFunction)Qt_MediaChangedNonPrimarySource, 1, PyDoc_STR("(MediaHandler mh, long inputIndex) -> (ComponentResult _rv)")}, {"MediaTrackReferencesChanged", (PyCFunction)Qt_MediaTrackReferencesChanged, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv)")}, {"MediaReleaseSampleDataPointer", (PyCFunction)Qt_MediaReleaseSampleDataPointer, 1, PyDoc_STR("(MediaHandler mh, long sampleNum) -> (ComponentResult _rv)")}, {"MediaTrackPropertyAtomChanged", (PyCFunction)Qt_MediaTrackPropertyAtomChanged, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv)")}, {"MediaSetVideoParam", (PyCFunction)Qt_MediaSetVideoParam, 1, PyDoc_STR("(MediaHandler mh, long whichParam) -> (ComponentResult _rv, unsigned short value)")}, {"MediaGetVideoParam", (PyCFunction)Qt_MediaGetVideoParam, 1, PyDoc_STR("(MediaHandler mh, long whichParam) -> (ComponentResult _rv, unsigned short value)")}, {"MediaCompare", (PyCFunction)Qt_MediaCompare, 1, PyDoc_STR("(MediaHandler mh, Media srcMedia, ComponentInstance srcMediaComponent) -> (ComponentResult _rv, Boolean isOK)")}, {"MediaGetClock", (PyCFunction)Qt_MediaGetClock, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, ComponentInstance clock)")}, {"MediaSetSoundOutputComponent", (PyCFunction)Qt_MediaSetSoundOutputComponent, 1, PyDoc_STR("(MediaHandler mh, Component outputComponent) -> (ComponentResult _rv)")}, {"MediaGetSoundOutputComponent", (PyCFunction)Qt_MediaGetSoundOutputComponent, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, Component outputComponent)")}, {"MediaSetSoundLocalizationData", (PyCFunction)Qt_MediaSetSoundLocalizationData, 1, PyDoc_STR("(MediaHandler mh, Handle data) -> (ComponentResult _rv)")}, {"MediaGetInvalidRegion", (PyCFunction)Qt_MediaGetInvalidRegion, 1, PyDoc_STR("(MediaHandler mh, RgnHandle rgn) -> (ComponentResult _rv)")}, {"MediaSampleDescriptionB2N", (PyCFunction)Qt_MediaSampleDescriptionB2N, 1, PyDoc_STR("(MediaHandler mh, SampleDescriptionHandle sampleDescriptionH) -> (ComponentResult _rv)")}, {"MediaSampleDescriptionN2B", (PyCFunction)Qt_MediaSampleDescriptionN2B, 1, PyDoc_STR("(MediaHandler mh, SampleDescriptionHandle sampleDescriptionH) -> (ComponentResult _rv)")}, {"MediaFlushNonPrimarySourceData", (PyCFunction)Qt_MediaFlushNonPrimarySourceData, 1, PyDoc_STR("(MediaHandler mh, long inputIndex) -> (ComponentResult _rv)")}, {"MediaGetURLLink", (PyCFunction)Qt_MediaGetURLLink, 1, PyDoc_STR("(MediaHandler mh, Point displayWhere) -> (ComponentResult _rv, Handle urlLink)")}, {"MediaHitTestForTargetRefCon", (PyCFunction)Qt_MediaHitTestForTargetRefCon, 1, PyDoc_STR("(MediaHandler mh, long flags, Point loc) -> (ComponentResult _rv, long targetRefCon)")}, {"MediaHitTestTargetRefCon", (PyCFunction)Qt_MediaHitTestTargetRefCon, 1, PyDoc_STR("(MediaHandler mh, long targetRefCon, long flags, Point loc) -> (ComponentResult _rv, Boolean wasHit)")}, {"MediaDisposeTargetRefCon", (PyCFunction)Qt_MediaDisposeTargetRefCon, 1, PyDoc_STR("(MediaHandler mh, long targetRefCon) -> (ComponentResult _rv)")}, {"MediaTargetRefConsEqual", (PyCFunction)Qt_MediaTargetRefConsEqual, 1, PyDoc_STR("(MediaHandler mh, long firstRefCon, long secondRefCon) -> (ComponentResult _rv, Boolean equal)")}, {"MediaPrePrerollCancel", (PyCFunction)Qt_MediaPrePrerollCancel, 1, PyDoc_STR("(MediaHandler mh, void * refcon) -> (ComponentResult _rv)")}, {"MediaEnterEmptyEdit", (PyCFunction)Qt_MediaEnterEmptyEdit, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv)")}, {"MediaCurrentMediaQueuedData", (PyCFunction)Qt_MediaCurrentMediaQueuedData, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, long milliSecs)")}, {"MediaGetEffectiveVolume", (PyCFunction)Qt_MediaGetEffectiveVolume, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, short volume)")}, {"MediaGetSoundLevelMeteringEnabled", (PyCFunction)Qt_MediaGetSoundLevelMeteringEnabled, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, Boolean enabled)")}, {"MediaSetSoundLevelMeteringEnabled", (PyCFunction)Qt_MediaSetSoundLevelMeteringEnabled, 1, PyDoc_STR("(MediaHandler mh, Boolean enable) -> (ComponentResult _rv)")}, {"MediaGetEffectiveSoundBalance", (PyCFunction)Qt_MediaGetEffectiveSoundBalance, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, short balance)")}, {"MediaSetScreenLock", (PyCFunction)Qt_MediaSetScreenLock, 1, PyDoc_STR("(MediaHandler mh, Boolean lockIt) -> (ComponentResult _rv)")}, {"MediaGetErrorString", (PyCFunction)Qt_MediaGetErrorString, 1, PyDoc_STR("(MediaHandler mh, ComponentResult theError, Str255 errorString) -> (ComponentResult _rv)")}, {"MediaGetSoundEqualizerBandLevels", (PyCFunction)Qt_MediaGetSoundEqualizerBandLevels, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, UInt8 bandLevels)")}, {"MediaDoIdleActions", (PyCFunction)Qt_MediaDoIdleActions, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv)")}, {"MediaSetSoundBassAndTreble", (PyCFunction)Qt_MediaSetSoundBassAndTreble, 1, PyDoc_STR("(MediaHandler mh, short bass, short treble) -> (ComponentResult _rv)")}, {"MediaGetSoundBassAndTreble", (PyCFunction)Qt_MediaGetSoundBassAndTreble, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, short bass, short treble)")}, {"MediaTimeBaseChanged", (PyCFunction)Qt_MediaTimeBaseChanged, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv)")}, {"MediaMCIsPlayerEvent", (PyCFunction)Qt_MediaMCIsPlayerEvent, 1, PyDoc_STR("(MediaHandler mh, EventRecord e) -> (ComponentResult _rv, Boolean handledIt)")}, {"MediaGetMediaLoadState", (PyCFunction)Qt_MediaGetMediaLoadState, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, long mediaLoadState)")}, {"MediaVideoOutputChanged", (PyCFunction)Qt_MediaVideoOutputChanged, 1, PyDoc_STR("(MediaHandler mh, ComponentInstance vout) -> (ComponentResult _rv)")}, {"MediaEmptySampleCache", (PyCFunction)Qt_MediaEmptySampleCache, 1, PyDoc_STR("(MediaHandler mh, long sampleNum, long sampleCount) -> (ComponentResult _rv)")}, {"MediaGetPublicInfo", (PyCFunction)Qt_MediaGetPublicInfo, 1, PyDoc_STR("(MediaHandler mh, OSType infoSelector, void * infoDataPtr) -> (ComponentResult _rv, Size ioDataSize)")}, {"MediaSetPublicInfo", (PyCFunction)Qt_MediaSetPublicInfo, 1, PyDoc_STR("(MediaHandler mh, OSType infoSelector, void * infoDataPtr, Size dataSize) -> (ComponentResult _rv)")}, {"MediaRefConSetProperty", (PyCFunction)Qt_MediaRefConSetProperty, 1, PyDoc_STR("(MediaHandler mh, long refCon, long propertyType, void * propertyValue) -> (ComponentResult _rv)")}, {"MediaRefConGetProperty", (PyCFunction)Qt_MediaRefConGetProperty, 1, PyDoc_STR("(MediaHandler mh, long refCon, long propertyType, void * propertyValue) -> (ComponentResult _rv)")}, {"MediaNavigateTargetRefCon", (PyCFunction)Qt_MediaNavigateTargetRefCon, 1, PyDoc_STR("(MediaHandler mh, long navigation) -> (ComponentResult _rv, long refCon)")}, {"MediaGGetIdleManager", (PyCFunction)Qt_MediaGGetIdleManager, 1, PyDoc_STR("(MediaHandler mh) -> (ComponentResult _rv, IdleManager pim)")}, {"MediaGSetIdleManager", (PyCFunction)Qt_MediaGSetIdleManager, 1, PyDoc_STR("(MediaHandler mh, IdleManager im) -> (ComponentResult _rv)")}, {"QTMIDIGetMIDIPorts", (PyCFunction)Qt_QTMIDIGetMIDIPorts, 1, PyDoc_STR("(QTMIDIComponent ci) -> (ComponentResult _rv, QTMIDIPortListHandle inputPorts, QTMIDIPortListHandle outputPorts)")}, {"QTMIDIUseSendPort", (PyCFunction)Qt_QTMIDIUseSendPort, 1, PyDoc_STR("(QTMIDIComponent ci, long portIndex, long inUse) -> (ComponentResult _rv)")}, {"QTMIDISendMIDI", (PyCFunction)Qt_QTMIDISendMIDI, 1, PyDoc_STR("(QTMIDIComponent ci, long portIndex, MusicMIDIPacket mp) -> (ComponentResult _rv)")}, {"MusicGetPart", (PyCFunction)Qt_MusicGetPart, 1, PyDoc_STR("(MusicComponent mc, long part) -> (ComponentResult _rv, long midiChannel, long polyphony)")}, {"MusicSetPart", (PyCFunction)Qt_MusicSetPart, 1, PyDoc_STR("(MusicComponent mc, long part, long midiChannel, long polyphony) -> (ComponentResult _rv)")}, {"MusicSetPartInstrumentNumber", (PyCFunction)Qt_MusicSetPartInstrumentNumber, 1, PyDoc_STR("(MusicComponent mc, long part, long instrumentNumber) -> (ComponentResult _rv)")}, {"MusicGetPartInstrumentNumber", (PyCFunction)Qt_MusicGetPartInstrumentNumber, 1, PyDoc_STR("(MusicComponent mc, long part) -> (ComponentResult _rv)")}, {"MusicStorePartInstrument", (PyCFunction)Qt_MusicStorePartInstrument, 1, PyDoc_STR("(MusicComponent mc, long part, long instrumentNumber) -> (ComponentResult _rv)")}, {"MusicGetPartAtomicInstrument", (PyCFunction)Qt_MusicGetPartAtomicInstrument, 1, PyDoc_STR("(MusicComponent mc, long part, long flags) -> (ComponentResult _rv, AtomicInstrument ai)")}, {"MusicSetPartAtomicInstrument", (PyCFunction)Qt_MusicSetPartAtomicInstrument, 1, PyDoc_STR("(MusicComponent mc, long part, AtomicInstrumentPtr aiP, long flags) -> (ComponentResult _rv)")}, {"MusicGetPartKnob", (PyCFunction)Qt_MusicGetPartKnob, 1, PyDoc_STR("(MusicComponent mc, long part, long knobID) -> (ComponentResult _rv)")}, {"MusicSetPartKnob", (PyCFunction)Qt_MusicSetPartKnob, 1, PyDoc_STR("(MusicComponent mc, long part, long knobID, long knobValue) -> (ComponentResult _rv)")}, {"MusicGetKnob", (PyCFunction)Qt_MusicGetKnob, 1, PyDoc_STR("(MusicComponent mc, long knobID) -> (ComponentResult _rv)")}, {"MusicSetKnob", (PyCFunction)Qt_MusicSetKnob, 1, PyDoc_STR("(MusicComponent mc, long knobID, long knobValue) -> (ComponentResult _rv)")}, {"MusicGetPartName", (PyCFunction)Qt_MusicGetPartName, 1, PyDoc_STR("(MusicComponent mc, long part, StringPtr name) -> (ComponentResult _rv)")}, {"MusicSetPartName", (PyCFunction)Qt_MusicSetPartName, 1, PyDoc_STR("(MusicComponent mc, long part, StringPtr name) -> (ComponentResult _rv)")}, {"MusicPlayNote", (PyCFunction)Qt_MusicPlayNote, 1, PyDoc_STR("(MusicComponent mc, long part, long pitch, long velocity) -> (ComponentResult _rv)")}, {"MusicResetPart", (PyCFunction)Qt_MusicResetPart, 1, PyDoc_STR("(MusicComponent mc, long part) -> (ComponentResult _rv)")}, {"MusicSetPartController", (PyCFunction)Qt_MusicSetPartController, 1, PyDoc_STR("(MusicComponent mc, long part, MusicController controllerNumber, long controllerValue) -> (ComponentResult _rv)")}, {"MusicGetPartController", (PyCFunction)Qt_MusicGetPartController, 1, PyDoc_STR("(MusicComponent mc, long part, MusicController controllerNumber) -> (ComponentResult _rv)")}, {"MusicGetInstrumentNames", (PyCFunction)Qt_MusicGetInstrumentNames, 1, PyDoc_STR("(MusicComponent mc, long modifiableInstruments) -> (ComponentResult _rv, Handle instrumentNames, Handle instrumentCategoryLasts, Handle instrumentCategoryNames)")}, {"MusicGetDrumNames", (PyCFunction)Qt_MusicGetDrumNames, 1, PyDoc_STR("(MusicComponent mc, long modifiableInstruments) -> (ComponentResult _rv, Handle instrumentNumbers, Handle instrumentNames)")}, {"MusicGetMasterTune", (PyCFunction)Qt_MusicGetMasterTune, 1, PyDoc_STR("(MusicComponent mc) -> (ComponentResult _rv)")}, {"MusicSetMasterTune", (PyCFunction)Qt_MusicSetMasterTune, 1, PyDoc_STR("(MusicComponent mc, long masterTune) -> (ComponentResult _rv)")}, {"MusicGetDeviceConnection", (PyCFunction)Qt_MusicGetDeviceConnection, 1, PyDoc_STR("(MusicComponent mc, long index) -> (ComponentResult _rv, long id1, long id2)")}, {"MusicUseDeviceConnection", (PyCFunction)Qt_MusicUseDeviceConnection, 1, PyDoc_STR("(MusicComponent mc, long id1, long id2) -> (ComponentResult _rv)")}, {"MusicGetKnobSettingStrings", (PyCFunction)Qt_MusicGetKnobSettingStrings, 1, PyDoc_STR("(MusicComponent mc, long knobIndex, long isGlobal) -> (ComponentResult _rv, Handle settingsNames, Handle settingsCategoryLasts, Handle settingsCategoryNames)")}, {"MusicGetMIDIPorts", (PyCFunction)Qt_MusicGetMIDIPorts, 1, PyDoc_STR("(MusicComponent mc) -> (ComponentResult _rv, long inputPortCount, long outputPortCount)")}, {"MusicSendMIDI", (PyCFunction)Qt_MusicSendMIDI, 1, PyDoc_STR("(MusicComponent mc, long portIndex, MusicMIDIPacket mp) -> (ComponentResult _rv)")}, {"MusicSetOfflineTimeTo", (PyCFunction)Qt_MusicSetOfflineTimeTo, 1, PyDoc_STR("(MusicComponent mc, long newTimeStamp) -> (ComponentResult _rv)")}, {"MusicGetInfoText", (PyCFunction)Qt_MusicGetInfoText, 1, PyDoc_STR("(MusicComponent mc, long selector) -> (ComponentResult _rv, Handle textH, Handle styleH)")}, {"MusicGetInstrumentInfo", (PyCFunction)Qt_MusicGetInstrumentInfo, 1, PyDoc_STR("(MusicComponent mc, long getInstrumentInfoFlags) -> (ComponentResult _rv, InstrumentInfoListHandle infoListH)")}, {"MusicTask", (PyCFunction)Qt_MusicTask, 1, PyDoc_STR("(MusicComponent mc) -> (ComponentResult _rv)")}, {"MusicSetPartInstrumentNumberInterruptSafe", (PyCFunction)Qt_MusicSetPartInstrumentNumberInterruptSafe, 1, PyDoc_STR("(MusicComponent mc, long part, long instrumentNumber) -> (ComponentResult _rv)")}, {"MusicSetPartSoundLocalization", (PyCFunction)Qt_MusicSetPartSoundLocalization, 1, PyDoc_STR("(MusicComponent mc, long part, Handle data) -> (ComponentResult _rv)")}, {"MusicGenericConfigure", (PyCFunction)Qt_MusicGenericConfigure, 1, PyDoc_STR("(MusicComponent mc, long mode, long flags, long baseResID) -> (ComponentResult _rv)")}, {"MusicGenericGetKnobList", (PyCFunction)Qt_MusicGenericGetKnobList, 1, PyDoc_STR("(MusicComponent mc, long knobType) -> (ComponentResult _rv, GenericKnobDescriptionListHandle gkdlH)")}, {"MusicGenericSetResourceNumbers", (PyCFunction)Qt_MusicGenericSetResourceNumbers, 1, PyDoc_STR("(MusicComponent mc, Handle resourceIDH) -> (ComponentResult _rv)")}, {"MusicDerivedMIDISend", (PyCFunction)Qt_MusicDerivedMIDISend, 1, PyDoc_STR("(MusicComponent mc, MusicMIDIPacket packet) -> (ComponentResult _rv)")}, {"MusicDerivedOpenResFile", (PyCFunction)Qt_MusicDerivedOpenResFile, 1, PyDoc_STR("(MusicComponent mc) -> (ComponentResult _rv)")}, {"MusicDerivedCloseResFile", (PyCFunction)Qt_MusicDerivedCloseResFile, 1, PyDoc_STR("(MusicComponent mc, short resRefNum) -> (ComponentResult _rv)")}, {"NAUnregisterMusicDevice", (PyCFunction)Qt_NAUnregisterMusicDevice, 1, PyDoc_STR("(NoteAllocator na, long index) -> (ComponentResult _rv)")}, {"NASaveMusicConfiguration", (PyCFunction)Qt_NASaveMusicConfiguration, 1, PyDoc_STR("(NoteAllocator na) -> (ComponentResult _rv)")}, {"NAGetMIDIPorts", (PyCFunction)Qt_NAGetMIDIPorts, 1, PyDoc_STR("(NoteAllocator na) -> (ComponentResult _rv, QTMIDIPortListHandle inputPorts, QTMIDIPortListHandle outputPorts)")}, {"NATask", (PyCFunction)Qt_NATask, 1, PyDoc_STR("(NoteAllocator na) -> (ComponentResult _rv)")}, {"TuneSetHeader", (PyCFunction)Qt_TuneSetHeader, 1, PyDoc_STR("(TunePlayer tp, unsigned long * header) -> (ComponentResult _rv)")}, {"TuneGetTimeBase", (PyCFunction)Qt_TuneGetTimeBase, 1, PyDoc_STR("(TunePlayer tp) -> (ComponentResult _rv, TimeBase tb)")}, {"TuneSetTimeScale", (PyCFunction)Qt_TuneSetTimeScale, 1, PyDoc_STR("(TunePlayer tp, TimeScale scale) -> (ComponentResult _rv)")}, {"TuneGetTimeScale", (PyCFunction)Qt_TuneGetTimeScale, 1, PyDoc_STR("(TunePlayer tp) -> (ComponentResult _rv, TimeScale scale)")}, {"TuneInstant", (PyCFunction)Qt_TuneInstant, 1, PyDoc_STR("(TunePlayer tp, unsigned long tunePosition) -> (ComponentResult _rv, unsigned long tune)")}, {"TuneStop", (PyCFunction)Qt_TuneStop, 1, PyDoc_STR("(TunePlayer tp, long stopFlags) -> (ComponentResult _rv)")}, {"TuneSetVolume", (PyCFunction)Qt_TuneSetVolume, 1, PyDoc_STR("(TunePlayer tp, Fixed volume) -> (ComponentResult _rv)")}, {"TuneGetVolume", (PyCFunction)Qt_TuneGetVolume, 1, PyDoc_STR("(TunePlayer tp) -> (ComponentResult _rv)")}, {"TunePreroll", (PyCFunction)Qt_TunePreroll, 1, PyDoc_STR("(TunePlayer tp) -> (ComponentResult _rv)")}, {"TuneUnroll", (PyCFunction)Qt_TuneUnroll, 1, PyDoc_STR("(TunePlayer tp) -> (ComponentResult _rv)")}, {"TuneSetPartTranspose", (PyCFunction)Qt_TuneSetPartTranspose, 1, PyDoc_STR("(TunePlayer tp, unsigned long part, long transpose, long velocityShift) -> (ComponentResult _rv)")}, {"TuneGetNoteAllocator", (PyCFunction)Qt_TuneGetNoteAllocator, 1, PyDoc_STR("(TunePlayer tp) -> (NoteAllocator _rv)")}, {"TuneSetSofter", (PyCFunction)Qt_TuneSetSofter, 1, PyDoc_STR("(TunePlayer tp, long softer) -> (ComponentResult _rv)")}, {"TuneTask", (PyCFunction)Qt_TuneTask, 1, PyDoc_STR("(TunePlayer tp) -> (ComponentResult _rv)")}, {"TuneSetBalance", (PyCFunction)Qt_TuneSetBalance, 1, PyDoc_STR("(TunePlayer tp, long balance) -> (ComponentResult _rv)")}, {"TuneSetSoundLocalization", (PyCFunction)Qt_TuneSetSoundLocalization, 1, PyDoc_STR("(TunePlayer tp, Handle data) -> (ComponentResult _rv)")}, {"TuneSetHeaderWithSize", (PyCFunction)Qt_TuneSetHeaderWithSize, 1, PyDoc_STR("(TunePlayer tp, unsigned long * header, unsigned long size) -> (ComponentResult _rv)")}, {"TuneSetPartMix", (PyCFunction)Qt_TuneSetPartMix, 1, PyDoc_STR("(TunePlayer tp, unsigned long partNumber, long volume, long balance, long mixFlags) -> (ComponentResult _rv)")}, {"TuneGetPartMix", (PyCFunction)Qt_TuneGetPartMix, 1, PyDoc_STR("(TunePlayer tp, unsigned long partNumber) -> (ComponentResult _rv, long volumeOut, long balanceOut, long mixFlagsOut)")}, {"AlignWindow", (PyCFunction)Qt_AlignWindow, 1, PyDoc_STR("(WindowPtr wp, Boolean front) -> None")}, {"DragAlignedWindow", (PyCFunction)Qt_DragAlignedWindow, 1, PyDoc_STR("(WindowPtr wp, Point startPt, Rect boundsRect) -> None")}, {"MoviesTask", (PyCFunction)Qt_MoviesTask, 1, PyDoc_STR("(long maxMilliSecToUse) -> None")}, #endif /* __LP64__ */ {NULL, NULL, 0} }; void init_Qt(void) { PyObject *m; #ifndef __LP64__ PyObject *d; PyMac_INIT_TOOLBOX_OBJECT_NEW(Track, TrackObj_New); PyMac_INIT_TOOLBOX_OBJECT_CONVERT(Track, TrackObj_Convert); PyMac_INIT_TOOLBOX_OBJECT_NEW(Movie, MovieObj_New); PyMac_INIT_TOOLBOX_OBJECT_CONVERT(Movie, MovieObj_Convert); PyMac_INIT_TOOLBOX_OBJECT_NEW(MovieController, MovieCtlObj_New); PyMac_INIT_TOOLBOX_OBJECT_CONVERT(MovieController, MovieCtlObj_Convert); PyMac_INIT_TOOLBOX_OBJECT_NEW(TimeBase, TimeBaseObj_New); PyMac_INIT_TOOLBOX_OBJECT_CONVERT(TimeBase, TimeBaseObj_Convert); PyMac_INIT_TOOLBOX_OBJECT_NEW(UserData, UserDataObj_New); PyMac_INIT_TOOLBOX_OBJECT_CONVERT(UserData, UserDataObj_Convert); PyMac_INIT_TOOLBOX_OBJECT_NEW(Media, MediaObj_New); PyMac_INIT_TOOLBOX_OBJECT_CONVERT(Media, MediaObj_Convert); #endif /* __LP64__ */ m = Py_InitModule("_Qt", Qt_methods); #ifndef __LP64__ d = PyModule_GetDict(m); Qt_Error = PyMac_GetOSErrException(); if (Qt_Error == NULL || PyDict_SetItemString(d, "Error", Qt_Error) != 0) return; IdleManager_Type.ob_type = &PyType_Type; if (PyType_Ready(&IdleManager_Type) < 0) return; Py_INCREF(&IdleManager_Type); PyModule_AddObject(m, "IdleManager", (PyObject *)&IdleManager_Type); /* Backward-compatible name */ Py_INCREF(&IdleManager_Type); PyModule_AddObject(m, "IdleManagerType", (PyObject *)&IdleManager_Type); MovieController_Type.ob_type = &PyType_Type; if (PyType_Ready(&MovieController_Type) < 0) return; Py_INCREF(&MovieController_Type); PyModule_AddObject(m, "MovieController", (PyObject *)&MovieController_Type); /* Backward-compatible name */ Py_INCREF(&MovieController_Type); PyModule_AddObject(m, "MovieControllerType", (PyObject *)&MovieController_Type); TimeBase_Type.ob_type = &PyType_Type; if (PyType_Ready(&TimeBase_Type) < 0) return; Py_INCREF(&TimeBase_Type); PyModule_AddObject(m, "TimeBase", (PyObject *)&TimeBase_Type); /* Backward-compatible name */ Py_INCREF(&TimeBase_Type); PyModule_AddObject(m, "TimeBaseType", (PyObject *)&TimeBase_Type); UserData_Type.ob_type = &PyType_Type; if (PyType_Ready(&UserData_Type) < 0) return; Py_INCREF(&UserData_Type); PyModule_AddObject(m, "UserData", (PyObject *)&UserData_Type); /* Backward-compatible name */ Py_INCREF(&UserData_Type); PyModule_AddObject(m, "UserDataType", (PyObject *)&UserData_Type); Media_Type.ob_type = &PyType_Type; if (PyType_Ready(&Media_Type) < 0) return; Py_INCREF(&Media_Type); PyModule_AddObject(m, "Media", (PyObject *)&Media_Type); /* Backward-compatible name */ Py_INCREF(&Media_Type); PyModule_AddObject(m, "MediaType", (PyObject *)&Media_Type); Track_Type.ob_type = &PyType_Type; if (PyType_Ready(&Track_Type) < 0) return; Py_INCREF(&Track_Type); PyModule_AddObject(m, "Track", (PyObject *)&Track_Type); /* Backward-compatible name */ Py_INCREF(&Track_Type); PyModule_AddObject(m, "TrackType", (PyObject *)&Track_Type); Movie_Type.ob_type = &PyType_Type; if (PyType_Ready(&Movie_Type) < 0) return; Py_INCREF(&Movie_Type); PyModule_AddObject(m, "Movie", (PyObject *)&Movie_Type); /* Backward-compatible name */ Py_INCREF(&Movie_Type); PyModule_AddObject(m, "MovieType", (PyObject *)&Movie_Type); SGOutput_Type.ob_type = &PyType_Type; if (PyType_Ready(&SGOutput_Type) < 0) return; Py_INCREF(&SGOutput_Type); PyModule_AddObject(m, "SGOutput", (PyObject *)&SGOutput_Type); /* Backward-compatible name */ Py_INCREF(&SGOutput_Type); PyModule_AddObject(m, "SGOutputType", (PyObject *)&SGOutput_Type); #endif /* __LP64__ */ } /* ========================= End module _Qt ========================= */
mollstam/UnrealPy
UnrealPyEmbed/Development/Python/2015.08.07-Python2710-x64-Source-vs2015/Python27/Source/Python-2.7.10/Mac/Modules/qt/_Qtmodule.c
C
mit
940,221
/* * jQuery validation plug-in 1.7 * * http://bassistance.de/jquery-plugins/jquery-plugin-validation/ * http://docs.jquery.com/Plugins/Validation * * Copyright (c) 2006 - 2008 Jörn Zaefferer * * $Id: jquery.validate.js 6403 2009-06-17 14:27:16Z joern.zaefferer $ * * Dual licensed under the MIT and GPL licenses: * http://www.opensource.org/licenses/mit-license.php * http://www.gnu.org/licenses/gpl.html */ eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('(7($){$.H($.2L,{17:7(d){l(!6.F){d&&d.2q&&2T.1z&&1z.52("3y 3p, 4L\'t 17, 64 3y");8}p c=$.19(6[0],\'v\');l(c){8 c}c=2w $.v(d,6[0]);$.19(6[0],\'v\',c);l(c.q.3x){6.3s("1w, 3i").1o(".4E").3e(7(){c.3b=w});l(c.q.35){6.3s("1w, 3i").1o(":2s").3e(7(){c.1Z=6})}6.2s(7(b){l(c.q.2q)b.5J();7 1T(){l(c.q.35){l(c.1Z){p a=$("<1w 1V=\'5r\'/>").1s("u",c.1Z.u).33(c.1Z.Z).51(c.U)}c.q.35.V(c,c.U);l(c.1Z){a.3D()}8 N}8 w}l(c.3b){c.3b=N;8 1T()}l(c.L()){l(c.1b){c.1l=w;8 N}8 1T()}12{c.2l();8 N}})}8 c},J:7(){l($(6[0]).2W(\'L\')){8 6.17().L()}12{p b=w;p a=$(6[0].L).17();6.P(7(){b&=a.I(6)});8 b}},4D:7(c){p d={},$I=6;$.P(c.1I(/\\s/),7(a,b){d[b]=$I.1s(b);$I.6d(b)});8 d},1i:7(h,k){p f=6[0];l(h){p i=$.19(f.L,\'v\').q;p d=i.1i;p c=$.v.36(f);23(h){1e"1d":$.H(c,$.v.1X(k));d[f.u]=c;l(k.G)i.G[f.u]=$.H(i.G[f.u],k.G);31;1e"3D":l(!k){T d[f.u];8 c}p e={};$.P(k.1I(/\\s/),7(a,b){e[b]=c[b];T c[b]});8 e}}p g=$.v.41($.H({},$.v.3Y(f),$.v.3V(f),$.v.3T(f),$.v.36(f)),f);l(g.15){p j=g.15;T g.15;g=$.H({15:j},g)}8 g}});$.H($.5p[":"],{5n:7(a){8!$.1p(""+a.Z)},5g:7(a){8!!$.1p(""+a.Z)},5f:7(a){8!a.4h}});$.v=7(b,a){6.q=$.H(w,{},$.v.3d,b);6.U=a;6.3I()};$.v.W=7(c,b){l(R.F==1)8 7(){p a=$.3F(R);a.4V(c);8 $.v.W.1Q(6,a)};l(R.F>2&&b.2c!=3B){b=$.3F(R).4Q(1)}l(b.2c!=3B){b=[b]}$.P(b,7(i,n){c=c.1u(2w 3t("\\\\{"+i+"\\\\}","g"),n)});8 c};$.H($.v,{3d:{G:{},2a:{},1i:{},1c:"3r",28:"J",2F:"4P",2l:w,3o:$([]),2D:$([]),3x:w,3l:[],3k:N,4O:7(a){6.3U=a;l(6.q.4K&&!6.4J){6.q.1K&&6.q.1K.V(6,a,6.q.1c,6.q.28);6.1M(a).2A()}},4C:7(a){l(!6.1E(a)&&(a.u 11 6.1a||!6.K(a))){6.I(a)}},6c:7(a){l(a.u 11 6.1a||a==6.4A){6.I(a)}},68:7(a){l(a.u 11 6.1a)6.I(a);12 l(a.4x.u 11 6.1a)6.I(a.4x)},39:7(a,c,b){$(a).22(c).2v(b)},1K:7(a,c,b){$(a).2v(c).22(b)}},63:7(a){$.H($.v.3d,a)},G:{15:"61 4r 2W 15.",1q:"M 2O 6 4r.",1J:"M O a J 1J 5X.",1B:"M O a J 5W.",1A:"M O a J 1A.",2j:"M O a J 1A (5Q).",1G:"M O a J 1G.",1P:"M O 5O 1P.",2f:"M O a J 5L 5I 1G.",2o:"M O 47 5F Z 5B.",43:"M O a Z 5z a J 5x.",18:$.v.W("M O 3K 5v 2X {0} 2V."),1y:$.v.W("M O 5t 5s {0} 2V."),2i:$.v.W("M O a Z 3W {0} 3O {1} 2V 5o."),2r:$.v.W("M O a Z 3W {0} 3O {1}."),1C:$.v.W("M O a Z 5j 2X 46 3M 3L {0}."),1t:$.v.W("M O a Z 5d 2X 46 3M 3L {0}.")},3J:N,5a:{3I:7(){6.24=$(6.q.2D);6.4t=6.24.F&&6.24||$(6.U);6.2x=$(6.q.3o).1d(6.q.2D);6.1a={};6.54={};6.1b=0;6.1h={};6.1f={};6.21();p f=(6.2a={});$.P(6.q.2a,7(d,c){$.P(c.1I(/\\s/),7(a,b){f[b]=d})});p e=6.q.1i;$.P(e,7(b,a){e[b]=$.v.1X(a)});7 2N(a){p b=$.19(6[0].L,"v"),3c="4W"+a.1V.1u(/^17/,"");b.q[3c]&&b.q[3c].V(b,6[0])}$(6.U).2K(":3E, :4U, :4T, 2e, 4S","2d 2J 4R",2N).2K(":3C, :3A, 2e, 3z","3e",2N);l(6.q.3w)$(6.U).2I("1f-L.17",6.q.3w)},L:7(){6.3v();$.H(6.1a,6.1v);6.1f=$.H({},6.1v);l(!6.J())$(6.U).3u("1f-L",[6]);6.1m();8 6.J()},3v:7(){6.2H();Q(p i=0,14=(6.2b=6.14());14[i];i++){6.29(14[i])}8 6.J()},I:7(a){a=6.2G(a);6.4A=a;6.2P(a);6.2b=$(a);p b=6.29(a);l(b){T 6.1f[a.u]}12{6.1f[a.u]=w}l(!6.3q()){6.13=6.13.1d(6.2x)}6.1m();8 b},1m:7(b){l(b){$.H(6.1v,b);6.S=[];Q(p c 11 b){6.S.27({1j:b[c],I:6.26(c)[0]})}6.1n=$.3n(6.1n,7(a){8!(a.u 11 b)})}6.q.1m?6.q.1m.V(6,6.1v,6.S):6.3m()},2S:7(){l($.2L.2S)$(6.U).2S();6.1a={};6.2H();6.2Q();6.14().2v(6.q.1c)},3q:7(){8 6.2k(6.1f)},2k:7(a){p b=0;Q(p i 11 a)b++;8 b},2Q:7(){6.2C(6.13).2A()},J:7(){8 6.3j()==0},3j:7(){8 6.S.F},2l:7(){l(6.q.2l){3Q{$(6.3h()||6.S.F&&6.S[0].I||[]).1o(":4N").3g().4M("2d")}3f(e){}}},3h:7(){p a=6.3U;8 a&&$.3n(6.S,7(n){8 n.I.u==a.u}).F==1&&a},14:7(){p a=6,2B={};8 $([]).1d(6.U.14).1o(":1w").1L(":2s, :21, :4I, [4H]").1L(6.q.3l).1o(7(){!6.u&&a.q.2q&&2T.1z&&1z.3r("%o 4G 3K u 4F",6);l(6.u 11 2B||!a.2k($(6).1i()))8 N;2B[6.u]=w;8 w})},2G:7(a){8 $(a)[0]},2z:7(){8 $(6.q.2F+"."+6.q.1c,6.4t)},21:7(){6.1n=[];6.S=[];6.1v={};6.1k=$([]);6.13=$([]);6.2b=$([])},2H:7(){6.21();6.13=6.2z().1d(6.2x)},2P:7(a){6.21();6.13=6.1M(a)},29:7(d){d=6.2G(d);l(6.1E(d)){d=6.26(d.u)[0]}p a=$(d).1i();p c=N;Q(Y 11 a){p b={Y:Y,2n:a[Y]};3Q{p f=$.v.1N[Y].V(6,d.Z.1u(/\\r/g,""),d,b.2n);l(f=="1S-1Y"){c=w;6g}c=N;l(f=="1h"){6.13=6.13.1L(6.1M(d));8}l(!f){6.4B(d,b);8 N}}3f(e){6.q.2q&&2T.1z&&1z.6f("6e 6b 6a 69 I "+d.4z+", 29 47 \'"+b.Y+"\' Y",e);67 e;}}l(c)8;l(6.2k(a))6.1n.27(d);8 w},4y:7(a,b){l(!$.1H)8;p c=6.q.3a?$(a).1H()[6.q.3a]:$(a).1H();8 c&&c.G&&c.G[b]},4w:7(a,b){p m=6.q.G[a];8 m&&(m.2c==4v?m:m[b])},4u:7(){Q(p i=0;i<R.F;i++){l(R[i]!==20)8 R[i]}8 20},2u:7(a,b){8 6.4u(6.4w(a.u,b),6.4y(a,b),!6.q.3k&&a.62||20,$.v.G[b],"<4s>60: 5Z 1j 5Y Q "+a.u+"</4s>")},4B:7(b,a){p c=6.2u(b,a.Y),37=/\\$?\\{(\\d+)\\}/g;l(1g c=="7"){c=c.V(6,a.2n,b)}12 l(37.16(c)){c=1F.W(c.1u(37,\'{$1}\'),a.2n)}6.S.27({1j:c,I:b});6.1v[b.u]=c;6.1a[b.u]=c},2C:7(a){l(6.q.2t)a=a.1d(a.4q(6.q.2t));8 a},3m:7(){Q(p i=0;6.S[i];i++){p a=6.S[i];6.q.39&&6.q.39.V(6,a.I,6.q.1c,6.q.28);6.2E(a.I,a.1j)}l(6.S.F){6.1k=6.1k.1d(6.2x)}l(6.q.1x){Q(p i=0;6.1n[i];i++){6.2E(6.1n[i])}}l(6.q.1K){Q(p i=0,14=6.4p();14[i];i++){6.q.1K.V(6,14[i],6.q.1c,6.q.28)}}6.13=6.13.1L(6.1k);6.2Q();6.2C(6.1k).4o()},4p:7(){8 6.2b.1L(6.4n())},4n:7(){8 $(6.S).4m(7(){8 6.I})},2E:7(a,c){p b=6.1M(a);l(b.F){b.2v().22(6.q.1c);b.1s("4l")&&b.4k(c)}12{b=$("<"+6.q.2F+"/>").1s({"Q":6.34(a),4l:w}).22(6.q.1c).4k(c||"");l(6.q.2t){b=b.2A().4o().5V("<"+6.q.2t+"/>").4q()}l(!6.24.5S(b).F)6.q.4j?6.q.4j(b,$(a)):b.5R(a)}l(!c&&6.q.1x){b.3E("");1g 6.q.1x=="1D"?b.22(6.q.1x):6.q.1x(b)}6.1k=6.1k.1d(b)},1M:7(a){p b=6.34(a);8 6.2z().1o(7(){8 $(6).1s(\'Q\')==b})},34:7(a){8 6.2a[a.u]||(6.1E(a)?a.u:a.4z||a.u)},1E:7(a){8/3C|3A/i.16(a.1V)},26:7(d){p c=6.U;8 $(4i.5P(d)).4m(7(a,b){8 b.L==c&&b.u==d&&b||4g})},1O:7(a,b){23(b.4f.4e()){1e\'2e\':8 $("3z:3p",b).F;1e\'1w\':l(6.1E(b))8 6.26(b.u).1o(\':4h\').F}8 a.F},4d:7(b,a){8 6.32[1g b]?6.32[1g b](b,a):w},32:{"5N":7(b,a){8 b},"1D":7(b,a){8!!$(b,a.L).F},"7":7(b,a){8 b(a)}},K:7(a){8!$.v.1N.15.V(6,$.1p(a.Z),a)&&"1S-1Y"},4c:7(a){l(!6.1h[a.u]){6.1b++;6.1h[a.u]=w}},4b:7(a,b){6.1b--;l(6.1b<0)6.1b=0;T 6.1h[a.u];l(b&&6.1b==0&&6.1l&&6.L()){$(6.U).2s();6.1l=N}12 l(!b&&6.1b==0&&6.1l){$(6.U).3u("1f-L",[6]);6.1l=N}},2h:7(a){8 $.19(a,"2h")||$.19(a,"2h",{2M:4g,J:w,1j:6.2u(a,"1q")})}},1R:{15:{15:w},1J:{1J:w},1B:{1B:w},1A:{1A:w},2j:{2j:w},4a:{4a:w},1G:{1G:w},49:{49:w},1P:{1P:w},2f:{2f:w}},48:7(a,b){a.2c==4v?6.1R[a]=b:$.H(6.1R,a)},3V:7(b){p a={};p c=$(b).1s(\'5H\');c&&$.P(c.1I(\' \'),7(){l(6 11 $.v.1R){$.H(a,$.v.1R[6])}});8 a},3T:7(c){p a={};p d=$(c);Q(Y 11 $.v.1N){p b=d.1s(Y);l(b){a[Y]=b}}l(a.18&&/-1|5G|5C/.16(a.18)){T a.18}8 a},3Y:7(a){l(!$.1H)8{};p b=$.19(a.L,\'v\').q.3a;8 b?$(a).1H()[b]:$(a).1H()},36:7(b){p a={};p c=$.19(b.L,\'v\');l(c.q.1i){a=$.v.1X(c.q.1i[b.u])||{}}8 a},41:7(d,e){$.P(d,7(c,b){l(b===N){T d[c];8}l(b.2R||b.2p){p a=w;23(1g b.2p){1e"1D":a=!!$(b.2p,e.L).F;31;1e"7":a=b.2p.V(e,e);31}l(a){d[c]=b.2R!==20?b.2R:w}12{T d[c]}}});$.P(d,7(a,b){d[a]=$.44(b)?b(e):b});$.P([\'1y\',\'18\',\'1t\',\'1C\'],7(){l(d[6]){d[6]=2Z(d[6])}});$.P([\'2i\',\'2r\'],7(){l(d[6]){d[6]=[2Z(d[6][0]),2Z(d[6][1])]}});l($.v.3J){l(d.1t&&d.1C){d.2r=[d.1t,d.1C];T d.1t;T d.1C}l(d.1y&&d.18){d.2i=[d.1y,d.18];T d.1y;T d.18}}l(d.G){T d.G}8 d},1X:7(a){l(1g a=="1D"){p b={};$.P(a.1I(/\\s/),7(){b[6]=w});a=b}8 a},5A:7(c,a,b){$.v.1N[c]=a;$.v.G[c]=b!=20?b:$.v.G[c];l(a.F<3){$.v.48(c,$.v.1X(c))}},1N:{15:7(c,d,a){l(!6.4d(a,d))8"1S-1Y";23(d.4f.4e()){1e\'2e\':p b=$(d).33();8 b&&b.F>0;1e\'1w\':l(6.1E(d))8 6.1O(c,d)>0;5y:8 $.1p(c).F>0}},1q:7(f,h,j){l(6.K(h))8"1S-1Y";p g=6.2h(h);l(!6.q.G[h.u])6.q.G[h.u]={};g.40=6.q.G[h.u].1q;6.q.G[h.u].1q=g.1j;j=1g j=="1D"&&{1B:j}||j;l(g.2M!==f){g.2M=f;p k=6;6.4c(h);p i={};i[h.u]=f;$.2U($.H(w,{1B:j,3Z:"2Y",3X:"17"+h.u,5w:"5u",19:i,1x:7(d){k.q.G[h.u].1q=g.40;p b=d===w;l(b){p e=k.1l;k.2P(h);k.1l=e;k.1n.27(h);k.1m()}12{p a={};p c=(g.1j=d||k.2u(h,"1q"));a[h.u]=$.44(c)?c(f):c;k.1m(a)}g.J=b;k.4b(h,b)}},j));8"1h"}12 l(6.1h[h.u]){8"1h"}8 g.J},1y:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)>=a},18:7(b,c,a){8 6.K(c)||6.1O($.1p(b),c)<=a},2i:7(b,d,a){p c=6.1O($.1p(b),d);8 6.K(d)||(c>=a[0]&&c<=a[1])},1t:7(b,c,a){8 6.K(c)||b>=a},1C:7(b,c,a){8 6.K(c)||b<=a},2r:7(b,c,a){8 6.K(c)||(b>=a[0]&&b<=a[1])},1J:7(a,b){8 6.K(b)||/^((([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+(\\.([a-z]|\\d|[!#\\$%&\'\\*\\+\\-\\/=\\?\\^X`{\\|}~]|[\\E-\\B\\C-\\x\\A-\\y])+)*)|((\\3S)((((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(([\\3P-\\5q\\45\\42\\5D-\\5E\\3N]|\\5m|[\\5l-\\5k]|[\\5i-\\5K]|[\\E-\\B\\C-\\x\\A-\\y])|(\\\\([\\3P-\\1W\\45\\42\\30-\\3N]|[\\E-\\B\\C-\\x\\A-\\y]))))*(((\\2m|\\1W)*(\\30\\3R))?(\\2m|\\1W)+)?(\\3S)))@((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?$/i.16(a)},1B:7(a,b){8 6.K(b)||/^(5h?|5M):\\/\\/(((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:)*@)?(((\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])\\.(\\d|[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5]))|((([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|\\d|[\\E-\\B\\C-\\x\\A-\\y])))\\.)+(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])|(([a-z]|[\\E-\\B\\C-\\x\\A-\\y])([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])*([a-z]|[\\E-\\B\\C-\\x\\A-\\y])))\\.?)(:\\d*)?)(\\/((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)+(\\/(([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)*)*)?)?(\\?((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|[\\5e-\\5T]|\\/|\\?)*)?(\\#((([a-z]|\\d|-|\\.|X|~|[\\E-\\B\\C-\\x\\A-\\y])|(%[\\1U-f]{2})|[!\\$&\'\\(\\)\\*\\+,;=]|:|@)|\\/|\\?)*)?$/i.16(a)},1A:7(a,b){8 6.K(b)||!/5U|5c/.16(2w 5b(a))},2j:7(a,b){8 6.K(b)||/^\\d{4}[\\/-]\\d{1,2}[\\/-]\\d{1,2}$/.16(a)},1G:7(a,b){8 6.K(b)||/^-?(?:\\d+|\\d{1,3}(?:,\\d{3})+)(?:\\.\\d+)?$/.16(a)},1P:7(a,b){8 6.K(b)||/^\\d+$/.16(a)},2f:7(b,e){l(6.K(e))8"1S-1Y";l(/[^0-9-]+/.16(b))8 N;p a=0,d=0,2g=N;b=b.1u(/\\D/g,"");Q(p n=b.F-1;n>=0;n--){p c=b.59(n);p d=58(c,10);l(2g){l((d*=2)>9)d-=9}a+=d;2g=!2g}8(a%10)==0},43:7(b,c,a){a=1g a=="1D"?a.1u(/,/g,\'|\'):"57|56?g|55";8 6.K(c)||b.65(2w 3t(".("+a+")$","i"))},2o:7(c,d,a){p b=$(a).66(".17-2o").2I("3H.17-2o",7(){$(d).J()});8 c==b.33()}}});$.W=$.v.W})(1F);(7($){p c=$.2U;p d={};$.2U=7(a){a=$.H(a,$.H({},$.53,a));p b=a.3X;l(a.3Z=="2Y"){l(d[b]){d[b].2Y()}8(d[b]=c.1Q(6,R))}8 c.1Q(6,R)}})(1F);(7($){l(!1F.1r.38.2d&&!1F.1r.38.2J&&4i.3G){$.P({3g:\'2d\',3H:\'2J\'},7(b,a){$.1r.38[a]={50:7(){6.3G(b,2y,w)},4Z:7(){6.4Y(b,2y,w)},2y:7(e){R[0]=$.1r.2O(e);R[0].1V=a;8 $.1r.1T.1Q(6,R)}};7 2y(e){e=$.1r.2O(e);e.1V=a;8 $.1r.1T.V(6,e)}})};$.H($.2L,{2K:7(d,e,c){8 6.2I(e,7(a){p b=$(a.4X);l(b.2W(d)){8 c.1Q(b,R)}})}})})(1F);',62,389,'||||||this|function|return|||||||||||||if||||var|settings||||name|validator|true|uFDCF|uFFEF||uFDF0|uD7FF|uF900||u00A0|length|messages|extend|element|valid|optional|form|Please|false|enter|each|for|arguments|errorList|delete|currentForm|call|format|_|method|value||in|else|toHide|elements|required|test|validate|maxlength|data|submitted|pendingRequest|errorClass|add|case|invalid|typeof|pending|rules|message|toShow|formSubmitted|showErrors|successList|filter|trim|remote|event|attr|min|replace|errorMap|input|success|minlength|console|date|url|max|string|checkable|jQuery|number|metadata|split|email|unhighlight|not|errorsFor|methods|getLength|digits|apply|classRuleSettings|dependency|handle|da|type|x09|normalizeRule|mismatch|submitButton|undefined|reset|addClass|switch|labelContainer||findByName|push|validClass|check|groups|currentElements|constructor|focusin|select|creditcard|bEven|previousValue|rangelength|dateISO|objectLength|focusInvalid|x20|parameters|equalTo|depends|debug|range|submit|wrapper|defaultMessage|removeClass|new|containers|handler|errors|hide|rulesCache|addWrapper|errorLabelContainer|showLabel|errorElement|clean|prepareForm|bind|focusout|validateDelegate|fn|old|delegate|fix|prepareElement|hideErrors|param|resetForm|window|ajax|characters|is|than|abort|Number|x0d|break|dependTypes|val|idOrName|submitHandler|staticRules|theregex|special|highlight|meta|cancelSubmit|eventType|defaults|click|catch|focus|findLastActive|button|size|ignoreTitle|ignore|defaultShowErrors|grep|errorContainer|selected|numberOfInvalids|error|find|RegExp|triggerHandler|checkForm|invalidHandler|onsubmit|nothing|option|checkbox|Array|radio|remove|text|makeArray|addEventListener|blur|init|autoCreateRanges|no|to|equal|x7f|and|x01|try|x0a|x22|attributeRules|lastActive|classRules|between|port|metadataRules|mode|originalMessage|normalizeRules|x0c|accept|isFunction|x0b|or|the|addClassRules|numberDE|dateDE|stopRequest|startRequest|depend|toLowerCase|nodeName|null|checked|document|errorPlacement|html|generated|map|invalidElements|show|validElements|parent|field|strong|errorContext|findDefined|String|customMessage|parentNode|customMetaMessage|id|lastElement|formatAndAdd|onfocusout|removeAttrs|cancel|assigned|has|disabled|image|blockFocusCleanup|focusCleanup|can|trigger|visible|onfocusin|label|slice|keyup|textarea|file|password|unshift|on|target|removeEventListener|teardown|setup|appendTo|warn|ajaxSettings|valueCache|gif|jpe|png|parseInt|charAt|prototype|Date|NaN|greater|uE000|unchecked|filled|https|x5d|less|x5b|x23|x21|blank|long|expr|x08|hidden|least|at|json|more|dataType|extension|default|with|addMethod|again|524288|x0e|x1f|same|2147483647|class|card|preventDefault|x7e|credit|ftp|boolean|only|getElementsByName|ISO|insertAfter|append|uF8FF|Invalid|wrap|URL|address|defined|No|Warning|This|title|setDefaults|returning|match|unbind|throw|onclick|checking|when|occured|onkeyup|removeAttr|exception|log|continue'.split('|'),0,{}))
kncolitsys/Xindi
admin/assets/js/jquery.validate.pack.js
JavaScript
mit
14,381
<?php /* * This file is part of the Sylius package. * * (c) Paweł Jędrzejewski * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace spec\Sylius\Component\Core\Promotion\Filter; use PhpSpec\ObjectBehavior; use Sylius\Component\Core\Model\OrderItemInterface; use Sylius\Component\Core\Model\ProductInterface; use Sylius\Component\Core\Model\ProductTaxonInterface; use Sylius\Component\Core\Model\TaxonInterface; use Sylius\Component\Core\Promotion\Filter\FilterInterface; use Sylius\Component\Core\Promotion\Filter\TaxonFilter; /** * @author Mateusz Zalewski <mateusz.zalewski@lakion.com> */ final class TaxonFilterSpec extends ObjectBehavior { function it_is_initializable() { $this->shouldHaveType(TaxonFilter::class); } function it_implements_a_filter_interface() { $this->shouldImplement(FilterInterface::class); } function it_filters_passed_order_items_with_given_configuration( OrderItemInterface $item1, OrderItemInterface $item2, ProductInterface $product1, ProductInterface $product2, TaxonInterface $taxon1, TaxonInterface $taxon2, ProductTaxonInterface $productTaxon1, ProductTaxonInterface $productTaxon2 ) { $item1->getProduct()->willReturn($product1); $product1->getProductTaxons()->willReturn([$productTaxon1]); $productTaxon1->getTaxon()->willReturn($taxon1); $taxon1->getCode()->willReturn('taxon1'); $item2->getProduct()->willReturn($product2); $product2->getProductTaxons()->willReturn([$productTaxon2]); $productTaxon2->getTaxon()->willReturn($taxon2); $taxon2->getCode()->willReturn('taxon2'); $this->filter([$item1, $item2], ['filters' => ['taxons_filter' => ['taxons' => ['taxon1']]]])->shouldReturn([$item1]); } function it_returns_all_items_if_configuration_is_invalid(OrderItemInterface $item) { $this->filter([$item], [])->shouldReturn([$item]); } function it_returns_all_items_if_configuration_is_empty(OrderItemInterface $item) { $this->filter([$item], ['filters' => ['taxons_filter' => ['taxons' => []]]])->shouldReturn([$item]); } }
cdaguerre/Sylius
src/Sylius/Component/Core/spec/Promotion/Filter/TaxonFilterSpec.php
PHP
mit
2,298
/* @flow */ import { getStyle, normalizeStyleBinding } from 'web/util/style' import { cached, camelize, extend, isDef, isUndef, hyphenate } from 'shared/util' const cssVarRE = /^--/ const importantRE = /\s*!important$/ const setProp = (el, name, val) => { /* istanbul ignore if */ if (cssVarRE.test(name)) { el.style.setProperty(name, val) } else if (importantRE.test(val)) { el.style.setProperty(hyphenate(name), val.replace(importantRE, ''), 'important') } else { const normalizedName = normalize(name) if (Array.isArray(val)) { // Support values array created by autoprefixer, e.g. // {display: ["-webkit-box", "-ms-flexbox", "flex"]} // Set them one by one, and the browser will only set those it can recognize for (let i = 0, len = val.length; i < len; i++) { el.style[normalizedName] = val[i] } } else { el.style[normalizedName] = val } } } const vendorNames = ['Webkit', 'Moz', 'ms'] let emptyStyle const normalize = cached(function (prop) { emptyStyle = emptyStyle || document.createElement('div').style prop = camelize(prop) if (prop !== 'filter' && (prop in emptyStyle)) { return prop } const capName = prop.charAt(0).toUpperCase() + prop.slice(1) for (let i = 0; i < vendorNames.length; i++) { const name = vendorNames[i] + capName if (name in emptyStyle) { return name } } }) function updateStyle (oldVnode: VNodeWithData, vnode: VNodeWithData) { const data = vnode.data const oldData = oldVnode.data if (isUndef(data.staticStyle) && isUndef(data.style) && isUndef(oldData.staticStyle) && isUndef(oldData.style) ) { return } let cur, name const el: any = vnode.elm const oldStaticStyle: any = oldData.staticStyle const oldStyleBinding: any = oldData.normalizedStyle || oldData.style || {} // if static style exists, stylebinding already merged into it when doing normalizeStyleData const oldStyle = oldStaticStyle || oldStyleBinding const style = normalizeStyleBinding(vnode.data.style) || {} // store normalized style under a different key for next diff // make sure to clone it if it's reactive, since the user likely wants // to mutate it. vnode.data.normalizedStyle = isDef(style.__ob__) ? extend({}, style) : style const newStyle = getStyle(vnode, true) for (name in oldStyle) { if (isUndef(newStyle[name])) { setProp(el, name, '') } } for (name in newStyle) { cur = newStyle[name] if (cur !== oldStyle[name]) { // ie9 setting to null has no effect, must use empty string setProp(el, name, cur == null ? '' : cur) } } } export default { create: updateStyle, update: updateStyle }
venkatramanm/swf-all
swf/src/main/resources/scripts/node_modules/vue/src/platforms/web/runtime/modules/style.js
JavaScript
mit
2,724
using System; using Nop.Core.Domain.Customers; namespace Nop.Core.Domain.Forums { /// <summary> /// Represents a forum subscription item /// </summary> public partial class ForumSubscription : BaseEntity { /// <summary> /// Gets or sets the forum subscription identifier /// </summary> public Guid SubscriptionGuid { get; set; } /// <summary> /// Gets or sets the customer identifier /// </summary> public int CustomerId { get; set; } /// <summary> /// Gets or sets the forum identifier /// </summary> public int ForumId { get; set; } /// <summary> /// Gets or sets the topic identifier /// </summary> public int TopicId { get; set; } /// <summary> /// Gets or sets the date and time of instance creation /// </summary> public DateTime CreatedOnUtc { get; set; } /// <summary> /// Gets the customer /// </summary> public virtual Customer Customer { get; set; } } }
shoy160/nopCommerce
Libraries/Nop.Core/Domain/Forums/ForumSubscription.cs
C#
mit
1,090
<?php namespace Illuminate\Http; use Closure; use ArrayAccess; use SplFileInfo; use RuntimeException; use Symfony\Component\HttpFoundation\ParameterBag; use Symfony\Component\HttpFoundation\Request as SymfonyRequest; class Request extends SymfonyRequest implements ArrayAccess { /** * The decoded JSON content for the request. * * @var string */ protected $json; /** * The user resolver callback. * * @var \Closure */ protected $userResolver; /** * The route resolver callback. * * @var \Closure */ protected $routeResolver; /** * Create a new Illuminate HTTP request from server variables. * * @return static */ public static function capture() { static::enableHttpMethodParameterOverride(); return static::createFromBase(SymfonyRequest::createFromGlobals()); } /** * Return the Request instance. * * @return $this */ public function instance() { return $this; } /** * Get the request method. * * @return string */ public function method() { return $this->getMethod(); } /** * Get the root URL for the application. * * @return string */ public function root() { return rtrim($this->getSchemeAndHttpHost().$this->getBaseUrl(), '/'); } /** * Get the URL (no query string) for the request. * * @return string */ public function url() { return rtrim(preg_replace('/\?.*/', '', $this->getUri()), '/'); } /** * Get the full URL for the request. * * @return string */ public function fullUrl() { $query = $this->getQueryString(); return $query ? $this->url().'?'.$query : $this->url(); } /** * Get the current path info for the request. * * @return string */ public function path() { $pattern = trim($this->getPathInfo(), '/'); return $pattern == '' ? '/' : $pattern; } /** * Get the current encoded path info for the request. * * @return string */ public function decodedPath() { return rawurldecode($this->path()); } /** * Get a segment from the URI (1 based index). * * @param int $index * @param mixed $default * @return string */ public function segment($index, $default = null) { return array_get($this->segments(), $index - 1, $default); } /** * Get all of the segments for the request path. * * @return array */ public function segments() { $segments = explode('/', $this->path()); return array_values(array_filter($segments, function ($v) { return $v != ''; })); } /** * Determine if the current request URI matches a pattern. * * @param mixed string * @return bool */ public function is() { foreach (func_get_args() as $pattern) { if (str_is($pattern, urldecode($this->path()))) { return true; } } return false; } /** * Determine if the request is the result of an AJAX call. * * @return bool */ public function ajax() { return $this->isXmlHttpRequest(); } /** * Determine if the request is the result of an PJAX call. * * @return bool */ public function pjax() { return $this->headers->get('X-PJAX') == true; } /** * Determine if the request is over HTTPS. * * @return bool */ public function secure() { return $this->isSecure(); } /** * Returns the client IP address. * * @return string */ public function ip() { return $this->getClientIp(); } /** * Returns the client IP addresses. * * @return array */ public function ips() { return $this->getClientIps(); } /** * Determine if the request contains a given input item key. * * @param string|array $key * @return bool */ public function exists($key) { $keys = is_array($key) ? $key : func_get_args(); $input = $this->all(); foreach ($keys as $value) { if (!array_key_exists($value, $input)) { return false; } } return true; } /** * Determine if the request contains a non-empty value for an input item. * * @param string|array $key * @return bool */ public function has($key) { $keys = is_array($key) ? $key : func_get_args(); foreach ($keys as $value) { if ($this->isEmptyString($value)) { return false; } } return true; } /** * Determine if the given input key is an empty string for "has". * * @param string $key * @return bool */ protected function isEmptyString($key) { $boolOrArray = is_bool($this->input($key)) || is_array($this->input($key)); return !$boolOrArray && trim((string) $this->input($key)) === ''; } /** * Get all of the input and files for the request. * * @return array */ public function all() { return array_replace_recursive($this->input(), $this->files->all()); } /** * Retrieve an input item from the request. * * @param string $key * @param mixed $default * @return string|array */ public function input($key = null, $default = null) { $input = $this->getInputSource()->all() + $this->query->all(); return array_get($input, $key, $default); } /** * Get a subset of the items from the input data. * * @param array $keys * @return array */ public function only($keys) { $keys = is_array($keys) ? $keys : func_get_args(); $results = []; $input = $this->all(); foreach ($keys as $key) { array_set($results, $key, array_get($input, $key)); } return $results; } /** * Get all of the input except for a specified array of items. * * @param array $keys * @return array */ public function except($keys) { $keys = is_array($keys) ? $keys : func_get_args(); $results = $this->all(); array_forget($results, $keys); return $results; } /** * Retrieve a query string item from the request. * * @param string $key * @param mixed $default * @return string|array */ public function query($key = null, $default = null) { return $this->retrieveItem('query', $key, $default); } /** * Determine if a cookie is set on the request. * * @param string $key * @return bool */ public function hasCookie($key) { return !is_null($this->cookie($key)); } /** * Retrieve a cookie from the request. * * @param string $key * @param mixed $default * @return string|array */ public function cookie($key = null, $default = null) { return $this->retrieveItem('cookies', $key, $default); } /** * Retrieve a file from the request. * * @param string $key * @param mixed $default * @return \Symfony\Component\HttpFoundation\File\UploadedFile|array */ public function file($key = null, $default = null) { return array_get($this->files->all(), $key, $default); } /** * Determine if the uploaded data contains a file. * * @param string $key * @return bool */ public function hasFile($key) { if (!is_array($files = $this->file($key))) { $files = [$files]; } foreach ($files as $file) { if ($this->isValidFile($file)) { return true; } } return false; } /** * Check that the given file is a valid file instance. * * @param mixed $file * @return bool */ protected function isValidFile($file) { return $file instanceof SplFileInfo && $file->getPath() != ''; } /** * Retrieve a header from the request. * * @param string $key * @param mixed $default * @return string|array */ public function header($key = null, $default = null) { return $this->retrieveItem('headers', $key, $default); } /** * Retrieve a server variable from the request. * * @param string $key * @param mixed $default * @return string|array */ public function server($key = null, $default = null) { return $this->retrieveItem('server', $key, $default); } /** * Retrieve an old input item. * * @param string $key * @param mixed $default * @return mixed */ public function old($key = null, $default = null) { return $this->session()->getOldInput($key, $default); } /** * Flash the input for the current request to the session. * * @param string $filter * @param array $keys * @return void */ public function flash($filter = null, $keys = []) { $flash = (!is_null($filter)) ? $this->$filter($keys) : $this->input(); $this->session()->flashInput($flash); } /** * Flash only some of the input to the session. * * @param mixed string * @return void */ public function flashOnly($keys) { $keys = is_array($keys) ? $keys : func_get_args(); return $this->flash('only', $keys); } /** * Flash only some of the input to the session. * * @param mixed string * @return void */ public function flashExcept($keys) { $keys = is_array($keys) ? $keys : func_get_args(); return $this->flash('except', $keys); } /** * Flush all of the old input from the session. * * @return void */ public function flush() { $this->session()->flashInput([]); } /** * Retrieve a parameter item from a given source. * * @param string $source * @param string $key * @param mixed $default * @return string|array */ protected function retrieveItem($source, $key, $default) { if (is_null($key)) { return $this->$source->all(); } return $this->$source->get($key, $default, true); } /** * Merge new input into the current request's input array. * * @param array $input * @return void */ public function merge(array $input) { $this->getInputSource()->add($input); } /** * Replace the input for the current request. * * @param array $input * @return void */ public function replace(array $input) { $this->getInputSource()->replace($input); } /** * Get the JSON payload for the request. * * @param string $key * @param mixed $default * @return mixed */ public function json($key = null, $default = null) { if (!isset($this->json)) { $this->json = new ParameterBag((array) json_decode($this->getContent(), true)); } if (is_null($key)) { return $this->json; } return array_get($this->json->all(), $key, $default); } /** * Get the input source for the request. * * @return \Symfony\Component\HttpFoundation\ParameterBag */ protected function getInputSource() { if ($this->isJson()) { return $this->json(); } return $this->getMethod() == 'GET' ? $this->query : $this->request; } /** * Determine if the request is sending JSON. * * @return bool */ public function isJson() { return str_contains($this->header('CONTENT_TYPE'), '/json'); } /** * Determine if the current request is asking for JSON in return. * * @return bool */ public function wantsJson() { $acceptable = $this->getAcceptableContentTypes(); return isset($acceptable[0]) && $acceptable[0] == 'application/json'; } /** * Determines whether the current requests accepts a given content type. * * @param string|array $contentTypes * @return bool */ public function accepts($contentTypes) { $accepts = $this->getAcceptableContentTypes(); foreach ($accepts as $accept) { if ($accept === '*/*') { return true; } foreach ((array) $contentTypes as $type) { if ($accept === $type || $accept === strtok('/', $type).'/*') { return true; } $split = explode('/', $accept); if (preg_match('/'.$split[0].'\/.+\+'.$split[1].'/', $type)) { return true; } } } return false; } /** * Determines whether a request accepts JSON. * * @return bool */ public function acceptsJson() { return $this->accepts('application/json'); } /** * Determines whether a request accepts HTML. * * @return bool */ public function acceptsHtml() { return $this->accepts('text/html'); } /** * Get the data format expected in the response. * * @param string $default * @return string */ public function format($default = 'html') { foreach ($this->getAcceptableContentTypes() as $type) { if ($format = $this->getFormat($type)) { return $format; } } return $default; } /** * Create an Illuminate request from a Symfony instance. * * @param \Symfony\Component\HttpFoundation\Request $request * @return \Illuminate\Http\Request */ public static function createFromBase(SymfonyRequest $request) { if ($request instanceof static) { return $request; } $content = $request->content; $request = (new static)->duplicate( $request->query->all(), $request->request->all(), $request->attributes->all(), $request->cookies->all(), $request->files->all(), $request->server->all() ); $request->content = $content; $request->request = $request->getInputSource(); return $request; } /** * {@inheritdoc} */ public function duplicate(array $query = null, array $request = null, array $attributes = null, array $cookies = null, array $files = null, array $server = null) { return parent::duplicate($query, $request, $attributes, $cookies, array_filter((array) $files), $server); } /** * Get the session associated with the request. * * @return \Illuminate\Session\Store * * @throws \RuntimeException */ public function session() { if (!$this->hasSession()) { throw new RuntimeException('Session store not set on request.'); } return $this->getSession(); } /** * Get the user making the request. * * @return mixed */ public function user() { return call_user_func($this->getUserResolver()); } /** * Get the route handling the request. * * @return \Illuminate\Routing\Route|null */ public function route() { if (func_num_args() == 1) { return $this->route()->parameter(func_get_arg(0)); } else { return call_user_func($this->getRouteResolver()); } } /** * Get the user resolver callback. * * @return \Closure */ public function getUserResolver() { return $this->userResolver ?: function () {}; } /** * Set the user resolver callback. * * @param \Closure $callback * @return $this */ public function setUserResolver(Closure $callback) { $this->userResolver = $callback; return $this; } /** * Get the route resolver callback. * * @return \Closure */ public function getRouteResolver() { return $this->routeResolver ?: function () {}; } /** * Set the route resolver callback. * * @param \Closure $callback * @return $this */ public function setRouteResolver(Closure $callback) { $this->routeResolver = $callback; return $this; } /** * Determine if the given offset exists. * * @param string $offset * @return bool */ public function offsetExists($offset) { return array_key_exists($offset, $this->all()); } /** * Get the value at the given offset. * * @param string $offset * @return mixed */ public function offsetGet($offset) { return array_get($this->all(), $offset); } /** * Set the value at the given offset. * * @param string $offset * @param mixed $value * @return void */ public function offsetSet($offset, $value) { return $this->getInputSource()->set($offset, $value); } /** * Remove the value at the given offset. * * @param string $offset * @return void */ public function offsetUnset($offset) { return $this->getInputSource()->remove($offset); } /** * Get an input element from the request. * * @param string $key * @return mixed */ public function __get($key) { $all = $this->all(); if (array_key_exists($key, $all)) { return $all[$key]; } elseif (!is_null($this->route())) { return $this->route()->parameter($key); } } }
Talean-dev/framework
src/Illuminate/Http/Request.php
PHP
mit
18,326
/** * The MIT License * Copyright (c) 2014 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ package com.iluwatar.api.gateway; import org.apache.http.client.methods.CloseableHttpResponse; import org.apache.http.client.methods.HttpGet; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.apache.http.util.EntityUtils; import org.springframework.stereotype.Component; import java.io.IOException; /** * An adapter to communicate with the Price microservice */ @Component public class PriceClientImpl implements PriceClient{ /** * Makes a simple HTTP Get request to the Price microservice * @return The price of the product */ @Override public String getPrice() { String response = null; try (CloseableHttpClient httpClient = HttpClients.createDefault()) { HttpGet httpGet = new HttpGet("http://localhost:50006/price"); try (CloseableHttpResponse httpResponse = httpClient.execute(httpGet)) { response = EntityUtils.toString(httpResponse.getEntity()); } } catch (IOException e) { e.printStackTrace(); } return response; } }
colinbut/java-design-patterns
api-gateway/api-gateway-service/src/main/java/com/iluwatar/api/gateway/PriceClientImpl.java
Java
mit
2,204
/** * The MIT License * Copyright (c) 2014 Ilkka Seppälä * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ package com.iluwatar.image.microservice; import org.junit.Assert; import org.junit.Test; public class ImageControllerTest { @Test public void testGetImagePath() { ImageController imageController = new ImageController(); String imagePath = imageController.getImagePath(); Assert.assertEquals("/product-image.png", imagePath); } }
mikulucky/java-design-patterns
api-gateway/image-microservice/src/test/java/com/iluwatar/image/microservice/ImageControllerTest.java
Java
mit
1,491
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("Connectivity")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("Connectivity")] [assembly: AssemblyCopyright("Copyright © 2013")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("ef5d7319-5d7d-47a1-8e4e-1ffc66e2600c")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
TelerikAcademy/Data-Structures-and-Algorithms
Topics/08. Graphs/demos/Connectivity/Properties/AssemblyInfo.cs
C#
mit
1,400
/* Copyright 2005-2014 Intel Corporation. All Rights Reserved. This file is part of Threading Building Blocks. Threading Building Blocks is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. Threading Building Blocks is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with Threading Building Blocks; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA As a special exception, you may use this file as part of a free software library without restriction. Specifically, if other files instantiate templates or use macros or inline functions from this file, or you compile this file and link it with other files to produce an executable, this file does not by itself cause the resulting executable to be covered by the GNU General Public License. This exception does not however invalidate any other reasons why the executable file might be covered by the GNU General Public License. */ // test reader_writer_lock #include "tbb/reader_writer_lock.h" #include "tbb/atomic.h" #include "tbb/tbb_exception.h" #include "harness.h" #include "harness_barrier.h" tbb::reader_writer_lock the_mutex; const int MAX_WORK = 10000; tbb::atomic<size_t> active_readers, active_writers; tbb::atomic<bool> sim_readers; size_t n_tested__sim_readers; int BusyWork(int percentOfMaxWork) { int iters = 0; for (int i=0; i<MAX_WORK*((double)percentOfMaxWork/100.0); ++i) { iters++; } return iters; } struct StressRWLBody : NoAssign { const int nThread; const int percentMax; StressRWLBody(int nThread_, int percentMax_) : nThread(nThread_), percentMax(percentMax_) {} void operator()(const int /* threadID */ ) const { int nIters = 100; int r_result=0, w_result=0; for(int i=0; i<nIters; ++i) { // test unscoped blocking write lock the_mutex.lock(); w_result += BusyWork(percentMax); #if TBB_USE_EXCEPTIONS && !__TBB_THROW_ACROSS_MODULE_BOUNDARY_BROKEN // test exception for recursive write lock bool was_caught = false; try { the_mutex.lock(); } catch(tbb::improper_lock& ex) { REMARK("improper_lock: %s\n", ex.what()); was_caught = true; } catch(...) { REPORT("Wrong exception caught during recursive lock attempt."); } ASSERT(was_caught, "Recursive lock attempt exception not caught properly."); // test exception for recursive read lock was_caught = false; try { the_mutex.lock_read(); } catch(tbb::improper_lock& ex) { REMARK("improper_lock: %s\n", ex.what()); was_caught = true; } catch(...) { REPORT("Wrong exception caught during recursive lock attempt."); } ASSERT(was_caught, "Recursive lock attempt exception not caught properly."); #endif /* TBB_USE_EXCEPTIONS && !__TBB_THROW_ACROSS_MODULE_BOUNDARY_BROKEN */ the_mutex.unlock(); // test unscoped non-blocking write lock if (the_mutex.try_lock()) { w_result += BusyWork(percentMax); the_mutex.unlock(); } // test unscoped blocking read lock the_mutex.lock_read(); r_result += BusyWork(percentMax); the_mutex.unlock(); // test unscoped non-blocking read lock if(the_mutex.try_lock_read()) { r_result += BusyWork(percentMax); the_mutex.unlock(); } { // test scoped blocking write lock tbb::reader_writer_lock::scoped_lock my_lock(the_mutex); w_result += BusyWork(percentMax); } { // test scoped blocking read lock tbb::reader_writer_lock::scoped_lock_read my_lock(the_mutex); r_result += BusyWork(percentMax); } } REMARK(" R%d/W%d", r_result, w_result); // reader/writer iterations of busy work completed } }; struct CorrectRWLScopedBody : NoAssign { const int nThread; Harness::SpinBarrier& my_barrier; CorrectRWLScopedBody(int nThread_, Harness::SpinBarrier& b_) : nThread(nThread_),my_barrier(b_) {} void operator()(const int /* threadID */ ) const { my_barrier.wait(); for (int i=0; i<50; i++) { const bool is_reader = i%5==0; // 1 writer for every 4 readers if (is_reader) { tbb::reader_writer_lock::scoped_lock_read my_lock(the_mutex); active_readers++; if (active_readers > 1) sim_readers = true; ASSERT(active_writers==0, "Active writers in read-locked region."); Harness::Sleep(10); active_readers--; } else { // is writer tbb::reader_writer_lock::scoped_lock my_lock(the_mutex); active_writers++; ASSERT(active_readers==0, "Active readers in write-locked region."); ASSERT(active_writers<=1, "More than one active writer in write-locked region."); Harness::Sleep(10); active_writers--; } } } }; struct CorrectRWLBody : NoAssign { const int nThread; Harness::SpinBarrier& my_barrier; CorrectRWLBody(int nThread_, Harness::SpinBarrier& b_ ) : nThread(nThread_), my_barrier(b_) {} void operator()(const int /* threadID */ ) const { my_barrier.wait(); for (int i=0; i<50; i++) { const bool is_reader = i%5==0; // 1 writer for every 4 readers if (is_reader) { the_mutex.lock_read(); active_readers++; if (active_readers > 1) sim_readers = true; ASSERT(active_writers==0, "Active writers in read-locked region."); } else { // is writer the_mutex.lock(); active_writers++; ASSERT(active_readers==0, "Active readers in write-locked region."); ASSERT(active_writers<=1, "More than one active writer in write-locked region."); } Harness::Sleep(10); if (is_reader) { active_readers--; } else { // is writer active_writers--; } the_mutex.unlock(); } } }; void TestReaderWriterLockOnNThreads(int nThreads) { // Stress-test all interfaces for (int pc=0; pc<=100; pc+=20) { REMARK("Testing with %d threads, percent of MAX_WORK=%d...", nThreads, pc); StressRWLBody myStressBody(nThreads, pc); NativeParallelFor(nThreads, myStressBody); REMARK(" OK.\n"); } int i; n_tested__sim_readers = 0; REMARK("Testing with %d threads, direct/unscoped locking mode...", nThreads); // TODO: choose direct or unscoped? // TODO: refactor the following two for loops into a shared function for( i=0; i<100; ++i ) { Harness::SpinBarrier bar0(nThreads); CorrectRWLBody myCorrectBody(nThreads,bar0); active_writers = active_readers = 0; sim_readers = false; NativeParallelFor(nThreads, myCorrectBody); if( sim_readers || nThreads==1 ) { if( ++n_tested__sim_readers>5 ) break; } } ASSERT(i<100, "There were no simultaneous readers."); REMARK(" OK.\n"); n_tested__sim_readers = 0; REMARK("Testing with %d threads, scoped locking mode...", nThreads); for( i=0; i<100; ++i ) { Harness::SpinBarrier bar0(nThreads); CorrectRWLScopedBody myCorrectScopedBody(nThreads, bar0); active_writers = active_readers = 0; sim_readers = false; NativeParallelFor(nThreads, myCorrectScopedBody); if( sim_readers || nThreads==1 ) { if( ++n_tested__sim_readers>5 ) break; } } ASSERT(i<100, "There were no simultaneous readers."); REMARK(" OK.\n"); } void TestReaderWriterLock() { for(int p = MinThread; p <= MaxThread; p++) { TestReaderWriterLockOnNThreads(p); } } int TestMain() { if(MinThread <= 0) MinThread = 1; if(MaxThread > 0) { TestReaderWriterLock(); } return Harness::Done; }
sim9108/SDKS
LibTbb/src/test/test_reader_writer_lock.cpp
C++
mit
8,889
/* * This file is part of SpongeAPI, licensed under the MIT License (MIT). * * Copyright (c) SpongePowered <https://www.spongepowered.org> * Copyright (c) contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in * all copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN * THE SOFTWARE. */ package org.spongepowered.api.data.type; import org.spongepowered.api.CatalogType; import org.spongepowered.api.util.annotation.CatalogedBy; @CatalogedBy(SlabTypes.class) public interface SlabType extends CatalogType { }
jonk1993/SpongeAPI
src/main/java/org/spongepowered/api/data/type/SlabType.java
Java
mit
1,475
/** * @hello.js * * HelloJS is a client side Javascript SDK for making OAuth2 logins and subsequent REST calls. * * @author Andrew Dodson * @company Knarly * * @copyright Andrew Dodson, 2012 - 2013 * @license MIT: You are free to use and modify this code for any use, on the condition that this copyright notice remains. */ // Can't use strict with arguments.callee //"use strict"; // // Setup // Initiates the construction of the library var hello = function(name){ return hello.use(name); }; hello.utils = { // // Extend the first object with the properties and methods of the second extend : function(r /*, a[, b[, ...]] */){ // Get the arguments as an array but ommit the initial item var args = Array.prototype.slice.call(arguments,1); for(var i=0;i<args.length;i++){ var a = args[i]; if( r instanceof Object && a instanceof Object && r !== a ){ for(var x in a){ //if(a.hasOwnProperty(x)){ r[x] = hello.utils.extend( r[x], a[x] ); //} } } else{ r = a; } } return r; } }; ///////////////////////////////////////////////// // Core library // This contains the following methods // ---------------------------------------------- // init // login // logout // getAuthRequest ///////////////////////////////////////////////// hello.utils.extend( hello, { // // Options settings : { // // OAuth 2 authentication defaults redirect_uri : window.location.href.split('#')[0], response_type : 'token', display : 'popup', state : '', // // OAuth 1 shim // The path to the OAuth1 server for signing user requests // Wanna recreate your own? checkout https://github.com/MrSwitch/node-oauth-shim oauth_proxy : 'https://auth-server.herokuapp.com/proxy', // // API Timeout, milliseconds timeout : 20000, // // Default Network default_service : null, // // Force signin // When hello.login is fired, ignore current session expiry and continue with login force : true }, // // Service // Get/Set the default service // service : function(service){ //this.utils.warn("`hello.service` is deprecated"); if(typeof (service) !== 'undefined' ){ return this.utils.store( 'sync_service', service ); } return this.utils.store( 'sync_service' ); }, // // Services // Collection of objects which define services configurations services : {}, // // Use // Define a new instance of the Hello library with a default service // use : function(service){ // Create self, which inherits from its parent var self = this.utils.objectCreate(this); // Inherit the prototype from its parent self.settings = this.utils.objectCreate(this.settings); // Define the default service if(service){ self.settings.default_service = service; } // Create an instance of Events self.utils.Event.call(self); return self; }, // // init // Define the clientId's for the endpoint services // @param object o, contains a key value pair, service => clientId // @param object opts, contains a key value pair of options used for defining the authentication defaults // @param number timeout, timeout in seconds // init : function(services,options){ var utils = this.utils; if(!services){ return this.services; } // Define provider credentials // Reformat the ID field for( var x in services ){if(services.hasOwnProperty(x)){ if( typeof(services[x]) !== 'object' ){ services[x] = {id : services[x]}; } }} // // merge services if there already exists some utils.extend(this.services, services); // // Format the incoming for( x in this.services ){if(this.services.hasOwnProperty(x)){ this.services[x].scope = this.services[x].scope || {}; }} // // Update the default settings with this one. if(options){ utils.extend(this.settings, options); // Do this immediatly incase the browser changes the current path. if("redirect_uri" in options){ this.settings.redirect_uri = utils.url(options.redirect_uri).href; } } return this; }, // // Login // Using the endpoint // @param network stringify name to connect to // @param options object (optional) {display mode, is either none|popup(default)|page, scope: email,birthday,publish, .. } // @param callback function (optional) fired on signin // login : function(){ // Create self // An object which inherits its parent as the prototype. // And constructs a new event chain. var self = this.use(), utils = self.utils; // Get parameters var p = utils.args({network:'s', options:'o', callback:'f'}, arguments); // Apply the args self.args = p; // Local vars var url; // merge/override options with app defaults var opts = p.options = utils.merge(self.settings, p.options || {} ); // Network p.network = self.settings.default_service = p.network || self.settings.default_service; // // Bind listener self.on('complete', p.callback); // Is our service valid? if( typeof(p.network) !== 'string' || !( p.network in self.services ) ){ // trigger the default login. // ahh we dont have one. self.emitAfter('error complete', {error:{ code : 'invalid_network', message : 'The provided network was not recognized' }}); return self; } // var provider = self.services[p.network]; // // Callback // Save the callback until state comes back. // var responded = false; // // Create a global listener to capture events triggered out of scope var callback_id = utils.globalEvent(function(str){ // Save this locally // responseHandler returns a string, lets save this locally var obj; if ( str ){ obj = JSON.parse(str); } else { obj = { error : { code : 'cancelled', message : 'The authentication was not completed' } }; } // // Cancel the popup close listener responded = true; // // Handle these response using the local // Trigger on the parent if(!obj.error){ // Save on the parent window the new credentials // This fixes an IE10 bug i think... atleast it does for me. utils.store(obj.network,obj); // Trigger local complete events self.emit("complete success login auth.login auth", { network : obj.network, authResponse : obj }); } else{ // Trigger local complete events self.emit("complete error failed auth.failed", { error : obj.error }); } }); // // REDIRECT_URI // Is the redirect_uri root? // var redirect_uri = utils.url(opts.redirect_uri).href; // // Response Type // var response_type = provider.oauth.response_type || opts.response_type; // Fallback to token if the module hasn't defined a grant url if( response_type === 'code' && !provider.oauth.grant ){ response_type = 'token'; } // // QUERY STRING // querystring parameters, we may pass our own arguments to form the querystring // p.qs = { client_id : provider.id, response_type : response_type, redirect_uri : redirect_uri, display : opts.display, scope : 'basic', state : { client_id : provider.id, network : p.network, display : opts.display, callback : callback_id, state : opts.state, redirect_uri: redirect_uri, } }; // // SESSION // Get current session for merging scopes, and for quick auth response var session = utils.store(p.network); // // SCOPES // Authentication permisions // // convert any array, or falsy value to a string. var scope = (opts.scope||'').toString(); scope = (scope ? scope + ',' : '') + p.qs.scope; // Append scopes from a previous session // This helps keep app credentials constant, // Avoiding having to keep tabs on what scopes are authorized if(session && "scope" in session && session.scope instanceof String){ scope += ","+ session.scope; } // Save in the State // Convert to a string because IE, has a problem moving Arrays between windows p.qs.state.scope = utils.unique( scope.split(/[,\s]+/) ).join(','); // Map replace each scope with the providers default scopes p.qs.scope = scope.replace(/[^,\s]+/ig, function(m){ // Does this have a mapping? if (m in provider.scope){ return provider.scope[m]; }else{ // Loop through all services and determine whether the scope is generic for(var x in self.services){ var _scopes = self.services[x].scope; if(_scopes && m in _scopes){ // found an instance of this scope, so lets not assume its special return ''; } } // this is a unique scope to this service so lets in it. return m; } }).replace(/[,\s]+/ig, ','); // remove duplication and empty spaces p.qs.scope = utils.unique(p.qs.scope.split(/,+/)).join( provider.scope_delim || ','); // // FORCE // Is the user already signed in with the appropriate scopes, valid access_token? // if(opts.force===false){ if( session && "access_token" in session && session.access_token && "expires" in session && session.expires > ((new Date()).getTime()/1e3) ){ // What is different about the scopes in the session vs the scopes in the new login? var diff = utils.diff( session.scope || [], p.qs.state.scope || [] ); if(diff.length===0){ // Ok trigger the callback self.emitAfter("complete success login", { unchanged : true, network : p.network, authResponse : session }); // Nothing has changed return self; } } } // Bespoke // Override login querystrings from auth_options if("login" in provider && typeof(provider.login) === 'function'){ // Format the paramaters according to the providers formatting function provider.login(p); } // Add OAuth to state // Where the service is going to take advantage of the oauth_proxy if( response_type !== "token" || parseInt(provider.oauth.version,10) < 2 || ( opts.display === 'none' && provider.oauth.grant && session && session.refresh_token ) ){ // Add the oauth endpoints p.qs.state.oauth = provider.oauth; // Add the proxy url p.qs.state.oauth_proxy = opts.oauth_proxy; } // Convert state to a string p.qs.state = JSON.stringify(p.qs.state); // // URL // if( parseInt(provider.oauth.version,10) === 1 ){ // Turn the request to the OAuth Proxy for 3-legged auth url = utils.qs( opts.oauth_proxy, p.qs ); } // Refresh token else if( opts.display === 'none' && provider.oauth.grant && session && session.refresh_token ){ // Add the refresh_token to the request p.qs.refresh_token = session.refresh_token; // Define the request path url = utils.qs( opts.oauth_proxy, p.qs ); } // else{ url = utils.qs( provider.oauth.auth, p.qs ); } self.emit("notice", "Authorization URL " + url ); // // Execute // Trigger how we want self displayed // Calling Quietly? // if( opts.display === 'none' ){ // signin in the background, iframe utils.iframe(url); } // Triggering popup? else if( opts.display === 'popup'){ var popup = utils.popup( url, redirect_uri, opts.window_width || 500, opts.window_height || 550 ); var timer = setInterval(function(){ if(!popup||popup.closed){ clearInterval(timer); if(!responded){ var error = { code:"cancelled", message:"Login has been cancelled" }; if(!popup){ error = { code:'blocked', message :'Popup was blocked' }; } self.emit("complete failed error", {error:error, network:p.network }); } } }, 100); } else { window.location = url; } return self; }, // // Logout // Remove any data associated with a given service // @param string name of the service // @param function callback // logout : function(){ // Create self // An object which inherits its parent as the prototype. // And constructs a new event chain. var self = this.use(); var utils = self.utils; var p = utils.args({name:'s', options: 'o', callback:"f" }, arguments); p.options = p.options || {}; // Add callback to events self.on('complete', p.callback); // Netowrk p.name = p.name || self.settings.default_service; if( p.name && !( p.name in self.services ) ){ self.emitAfter("complete error", {error:{ code : 'invalid_network', message : 'The network was unrecognized' }}); } else if(p.name && utils.store(p.name)){ // Define the callback var callback = function(opts){ // Remove from the store self.utils.store(p.name,''); // Emit events by default self.emitAfter("complete logout success auth.logout auth", hello.utils.merge( {network:p.name}, opts || {} ) ); }; // // Run an async operation to remove the users session // var _opts = {}; if(p.options.force){ var logout = self.services[p.name].logout; if( logout ){ // Convert logout to URL string, // If no string is returned, then this function will handle the logout async style if(typeof(logout) === 'function' ){ logout = logout(callback); } // If logout is a string then assume URL and open in iframe. if(typeof(logout)==='string'){ utils.iframe( logout ); _opts.force = null; _opts.message = "Logout success on providers site was indeterminate"; } else if(logout === undefined){ // the callback function will handle the response. return self; } } } // // Remove local credentials callback(_opts); } else if(!p.name){ for(var x in self.services){if(self.services.hasOwnProperty(x)){ self.logout(x); }} // remove the default self.service(false); // trigger callback } else{ self.emitAfter("complete error", {error:{ code : 'invalid_session', message : 'There was no session to remove' }}); } return self; }, // // getAuthResponse // Returns all the sessions that are subscribed too // @param string optional, name of the service to get information about. // getAuthResponse : function(service){ // If the service doesn't exist service = service || this.settings.default_service; if( !service || !( service in this.services ) ){ this.emit("complete error", {error:{ code : 'invalid_network', message : 'The network was unrecognized' }}); return null; } return this.utils.store(service) || null; }, // // Events // Define placeholder for the events events : {} }); /////////////////////////////////// // Core Utilities /////////////////////////////////// hello.utils.extend( hello.utils, { // Append the querystring to a url // @param string url // @param object parameters qs : function(url, params){ if(params){ var reg; for(var x in params){ if(url.indexOf(x)>-1){ var str = "[\\?\\&]"+x+"=[^\\&]*"; reg = new RegExp(str); url = url.replace(reg,''); } } } return url + (!this.isEmpty(params) ? ( url.indexOf('?') > -1 ? "&" : "?" ) + this.param(params) : ''); }, // // Param // Explode/Encode the parameters of an URL string/object // @param string s, String to decode // param : function(s){ var b, a = {}, m; if(typeof(s)==='string'){ m = s.replace(/^[\#\?]/,'').match(/([^=\/\&]+)=([^\&]+)/g); if(m){ for(var i=0;i<m.length;i++){ b = m[i].match(/([^=]+)=(.*)/); a[b[1]] = decodeURIComponent( b[2] ); } } return a; } else { var o = s; a = []; for( var x in o ){if(o.hasOwnProperty(x)){ if( o.hasOwnProperty(x) ){ a.push( [x, o[x] === '?' ? '?' : encodeURIComponent(o[x]) ].join('=') ); } }} return a.join('&'); } }, // // Local Storage Facade store : (function(localStorage){ // // LocalStorage var a = [localStorage,window.sessionStorage], i=0; // Set LocalStorage localStorage = a[i++]; while(localStorage){ try{ localStorage.setItem(i,i); localStorage.removeItem(i); break; } catch(e){ localStorage = a[i++]; } } if(!localStorage){ localStorage = { getItem : function(prop){ prop = prop +'='; var m = document.cookie.split(";"); for(var i=0;i<m.length;i++){ var _m = m[i].replace(/(^\s+|\s+$)/,''); if(_m && _m.indexOf(prop)===0){ return _m.substr(prop.length); } } return null; }, setItem : function(prop, value){ document.cookie = prop + '=' + value; } }; } function get(){ var json = {}; try{ json = JSON.parse(localStorage.getItem('hello')) || {}; }catch(e){} return json; } function set(json){ localStorage.setItem('hello', JSON.stringify(json)); } // Does this browser support localStorage? return function (name,value,days) { // Local storage var json = get(); if(name && value === undefined){ return json[name] || null; } else if(name && value === null){ try{ delete json[name]; } catch(e){ json[name]=null; } } else if(name){ json[name] = value; } else { return json; } set(json); return json || null; }; })(window.localStorage), // // Create and Append new Dom elements // @param node string // @param attr object literal // @param dom/string // append : function(node,attr,target){ var n = typeof(node)==='string' ? document.createElement(node) : node; if(typeof(attr)==='object' ){ if( "tagName" in attr ){ target = attr; } else{ for(var x in attr){if(attr.hasOwnProperty(x)){ if(typeof(attr[x])==='object'){ for(var y in attr[x]){if(attr[x].hasOwnProperty(y)){ n[x][y] = attr[x][y]; }} } else if(x==="html"){ n.innerHTML = attr[x]; } // IE doesn't like us setting methods with setAttribute else if(!/^on/.test(x)){ n.setAttribute( x, attr[x]); } else{ n[x] = attr[x]; } }} } } if(target==='body'){ (function self(){ if(document.body){ document.body.appendChild(n); } else{ setTimeout( self, 16 ); } })(); } else if(typeof(target)==='object'){ target.appendChild(n); } else if(typeof(target)==='string'){ document.getElementsByTagName(target)[0].appendChild(n); } return n; }, // // create IFRAME // An easy way to create a hidden iframe // @param string src // iframe : function(src){ this.append('iframe', { src : src, style : {position:'absolute',left:"-1000px",bottom:0,height:'1px',width:'1px'} }, 'body'); }, // // merge // recursive merge two objects into one, second parameter overides the first // @param a array // merge : function(/*a,b,c,..n*/){ var args = Array.prototype.slice.call(arguments); args.unshift({}); return this.extend.apply(null, args); }, // // Args utility // Makes it easier to assign parameters, where some are optional // @param o object // @param a arguments // args : function(o,args){ var p = {}, i = 0, t = null, x = null; // define x // x is the first key in the list of object parameters for(x in o){if(o.hasOwnProperty(x)){ break; }} // Passing in hash object of arguments? // Where the first argument can't be an object if((args.length===1)&&(typeof(args[0])==='object')&&o[x]!='o!'){ // Could this object still belong to a property? // Check the object keys if they match any of the property keys for(x in args[0]){if(o.hasOwnProperty(x)){ // Does this key exist in the property list? if( x in o ){ // Yes this key does exist so its most likely this function has been invoked with an object parameter // return first argument as the hash of all arguments return args[0]; } }} } // else loop through and account for the missing ones. for(x in o){if(o.hasOwnProperty(x)){ t = typeof( args[i] ); if( ( typeof( o[x] ) === 'function' && o[x].test(args[i]) ) || ( typeof( o[x] ) === 'string' && ( ( o[x].indexOf('s')>-1 && t === 'string' ) || ( o[x].indexOf('o')>-1 && t === 'object' ) || ( o[x].indexOf('i')>-1 && t === 'number' ) || ( o[x].indexOf('a')>-1 && t === 'object' ) || ( o[x].indexOf('f')>-1 && t === 'function' ) ) ) ){ p[x] = args[i++]; } else if( typeof( o[x] ) === 'string' && o[x].indexOf('!')>-1 ){ // ("Whoops! " + x + " not defined"); return false; } }} return p; }, // // URL // Returns a URL instance // url : function(path){ // If the path is empty if(!path){ return window.location; } // Chrome and FireFox support new URL() to extract URL objects else if( window.URL && URL instanceof Function && URL.length !== 0){ return new URL(path, window.location); } else{ // ugly shim, it works! var a = document.createElement('a'); a.href = path; return a; } }, // // diff diff : function(a,b){ var r = []; for(var i=0;i<b.length;i++){ if(this.indexOf(a,b[i])===-1){ r.push(b[i]); } } return r; }, // // indexOf // IE hack Array.indexOf doesn't exist prior to IE9 indexOf : function(a,s){ // Do we need the hack? if(a.indexOf){ return a.indexOf(s); } for(var j=0;j<a.length;j++){ if(a[j]===s){ return j; } } return -1; }, // // unique // remove duplicate and null values from an array // @param a array // unique : function(a){ if(typeof(a)!=='object'){ return []; } var r = []; for(var i=0;i<a.length;i++){ if(!a[i]||a[i].length===0||this.indexOf(r, a[i])!==-1){ continue; } else{ r.push(a[i]); } } return r; }, // isEmpty isEmpty : function (obj){ // scalar? if(!obj){ return true; } // Array? if(obj && obj.length>0) return false; if(obj && obj.length===0) return true; // object? for (var key in obj) { if (obj.hasOwnProperty(key)){ return false; } } return true; }, // Shim, Object create // A shim for Object.create(), it adds a prototype to a new object objectCreate : (function(){ if (Object.create) { return Object.create; } function F(){} return function(o){ if (arguments.length != 1) { throw new Error('Object.create implementation only accepts one parameter.'); } F.prototype = o; return new F(); }; })(), /* // // getProtoTypeOf // Once all browsers catchup we can access the prototype // Currently: manually define prototype object in the `parent` attribute getPrototypeOf : (function(){ if(Object.getPrototypeOf){ return Object.getPrototypeOf; } else if(({}).__proto__){ return function(obj){ return obj.__proto__; }; } return function(obj){ if(obj.prototype && obj !== obj.prototype.constructor){ return obj.prototype.constructor; } }; })(), */ // // Event // A contructor superclass for adding event menthods, on, off, emit. // Event : function(){ var separator = /[\s\,]+/; // If this doesn't support getProtoType then we can't get prototype.events of the parent // So lets get the current instance events, and add those to a parent property this.parent = { events : this.events, findEvents : this.findEvents, parent : this.parent, utils : this.utils }; this.events = {}; // // On, Subscribe to events // @param evt string // @param callback function // this.on = function(evt, callback){ if(callback&&typeof(callback)==='function'){ var a = evt.split(separator); for(var i=0;i<a.length;i++){ // Has this event already been fired on this instance? this.events[a[i]] = [callback].concat(this.events[a[i]]||[]); } } return this; }; // // Off, Unsubscribe to events // @param evt string // @param callback function // this.off = function(evt, callback){ this.findEvents(evt, function(name, index){ if( !callback || this.events[name][index] === callback){ this.events[name][index] = null; } }); return this; }; // // Emit // Triggers any subscribed events // this.emit = function(evt /*, data, ... */){ // Get arguments as an Array, knock off the first one var args = Array.prototype.slice.call(arguments, 1); args.push(evt); // Handler var handler = function(name, index){ // Replace the last property with the event name args[args.length-1] = (name === '*'? evt : name); // Trigger this.events[name][index].apply(this, args); }; // Find the callbacks which match the condition and call var proto = this; while( proto && proto.findEvents ){ // Find events which match proto.findEvents(evt + ',*', handler); // proto = this.utils.getPrototypeOf(proto); proto = proto.parent; } return this; }; // // Easy functions this.emitAfter = function(){ var self = this, args = arguments; setTimeout(function(){ self.emit.apply(self, args); },0); return this; }; this.findEvents = function(evt, callback){ var a = evt.split(separator); for(var name in this.events){if(this.events.hasOwnProperty(name)){ if( hello.utils.indexOf(a,name) > -1 ){ for(var i=0;i<this.events[name].length;i++){ // Does the event handler exist? if(this.events[name][i]){ // Emit on the local instance of this callback.call(this, name, i); } } } }} }; return this; }, // // Global Events // Attach the callback to the window object // Return its unique reference globalEvent : function(callback, guid){ // If the guid has not been supplied then create a new one. guid = guid || "_hellojs_"+parseInt(Math.random()*1e12,10).toString(36); // Define the callback function window[guid] = function(){ // Trigger the callback try{ bool = callback.apply(this, arguments); } catch(e){ console.error(e); } if(bool){ // Remove this handler reference try{ delete window[guid]; }catch(e){} } }; return guid; }, // // Trigger a clientside Popup // This has been augmented to support PhoneGap // popup : function(url, redirect_uri, windowWidth, windowHeight){ var documentElement = document.documentElement; // Multi Screen Popup Positioning (http://stackoverflow.com/a/16861050) // Credit: http://www.xtf.dk/2011/08/center-new-popup-window-even-on.html // Fixes dual-screen position Most browsers Firefox var dualScreenLeft = window.screenLeft !== undefined ? window.screenLeft : screen.left; var dualScreenTop = window.screenTop !== undefined ? window.screenTop : screen.top; var width = window.innerWidth || documentElement.clientWidth || screen.width; var height = window.innerHeight || documentElement.clientHeight || screen.height; var left = ((width - windowWidth) / 2) + dualScreenLeft; var top = ((height - windowHeight) / 2) + dualScreenTop; // Create a function for reopening the popup, and assigning events to the new popup object // This is a fix whereby triggering the var open = function (url){ // Trigger callback var popup = window.open( url, '_blank', "resizeable=true,height=" + windowHeight + ",width=" + windowWidth + ",left=" + left + ",top=" + top ); // PhoneGap support // Add an event listener to listen to the change in the popup windows URL // This must appear before popup.focus(); if( popup && popup.addEventListener ){ // Get the origin of the redirect URI var a = hello.utils.url(redirect_uri); var redirect_uri_origin = a.origin || (a.protocol + "//" + a.hostname); // Listen to changes in the InAppBrowser window popup.addEventListener('loadstart', function(e){ var url = e.url; // Is this the path, as given by the redirect_uri? // Check the new URL agains the redirect_uri_origin. // According to #63 a user could click 'cancel' in some dialog boxes .... // The popup redirects to another page with the same origin, yet we still wish it to close. if(url.indexOf(redirect_uri_origin)!==0){ return; } // Split appart the URL var a = hello.utils.url(url); // We dont have window operations on the popup so lets create some // The location can be augmented in to a location object like so... var _popup = { location : { // Change the location of the popup assign : function(location){ // Unfourtunatly an app is may not change the location of a InAppBrowser window. // So to shim this, just open a new one. popup.addEventListener('exit', function(){ // For some reason its failing to close the window if a new window opens too soon. setTimeout(function(){ open(location); },1000); }); }, search : a.search, hash : a.hash, href : a.href }, close : function(){ //alert('closing location:'+url); if(popup.close){ popup.close(); } } }; // Then this URL contains information which HelloJS must process // URL string // Window - any action such as window relocation goes here // Opener - the parent window which opened this, aka this script hello.utils.responseHandler( _popup, window ); // Always close the popup reguardless of whether the hello.utils.responseHandler detects a state parameter or not in the querystring. // Such situations might arise such as those in #63 _popup.close(); }); } // // focus on this popup // if( popup && popup.focus ){ popup.focus(); } return popup; }; // // Call the open() function with the initial path // // OAuth redirect, fixes URI fragments from being lost in Safari // (URI Fragments within 302 Location URI are lost over HTTPS) // Loading the redirect.html before triggering the OAuth Flow seems to fix it. // // FIREFOX, decodes URL fragments when calling location.hash. // - This is bad if the value contains break points which are escaped // - Hence the url must be encoded twice as it contains breakpoints. if (navigator.userAgent.indexOf('Safari') !== -1 && navigator.userAgent.indexOf('Chrome') === -1) { url = redirect_uri + "#oauth_redirect=" + encodeURIComponent(encodeURIComponent(url)); } return open( url ); }, // // OAuth/API Response Handler // responseHandler : function( window, parent ){ var utils = this, p; // var location = window.location; // // Add a helper for relocating, instead of window.location = url; // var relocate = function(path){ if(location.assign){ location.assign(path); } else{ window.location = path; } }; // // Is this an auth relay message which needs to call the proxy? // p = utils.param(location.search); // IS THIS AN OAUTH2 SERVER RESPONSE? OR AN OAUTH1 SERVER RESPONSE? if( p && ( (p.code&&p.state) || (p.oauth_token&&p.proxy_url) ) ){ // JSON decode var state = JSON.parse(p.state); // Add this path as the redirect_uri p.redirect_uri = state.redirect_uri || location.href.replace(/[\?\#].*$/,''); // redirect to the host var path = (state.oauth_proxy || p.proxy_url) + "?" + utils.param(p); relocate( path ); return; } // // Save session, from redirected authentication // #access_token has come in? // // FACEBOOK is returning auth errors within as a query_string... thats a stickler for consistency. // SoundCloud is the state in the querystring and the token in the hashtag, so we'll mix the two together p = utils.merge(utils.param(location.search||''), utils.param(location.hash||'')); // if p.state if( p && "state" in p ){ // remove any addition information // e.g. p.state = 'facebook.page'; try{ var a = JSON.parse(p.state); utils.extend(p, a); }catch(e){ console.error("Could not decode state parameter"); } // access_token? if( ("access_token" in p&&p.access_token) && p.network ){ if(!p.expires_in || parseInt(p.expires_in,10) === 0){ // If p.expires_in is unset, set to 0 p.expires_in = 0; } p.expires_in = parseInt(p.expires_in,10); p.expires = ((new Date()).getTime()/1e3) + (p.expires_in || ( 60 * 60 * 24 * 365 )); // Lets use the "state" to assign it to one of our networks authCallback( p, window, parent ); } //error=? //&error_description=? //&state=? else if( ("error" in p && p.error) && p.network ){ // Error object p.error = { code: p.error, message : p.error_message || p.error_description }; // Let the state handler handle it. authCallback( p, window, parent ); } // API Call, or a Cancelled login // Result is serialized JSON string. else if( p.callback && p.callback in parent ){ // trigger a function in the parent var res = "result" in p && p.result ? JSON.parse(p.result) : false; // Trigger the callback on the parent parent[p.callback]( res ); // Close this window closeWindow(); } } // // OAuth redirect, fixes URI fragments from being lost in Safari // (URI Fragments within 302 Location URI are lost over HTTPS) // Loading the redirect.html before triggering the OAuth Flow seems to fix it. else if("oauth_redirect" in p){ relocate( decodeURIComponent(p.oauth_redirect) ); return; } // // AuthCallback // Trigger a callback to authenticate // function authCallback(obj, window, parent){ // Trigger the callback on the parent utils.store(obj.network, obj ); // if this is a page request // therefore it has no parent or opener window to handle callbacks if( ("display" in obj) && obj.display === 'page' ){ return; } if(parent){ // Call the generic listeners // win.hello.emit(network+":auth."+(obj.error?'failed':'login'), obj); // Call the inline listeners // to do remove from session object... var cb = obj.callback; try{ delete obj.callback; }catch(e){} // Update store utils.store(obj.network,obj); // Call the globalEvent function on the parent if(cb in parent){ // its safer to pass back a string to the parent, rather than an object/array // Better for IE8 var str = JSON.stringify(obj); try{ parent[cb](str); } catch(e){ // "Error thrown whilst executing parent callback" } } else{ // "Error: Callback missing from parent window, snap!" } } //console.log("Trying to close window"); closeWindow(); } function closeWindow(){ // Close this current window try{ window.close(); } catch(e){} // IOS bug wont let us close a popup if still loading if(window.addEventListener){ window.addEventListener('load', function(){ window.close(); }); } } } }); ////////////////////////////////// // Events ////////////////////////////////// // Extend the hello object with its own event instance hello.utils.Event.call(hello); // Shimming old deprecated functions hello.subscribe = hello.on; hello.trigger = hello.emit; hello.unsubscribe = hello.off; ///////////////////////////////////// // // Save any access token that is in the current page URL // Handle any response solicited through iframe hash tag following an API request // ///////////////////////////////////// hello.utils.responseHandler( window, window.opener || window.parent ); /////////////////////////////////// // Monitoring session state // Check for session changes /////////////////////////////////// (function(hello){ // Monitor for a change in state and fire var old_session = {}, // Hash of expired tokens expired = {}; // // Listen to other triggers to Auth events, use these to update this // hello.on('auth.login, auth.logout', function(auth){ if(auth&&typeof(auth)==='object'&&auth.network){ old_session[auth.network] = hello.utils.store(auth.network) || {}; } }); (function self(){ var CURRENT_TIME = ((new Date()).getTime()/1e3); var emit = function(event_name){ hello.emit("auth."+event_name, { network: name, authResponse: session }); }; // Loop through the services for(var name in hello.services){if(hello.services.hasOwnProperty(name)){ if(!hello.services[name].id){ // we haven't attached an ID so dont listen. continue; } // Get session var session = hello.utils.store(name) || {}; var provider = hello.services[name]; var oldsess = old_session[name] || {}; // // Listen for globalEvents that did not get triggered from the child // if(session && "callback" in session){ // to do remove from session object... var cb = session.callback; try{ delete session.callback; }catch(e){} // Update store // Removing the callback hello.utils.store(name,session); // Emit global events try{ window[cb](session); } catch(e){} } // // Refresh token // if( session && ("expires" in session) && session.expires < CURRENT_TIME ){ // If auto refresh is possible // Either the browser supports var refresh = provider.refresh || session.refresh_token; // Has the refresh been run recently? if( refresh && (!( name in expired ) || expired[name] < CURRENT_TIME ) ){ // try to resignin hello.emit("notice", name + " has expired trying to resignin" ); hello.login(name,{display:'none', force: false}); // update expired, every 10 minutes expired[name] = CURRENT_TIME + 600; } // Does this provider not support refresh else if( !refresh && !( name in expired ) ) { // Label the event emit('expired'); expired[name] = true; } // If session has expired then we dont want to store its value until it can be established that its been updated continue; } // Has session changed? else if( oldsess.access_token === session.access_token && oldsess.expires === session.expires ){ continue; } // Access_token has been removed else if( !session.access_token && oldsess.access_token ){ emit('logout'); } // Access_token has been created else if( session.access_token && !oldsess.access_token ){ emit('login'); } // Access_token has been updated else if( session.expires !== oldsess.expires ){ emit('update'); } // Updated stored session old_session[name] = session; // Remove the expired flags if(name in expired){ delete expired[name]; } }} // Check error events setTimeout(self, 1000); })(); })(hello); // EOF CORE lib ////////////////////////////////// ///////////////////////////////////////// // API // @param path string // @param method string (optional) // @param data object (optional) // @param timeout integer (optional) // @param callback function (optional) hello.api = function(){ // get arguments var p = this.utils.args({path:'s!', method : "s", data:'o', timeout:'i', callback:"f" }, arguments); // Create self // An object which inherits its parent as the prototype. // And constructs a new event chain. var self = this.use(), utils = self.utils; // Reference arguments self.args = p; // method p.method = (p.method || 'get').toLowerCase(); // headers p.headers = p.headers || {}; // data var data = p.data = p.data || {}; // Completed event // callback self.on('complete', p.callback); // Path // Remove the network from path, e.g. facebook:/me/friends // results in { network : facebook, path : me/friends } p.path = p.path.replace(/^\/+/,''); var a = (p.path.split(/[\/\:]/,2)||[])[0].toLowerCase(); if(a in self.services){ p.network = a; var reg = new RegExp('^'+a+':?\/?'); p.path = p.path.replace(reg,''); } // Network & Provider // Define the network that this request is made for p.network = self.settings.default_service = p.network || self.settings.default_service; var o = self.services[p.network]; // INVALID? // Is there no service by the given network name? if(!o){ self.emitAfter("complete error", {error:{ code : "invalid_network", message : "Could not match the service requested: " + p.network }}); return self; } // Proxy? // OAuth1 calls always need a proxy p.proxy = o.oauth && parseInt(o.oauth.version,10) === 1; // timeout global setting if(p.timeout){ self.settings.timeout = p.timeout; } // Log self request self.emit("notice", "API request "+p.method.toUpperCase()+" '"+p.path+"' (request)",p); // // CALLBACK HANDLER // Change the incoming values so that they are have generic values according to the path that is defined // @ response object // @ statusCode integer if available var callback = function(r,headers){ // FORMAT RESPONSE? // Does self request have a corresponding formatter if( o.wrap && ( (p.path in o.wrap) || ("default" in o.wrap) )){ var wrap = (p.path in o.wrap ? p.path : "default"); var time = (new Date()).getTime(); // FORMAT RESPONSE var b = o.wrap[wrap](r,headers,p); // Has the response been utterly overwritten? // Typically self augments the existing object.. but for those rare occassions if(b){ r = b; } // Emit a notice self.emit("notice", "Processing took" + ((new Date()).getTime() - time)); } self.emit("notice", "API: "+p.method.toUpperCase()+" '"+p.path+"' (response)", r); // // Next // If the result continues on to other pages // callback = function(results, next){ if(next){ next(); } } var next = null; // Is there a next_page defined in the response? if( r && "paging" in r && r.paging.next ){ // Add the relative path if it is missing from the paging/next path if( r.paging.next[0] === '?' ){ r.paging.next = p.path + r.paging.next; } // The relative path has been defined, lets markup the handler in the HashFragment else{ r.paging.next += '#' + p.path; } // Repeat the action with a new page path // This benefits from otherwise letting the user follow the next_page URL // In terms of using the same callback handlers etc. next = function(){ processPath( r.paging.next ); }; } // // Dispatch to listeners // Emit events which pertain to the formatted response self.emit("complete " + (!r || "error" in r ? 'error' : 'success'), r, next); }; // push out to all networks // as long as the path isn't flagged as unavaiable, e.g. path == false if( !( !(p.method in o) || !(p.path in o[p.method]) || o[p.method][p.path] !== false ) ){ return self.emitAfter("complete error", {error:{ code:'invalid_path', message:'The provided path is not available on the selected network' }}); } // // Get the current session var session = self.getAuthResponse(p.network); // // Given the path trigger the fix processPath(p.path); function processPath(url){ var m; // Clone the data object // Prevent this script overwriting the data of the incoming object. // ensure that everytime we run an iteration the callbacks haven't removed some data p.data = utils.clone(data); // URL Mapping // Is there a map for the given URL? var actions = o[{"delete":"del"}[p.method]||p.method] || {}; // Extrapolate the QueryString // Provide a clean path // Move the querystring into the data if(p.method==='get'){ var query = url.split(/[\?#]/)[1]; if(query){ utils.extend( p.data, utils.param( query )); // Remove the query part from the URL url = url.replace(/\?.*?(#|$)/,'$1'); } } // is the hash fragment defined if( ( m = url.match(/#(.+)/,'') ) ){ url = url.split('#')[0]; p.path = m[1]; } else if( url in actions ){ p.path = url; url = actions[ url ]; } else if( 'default' in actions ){ url = actions['default']; } // Store the data as options // This is used to populate the request object before the data is augmented by the prewrap handlers. p.options = utils.clone(p.data); // if url needs a base // Wrap everything in var getPath = function(url){ // Format the string if it needs it url = url.replace(/\@\{([a-z\_\-]+)(\|.+?)?\}/gi, function(m,key,defaults){ var val = defaults ? defaults.replace(/^\|/,'') : ''; if(key in p.data){ val = p.data[key]; delete p.data[key]; } else if(typeof(defaults) === 'undefined'){ self.emitAfter("error", {error:{ code : "missing_attribute_"+key, message : "The attribute " + key + " is missing from the request" }}); } return val; }); // Add base if( !url.match(/^https?:\/\//) ){ url = o.base + url; } // Store this in the request object p.url = url; var qs = {}; // Format URL var format_url = function( qs_handler, callback ){ // Execute the qs_handler for any additional parameters if(qs_handler){ if(typeof(qs_handler)==='function'){ qs_handler(qs); } else{ utils.extend(qs, qs_handler); } } var path = utils.qs(url, qs||{} ); self.emit("notice", "Request " + path); _sign(p.proxy, path, p.method, p.data, o.querystring, callback); }; // Update the resource_uri //url += ( url.indexOf('?') > -1 ? "&" : "?" ); // Format the data if( !utils.isEmpty(p.data) && !("FileList" in window) && utils.hasBinary(p.data) ){ // If we can't format the post then, we are going to run the iFrame hack utils.post( format_url, p.data, ("form" in o ? o.form(p) : null), callback ); return self; } // the delete callback needs a better response if(p.method === 'delete'){ var _callback = callback; callback = function(r, code){ _callback((!r||utils.isEmpty(r))? {success:true} : r, code); }; } // Can we use XHR for Cross domain delivery? if( 'withCredentials' in new XMLHttpRequest() && ( !("xhr" in o) || ( o.xhr && o.xhr(p,qs) ) ) ){ var x = utils.xhr( p.method, format_url, p.headers, p.data, callback ); x.onprogress = function(e){ self.emit("progress", e); }; // Windows Phone does not support xhr.upload, see #74 // Feaure detect it... if(x.upload){ x.upload.onprogress = function(e){ self.emit("uploadprogress", e); }; } } else{ // Assign a new callbackID p.callbackID = utils.globalEvent(); // Otherwise we're on to the old school, IFRAME hacks and JSONP // Preprocess the parameters // Change the p parameters if("jsonp" in o){ o.jsonp(p,qs); } // Does this provider have a custom method? if("api" in o && o.api( url, p, (session && session.access_token ? {access_token:session.access_token} : {}), callback ) ){ return; } // Is method still a post? if( p.method === 'post' ){ // Add some additional query parameters to the URL // We're pretty stuffed if the endpoint doesn't like these // "suppress_response_codes":true qs.redirect_uri = self.settings.redirect_uri; qs.state = JSON.stringify({callback:p.callbackID}); utils.post( format_url, p.data, ("form" in o ? o.form(p) : null), callback, p.callbackID, self.settings.timeout ); } // Make the call else{ utils.extend( qs, p.data ); qs.callback = p.callbackID; utils.jsonp( format_url, callback, p.callbackID, self.settings.timeout ); } } }; // Make request if(typeof(url)==='function'){ // Does self have its own callback? url(p, getPath); } else{ // Else the URL is a string getPath(url); } } return self; // // Add authentication to the URL function _sign(proxy, path, method, data, modifyQueryString, callback){ // OAUTH SIGNING PROXY var token = (session ? session.access_token : null); // OAuth2 if(!(o.oauth && parseInt(o.oauth.version,10) === 1)){ // We can process the accces_token in the path var qs = { 'access_token' : token||'' }; if(modifyQueryString){ modifyQueryString(qs); } token = ''; path = utils.qs( path, qs ); } // If this request requires a proxy OAuth1 or OAuth2 but no Access-Controls if(proxy){ // Use the proxy as a path path = utils.qs( self.settings.oauth_proxy, { path : path, access_token : token||'', then : (method.toLowerCase() === 'get' ? 'redirect' : 'proxy'), method : method, suppress_response_codes : true }); } callback( path ); } }; /////////////////////////////////// // API Utilities /////////////////////////////////// hello.utils.extend( hello.utils, { // // isArray isArray : function (o){ return Object.prototype.toString.call(o) === '[object Array]'; }, // _DOM // return the type of DOM object domInstance : function(type,data){ var test = "HTML" + (type||'').replace(/^[a-z]/,function(m){return m.toUpperCase();}) + "Element"; if( !data ){ return false; } if(window[test]){ return data instanceof window[test]; }else if(window.Element){ return data instanceof window.Element && (!type || (data.tagName&&data.tagName.toLowerCase() === type)); }else{ return (!(data instanceof Object||data instanceof Array||data instanceof String||data instanceof Number) && data.tagName && data.tagName.toLowerCase() === type ); } }, // // Clone // Create a clone of an object clone : function(obj){ // Does not clone Dom elements, nor Binary data, e.g. Blobs, Filelists if( obj === null || typeof( obj ) !== 'object' || obj instanceof Date || "nodeName" in obj || this.isBinary( obj ) ){ return obj; } var clone; if(this.isArray(obj)){ clone = []; for(var i=0;i<obj.length;i++){ clone.push(this.clone(obj[i])); } return clone; } // But does clone everything else. clone = {}; for(var x in obj){ clone[x] = this.clone(obj[x]); } return clone; }, // // XHR // This uses CORS to make requests xhr : function(method, pathFunc, headers, data, callback){ var utils = this; if(typeof(pathFunc)!=='function'){ var path = pathFunc; pathFunc = function(qs, callback){callback(utils.qs( path, qs ));}; } var r = new XMLHttpRequest(); // Binary? var binary = false; if(method==='blob'){ binary = method; method = 'GET'; } // UPPER CASE method = method.toUpperCase(); // xhr.responseType = "json"; // is not supported in any of the vendors yet. r.onload = function(e){ var json = r.response; try{ json = JSON.parse(r.responseText); }catch(_e){ if(r.status===401){ json = { error : { code : "access_denied", message : r.statusText } }; } } var headers = headersToJSON(r.getAllResponseHeaders()); headers.statusCode = r.status; callback( json || ( method!=='DELETE' ? {error:{message:"Could not get resource"}} : {} ), headers ); }; r.onerror = function(e){ var json = r.responseText; try{ json = JSON.parse(r.responseText); }catch(_e){} callback(json||{error:{ code: "access_denied", message: "Could not get resource" }}); }; var qs = {}, x; // Should we add the query to the URL? if(method === 'GET'||method === 'DELETE'){ if(!utils.isEmpty(data)){ utils.extend(qs, data); } data = null; } else if( data && typeof(data) !== 'string' && !(data instanceof FormData) && !(data instanceof File) && !(data instanceof Blob)){ // Loop through and add formData var f = new FormData(); for( x in data )if(data.hasOwnProperty(x)){ if( data[x] instanceof HTMLInputElement ){ if( "files" in data[x] && data[x].files.length > 0){ f.append(x, data[x].files[0]); } } else if(data[x] instanceof Blob){ f.append(x, data[x], data.name); } else{ f.append(x, data[x]); } } data = f; } // Create url pathFunc(qs, function(url){ // Open the path, async r.open( method, url, true ); if(binary){ if("responseType" in r){ r.responseType = binary; } else{ r.overrideMimeType("text/plain; charset=x-user-defined"); } } // Set any bespoke headers if(headers){ for(var x in headers){ r.setRequestHeader(x, headers[x]); } } r.send( data ); }); return r; // // headersToJSON // Headers are returned as a string, which isn't all that great... is it? function headersToJSON(s){ var r = {}; var reg = /([a-z\-]+):\s?(.*);?/gi, m; while((m = reg.exec(s))){ r[m[1]] = m[2]; } return r; } }, // // JSONP // Injects a script tag into the dom to be executed and appends a callback function to the window object // @param string/function pathFunc either a string of the URL or a callback function pathFunc(querystringhash, continueFunc); // @param function callback a function to call on completion; // jsonp : function(pathFunc,callback,callbackID,timeout){ var utils = this; // Change the name of the callback var bool = 0, head = document.getElementsByTagName('head')[0], operafix, script, result = {error:{message:'server_error',code:'server_error'}}, cb = function(){ if( !( bool++ ) ){ window.setTimeout(function(){ callback(result); head.removeChild(script); },0); } }; // Add callback to the window object var cb_name = utils.globalEvent(function(json){ result = json; return true; // mark callback as done },callbackID); // The URL is a function for some cases and as such // Determine its value with a callback containing the new parameters of this function. if(typeof(pathFunc)!=='function'){ var path = pathFunc; path = path.replace(new RegExp("=\\?(&|$)"),'='+cb_name+'$1'); pathFunc = function(qs, callback){ callback(utils.qs(path, qs));}; } pathFunc(function(qs){ for(var x in qs){ if(qs.hasOwnProperty(x)){ if (qs[x] === '?') qs[x] = cb_name; }} }, function(url){ // Build script tag script = utils.append('script',{ id:cb_name, name:cb_name, src: url, async:true, onload:cb, onerror:cb, onreadystatechange : function(){ if(/loaded|complete/i.test(this.readyState)){ cb(); } } }); // Opera fix error // Problem: If an error occurs with script loading Opera fails to trigger the script.onerror handler we specified // Fix: // By setting the request to synchronous we can trigger the error handler when all else fails. // This action will be ignored if we've already called the callback handler "cb" with a successful onload event if( window.navigator.userAgent.toLowerCase().indexOf('opera') > -1 ){ operafix = utils.append('script',{ text:"document.getElementById('"+cb_name+"').onerror();" }); script.async = false; } // Add timeout if(timeout){ window.setTimeout(function(){ result = {error:{message:'timeout',code:'timeout'}}; cb(); }, timeout); } // Todo: // Add fix for msie, // However: unable recreate the bug of firing off the onreadystatechange before the script content has been executed and the value of "result" has been defined. // Inject script tag into the head element head.appendChild(script); // Append Opera Fix to run after our script if(operafix){ head.appendChild(operafix); } }); }, // // Post // Send information to a remote location using the post mechanism // @param string uri path // @param object data, key value data to send // @param function callback, function to execute in response // post : function(pathFunc, data, options, callback, callbackID, timeout){ var utils = this, doc = document; // The URL is a function for some cases and as such // Determine its value with a callback containing the new parameters of this function. if(typeof(pathFunc)!=='function'){ var path = pathFunc; pathFunc = function(qs, callback){ callback(utils.qs(path, qs));}; } // This hack needs a form var form = null, reenableAfterSubmit = [], newform, i = 0, x = null, bool = 0, cb = function(r){ if( !( bool++ ) ){ // fire the callback callback(r); // Do not return true, as that will remove the listeners // return true; } }; // What is the name of the callback to contain // We'll also use this to name the iFrame utils.globalEvent(cb, callbackID); // Build the iframe window var win; try{ // IE7 hack, only lets us define the name here, not later. win = doc.createElement('<iframe name="'+callbackID+'">'); } catch(e){ win = doc.createElement('iframe'); } win.name = callbackID; win.id = callbackID; win.style.display = 'none'; // Override callback mechanism. Triggger a response onload/onerror if(options&&options.callbackonload){ // onload is being fired twice win.onload = function(){ cb({ response : "posted", message : "Content was posted" }); }; } if(timeout){ setTimeout(function(){ cb({ error : { code:"timeout", message : "The post operation timed out" } }); }, timeout); } doc.body.appendChild(win); // if we are just posting a single item if( utils.domInstance('form', data) ){ // get the parent form form = data.form; // Loop through and disable all of its siblings for( i = 0; i < form.elements.length; i++ ){ if(form.elements[i] !== data){ form.elements[i].setAttribute('disabled',true); } } // Move the focus to the form data = form; } // Posting a form if( utils.domInstance('form', data) ){ // This is a form element form = data; // Does this form need to be a multipart form? for( i = 0; i < form.elements.length; i++ ){ if(!form.elements[i].disabled && form.elements[i].type === 'file'){ form.encoding = form.enctype = "multipart/form-data"; form.elements[i].setAttribute('name', 'file'); } } } else{ // Its not a form element, // Therefore it must be a JSON object of Key=>Value or Key=>Element // If anyone of those values are a input type=file we shall shall insert its siblings into the form for which it belongs. for(x in data) if(data.hasOwnProperty(x)){ // is this an input Element? if( utils.domInstance('input', data[x]) && data[x].type === 'file' ){ form = data[x].form; form.encoding = form.enctype = "multipart/form-data"; } } // Do If there is no defined form element, lets create one. if(!form){ // Build form form = doc.createElement('form'); doc.body.appendChild(form); newform = form; } var input; // Add elements to the form if they dont exist for(x in data) if(data.hasOwnProperty(x)){ // Is this an element? var el = ( utils.domInstance('input', data[x]) || utils.domInstance('textArea', data[x]) || utils.domInstance('select', data[x]) ); // is this not an input element, or one that exists outside the form. if( !el || data[x].form !== form ){ // Does an element have the same name? var inputs = form.elements[x]; if(input){ // Remove it. if(!(inputs instanceof NodeList)){ inputs = [inputs]; } for(i=0;i<inputs.length;i++){ inputs[i].parentNode.removeChild(inputs[i]); } } // Create an input element input = doc.createElement('input'); input.setAttribute('type', 'hidden'); input.setAttribute('name', x); // Does it have a value attribute? if(el){ input.value = data[x].value; } else if( utils.domInstance(null, data[x]) ){ input.value = data[x].innerHTML || data[x].innerText; }else{ input.value = data[x]; } form.appendChild(input); } // it is an element, which exists within the form, but the name is wrong else if( el && data[x].name !== x){ data[x].setAttribute('name', x); data[x].name = x; } } // Disable elements from within the form if they weren't specified for(i=0;i<form.elements.length;i++){ input = form.elements[i]; // Does the same name and value exist in the parent if( !( input.name in data ) && input.getAttribute('disabled') !== true ) { // disable input.setAttribute('disabled',true); // add re-enable to callback reenableAfterSubmit.push(input); } } } // Set the target of the form form.setAttribute('method', 'POST'); form.setAttribute('target', callbackID); form.target = callbackID; // Call the path pathFunc( {}, function(url){ // Update the form URL form.setAttribute('action', url); // Submit the form // Some reason this needs to be offset from the current window execution setTimeout(function(){ form.submit(); setTimeout(function(){ try{ // remove the iframe from the page. //win.parentNode.removeChild(win); // remove the form if(newform){ newform.parentNode.removeChild(newform); } } catch(e){ try{ console.error("HelloJS: could not remove iframe"); } catch(ee){} } // reenable the disabled form for(var i=0;i<reenableAfterSubmit.length;i++){ if(reenableAfterSubmit[i]){ reenableAfterSubmit[i].setAttribute('disabled', false); reenableAfterSubmit[i].disabled = false; } } },0); },100); }); // Build an iFrame and inject it into the DOM //var ifm = _append('iframe',{id:'_'+Math.round(Math.random()*1e9), style:shy}); // Build an HTML form, with a target attribute as the ID of the iFrame, and inject it into the DOM. //var frm = _append('form',{ method: 'post', action: uri, target: ifm.id, style:shy}); // _append('input',{ name: x, value: data[x] }, frm); }, // // Some of the providers require that only MultiPart is used with non-binary forms. // This function checks whether the form contains binary data hasBinary : function (data){ for(var x in data ) if(data.hasOwnProperty(x)){ if( this.isBinary(data[x]) ){ return true; } } return false; }, // Determines if a variable Either Is or like a FormInput has the value of a Blob isBinary : function(data){ return data instanceof Object && ( (this.domInstance('input', data) && data.type === 'file') || ("FileList" in window && data instanceof window.FileList) || ("File" in window && data instanceof window.File) || ("Blob" in window && data instanceof window.Blob)); }, // DataURI to Blob // Converts a Data-URI to a Blob string toBlob : function(dataURI){ var reg = /^data\:([^;,]+(\;charset=[^;,]+)?)(\;base64)?,/i; var m = dataURI.match(reg); if(!m){ return dataURI; } var binary = atob(dataURI.replace(reg,'')); var array = []; for(var i = 0; i < binary.length; i++) { array.push(binary.charCodeAt(i)); } return new Blob([new Uint8Array(array)], {type: m[1]}); } }); // // EXTRA: Convert FORMElements to JSON for POSTING // Wrappers to add additional functionality to existing functions // (function(hello){ // Copy original function var api = hello.api; var utils = hello.utils; utils.extend(utils, { // // dataToJSON // This takes a FormElement|NodeList|InputElement|MixedObjects and convers the data object to JSON. // dataToJSON : function (p){ var utils = this, w = window; var data = p.data; // Is data a form object if( utils.domInstance('form', data) ){ data = utils.nodeListToJSON(data.elements); } else if ( "NodeList" in w && data instanceof NodeList ){ data = utils.nodeListToJSON(data); } else if( utils.domInstance('input', data) ){ data = utils.nodeListToJSON( [ data ] ); } // Is data a blob, File, FileList? if( ("File" in w && data instanceof w.File) || ("Blob" in w && data instanceof w.Blob) || ("FileList" in w && data instanceof w.FileList) ){ // Convert to a JSON object data = {'file' : data}; } // Loop through data if its not FormData it must now be a JSON object if( !( "FormData" in w && data instanceof w.FormData ) ){ // Loop through the object for(var x in data) if(data.hasOwnProperty(x)){ // FileList Object? if("FileList" in w && data[x] instanceof w.FileList){ // Get first record only if(data[x].length===1){ data[x] = data[x][0]; } else{ //("We were expecting the FileList to contain one file"); } } else if( utils.domInstance('input', data[x]) && data[x].type === 'file' ){ // ignore continue; } else if( utils.domInstance('input', data[x]) || utils.domInstance('select', data[x]) || utils.domInstance('textArea', data[x]) ){ data[x] = data[x].value; } // Else is this another kind of element? else if( utils.domInstance(null, data[x]) ){ data[x] = data[x].innerHTML || data[x].innerText; } } } // Data has been converted to JSON. p.data = data; return data; }, // // NodeListToJSON // Given a list of elements extrapolate their values and return as a json object nodeListToJSON : function(nodelist){ var json = {}; // Create a data string for(var i=0;i<nodelist.length;i++){ var input = nodelist[i]; // If the name of the input is empty or diabled, dont add it. if(input.disabled||!input.name){ continue; } // Is this a file, does the browser not support 'files' and 'FormData'? if( input.type === 'file' ){ json[ input.name ] = input; } else{ json[ input.name ] = input.value || input.innerHTML; } } return json; } }); // Replace it hello.api = function(){ // get arguments var p = utils.args({path:'s!', method : "s", data:'o', timeout:'i', callback:"f" }, arguments); // Change for into a data object if(p.data){ utils.dataToJSON(p); } // Continue return api.call(this, p); }; })(hello); // // Hello then // Making hellojs compatible with promises (function(){ // MDN // Polyfill IE8, does not support native Function.bind if (!Function.prototype.bind) { Function.prototype.bind=function(b){ if(typeof this!=="function"){ throw new TypeError("Function.prototype.bind - what is trying to be bound is not callable"); } function c(){} var a=[].slice, f=a.call(arguments,1), e=this, d=function(){ return e.apply(this instanceof c?this:b||window,f.concat(a.call(arguments))); }; c.prototype=this.prototype; d.prototype=new c(); return d; }; } /*! ** Thenable -- Embeddable Minimum Strictly-Compliant Promises/A+ 1.1.1 Thenable ** Copyright (c) 2013-2014 Ralf S. Engelschall <http://engelschall.com> ** Licensed under The MIT License <http://opensource.org/licenses/MIT> ** Source-Code distributed on <http://github.com/rse/thenable> */ var Thenable = (function(){ /* promise states [Promises/A+ 2.1] */ var STATE_PENDING = 0; /* [Promises/A+ 2.1.1] */ var STATE_FULFILLED = 1; /* [Promises/A+ 2.1.2] */ var STATE_REJECTED = 2; /* [Promises/A+ 2.1.3] */ /* promise object constructor */ var api = function (executor) { /* optionally support non-constructor/plain-function call */ if (!(this instanceof api)) return new api(executor); /* initialize object */ this.id = "Thenable/1.0.6"; this.state = STATE_PENDING; /* initial state */ this.fulfillValue = undefined; /* initial value */ /* [Promises/A+ 1.3, 2.1.2.2] */ this.rejectReason = undefined; /* initial reason */ /* [Promises/A+ 1.5, 2.1.3.2] */ this.onFulfilled = []; /* initial handlers */ this.onRejected = []; /* initial handlers */ /* provide optional information-hiding proxy */ this.proxy = { then: this.then.bind(this) }; /* support optional executor function */ if (typeof executor === "function") executor.call(this, this.fulfill.bind(this), this.reject.bind(this)); }; /* promise API methods */ api.prototype = { /* promise resolving methods */ fulfill: function (value) { return deliver(this, STATE_FULFILLED, "fulfillValue", value); }, reject: function (value) { return deliver(this, STATE_REJECTED, "rejectReason", value); }, /* "The then Method" [Promises/A+ 1.1, 1.2, 2.2] */ then: function (onFulfilled, onRejected) { var curr = this; var next = new api(); /* [Promises/A+ 2.2.7] */ curr.onFulfilled.push( resolver(onFulfilled, next, "fulfill")); /* [Promises/A+ 2.2.2/2.2.6] */ curr.onRejected.push( resolver(onRejected, next, "reject" )); /* [Promises/A+ 2.2.3/2.2.6] */ execute(curr); return next.proxy; /* [Promises/A+ 2.2.7, 3.3] */ } }; /* deliver an action */ var deliver = function (curr, state, name, value) { if (curr.state === STATE_PENDING) { curr.state = state; /* [Promises/A+ 2.1.2.1, 2.1.3.1] */ curr[name] = value; /* [Promises/A+ 2.1.2.2, 2.1.3.2] */ execute(curr); } return curr; }; /* execute all handlers */ var execute = function (curr) { if (curr.state === STATE_FULFILLED) execute_handlers(curr, "onFulfilled", curr.fulfillValue); else if (curr.state === STATE_REJECTED) execute_handlers(curr, "onRejected", curr.rejectReason); }; /* execute particular set of handlers */ var execute_handlers = function (curr, name, value) { /* global process: true */ /* global setImmediate: true */ /* global setTimeout: true */ /* short-circuit processing */ if (curr[name].length === 0) return; /* iterate over all handlers, exactly once */ var handlers = curr[name]; curr[name] = []; /* [Promises/A+ 2.2.2.3, 2.2.3.3] */ var func = function () { for (var i = 0; i < handlers.length; i++) handlers[i](value); /* [Promises/A+ 2.2.5] */ }; /* execute procedure asynchronously */ /* [Promises/A+ 2.2.4, 3.1] */ if (typeof process === "object" && typeof process.nextTick === "function") process.nextTick(func); else if (typeof setImmediate === "function") setImmediate(func); else setTimeout(func, 0); }; /* generate a resolver function */ var resolver = function (cb, next, method) { return function (value) { if (typeof cb !== "function") /* [Promises/A+ 2.2.1, 2.2.7.3, 2.2.7.4] */ next[method].call(next, value); /* [Promises/A+ 2.2.7.3, 2.2.7.4] */ else { var result; try { result = cb(value); } /* [Promises/A+ 2.2.2.1, 2.2.3.1, 2.2.5, 3.2] */ catch (e) { next.reject(e); /* [Promises/A+ 2.2.7.2] */ return; } resolve(next, result); /* [Promises/A+ 2.2.7.1] */ } }; }; /* "Promise Resolution Procedure" */ /* [Promises/A+ 2.3] */ var resolve = function (promise, x) { /* sanity check arguments */ /* [Promises/A+ 2.3.1] */ if (promise === x || promise.proxy === x) { promise.reject(new TypeError("cannot resolve promise with itself")); return; } /* surgically check for a "then" method (mainly to just call the "getter" of "then" only once) */ var then; if ((typeof x === "object" && x !== null) || typeof x === "function") { try { then = x.then; } /* [Promises/A+ 2.3.3.1, 3.5] */ catch (e) { promise.reject(e); /* [Promises/A+ 2.3.3.2] */ return; } } /* handle own Thenables [Promises/A+ 2.3.2] and similar "thenables" [Promises/A+ 2.3.3] */ if (typeof then === "function") { var resolved = false; try { /* call retrieved "then" method */ /* [Promises/A+ 2.3.3.3] */ then.call(x, /* resolvePromise */ /* [Promises/A+ 2.3.3.3.1] */ function (y) { if (resolved) return; resolved = true; /* [Promises/A+ 2.3.3.3.3] */ if (y === x) /* [Promises/A+ 3.6] */ promise.reject(new TypeError("circular thenable chain")); else resolve(promise, y); }, /* rejectPromise */ /* [Promises/A+ 2.3.3.3.2] */ function (r) { if (resolved) return; resolved = true; /* [Promises/A+ 2.3.3.3.3] */ promise.reject(r); } ); } catch (e) { if (!resolved) /* [Promises/A+ 2.3.3.3.3] */ promise.reject(e); /* [Promises/A+ 2.3.3.3.4] */ } return; } /* handle other values */ promise.fulfill(x); /* [Promises/A+ 2.3.4, 2.3.3.4] */ }; /* export API */ return api; })(); // overwrite login function thenify(method){ return function(){ var api = method.apply(this, arguments); var promise = Thenable(function(fullfill, reject){ api.on('success', fullfill) .on('error', reject) .on('*', function(){ var args = Array.prototype.slice.call(arguments); // put the last argument (the event_name) to the front args.unshift(args.pop()); melge.emit.apply(melge, args); }); }); var melge = hello.utils.Event.call(promise.proxy); return melge; }; } hello.login = thenify(hello.login); hello.api = thenify(hello.api); hello.logout = thenify(hello.logout); })(hello); // // AMD shim // if (typeof define === 'function' && define.amd) { // AMD. Register as an anonymous module. define(function(){ return hello; }); } // // CommonJS module for browserify // if (typeof module === 'object' && module.exports) { // CommonJS definition module.exports = hello; }
prosenjit-itobuz/cdnjs
ajax/libs/hellojs/1.2.4/hello.js
JavaScript
mit
74,127
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add("tree",function(e,t){var n=e.Lang,r="add",i="clear",s="remove",o=e.Base.create("tree",e.Base,[],{nodeClass:e.Tree.Node,nodeExtensions:[],_isYUITree:!0,_rootNodeConfig:{canHaveChildren:!0},initializer:function(e){e||(e={}),e.nodeClass&&(this.nodeClass=e.nodeClass),e.nodeExtensions&&(this.nodeExtensions=this.nodeExtensions.concat(e.nodeExtensions)),this._published||(this._published={}),this._nodeMap={},this.onceAfter("initializedChange",function(){this._composeNodeClass(),this.clear(e.rootNode,{silent:!0}),e.nodes&&this.insertNode(this.rootNode,e.nodes,{silent:!0})})},destructor:function(){this.destroyNode(this.rootNode,{silent:!0}),this.children=null,this.rootNode=null,this._nodeClass=null,this._nodeMap=null,this._published=null},appendNode:function(t,n,r){return this.insertNode(t,n,e.merge(r,{index:t.children.length,src:"append"}))},clear:function(e,t){return this._fireTreeEvent(i,{rootNode:this.createNode(e||this._rootNodeConfig),src:t&&t.src},{defaultFn:this._defClearFn,silent:t&&t.silent})},createNode:function(t){t||(t={});if(t._isYUITreeNode)return t.state.destroyed?(e.error("Cannot insert a node that has already been destroyed.",null,"tree"),null):(this._adoptNode(t),t);if(t.children){var n=[];for(var r=0,i=t.children.length;r<i;r++)n.push(this.createNode(t.children[r]));t=e.merge(t,{children:n})}var s=new this._nodeClass(this,t);return this._nodeMap[s.id]=s},destroyNode:function(e,t){var n,r,i;t||(t={});for(r=0,i=e.children.length;r<i;r++)n=e.children[r],n.parent=null,this.destroyNode(n,t);return e.parent&&this.removeNode(e,t),e.children=[],e.data={},e.state={destroyed:!0},e.tree=null,e._indexMap={},delete this._nodeMap[e.id],this},emptyNode:function(e,t){var n=e.children,r=[];for(var i=n.length-1;i>-1;--i)r[i]=this.removeNode(n[i],t);return r},findNode:function(e,t,n,r){var i=null;return typeof t=="function"&&(r=n,n=t,t={}),this.traverseNode(e,t,function(e){if(n.call(r,e))return i=e,o.STOP_TRAVERSAL}),i},getNodeById:function(e){return this._nodeMap[e]},insertNode:function(e,t,i){i||(i={}),e||(e=this.rootNode);if("length"in t&&n.isArray(t)){var s="index"in i,o=[],u;for(var a=0,f=t.length;a<f;a++)u=this.insertNode(e,t[a],i),u&&(o.push(u),s&&(i.index+=1));return o}t=this.createNode(t);if(t){var l=i.index;typeof l=="undefined"&&(l=this._getDefaultNodeIndex(e,t,i)),this._fireTreeEvent(r,{index:l,node:t,parent:e,src:i.src||"insert"},{defaultFn:this._defAddFn,silent:i.silent})}return t},prependNode:function(t,n,r){return this.insertNode(t,n,e.merge(r,{index:0,src:"prepend"}))},removeNode:function(e,t){return t||(t={}),this._fireTreeEvent(s,{destroy:!!t.destroy,node:e,parent:e.parent,src:t.src||"remove"},{defaultFn:this._defRemoveFn,silent:t.silent}),e},size:function(){return this.rootNode.size()+1},toJSON:function(){return this.rootNode.toJSON()},traverseNode:function(t,n,r,i){if(t.state.destroyed){e.error("Cannot traverse a node that has been destroyed.",null,"tree");return}typeof n=="function"&&(i=r,r=n,n={}),n||(n={});var s=o.STOP_TRAVERSAL,u=typeof n.depth=="undefined";if(r.call(i,t)===s)return s;var a=t.children;if(u||n.depth>0){var f=u?n:{depth:n.depth-1};for(var l=0,c=a.length;l<c;l++)if(this.traverseNode(a[l],f,r,i)===s)return s}},_adoptNode:function(e,t){var n=e.tree,r;if(n===this)return;for(var i=0,s=e.children.length;i<s;i++)r=e.children[i],r.parent=null,this._adoptNode(r,{silent:!0}),r.parent=e;e.parent&&n.removeNode(e,t),delete n._nodeMap[e.id];if(!(e instanceof this._nodeClass)||n._nodeClass!==this._nodeClass)e=this.createNode(e.toJSON());e.tree=this,e._isIndexStale=!0,this._nodeMap[e.id]=e},_composeNodeClass:function(){var t=this.nodeClass,n=this.nodeExtensions,r;if(typeof t=="string"){t=e.Object.getValue(e,t.split("."));if(!t){e.error("Node class not found: "+t,null,"tree");return}this.nodeClass=t}if(!n.length){this._nodeClass=t;return}r=function(){var e=r._nodeExtensions;t.apply(this,arguments);for(var n=0,i=e.length;n<i;n++)e[n].apply(this,arguments)},e.extend(r,t);for(var i=0,s=n.length;i<s;i++)e.mix(r.prototype,n[i].prototype,!0);r._nodeExtensions=n,this._nodeClass=r},_fireTreeEvent:function(e,t,n){return n&&n.silent?n.defaultFn&&(t.silent=!0,n.defaultFn.call(this,t)):(n&&n.defaultFn&&!this._published[e]&&(this._published[e]=this.publish(e,{defaultFn:n.defaultFn})),this.fire(e,t)),this},_getDefaultNodeIndex:function(e){return e.children.length},_removeNodeFromParent:function(e){var t=e.parent,n;if(t){n=t.indexOf(e);if(n>-1){var r=t.children;n===r.length-1?r.pop():(r.splice(n,1),t._isIndexStale=!0),e.parent=null}}},_defAddFn:function(e){var t=e.index,n=e.node,r=e.parent,i;if(n.parent){if(n.parent===r){i=r.indexOf(n);if(i===t)return;i<t&&(t-=1)}this.removeNode(n,{silent:e.silent,src:"add"})}n.parent=r,r.children.splice(t,0,n),r.canHaveChildren=!0,r._isIndexStale=!0},_defClearFn:function(e){var t=e.rootNode;this.rootNode&&this.destroyNode(this.rootNode,{silent:!0}),this._nodeMap={},this._nodeMap[t.id]=t,this.rootNode=t,this.children=t.children},_defRemoveFn:function(e){var t=e.node;e.destroy?this.destroyNode(t,{silent:!0}):e.parent?this._removeNodeFromParent(t):this.rootNode===t&&(this.rootNode=this.createNode(this._rootNodeConfig),this.children=this.rootNode.children)}},{STOP_TRAVERSAL:{}});e.Tree=e.mix(o,e.Tree)},"3.17.2",{requires:["base-build","tree-node"]});
rteasdale/cdnjs
ajax/libs/yui/3.17.2/tree/tree-min.js
JavaScript
mit
5,432
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ /** The YUI module contains the components required for building the YUI seed file. This includes the script loading mechanism, a simple queue, and the core utilities for the library. @module yui @main yui @submodule yui-base **/ /*jshint eqeqeq: false*/ if (typeof YUI != 'undefined') { YUI._YUI = YUI; } /** The YUI global namespace object. This is the constructor for all YUI instances. This is a self-instantiable factory function, meaning you don't need to precede it with the `new` operator. You can invoke it directly like this: YUI().use('*', function (Y) { // Y is a new YUI instance. }); But it also works like this: var Y = YUI(); The `YUI` constructor accepts an optional config object, like this: YUI({ debug: true, combine: false }).use('node', function (Y) { // Y.Node is ready to use. }); See the API docs for the <a href="config.html">Config</a> class for the complete list of supported configuration properties accepted by the YUI constuctor. If a global `YUI` object is already defined, the existing YUI object will not be overwritten, to ensure that defined namespaces are preserved. Each YUI instance has full custom event support, but only if the event system is available. @class YUI @uses EventTarget @constructor @global @param {Object} [config]* Zero or more optional configuration objects. Config values are stored in the `Y.config` property. See the <a href="config.html">Config</a> docs for the list of supported properties. **/ /*global YUI*/ /*global YUI_config*/ var YUI = function() { var i = 0, Y = this, args = arguments, l = args.length, instanceOf = function(o, type) { return (o && o.hasOwnProperty && (o instanceof type)); }, gconf = (typeof YUI_config !== 'undefined') && YUI_config; if (!(instanceOf(Y, YUI))) { Y = new YUI(); } else { // set up the core environment Y._init(); /** Master configuration that might span multiple contexts in a non- browser environment. It is applied first to all instances in all contexts. @example YUI.GlobalConfig = { filter: 'debug' }; YUI().use('node', function (Y) { // debug files used here }); YUI({ filter: 'min' }).use('node', function (Y) { // min files used here }); @property {Object} GlobalConfig @global @static **/ if (YUI.GlobalConfig) { Y.applyConfig(YUI.GlobalConfig); } /** Page-level config applied to all YUI instances created on the current page. This is applied after `YUI.GlobalConfig` and before any instance-level configuration. @example // Single global var to include before YUI seed file YUI_config = { filter: 'debug' }; YUI().use('node', function (Y) { // debug files used here }); YUI({ filter: 'min' }).use('node', function (Y) { // min files used here }); @property {Object} YUI_config @global **/ if (gconf) { Y.applyConfig(gconf); } // bind the specified additional modules for this instance if (!l) { Y._setup(); } } if (l) { // Each instance can accept one or more configuration objects. // These are applied after YUI.GlobalConfig and YUI_Config, // overriding values set in those config files if there is a // matching property. for (; i < l; i++) { Y.applyConfig(args[i]); } Y._setup(); } Y.instanceOf = instanceOf; return Y; }; (function() { var proto, prop, VERSION = '3.17.2', PERIOD = '.', BASE = 'http://yui.yahooapis.com/', /* These CSS class names can't be generated by getClassName since it is not available at the time they are being used. */ DOC_LABEL = 'yui3-js-enabled', CSS_STAMP_EL = 'yui3-css-stamp', NOOP = function() {}, SLICE = Array.prototype.slice, APPLY_TO_AUTH = { 'io.xdrReady': 1, // the functions applyTo 'io.xdrResponse': 1, // can call. this should 'SWF.eventHandler': 1 }, // be done at build time hasWin = (typeof window != 'undefined'), win = (hasWin) ? window : null, doc = (hasWin) ? win.document : null, docEl = doc && doc.documentElement, docClass = docEl && docEl.className, instances = {}, time = new Date().getTime(), add = function(el, type, fn, capture) { if (el && el.addEventListener) { el.addEventListener(type, fn, capture); } else if (el && el.attachEvent) { el.attachEvent('on' + type, fn); } }, remove = function(el, type, fn, capture) { if (el && el.removeEventListener) { // this can throw an uncaught exception in FF try { el.removeEventListener(type, fn, capture); } catch (ex) {} } else if (el && el.detachEvent) { el.detachEvent('on' + type, fn); } }, handleReady = function() { YUI.Env.DOMReady = true; if (hasWin) { remove(doc, 'DOMContentLoaded', handleReady); } }, handleLoad = function() { YUI.Env.windowLoaded = true; YUI.Env.DOMReady = true; if (hasWin) { remove(window, 'load', handleLoad); } }, getLoader = function(Y, o) { var loader = Y.Env._loader, lCore = [ 'loader-base' ], G_ENV = YUI.Env, mods = G_ENV.mods; if (loader) { //loader._config(Y.config); loader.ignoreRegistered = false; loader.onEnd = null; loader.data = null; loader.required = []; loader.loadType = null; } else { loader = new Y.Loader(Y.config); Y.Env._loader = loader; } if (mods && mods.loader) { lCore = [].concat(lCore, YUI.Env.loaderExtras); } YUI.Env.core = Y.Array.dedupe([].concat(YUI.Env.core, lCore)); return loader; }, clobber = function(r, s) { for (var i in s) { if (s.hasOwnProperty(i)) { r[i] = s[i]; } } }, ALREADY_DONE = { success: true }; // Stamp the documentElement (HTML) with a class of "yui-loaded" to // enable styles that need to key off of JS being enabled. if (docEl && docClass.indexOf(DOC_LABEL) == -1) { if (docClass) { docClass += ' '; } docClass += DOC_LABEL; docEl.className = docClass; } if (VERSION.indexOf('@') > -1) { VERSION = '3.5.0'; // dev time hack for cdn test } proto = { /** Applies a new configuration object to the config of this YUI instance. This will merge new group/module definitions, and will also update the loader cache if necessary. Updating `Y.config` directly will not update the cache. @method applyConfig @param {Object} o the configuration object. @since 3.2.0 **/ applyConfig: function(o) { o = o || NOOP; var attr, name, // detail, config = this.config, mods = config.modules, groups = config.groups, aliases = config.aliases, loader = this.Env._loader; for (name in o) { if (o.hasOwnProperty(name)) { attr = o[name]; if (mods && name == 'modules') { clobber(mods, attr); } else if (aliases && name == 'aliases') { clobber(aliases, attr); } else if (groups && name == 'groups') { clobber(groups, attr); } else if (name == 'win') { config[name] = (attr && attr.contentWindow) || attr; config.doc = config[name] ? config[name].document : null; } else if (name == '_yuid') { // preserve the guid } else { config[name] = attr; } } } if (loader) { loader._config(o); } }, /** Old way to apply a config to this instance (calls `applyConfig` under the hood). @private @method _config @param {Object} o The config to apply **/ _config: function(o) { this.applyConfig(o); }, /** Initializes this YUI instance. @private @method _init **/ _init: function() { var filter, el, Y = this, G_ENV = YUI.Env, Env = Y.Env, prop; /** The version number of this YUI instance. This value is typically updated by a script when a YUI release is built, so it may not reflect the correct version number when YUI is run from the development source tree. @property {String} version **/ Y.version = VERSION; if (!Env) { Y.Env = { core: ['intl-base'], loaderExtras: ['loader-rollup', 'loader-yui3'], mods: {}, // flat module map versions: {}, // version module map base: BASE, cdn: BASE + VERSION + '/build/', // bootstrapped: false, _idx: 0, _used: {}, _attached: {}, _exported: {}, _missed: [], _yidx: 0, _uidx: 0, _guidp: 'y', _loaded: {}, // serviced: {}, // Regex in English: // I'll start at the \b(yui). // 1. Look in the test string for "yui" or // "yui-base" or "yui-davglass" or "yui-foobar" that comes after a word break. That is, it // can't match "foyui" or "i_heart_yui". This can be anywhere in the string. // 2. After #1 must come a forward slash followed by the string matched in #1, so // "yui-base/yui-base" or "yui-pants/yui-pants". // 3. The second occurence of the #1 token can optionally be followed by "-debug" or "-min", // so "yui/yui-min", "yui/yui-debug", "yui-base/yui-base-debug". NOT "yui/yui-tshirt". // 4. This is followed by ".js", so "yui/yui.js". // 0. Going back to the beginning, now. If all that stuff in 1-4 comes after a "?" in the string, // then capture the junk between the LAST "&" and the string in 1-4. So // "blah?foo/yui/yui.js" will capture "foo/" and "blah?some/thing.js&3.3.0/build/yui-davglass/yui-davglass.js" // will capture "3.3.0/build/" // // Regex Exploded: // (?:\? Find a ? // (?:[^&]*&) followed by 0..n characters followed by an & // * in fact, find as many sets of characters followed by a & as you can // ([^&]*) capture the stuff after the last & in \1 // )? but it's ok if all this ?junk&more_junk stuff isn't even there // \b( after a word break find either the string // yui(?:-\w+)? "yui" optionally followed by a -, then more characters // ) and store the yui-* string in \2 // \/\2 then comes a / followed by the yui-* string in \2 // (?:-(min|debug))? optionally followed by "-min" or "-debug" // .js and ending in ".js" _BASE_RE: /(?:\?(?:[^&]*&)*([^&]*))?\b(yui(?:-\w+)?)\/\2(?:-(min|debug))?\.js/, parseBasePath: function(src, pattern) { var match = src.match(pattern), path, filter; if (match) { path = RegExp.leftContext || src.slice(0, src.indexOf(match[0])); // this is to set up the path to the loader. The file // filter for loader should match the yui include. filter = match[3]; // extract correct path for mixed combo urls // http://yuilibrary.com/projects/yui3/ticket/2528423 if (match[1]) { path += '?' + match[1]; } path = { filter: filter, path: path }; } return path; }, getBase: G_ENV && G_ENV.getBase || function(pattern) { var nodes = (doc && doc.getElementsByTagName('script')) || [], path = Env.cdn, parsed, i, len, src; for (i = 0, len = nodes.length; i < len; ++i) { src = nodes[i].src; if (src) { parsed = Y.Env.parseBasePath(src, pattern); if (parsed) { filter = parsed.filter; path = parsed.path; break; } } } // use CDN default return path; } }; Env = Y.Env; Env._loaded[VERSION] = {}; if (G_ENV && Y !== YUI) { Env._yidx = ++G_ENV._yidx; Env._guidp = ('yui_' + VERSION + '_' + Env._yidx + '_' + time).replace(/[^a-z0-9_]+/g, '_'); } else if (YUI._YUI) { G_ENV = YUI._YUI.Env; Env._yidx += G_ENV._yidx; Env._uidx += G_ENV._uidx; for (prop in G_ENV) { if (!(prop in Env)) { Env[prop] = G_ENV[prop]; } } delete YUI._YUI; } Y.id = Y.stamp(Y); instances[Y.id] = Y; } Y.constructor = YUI; // configuration defaults Y.config = Y.config || { bootstrap: true, cacheUse: true, debug: true, doc: doc, fetchCSS: true, throwFail: true, useBrowserConsole: true, useNativeES5: true, win: win, global: Function('return this')() }; //Register the CSS stamp element if (doc && !doc.getElementById(CSS_STAMP_EL)) { el = doc.createElement('div'); el.innerHTML = '<div id="' + CSS_STAMP_EL + '" style="position: absolute !important; visibility: hidden !important"></div>'; YUI.Env.cssStampEl = el.firstChild; if (doc.body) { doc.body.appendChild(YUI.Env.cssStampEl); } else { docEl.insertBefore(YUI.Env.cssStampEl, docEl.firstChild); } } else if (doc && doc.getElementById(CSS_STAMP_EL) && !YUI.Env.cssStampEl) { YUI.Env.cssStampEl = doc.getElementById(CSS_STAMP_EL); } Y.config.lang = Y.config.lang || 'en-US'; Y.config.base = YUI.config.base || Y.Env.getBase(Y.Env._BASE_RE); if (!filter || (!('mindebug').indexOf(filter))) { filter = 'min'; } filter = (filter) ? '-' + filter : filter; Y.config.loaderPath = YUI.config.loaderPath || 'loader/loader' + filter + '.js'; }, /** Finishes the instance setup. Attaches whatever YUI modules were defined at the time that this instance was created. @method _setup @private **/ _setup: function() { var i, Y = this, core = [], mods = YUI.Env.mods, extras = Y.config.core || [].concat(YUI.Env.core); //Clone it.. for (i = 0; i < extras.length; i++) { if (mods[extras[i]]) { core.push(extras[i]); } } Y._attach(['yui-base']); Y._attach(core); if (Y.Loader) { getLoader(Y); } // Y.log(Y.id + ' initialized', 'info', 'yui'); }, /** Executes the named method on the specified YUI instance if that method is whitelisted. @method applyTo @param {String} id YUI instance id. @param {String} method Name of the method to execute. For example: 'Object.keys'. @param {Array} args Arguments to apply to the method. @return {Mixed} Return value from the applied method, or `null` if the specified instance was not found or the method was not whitelisted. **/ applyTo: function(id, method, args) { if (!(method in APPLY_TO_AUTH)) { this.log(method + ': applyTo not allowed', 'warn', 'yui'); return null; } var instance = instances[id], nest, m, i; if (instance) { nest = method.split('.'); m = instance; for (i = 0; i < nest.length; i = i + 1) { m = m[nest[i]]; if (!m) { this.log('applyTo not found: ' + method, 'warn', 'yui'); } } return m && m.apply(instance, args); } return null; }, /** Registers a YUI module and makes it available for use in a `YUI().use()` call or as a dependency for other modules. The easiest way to create a first-class YUI module is to use <a href="http://yui.github.com/shifter/">Shifter</a>, the YUI component build tool. Shifter will automatically wrap your module code in a `YUI.add()` call along with any configuration info required for the module. @example YUI.add('davglass', function (Y) { Y.davglass = function () { Y.log('Dav was here!'); }; }, '3.4.0', { requires: ['harley-davidson', 'mt-dew'] }); @method add @param {String} name Module name. @param {Function} fn Function containing module code. This function will be executed whenever the module is attached to a specific YUI instance. @param {YUI} fn.Y The YUI instance to which this module is attached. @param {String} fn.name Name of the module @param {String} version Module version number. This is currently used only for informational purposes, and is not used internally by YUI. @param {Object} [details] Module config. @param {Array} [details.requires] Array of other module names that must be attached before this module can be attached. @param {Array} [details.optional] Array of optional module names that should be attached before this module is attached if they've already been loaded. If the `loadOptional` YUI option is `true`, optional modules that have not yet been loaded will be loaded just as if they were hard requirements. @param {Array} [details.use] Array of module names that are included within or otherwise provided by this module, and which should be attached automatically when this module is attached. This makes it possible to create "virtual rollup" modules that simply attach a collection of other modules or submodules. @return {YUI} This YUI instance. **/ add: function(name, fn, version, details) { details = details || {}; var env = YUI.Env, mod = { name: name, fn: fn, version: version, details: details }, //Instance hash so we don't apply it to the same instance twice applied = {}, loader, inst, modInfo, i, versions = env.versions; env.mods[name] = mod; versions[version] = versions[version] || {}; versions[version][name] = mod; for (i in instances) { if (instances.hasOwnProperty(i)) { inst = instances[i]; if (!applied[inst.id]) { applied[inst.id] = true; loader = inst.Env._loader; if (loader) { modInfo = loader.getModuleInfo(name); if (!modInfo || modInfo.temp) { loader.addModule(details, name); } } } } } return this; }, /** Executes the callback function associated with each required module, attaching the module to this YUI instance. @method _attach @param {Array} r The array of modules to attach @param {Boolean} [moot=false] If `true`, don't throw a warning if the module is not attached. @private **/ _attach: function(r, moot) { var i, name, mod, details, req, use, after, mods = YUI.Env.mods, aliases = YUI.Env.aliases, Y = this, j, cache = YUI.Env._renderedMods, loader = Y.Env._loader, done = Y.Env._attached, exported = Y.Env._exported, len = r.length, loader, def, go, c = [], modArgs, esCompat, reqlen, modInfo, condition, __exports__, __imports__; //Check for conditional modules (in a second+ instance) and add their requirements //TODO I hate this entire method, it needs to be fixed ASAP (3.5.0) ^davglass for (i = 0; i < len; i++) { name = r[i]; mod = mods[name]; c.push(name); if (loader && loader.conditions[name]) { for (j in loader.conditions[name]) { if (loader.conditions[name].hasOwnProperty(j)) { def = loader.conditions[name][j]; go = def && ((def.ua && Y.UA[def.ua]) || (def.test && def.test(Y))); if (go) { c.push(def.name); } } } } } r = c; len = r.length; for (i = 0; i < len; i++) { if (!done[r[i]]) { name = r[i]; mod = mods[name]; if (aliases && aliases[name] && !mod) { Y._attach(aliases[name]); continue; } if (!mod) { modInfo = loader && loader.getModuleInfo(name); if (modInfo) { mod = modInfo; moot = true; } // Y.log('no js def for: ' + name, 'info', 'yui'); //if (!loader || !loader.moduleInfo[name]) { //if ((!loader || !loader.moduleInfo[name]) && !moot) { if (!moot && name) { if ((name.indexOf('skin-') === -1) && (name.indexOf('css') === -1)) { Y.Env._missed.push(name); Y.Env._missed = Y.Array.dedupe(Y.Env._missed); Y.message('NOT loaded: ' + name, 'warn', 'yui'); } } } else { done[name] = true; //Don't like this, but in case a mod was asked for once, then we fetch it //We need to remove it from the missed list ^davglass for (j = 0; j < Y.Env._missed.length; j++) { if (Y.Env._missed[j] === name) { Y.message('Found: ' + name + ' (was reported as missing earlier)', 'warn', 'yui'); Y.Env._missed.splice(j, 1); } } // Optional dependencies normally work by modifying the // dependency list of a module. If the dependency's test // passes it is added to the list. If not, it's not loaded. // This following check ensures that optional dependencies // are not attached when they were already loaded into the // page (when bundling for example) if (loader && !loader._canBeAttached(name)) { Y.log('Failed to attach module ' + name, 'warn', 'yui'); return true; } /* If it's a temp module, we need to redo it's requirements if it's already loaded since it may have been loaded by another instance and it's dependencies might have been redefined inside the fetched file. */ if (loader && cache && cache[name] && cache[name].temp) { loader.getRequires(cache[name]); req = []; modInfo = loader.getModuleInfo(name); for (j in modInfo.expanded_map) { if (modInfo.expanded_map.hasOwnProperty(j)) { req.push(j); } } Y._attach(req); } details = mod.details; req = details.requires; esCompat = details.es; use = details.use; after = details.after; //Force Intl load if there is a language (Loader logic) @todo fix this shit if (details.lang) { req = req || []; req.unshift('intl'); } if (req) { reqlen = req.length; for (j = 0; j < reqlen; j++) { if (!done[req[j]]) { if (!Y._attach(req)) { return false; } break; } } } if (after) { for (j = 0; j < after.length; j++) { if (!done[after[j]]) { if (!Y._attach(after, true)) { return false; } break; } } } if (mod.fn) { modArgs = [Y, name]; if (esCompat) { __imports__ = {}; __exports__ = {}; // passing `exports` and `imports` onto the module function modArgs.push(__imports__, __exports__); if (req) { reqlen = req.length; for (j = 0; j < reqlen; j++) { __imports__[req[j]] = exported.hasOwnProperty(req[j]) ? exported[req[j]] : Y; } } } if (Y.config.throwFail) { __exports__ = mod.fn.apply(esCompat ? undefined : mod, modArgs); } else { try { __exports__ = mod.fn.apply(esCompat ? undefined : mod, modArgs); } catch (e) { Y.error('Attach error: ' + name, e, name); return false; } } if (esCompat) { // store the `exports` in case others `es` modules requires it exported[name] = __exports__; // If an ES module is conditionally loaded and set // to be used "instead" another module, replace the // trigger module's content with the conditionally // loaded one so the values returned by require() // still makes sense condition = mod.details.condition; if (condition && condition.when === 'instead') { exported[condition.trigger] = __exports__; } } } if (use) { for (j = 0; j < use.length; j++) { if (!done[use[j]]) { if (!Y._attach(use)) { return false; } break; } } } } } } return true; }, /** Delays the `use` callback until another event has taken place such as `window.onload`, `domready`, `contentready`, or `available`. @private @method _delayCallback @param {Function} cb The original `use` callback. @param {String|Object} until Either an event name ('load', 'domready', etc.) or an object containing event/args keys for contentready/available. @return {Function} **/ _delayCallback: function(cb, until) { var Y = this, mod = ['event-base']; until = (Y.Lang.isObject(until) ? until : { event: until }); if (until.event === 'load') { mod.push('event-synthetic'); } Y.log('Delaying use callback until: ' + until.event, 'info', 'yui'); return function() { Y.log('Use callback fired, waiting on delay', 'info', 'yui'); var args = arguments; Y._use(mod, function() { Y.log('Delayed use wrapper callback after dependencies', 'info', 'yui'); Y.on(until.event, function() { args[1].delayUntil = until.event; Y.log('Delayed use callback done after ' + until.event, 'info', 'yui'); cb.apply(Y, args); }, until.args); }); }; }, /** Attaches one or more modules to this YUI instance. When this is executed, the requirements of the desired modules are analyzed, and one of several things can happen: * All required modules have already been loaded, and just need to be attached to this YUI instance. In this case, the `use()` callback will be executed synchronously after the modules are attached. * One or more modules have not yet been loaded, or the Get utility is not available, or the `bootstrap` config option is `false`. In this case, a warning is issued indicating that modules are missing, but all available modules will still be attached and the `use()` callback will be executed synchronously. * One or more modules are missing and the Loader is not available but the Get utility is, and `bootstrap` is not `false`. In this case, the Get utility will be used to load the Loader, and we will then proceed to the following state: * One or more modules are missing and the Loader is available. In this case, the Loader will be used to resolve the dependency tree for the missing modules and load them and their dependencies. When the Loader is finished loading modules, the `use()` callback will be executed asynchronously. @example // Loads and attaches dd and its dependencies. YUI().use('dd', function (Y) { // ... }); // Loads and attaches dd and node as well as all of their dependencies. YUI().use(['dd', 'node'], function (Y) { // ... }); // Attaches all modules that have already been loaded. YUI().use('*', function (Y) { // ... }); // Attaches a gallery module. YUI().use('gallery-yql', function (Y) { // ... }); // Attaches a YUI 2in3 module. YUI().use('yui2-datatable', function (Y) { // ... }); @method use @param {String|Array} modules* One or more module names to attach. @param {Function} [callback] Callback function to be executed once all specified modules and their dependencies have been attached. @param {YUI} callback.Y The YUI instance created for this sandbox. @param {Object} callback.status Object containing `success`, `msg` and `data` properties. @chainable **/ use: function() { var args = SLICE.call(arguments, 0), callback = args[args.length - 1], Y = this, i = 0, name, Env = Y.Env, provisioned = true; // The last argument supplied to use can be a load complete callback if (Y.Lang.isFunction(callback)) { args.pop(); if (Y.config.delayUntil) { callback = Y._delayCallback(callback, Y.config.delayUntil); } } else { callback = null; } if (Y.Lang.isArray(args[0])) { args = args[0]; } if (Y.config.cacheUse) { while ((name = args[i++])) { if (!Env._attached[name]) { provisioned = false; break; } } if (provisioned) { if (args.length) { Y.log('already provisioned: ' + args, 'info', 'yui'); } Y._notify(callback, ALREADY_DONE, args); return Y; } } if (Y._loading) { Y._useQueue = Y._useQueue || new Y.Queue(); Y._useQueue.add([args, callback]); } else { Y._use(args, function(Y, response) { Y._notify(callback, response, args); }); } return Y; }, /** Sugar for loading both legacy and ES6-based YUI modules. @method require @param {String} [modules*] List of module names to import or a single module name. @param {Function} callback Callback that gets called once all the modules were loaded. Each parameter of the callback is the export value of the corresponding module in the list. If the module is a legacy YUI module, the YUI instance is used instead of the module exports. @example ``` YUI().require(['es6-set'], function (Y, imports) { var Set = imports.Set, set = new Set(); }); ``` **/ require: function () { var args = SLICE.call(arguments), callback; if (typeof args[args.length - 1] === 'function') { callback = args.pop(); // only add the callback if one was provided // YUI().require('foo'); is valid args.push(function (Y) { var i, length = args.length, exported = Y.Env._exported, __imports__ = {}; // Get only the imports requested as arguments for (i = 0; i < length; i++) { if (exported.hasOwnProperty(args[i])) { __imports__[args[i]] = exported[args[i]]; } } // Using `undefined` because: // - Using `Y.config.global` would force the value of `this` to be // the global object even in strict mode // - Using `Y` goes against the goal of moving away from a shared // object and start thinking in terms of imported and exported // objects callback.call(undefined, Y, __imports__); }); } // Do not return the Y object. This makes it hard to follow this // traditional pattern: // var Y = YUI().use(...); // This is a good idea in the light of ES6 modules, to avoid working // in the global scope. // This also leaves the door open for returning a promise, once the // YUI loader is based on the ES6 loader which uses // loader.import(...).then(...) this.use.apply(this, args); }, /** Handles Loader notifications about attachment/load errors. @method _notify @param {Function} callback Callback to pass to `Y.config.loadErrorFn`. @param {Object} response Response returned from Loader. @param {Array} args Arguments passed from Loader. @private **/ _notify: function(callback, response, args) { if (!response.success && this.config.loadErrorFn) { this.config.loadErrorFn.call(this, this, callback, response, args); } else if (callback) { if (this.Env._missed && this.Env._missed.length) { response.msg = 'Missing modules: ' + this.Env._missed.join(); response.success = false; } if (this.config.throwFail) { callback(this, response); } else { try { callback(this, response); } catch (e) { this.error('use callback error', e, args); } } } }, /** Called from the `use` method queue to ensure that only one set of loading logic is performed at a time. @method _use @param {String} args* One or more modules to attach. @param {Function} [callback] Function to call once all required modules have been attached. @private **/ _use: function(args, callback) { if (!this.Array) { this._attach(['yui-base']); } var len, loader, handleBoot, Y = this, G_ENV = YUI.Env, mods = G_ENV.mods, Env = Y.Env, used = Env._used, aliases = G_ENV.aliases, queue = G_ENV._loaderQueue, firstArg = args[0], YArray = Y.Array, config = Y.config, boot = config.bootstrap, missing = [], i, r = [], ret = true, fetchCSS = config.fetchCSS, process = function(names, skip) { var i = 0, a = [], name, len, m, req, use; if (!names.length) { return; } if (aliases) { len = names.length; for (i = 0; i < len; i++) { if (aliases[names[i]] && !mods[names[i]]) { a = [].concat(a, aliases[names[i]]); } else { a.push(names[i]); } } names = a; } len = names.length; for (i = 0; i < len; i++) { name = names[i]; if (!skip) { r.push(name); } // only attach a module once if (used[name]) { continue; } m = mods[name]; req = null; use = null; if (m) { used[name] = true; req = m.details.requires; use = m.details.use; } else { // CSS files don't register themselves, see if it has // been loaded if (!G_ENV._loaded[VERSION][name]) { missing.push(name); } else { used[name] = true; // probably css } } // make sure requirements are attached if (req && req.length) { process(req); } // make sure we grab the submodule dependencies too if (use && use.length) { process(use, 1); } } }, handleLoader = function(fromLoader) { var response = fromLoader || { success: true, msg: 'not dynamic' }, redo, origMissing, ret = true, data = response.data; Y._loading = false; if (data) { origMissing = missing; missing = []; r = []; process(data); redo = missing.length; if (redo) { if ([].concat(missing).sort().join() == origMissing.sort().join()) { redo = false; } } } if (redo && data) { Y._loading = true; Y._use(missing, function() { Y.log('Nested use callback: ' + data, 'info', 'yui'); if (Y._attach(data)) { Y._notify(callback, response, data); } }); } else { if (data) { // Y.log('attaching from loader: ' + data, 'info', 'yui'); ret = Y._attach(data); } if (ret) { Y._notify(callback, response, args); } } if (Y._useQueue && Y._useQueue.size() && !Y._loading) { Y._use.apply(Y, Y._useQueue.next()); } }; // Y.log(Y.id + ': use called: ' + a + ' :: ' + callback, 'info', 'yui'); // YUI().use('*'); // bind everything available if (firstArg === '*') { args = []; for (i in mods) { if (mods.hasOwnProperty(i)) { args.push(i); } } ret = Y._attach(args); if (ret) { handleLoader(); } return Y; } if ((mods.loader || mods['loader-base']) && !Y.Loader) { Y.log('Loader was found in meta, but it is not attached. Attaching..', 'info', 'yui'); Y._attach(['loader' + ((!mods.loader) ? '-base' : '')]); } // Y.log('before loader requirements: ' + args, 'info', 'yui'); // use loader to expand dependencies and sort the // requirements if it is available. if (boot && Y.Loader && args.length) { Y.log('Using loader to expand dependencies', 'info', 'yui'); loader = getLoader(Y); loader.require(args); loader.ignoreRegistered = true; loader._boot = true; loader.calculate(null, (fetchCSS) ? null : 'js'); args = loader.sorted; loader._boot = false; } process(args); len = missing.length; if (len) { missing = YArray.dedupe(missing); len = missing.length; Y.log('Modules missing: ' + missing + ', ' + missing.length, 'info', 'yui'); } // dynamic load if (boot && len && Y.Loader) { // Y.log('Using loader to fetch missing deps: ' + missing, 'info', 'yui'); Y.log('Using Loader', 'info', 'yui'); Y._loading = true; loader = getLoader(Y); loader.onEnd = handleLoader; loader.context = Y; loader.data = args; loader.ignoreRegistered = false; loader.require(missing); loader.insert(null, (fetchCSS) ? null : 'js'); } else if (boot && len && Y.Get && !Env.bootstrapped) { Y._loading = true; handleBoot = function() { Y._loading = false; queue.running = false; Env.bootstrapped = true; G_ENV._bootstrapping = false; if (Y._attach(['loader'])) { Y._use(args, callback); } }; if (G_ENV._bootstrapping) { Y.log('Waiting for loader', 'info', 'yui'); queue.add(handleBoot); } else { G_ENV._bootstrapping = true; Y.log('Fetching loader: ' + config.base + config.loaderPath, 'info', 'yui'); Y.Get.script(config.base + config.loaderPath, { onEnd: handleBoot }); } } else { Y.log('Attaching available dependencies: ' + args, 'info', 'yui'); ret = Y._attach(args); if (ret) { handleLoader(); } } return Y; }, /** Utility method for safely creating namespaces if they don't already exist. May be called statically on the YUI global object or as a method on a YUI instance. When called statically, a namespace will be created on the YUI global object: // Create `YUI.your.namespace.here` as nested objects, preserving any // objects that already exist instead of overwriting them. YUI.namespace('your.namespace.here'); When called as a method on a YUI instance, a namespace will be created on that instance: // Creates `Y.property.package`. Y.namespace('property.package'); Dots in the input string cause `namespace` to create nested objects for each token. If any part of the requested namespace already exists, the current object will be left in place and will not be overwritten. This allows multiple calls to `namespace` to preserve existing namespaced properties. If the first token in the namespace string is "YAHOO", that token is discarded. This is legacy behavior for backwards compatibility with YUI 2. Be careful with namespace tokens. Reserved words may work in some browsers and not others. For instance, the following will fail in some browsers because the supported version of JavaScript reserves the word "long": Y.namespace('really.long.nested.namespace'); Note: If you pass multiple arguments to create multiple namespaces, only the last one created is returned from this function. @method namespace @param {String} namespace* One or more namespaces to create. @return {Object} Reference to the last namespace object created. **/ namespace: function() { var a = arguments, o, i = 0, j, d, arg; for (; i < a.length; i++) { o = this; //Reset base object per argument or it will get reused from the last arg = a[i]; if (arg.indexOf(PERIOD) > -1) { //Skip this if no "." is present d = arg.split(PERIOD); for (j = (d[0] == 'YAHOO') ? 1 : 0; j < d.length; j++) { o[d[j]] = o[d[j]] || {}; o = o[d[j]]; } } else { o[arg] = o[arg] || {}; o = o[arg]; //Reset base object to the new object so it's returned } } return o; }, // this is replaced if the log module is included log: NOOP, message: NOOP, // this is replaced if the dump module is included dump: function (o) { return ''+o; }, /** Reports an error. The reporting mechanism is controlled by the `throwFail` configuration attribute. If `throwFail` is falsy, the message is logged. If `throwFail` is truthy, a JS exception is thrown. If an `errorFn` is specified in the config it must return `true` to indicate that the exception was handled and keep it from being thrown. @method error @param {String} msg Error message. @param {Error|String} [e] JavaScript error object or an error string. @param {String} [src] Source of the error (such as the name of the module in which the error occurred). @chainable **/ error: function(msg, e, src) { //TODO Add check for window.onerror here var Y = this, ret; if (Y.config.errorFn) { ret = Y.config.errorFn.apply(Y, arguments); } if (!ret) { throw (e || new Error(msg)); } else { Y.message(msg, 'error', ''+src); // don't scrub this one } return Y; }, /** Generates an id string that is unique among all YUI instances in this execution context. @method guid @param {String} [pre] Prefix. @return {String} Unique id. **/ guid: function(pre) { var id = this.Env._guidp + '_' + (++this.Env._uidx); return (pre) ? (pre + id) : id; }, /** Returns a unique id associated with the given object and (if *readOnly* is falsy) stamps the object with that id so it can be identified in the future. Stamping an object involves adding a `_yuid` property to it that contains the object's id. One exception to this is that in Internet Explorer, DOM nodes have a `uniqueID` property that contains a browser-generated unique id, which will be used instead of a YUI-generated id when available. @method stamp @param {Object} o Object to stamp. @param {Boolean} readOnly If truthy and the given object has not already been stamped, the object will not be modified and `null` will be returned. @return {String} Object's unique id, or `null` if *readOnly* was truthy and the given object was not already stamped. **/ stamp: function(o, readOnly) { var uid; if (!o) { return o; } // IE generates its own unique ID for dom nodes // The uniqueID property of a document node returns a new ID if (o.uniqueID && o.nodeType && o.nodeType !== 9) { uid = o.uniqueID; } else { uid = (typeof o === 'string') ? o : o._yuid; } if (!uid) { uid = this.guid(); if (!readOnly) { try { o._yuid = uid; } catch (e) { uid = null; } } } return uid; }, /** Destroys this YUI instance. @method destroy @since 3.3.0 **/ destroy: function() { var Y = this; if (Y.Event) { Y.Event._unload(); } delete instances[Y.id]; delete Y.Env; delete Y.config; } /** Safe `instanceof` wrapper that works around a memory leak in IE when the object being tested is `window` or `document`. Unless you are testing objects that may be `window` or `document`, you should use the native `instanceof` operator instead of this method. @method instanceOf @param {Object} o Object to check. @param {Object} type Class to check against. @since 3.3.0 **/ }; YUI.prototype = proto; // inheritance utilities are not available yet for (prop in proto) { if (proto.hasOwnProperty(prop)) { YUI[prop] = proto[prop]; } } /** Applies a configuration to all YUI instances in this execution context. The main use case for this method is in "mashups" where several third-party scripts need to write to a global YUI config, but cannot share a single centrally-managed config object. This way they can all call `YUI.applyConfig({})` instead of overwriting the single global config. @example YUI.applyConfig({ modules: { davglass: { fullpath: './davglass.js' } } }); YUI.applyConfig({ modules: { foo: { fullpath: './foo.js' } } }); YUI().use('davglass', function (Y) { // Module davglass will be available here. }); @method applyConfig @param {Object} o Configuration object to apply. @static @since 3.5.0 **/ YUI.applyConfig = function(o) { if (!o) { return; } //If there is a GlobalConfig, apply it first to set the defaults if (YUI.GlobalConfig) { this.prototype.applyConfig.call(this, YUI.GlobalConfig); } //Apply this config to it this.prototype.applyConfig.call(this, o); //Reset GlobalConfig to the combined config YUI.GlobalConfig = this.config; }; // set up the environment YUI._init(); if (hasWin) { add(doc, 'DOMContentLoaded', handleReady); // add a window load event at load time so we can capture // the case where it fires before dynamic loading is // complete. add(window, 'load', handleLoad); } else { handleReady(); handleLoad(); } YUI.Env.add = add; YUI.Env.remove = remove; /*global exports*/ // Support the CommonJS method for exporting our single global if (typeof exports == 'object') { exports.YUI = YUI; /** * Set a method to be called when `Get.script` is called in Node.js * `Get` will open the file, then pass it's content and it's path * to this method before attaching it. Commonly used for code coverage * instrumentation. <strong>Calling this multiple times will only * attach the last hook method</strong>. This method is only * available in Node.js. * @method setLoadHook * @static * @param {Function} fn The function to set * @param {String} fn.data The content of the file * @param {String} fn.path The file path of the file */ YUI.setLoadHook = function(fn) { YUI._getLoadHook = fn; }; /** * Load hook for `Y.Get.script` in Node.js, see `YUI.setLoadHook` * @method _getLoadHook * @private * @param {String} data The content of the file * @param {String} path The file path of the file */ YUI._getLoadHook = null; } YUI.Env[VERSION] = {}; }()); /** Config object that contains all of the configuration options for this `YUI` instance. This object is supplied by the implementer when instantiating YUI. Some properties have default values if they are not supplied by the implementer. This object should not be updated directly because some values are cached. Use `applyConfig()` to update the config object on a YUI instance that has already been configured. @class config @static **/ /** If `true` (the default), YUI will "bootstrap" the YUI Loader and module metadata if they're needed to load additional dependencies and aren't already available. Setting this to `false` will prevent YUI from automatically loading the Loader and module metadata, so you will need to manually ensure that they're available or handle dependency resolution yourself. @property {Boolean} bootstrap @default true **/ /** If `true`, `Y.log()` messages will be written to the browser's debug console when available and when `useBrowserConsole` is also `true`. @property {Boolean} debug @default true **/ /** Log messages to the browser console if `debug` is `true` and the browser has a supported console. @property {Boolean} useBrowserConsole @default true **/ /** A hash of log sources that should be logged. If specified, only messages from these sources will be logged. Others will be discarded. @property {Object} logInclude @type object **/ /** A hash of log sources that should be not be logged. If specified, all sources will be logged *except* those on this list. @property {Object} logExclude **/ /** When the YUI seed file is dynamically loaded after the `window.onload` event has fired, set this to `true` to tell YUI that it shouldn't wait for `window.onload` to occur. This ensures that components that rely on `window.onload` and the `domready` custom event will work as expected even when YUI is dynamically injected. @property {Boolean} injected @default false **/ /** If `true`, `Y.error()` will generate or re-throw a JavaScript error. Otherwise, errors are merely logged silently. @property {Boolean} throwFail @default true **/ /** Reference to the global object for this execution context. In a browser, this is the current `window` object. In Node.js, this is the Node.js `global` object. @property {Object} global **/ /** The browser window or frame that this YUI instance should operate in. When running in Node.js, this property is `undefined`, since there is no `window` object. Use `global` to get a reference to the global object that will work in both browsers and Node.js. @property {Window} win **/ /** The browser `document` object associated with this YUI instance's `win` object. When running in Node.js, this property is `undefined`, since there is no `document` object. @property {Document} doc **/ /** A list of modules that defines the YUI core (overrides the default list). @property {Array} core @type Array @default ['get', 'features', 'intl-base', 'yui-log', 'yui-later', 'loader-base', 'loader-rollup', 'loader-yui3'] **/ /** A list of languages to use in order of preference. This list is matched against the list of available languages in modules that the YUI instance uses to determine the best possible localization of language sensitive modules. Languages are represented using BCP 47 language tags, such as "en-GB" for English as used in the United Kingdom, or "zh-Hans-CN" for simplified Chinese as used in China. The list may be provided as a comma-separated string or as an array. @property {String|String[]} lang **/ /** Default date format. @property {String} dateFormat @deprecated Use configuration in `DataType.Date.format()` instead. **/ /** Default locale. @property {String} locale @deprecated Use `config.lang` instead. **/ /** Default generic polling interval in milliseconds. @property {Number} pollInterval @default 20 **/ /** The number of dynamic `<script>` nodes to insert by default before automatically removing them when loading scripts. This applies only to script nodes because removing the node will not make the evaluated script unavailable. Dynamic CSS nodes are not auto purged, because removing a linked style sheet will also remove the style definitions. @property {Number} purgethreshold @default 20 **/ /** Delay in milliseconds to wait after a window `resize` event before firing the event. If another `resize` event occurs before this delay has elapsed, the delay will start over to ensure that `resize` events are throttled. @property {Number} windowResizeDelay @default 40 **/ /** Base directory for dynamic loading. @property {String} base **/ /** Base URL for a dynamic combo handler. This will be used to make combo-handled module requests if `combine` is set to `true. @property {String} comboBase @default "http://yui.yahooapis.com/combo?" **/ /** Root path to prepend to each module path when creating a combo-handled request. This is updated for each YUI release to point to a specific version of the library; for example: "3.8.0/build/". @property {String} root **/ /** Filter to apply to module urls. This filter will modify the default path for all modules. The default path for the YUI library is the minified version of the files (e.g., event-min.js). The filter property can be a predefined filter or a custom filter. The valid predefined filters are: - **debug**: Loads debug versions of modules (e.g., event-debug.js). - **raw**: Loads raw, non-minified versions of modules without debug logging (e.g., event.js). You can also define a custom filter, which must be an object literal containing a search regular expression and a replacement string: myFilter: { searchExp : "-min\\.js", replaceStr: "-debug.js" } @property {Object|String} filter **/ /** Skin configuration and customizations. @property {Object} skin @param {String} [skin.defaultSkin='sam'] Default skin name. This skin will be applied automatically to skinnable components if not overridden by a component-specific skin name. @param {String} [skin.base='assets/skins/'] Default base path for a skin, relative to Loader's `base` path. @param {Object} [skin.overrides] Component-specific skin name overrides. Specify a component name as the key and, as the value, a string or array of strings for a skin or skins that should be loaded for that component instead of the `defaultSkin`. **/ /** Hash of per-component filter specifications. If specified for a given component, this overrides the global `filter` config. @example YUI({ modules: { 'foo': './foo.js', 'bar': './bar.js', 'baz': './baz.js' }, filters: { 'foo': { searchExp: '.js', replaceStr: '-coverage.js' } } }).use('foo', 'bar', 'baz', function (Y) { // foo-coverage.js is loaded // bar.js is loaded // baz.js is loaded }); @property {Object} filters **/ /** If `true`, YUI will use a combo handler to load multiple modules in as few requests as possible. The YUI CDN (which YUI uses by default) supports combo handling, but other servers may not. If the server from which you're loading YUI does not support combo handling, set this to `false`. Providing a value for the `base` config property will cause `combine` to default to `false` instead of `true`. @property {Boolean} combine @default true */ /** Array of module names that should never be dynamically loaded. @property {String[]} ignore **/ /** Array of module names that should always be loaded when required, even if already present on the page. @property {String[]} force **/ /** DOM element or id that should be used as the insertion point for dynamically added `<script>` and `<link>` nodes. @property {HTMLElement|String} insertBefore **/ /** Object hash containing attributes to add to dynamically added `<script>` nodes. @property {Object} jsAttributes **/ /** Object hash containing attributes to add to dynamically added `<link>` nodes. @property {Object} cssAttributes **/ /** Timeout in milliseconds before a dynamic JS or CSS request will be considered a failure. If not set, no timeout will be enforced. @property {Number} timeout **/ /** A hash of module definitions to add to the list of available YUI modules. These modules can then be dynamically loaded via the `use()` method. This is a hash in which keys are module names and values are objects containing module metadata. See `Loader.addModule()` for the supported module metadata fields. Also see `groups`, which provides a way to configure the base and combo spec for a set of modules. @example modules: { mymod1: { requires: ['node'], fullpath: '/mymod1/mymod1.js' }, mymod2: { requires: ['mymod1'], fullpath: '/mymod2/mymod2.js' }, mymod3: '/js/mymod3.js', mycssmod: '/css/mycssmod.css' } @property {Object} modules **/ /** Aliases are dynamic groups of modules that can be used as shortcuts. @example YUI({ aliases: { davglass: [ 'node', 'yql', 'dd' ], mine: [ 'davglass', 'autocomplete'] } }).use('mine', function (Y) { // Node, YQL, DD & AutoComplete available here. }); @property {Object} aliases **/ /** A hash of module group definitions. For each group you can specify a list of modules and the base path and combo spec to use when dynamically loading the modules. @example groups: { yui2: { // specify whether or not this group has a combo service combine: true, // The comboSeperator to use with this group's combo handler comboSep: ';', // The maxURLLength for this server maxURLLength: 500, // the base path for non-combo paths base: 'http://yui.yahooapis.com/2.8.0r4/build/', // the path to the combo service comboBase: 'http://yui.yahooapis.com/combo?', // a fragment to prepend to the path attribute when // when building combo urls root: '2.8.0r4/build/', // the module definitions modules: { yui2_yde: { path: "yahoo-dom-event/yahoo-dom-event.js" }, yui2_anim: { path: "animation/animation.js", requires: ['yui2_yde'] } } } } @property {Object} groups **/ /** Path to the Loader JS file, relative to the `base` path. This is used to dynamically bootstrap the Loader when it's needed and isn't yet available. @property {String} loaderPath @default "loader/loader-min.js" **/ /** If `true`, YUI will attempt to load CSS dependencies and skins. Set this to `false` to prevent YUI from loading any CSS, or set it to the string `"force"` to force CSS dependencies to be loaded even if their associated JS modules are already loaded. @property {Boolean|String} fetchCSS @default true **/ /** Default gallery version used to build gallery module urls. @property {String} gallery @since 3.1.0 **/ /** Default YUI 2 version used to build YUI 2 module urls. This is used for intrinsic YUI 2 support via the 2in3 project. Also see the `2in3` config for pulling different revisions of the wrapped YUI 2 modules. @property {String} yui2 @default "2.9.0" @since 3.1.0 **/ /** Revision number of YUI 2in3 modules that should be used when loading YUI 2in3. @property {String} 2in3 @default "4" @since 3.1.0 **/ /** Alternate console log function that should be used in environments without a supported native console. This function is executed with the YUI instance as its `this` object. @property {Function} logFn @since 3.1.0 **/ /** The minimum log level to log messages for. Log levels are defined incrementally. Messages greater than or equal to the level specified will be shown. All others will be discarded. The order of log levels in increasing priority is: debug info warn error @property {String} logLevel @default 'debug' @since 3.10.0 **/ /** Callback to execute when `Y.error()` is called. It receives the error message and a JavaScript error object if one was provided. This function is executed with the YUI instance as its `this` object. Returning `true` from this function will prevent an exception from being thrown. @property {Function} errorFn @param {String} errorFn.msg Error message @param {Object} [errorFn.err] Error object (if one was provided). @since 3.2.0 **/ /** A callback to execute when Loader fails to load one or more resources. This could be because of a script load failure. It could also be because a module fails to register itself when the `requireRegistration` config is `true`. If this function is defined, the `use()` callback will only be called when the loader succeeds. Otherwise, `use()` will always executes unless there was a JavaScript error when attaching a module. @property {Function} loadErrorFn @since 3.3.0 **/ /** If `true`, Loader will expect all loaded scripts to be first-class YUI modules that register themselves with the YUI global, and will trigger a failure if a loaded script does not register a YUI module. @property {Boolean} requireRegistration @default false @since 3.3.0 **/ /** Cache serviced use() requests. @property {Boolean} cacheUse @default true @since 3.3.0 @deprecated No longer used. **/ /** Whether or not YUI should use native ES5 functionality when available for features like `Y.Array.each()`, `Y.Object()`, etc. When `false`, YUI will always use its own fallback implementations instead of relying on ES5 functionality, even when ES5 functionality is available. @property {Boolean} useNativeES5 @default true @since 3.5.0 **/ /** * Leverage native JSON stringify if the browser has a native * implementation. In general, this is a good idea. See the Known Issues * section in the JSON user guide for caveats. The default value is true * for browsers with native JSON support. * * @property useNativeJSONStringify * @type Boolean * @default true * @since 3.8.0 */ /** * Leverage native JSON parse if the browser has a native implementation. * In general, this is a good idea. See the Known Issues section in the * JSON user guide for caveats. The default value is true for browsers with * native JSON support. * * @property useNativeJSONParse * @type Boolean * @default true * @since 3.8.0 */ /** Delay the `use` callback until a specific event has passed (`load`, `domready`, `contentready` or `available`) @property {Object|String} delayUntil @since 3.6.0 @example You can use `load` or `domready` strings by default: YUI({ delayUntil: 'domready' }, function (Y) { // This will not execute until 'domeready' occurs. }); Or you can delay until a node is available (with `available` or `contentready`): YUI({ delayUntil: { event: 'available', args : '#foo' } }, function (Y) { // This will not execute until a node matching the selector "#foo" is // available in the DOM. }); **/ YUI.add('yui-base', function (Y, NAME) { /* * YUI stub * @module yui * @submodule yui-base */ /** * The YUI module contains the components required for building the YUI * seed file. This includes the script loading mechanism, a simple queue, * and the core utilities for the library. * @module yui * @submodule yui-base */ /** * Provides core language utilites and extensions used throughout YUI. * * @class Lang * @static */ var L = Y.Lang || (Y.Lang = {}), STRING_PROTO = String.prototype, TOSTRING = Object.prototype.toString, TYPES = { 'undefined' : 'undefined', 'number' : 'number', 'boolean' : 'boolean', 'string' : 'string', '[object Function]': 'function', '[object RegExp]' : 'regexp', '[object Array]' : 'array', '[object Date]' : 'date', '[object Error]' : 'error' }, SUBREGEX = /\{\s*([^|}]+?)\s*(?:\|([^}]*))?\s*\}/g, WHITESPACE = "\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF", WHITESPACE_CLASS = "[\x09-\x0D\x20\xA0\u1680\u180E\u2000-\u200A\u2028\u2029\u202F\u205F\u3000\uFEFF]+", TRIM_LEFT_REGEX = new RegExp("^" + WHITESPACE_CLASS), TRIM_RIGHT_REGEX = new RegExp(WHITESPACE_CLASS + "$"), TRIMREGEX = new RegExp(TRIM_LEFT_REGEX.source + "|" + TRIM_RIGHT_REGEX.source, "g"), NATIVE_FN_REGEX = /\{\s*\[(?:native code|function)\]\s*\}/i; // -- Protected Methods -------------------------------------------------------- /** Returns `true` if the given function appears to be implemented in native code, `false` otherwise. Will always return `false` -- even in ES5-capable browsers -- if the `useNativeES5` YUI config option is set to `false`. This isn't guaranteed to be 100% accurate and won't work for anything other than functions, but it can be useful for determining whether a function like `Array.prototype.forEach` is native or a JS shim provided by another library. There's a great article by @kangax discussing certain flaws with this technique: <http://perfectionkills.com/detecting-built-in-host-methods/> While his points are valid, it's still possible to benefit from this function as long as it's used carefully and sparingly, and in such a way that false negatives have minimal consequences. It's used internally to avoid using potentially broken non-native ES5 shims that have been added to the page by other libraries. @method _isNative @param {Function} fn Function to test. @return {Boolean} `true` if _fn_ appears to be native, `false` otherwise. @static @protected @since 3.5.0 **/ L._isNative = function (fn) { return !!(Y.config.useNativeES5 && fn && NATIVE_FN_REGEX.test(fn)); }; // -- Public Methods ----------------------------------------------------------- /** * Determines whether or not the provided item is an array. * * Returns `false` for array-like collections such as the function `arguments` * collection or `HTMLElement` collections. Use `Y.Array.test()` if you want to * test for an array-like collection. * * @method isArray * @param o The object to test. * @return {boolean} true if o is an array. * @static */ L.isArray = L._isNative(Array.isArray) ? Array.isArray : function (o) { return L.type(o) === 'array'; }; /** * Determines whether or not the provided item is a boolean. * @method isBoolean * @static * @param o The object to test. * @return {boolean} true if o is a boolean. */ L.isBoolean = function(o) { return typeof o === 'boolean'; }; /** * Determines whether or not the supplied item is a date instance. * @method isDate * @static * @param o The object to test. * @return {boolean} true if o is a date. */ L.isDate = function(o) { return L.type(o) === 'date' && o.toString() !== 'Invalid Date' && !isNaN(o); }; /** * <p> * Determines whether or not the provided item is a function. * Note: Internet Explorer thinks certain functions are objects: * </p> * * <pre> * var obj = document.createElement("object"); * Y.Lang.isFunction(obj.getAttribute) // reports false in IE * &nbsp; * var input = document.createElement("input"); // append to body * Y.Lang.isFunction(input.focus) // reports false in IE * </pre> * * <p> * You will have to implement additional tests if these functions * matter to you. * </p> * * @method isFunction * @static * @param o The object to test. * @return {boolean} true if o is a function. */ L.isFunction = function(o) { return L.type(o) === 'function'; }; /** * Determines whether or not the provided item is null. * @method isNull * @static * @param o The object to test. * @return {boolean} true if o is null. */ L.isNull = function(o) { return o === null; }; /** * Determines whether or not the provided item is a legal number. * @method isNumber * @static * @param o The object to test. * @return {boolean} true if o is a number. */ L.isNumber = function(o) { return typeof o === 'number' && isFinite(o); }; /** * Determines whether or not the provided item is of type object * or function. Note that arrays are also objects, so * <code>Y.Lang.isObject([]) === true</code>. * @method isObject * @static * @param o The object to test. * @param failfn {boolean} fail if the input is a function. * @return {boolean} true if o is an object. * @see isPlainObject */ L.isObject = function(o, failfn) { var t = typeof o; return (o && (t === 'object' || (!failfn && (t === 'function' || L.isFunction(o))))) || false; }; /** * Determines whether or not the provided value is a regexp. * @method isRegExp * @static * @param value The value or object to test. * @return {boolean} true if value is a regexp. */ L.isRegExp = function(value) { return L.type(value) === 'regexp'; }; /** * Determines whether or not the provided item is a string. * @method isString * @static * @param o The object to test. * @return {boolean} true if o is a string. */ L.isString = function(o) { return typeof o === 'string'; }; /** * Determines whether or not the provided item is undefined. * @method isUndefined * @static * @param o The object to test. * @return {boolean} true if o is undefined. */ L.isUndefined = function(o) { return typeof o === 'undefined'; }; /** * A convenience method for detecting a legitimate non-null value. * Returns false for null/undefined/NaN, true for other values, * including 0/false/'' * @method isValue * @static * @param o The item to test. * @return {boolean} true if it is not null/undefined/NaN || false. */ L.isValue = function(o) { var t = L.type(o); switch (t) { case 'number': return isFinite(o); case 'null': // fallthru case 'undefined': return false; default: return !!t; } }; /** * Returns the current time in milliseconds. * * @method now * @return {Number} Current time in milliseconds. * @static * @since 3.3.0 */ L.now = Date.now || function () { return new Date().getTime(); }; /** * Performs `{placeholder}` substitution on a string. The object passed as the * second parameter provides values to replace the `{placeholder}`s. * `{placeholder}` token names must match property names of the object. For example, * *`var greeting = Y.Lang.sub("Hello, {who}!", { who: "World" });` * * `{placeholder}` tokens that are undefined on the object map will be left * in tact (leaving unsightly `{placeholder}`'s in the output string). * * @method sub * @param {string} s String to be modified. * @param {object} o Object containing replacement values. * @return {string} the substitute result. * @static * @since 3.2.0 */ L.sub = function(s, o) { return s.replace ? s.replace(SUBREGEX, function (match, key) { return L.isUndefined(o[key]) ? match : o[key]; }) : s; }; /** * Returns a string without any leading or trailing whitespace. If * the input is not a string, the input will be returned untouched. * @method trim * @static * @param s {string} the string to trim. * @return {string} the trimmed string. */ L.trim = L._isNative(STRING_PROTO.trim) && !WHITESPACE.trim() ? function(s) { return s && s.trim ? s.trim() : s; } : function (s) { try { return s.replace(TRIMREGEX, ''); } catch (e) { return s; } }; /** * Returns a string without any leading whitespace. * @method trimLeft * @static * @param s {string} the string to trim. * @return {string} the trimmed string. */ L.trimLeft = L._isNative(STRING_PROTO.trimLeft) && !WHITESPACE.trimLeft() ? function (s) { return s.trimLeft(); } : function (s) { return s.replace(TRIM_LEFT_REGEX, ''); }; /** * Returns a string without any trailing whitespace. * @method trimRight * @static * @param s {string} the string to trim. * @return {string} the trimmed string. */ L.trimRight = L._isNative(STRING_PROTO.trimRight) && !WHITESPACE.trimRight() ? function (s) { return s.trimRight(); } : function (s) { return s.replace(TRIM_RIGHT_REGEX, ''); }; /** Returns one of the following strings, representing the type of the item passed in: * "array" * "boolean" * "date" * "error" * "function" * "null" * "number" * "object" * "regexp" * "string" * "undefined" Known issues: * `typeof HTMLElementCollection` returns function in Safari, but `Y.Lang.type()` reports "object", which could be a good thing -- but it actually caused the logic in <code>Y.Lang.isObject</code> to fail. @method type @param o the item to test. @return {string} the detected type. @static **/ L.type = function(o) { return TYPES[typeof o] || TYPES[TOSTRING.call(o)] || (o ? 'object' : 'null'); }; /** @module yui @submodule yui-base */ var Lang = Y.Lang, Native = Array.prototype, hasOwn = Object.prototype.hasOwnProperty; /** Provides utility methods for working with arrays. Additional array helpers can be found in the `collection` and `array-extras` modules. `Y.Array(thing)` returns a native array created from _thing_. Depending on _thing_'s type, one of the following will happen: * Arrays are returned unmodified unless a non-zero _startIndex_ is specified. * Array-like collections (see `Array.test()`) are converted to arrays. * For everything else, a new array is created with _thing_ as the sole item. Note: elements that are also collections, such as `<form>` and `<select>` elements, are not automatically converted to arrays. To force a conversion, pass `true` as the value of the _force_ parameter. @class Array @constructor @param {Any} thing The thing to arrayify. @param {Number} [startIndex=0] If non-zero and _thing_ is an array or array-like collection, a subset of items starting at the specified index will be returned. @param {Boolean} [force=false] If `true`, _thing_ will be treated as an array-like collection no matter what. @return {Array} A native array created from _thing_, according to the rules described above. **/ function YArray(thing, startIndex, force) { var len, result; /*jshint expr: true*/ startIndex || (startIndex = 0); if (force || YArray.test(thing)) { // IE throws when trying to slice HTMLElement collections. try { return Native.slice.call(thing, startIndex); } catch (ex) { result = []; for (len = thing.length; startIndex < len; ++startIndex) { result.push(thing[startIndex]); } return result; } } return [thing]; } Y.Array = YArray; /** Dedupes an array of strings, returning an array that's guaranteed to contain only one copy of a given string. This method differs from `Array.unique()` in that it's optimized for use only with arrays consisting entirely of strings or entirely of numbers, whereas `unique` may be used with other value types (but is slower). Using `dedupe()` with values other than strings or numbers, or with arrays containing a mix of strings and numbers, may result in unexpected behavior. @method dedupe @param {String[]|Number[]} array Array of strings or numbers to dedupe. @return {Array} Copy of _array_ containing no duplicate values. @static @since 3.4.0 **/ YArray.dedupe = Lang._isNative(Object.create) ? function (array) { var hash = Object.create(null), results = [], i, item, len; for (i = 0, len = array.length; i < len; ++i) { item = array[i]; if (!hash[item]) { hash[item] = 1; results.push(item); } } return results; } : function (array) { var hash = {}, results = [], i, item, len; for (i = 0, len = array.length; i < len; ++i) { item = array[i]; if (!hasOwn.call(hash, item)) { hash[item] = 1; results.push(item); } } return results; }; /** Executes the supplied function on each item in the array. This method wraps the native ES5 `Array.forEach()` method if available. @method each @param {Array} array Array to iterate. @param {Function} fn Function to execute on each item in the array. The function will receive the following arguments: @param {Any} fn.item Current array item. @param {Number} fn.index Current array index. @param {Array} fn.array Array being iterated. @param {Object} [thisObj] `this` object to use when calling _fn_. @return {YUI} The YUI instance. @static **/ YArray.each = YArray.forEach = Lang._isNative(Native.forEach) ? function (array, fn, thisObj) { Native.forEach.call(array || [], fn, thisObj || Y); return Y; } : function (array, fn, thisObj) { for (var i = 0, len = (array && array.length) || 0; i < len; ++i) { if (i in array) { fn.call(thisObj || Y, array[i], i, array); } } return Y; }; /** Alias for `each()`. @method forEach @static **/ /** Returns an object using the first array as keys and the second as values. If the second array is not provided, or if it doesn't contain the same number of values as the first array, then `true` will be used in place of the missing values. @example Y.Array.hash(['a', 'b', 'c'], ['foo', 'bar']); // => {a: 'foo', b: 'bar', c: true} @method hash @param {String[]} keys Array of strings to use as keys. @param {Array} [values] Array to use as values. @return {Object} Hash using the first array as keys and the second as values. @static **/ YArray.hash = function (keys, values) { var hash = {}, vlen = (values && values.length) || 0, i, len; for (i = 0, len = keys.length; i < len; ++i) { if (i in keys) { hash[keys[i]] = vlen > i && i in values ? values[i] : true; } } return hash; }; /** Returns the index of the first item in the array that's equal (using a strict equality check) to the specified _value_, or `-1` if the value isn't found. This method wraps the native ES5 `Array.indexOf()` method if available. @method indexOf @param {Array} array Array to search. @param {Any} value Value to search for. @param {Number} [from=0] The index at which to begin the search. @return {Number} Index of the item strictly equal to _value_, or `-1` if not found. @static **/ YArray.indexOf = Lang._isNative(Native.indexOf) ? function (array, value, from) { return Native.indexOf.call(array, value, from); } : function (array, value, from) { // http://es5.github.com/#x15.4.4.14 var len = array.length; from = +from || 0; from = (from > 0 || -1) * Math.floor(Math.abs(from)); if (from < 0) { from += len; if (from < 0) { from = 0; } } for (; from < len; ++from) { if (from in array && array[from] === value) { return from; } } return -1; }; /** Numeric sort convenience function. The native `Array.prototype.sort()` function converts values to strings and sorts them in lexicographic order, which is unsuitable for sorting numeric values. Provide `Array.numericSort` as a custom sort function when you want to sort values in numeric order. @example [42, 23, 8, 16, 4, 15].sort(Y.Array.numericSort); // => [4, 8, 15, 16, 23, 42] @method numericSort @param {Number} a First value to compare. @param {Number} b Second value to compare. @return {Number} Difference between _a_ and _b_. @static **/ YArray.numericSort = function (a, b) { return a - b; }; /** Executes the supplied function on each item in the array. Returning a truthy value from the function will stop the processing of remaining items. @method some @param {Array} array Array to iterate over. @param {Function} fn Function to execute on each item. The function will receive the following arguments: @param {Any} fn.value Current array item. @param {Number} fn.index Current array index. @param {Array} fn.array Array being iterated over. @param {Object} [thisObj] `this` object to use when calling _fn_. @return {Boolean} `true` if the function returns a truthy value on any of the items in the array; `false` otherwise. @static **/ YArray.some = Lang._isNative(Native.some) ? function (array, fn, thisObj) { return Native.some.call(array, fn, thisObj); } : function (array, fn, thisObj) { for (var i = 0, len = array.length; i < len; ++i) { if (i in array && fn.call(thisObj, array[i], i, array)) { return true; } } return false; }; /** Evaluates _obj_ to determine if it's an array, an array-like collection, or something else. This is useful when working with the function `arguments` collection and `HTMLElement` collections. Note: This implementation doesn't consider elements that are also collections, such as `<form>` and `<select>`, to be array-like. @method test @param {Object} obj Object to test. @return {Number} A number indicating the results of the test: * 0: Neither an array nor an array-like collection. * 1: Real array. * 2: Array-like collection. @static **/ YArray.test = function (obj) { var result = 0; if (Lang.isArray(obj)) { result = 1; } else if (Lang.isObject(obj)) { try { // indexed, but no tagName (element) or scrollTo/document (window. From DOM.isWindow test which we can't use here), // or functions without apply/call (Safari // HTMLElementCollection bug). if ('length' in obj && !obj.tagName && !(obj.scrollTo && obj.document) && !obj.apply) { result = 2; } } catch (ex) {} } return result; }; /** * The YUI module contains the components required for building the YUI * seed file. This includes the script loading mechanism, a simple queue, * and the core utilities for the library. * @module yui * @submodule yui-base */ /** * A simple FIFO queue. Items are added to the Queue with add(1..n items) and * removed using next(). * * @class Queue * @constructor * @param {MIXED} item* 0..n items to seed the queue. */ function Queue() { this._init(); this.add.apply(this, arguments); } Queue.prototype = { /** * Initialize the queue * * @method _init * @protected */ _init: function() { /** * The collection of enqueued items * * @property _q * @type Array * @protected */ this._q = []; }, /** * Get the next item in the queue. FIFO support * * @method next * @return {MIXED} the next item in the queue. */ next: function() { return this._q.shift(); }, /** * Get the last in the queue. LIFO support. * * @method last * @return {MIXED} the last item in the queue. */ last: function() { return this._q.pop(); }, /** * Add 0..n items to the end of the queue. * * @method add * @param {MIXED} item* 0..n items. * @return {object} this queue. */ add: function() { this._q.push.apply(this._q, arguments); return this; }, /** * Returns the current number of queued items. * * @method size * @return {Number} The size. */ size: function() { return this._q.length; } }; Y.Queue = Queue; YUI.Env._loaderQueue = YUI.Env._loaderQueue || new Queue(); /** The YUI module contains the components required for building the YUI seed file. This includes the script loading mechanism, a simple queue, and the core utilities for the library. @module yui @submodule yui-base **/ var CACHED_DELIMITER = '__', hasOwn = Object.prototype.hasOwnProperty, isObject = Y.Lang.isObject; /** Returns a wrapper for a function which caches the return value of that function, keyed off of the combined string representation of the argument values provided when the wrapper is called. Calling this function again with the same arguments will return the cached value rather than executing the wrapped function. Note that since the cache is keyed off of the string representation of arguments passed to the wrapper function, arguments that aren't strings and don't provide a meaningful `toString()` method may result in unexpected caching behavior. For example, the objects `{}` and `{foo: 'bar'}` would both be converted to the string `[object Object]` when used as a cache key. @method cached @param {Function} source The function to memoize. @param {Object} [cache={}] Object in which to store cached values. You may seed this object with pre-existing cached values if desired. @param {any} [refetch] If supplied, this value is compared with the cached value using a `==` comparison. If the values are equal, the wrapped function is executed again even though a cached value exists. @return {Function} Wrapped function. @for YUI **/ Y.cached = function (source, cache, refetch) { /*jshint expr: true*/ cache || (cache = {}); return function (arg) { var key = arguments.length > 1 ? Array.prototype.join.call(arguments, CACHED_DELIMITER) : String(arg); /*jshint eqeqeq: false*/ if (!(key in cache) || (refetch && cache[key] == refetch)) { cache[key] = source.apply(source, arguments); } return cache[key]; }; }; /** Returns the `location` object from the window/frame in which this YUI instance operates, or `undefined` when executing in a non-browser environment (e.g. Node.js). It is _not_ recommended to hold references to the `window.location` object outside of the scope of a function in which its properties are being accessed or its methods are being called. This is because of a nasty bug/issue that exists in both Safari and MobileSafari browsers: [WebKit Bug 34679](https://bugs.webkit.org/show_bug.cgi?id=34679). @method getLocation @return {location} The `location` object from the window/frame in which this YUI instance operates. @since 3.5.0 **/ Y.getLocation = function () { // It is safer to look this up every time because yui-base is attached to a // YUI instance before a user's config is applied; i.e. `Y.config.win` does // not point the correct window object when this file is loaded. var win = Y.config.win; // It is not safe to hold a reference to the `location` object outside the // scope in which it is being used. The WebKit engine used in Safari and // MobileSafari will "disconnect" the `location` object from the `window` // when a page is restored from back/forward history cache. return win && win.location; }; /** Returns a new object containing all of the properties of all the supplied objects. The properties from later objects will overwrite those in earlier objects. Passing in a single object will create a shallow copy of it. For a deep copy, use `clone()`. @method merge @param {Object} objects* One or more objects to merge. @return {Object} A new merged object. **/ Y.merge = function () { var i = 0, len = arguments.length, result = {}, key, obj; for (; i < len; ++i) { obj = arguments[i]; for (key in obj) { if (hasOwn.call(obj, key)) { result[key] = obj[key]; } } } return result; }; /** Mixes _supplier_'s properties into _receiver_. Properties on _receiver_ or _receiver_'s prototype will not be overwritten or shadowed unless the _overwrite_ parameter is `true`, and will not be merged unless the _merge_ parameter is `true`. In the default mode (0), only properties the supplier owns are copied (prototype properties are not copied). The following copying modes are available: * `0`: _Default_. Object to object. * `1`: Prototype to prototype. * `2`: Prototype to prototype and object to object. * `3`: Prototype to object. * `4`: Object to prototype. @method mix @param {Function|Object} receiver The object or function to receive the mixed properties. @param {Function|Object} supplier The object or function supplying the properties to be mixed. @param {Boolean} [overwrite=false] If `true`, properties that already exist on the receiver will be overwritten with properties from the supplier. @param {String[]} [whitelist] An array of property names to copy. If specified, only the whitelisted properties will be copied, and all others will be ignored. @param {Number} [mode=0] Mix mode to use. See above for available modes. @param {Boolean} [merge=false] If `true`, objects and arrays that already exist on the receiver will have the corresponding object/array from the supplier merged into them, rather than being skipped or overwritten. When both _overwrite_ and _merge_ are `true`, _merge_ takes precedence. @return {Function|Object|YUI} The receiver, or the YUI instance if the specified receiver is falsy. **/ Y.mix = function(receiver, supplier, overwrite, whitelist, mode, merge) { var alwaysOverwrite, exists, from, i, key, len, to; // If no supplier is given, we return the receiver. If no receiver is given, // we return Y. Returning Y doesn't make much sense to me, but it's // grandfathered in for backcompat reasons. if (!receiver || !supplier) { return receiver || Y; } if (mode) { // In mode 2 (prototype to prototype and object to object), we recurse // once to do the proto to proto mix. The object to object mix will be // handled later on. if (mode === 2) { Y.mix(receiver.prototype, supplier.prototype, overwrite, whitelist, 0, merge); } // Depending on which mode is specified, we may be copying from or to // the prototypes of the supplier and receiver. from = mode === 1 || mode === 3 ? supplier.prototype : supplier; to = mode === 1 || mode === 4 ? receiver.prototype : receiver; // If either the supplier or receiver doesn't actually have a // prototype property, then we could end up with an undefined `from` // or `to`. If that happens, we abort and return the receiver. if (!from || !to) { return receiver; } } else { from = supplier; to = receiver; } // If `overwrite` is truthy and `merge` is falsy, then we can skip a // property existence check on each iteration and save some time. alwaysOverwrite = overwrite && !merge; if (whitelist) { for (i = 0, len = whitelist.length; i < len; ++i) { key = whitelist[i]; // We call `Object.prototype.hasOwnProperty` instead of calling // `hasOwnProperty` on the object itself, since the object's // `hasOwnProperty` method may have been overridden or removed. // Also, some native objects don't implement a `hasOwnProperty` // method. if (!hasOwn.call(from, key)) { continue; } // The `key in to` check here is (sadly) intentional for backwards // compatibility reasons. It prevents undesired shadowing of // prototype members on `to`. exists = alwaysOverwrite ? false : key in to; if (merge && exists && isObject(to[key], true) && isObject(from[key], true)) { // If we're in merge mode, and the key is present on both // objects, and the value on both objects is either an object or // an array (but not a function), then we recurse to merge the // `from` value into the `to` value instead of overwriting it. // // Note: It's intentional that the whitelist isn't passed to the // recursive call here. This is legacy behavior that lots of // code still depends on. Y.mix(to[key], from[key], overwrite, null, 0, merge); } else if (overwrite || !exists) { // We're not in merge mode, so we'll only copy the `from` value // to the `to` value if we're in overwrite mode or if the // current key doesn't exist on the `to` object. to[key] = from[key]; } } } else { for (key in from) { // The code duplication here is for runtime performance reasons. // Combining whitelist and non-whitelist operations into a single // loop or breaking the shared logic out into a function both result // in worse performance, and Y.mix is critical enough that the byte // tradeoff is worth it. if (!hasOwn.call(from, key)) { continue; } // The `key in to` check here is (sadly) intentional for backwards // compatibility reasons. It prevents undesired shadowing of // prototype members on `to`. exists = alwaysOverwrite ? false : key in to; if (merge && exists && isObject(to[key], true) && isObject(from[key], true)) { Y.mix(to[key], from[key], overwrite, null, 0, merge); } else if (overwrite || !exists) { to[key] = from[key]; } } // If this is an IE browser with the JScript enumeration bug, force // enumeration of the buggy properties by making a recursive call with // the buggy properties as the whitelist. if (Y.Object._hasEnumBug) { Y.mix(to, from, overwrite, Y.Object._forceEnum, mode, merge); } } return receiver; }; /** * The YUI module contains the components required for building the YUI * seed file. This includes the script loading mechanism, a simple queue, * and the core utilities for the library. * @module yui * @submodule yui-base */ /** * Adds utilities to the YUI instance for working with objects. * * @class Object */ var Lang = Y.Lang, hasOwn = Object.prototype.hasOwnProperty, UNDEFINED, // <-- Note the comma. We're still declaring vars. /** * Returns a new object that uses _obj_ as its prototype. This method wraps the * native ES5 `Object.create()` method if available, but doesn't currently * pass through `Object.create()`'s second argument (properties) in order to * ensure compatibility with older browsers. * * @method () * @param {Object} obj Prototype object. * @return {Object} New object using _obj_ as its prototype. * @static */ O = Y.Object = Lang._isNative(Object.create) ? function (obj) { // We currently wrap the native Object.create instead of simply aliasing it // to ensure consistency with our fallback shim, which currently doesn't // support Object.create()'s second argument (properties). Once we have a // safe fallback for the properties arg, we can stop wrapping // Object.create(). return Object.create(obj); } : (function () { // Reusable constructor function for the Object.create() shim. function F() {} // The actual shim. return function (obj) { F.prototype = obj; return new F(); }; }()), /** * Property names that IE doesn't enumerate in for..in loops, even when they * should be enumerable. When `_hasEnumBug` is `true`, it's necessary to * manually enumerate these properties. * * @property _forceEnum * @type String[] * @protected * @static */ forceEnum = O._forceEnum = [ 'hasOwnProperty', 'isPrototypeOf', 'propertyIsEnumerable', 'toString', 'toLocaleString', 'valueOf' ], /** * `true` if this browser has the JScript enumeration bug that prevents * enumeration of the properties named in the `_forceEnum` array, `false` * otherwise. * * See: * - <https://developer.mozilla.org/en/ECMAScript_DontEnum_attribute#JScript_DontEnum_Bug> * - <http://whattheheadsaid.com/2010/10/a-safer-object-keys-compatibility-implementation> * * @property _hasEnumBug * @type Boolean * @protected * @static */ hasEnumBug = O._hasEnumBug = !{valueOf: 0}.propertyIsEnumerable('valueOf'), /** * `true` if this browser incorrectly considers the `prototype` property of * functions to be enumerable. Currently known to affect Opera 11.50 and Android 2.3.x. * * @property _hasProtoEnumBug * @type Boolean * @protected * @static */ hasProtoEnumBug = O._hasProtoEnumBug = (function () {}).propertyIsEnumerable('prototype'), /** * Returns `true` if _key_ exists on _obj_, `false` if _key_ doesn't exist or * exists only on _obj_'s prototype. This is essentially a safer version of * `obj.hasOwnProperty()`. * * @method owns * @param {Object} obj Object to test. * @param {String} key Property name to look for. * @return {Boolean} `true` if _key_ exists on _obj_, `false` otherwise. * @static */ owns = O.owns = function (obj, key) { return !!obj && hasOwn.call(obj, key); }; // <-- End of var declarations. /** * Alias for `owns()`. * * @method hasKey * @param {Object} obj Object to test. * @param {String} key Property name to look for. * @return {Boolean} `true` if _key_ exists on _obj_, `false` otherwise. * @static */ O.hasKey = owns; /** * Returns an array containing the object's enumerable keys. Does not include * prototype keys or non-enumerable keys. * * Note that keys are returned in enumeration order (that is, in the same order * that they would be enumerated by a `for-in` loop), which may not be the same * as the order in which they were defined. * * This method is an alias for the native ES5 `Object.keys()` method if * available and non-buggy. The Opera 11.50 and Android 2.3.x versions of * `Object.keys()` have an inconsistency as they consider `prototype` to be * enumerable, so a non-native shim is used to rectify the difference. * * @example * * Y.Object.keys({a: 'foo', b: 'bar', c: 'baz'}); * // => ['a', 'b', 'c'] * * @method keys * @param {Object} obj An object. * @return {String[]} Array of keys. * @static */ O.keys = Lang._isNative(Object.keys) && !hasProtoEnumBug ? Object.keys : function (obj) { if (!Lang.isObject(obj)) { throw new TypeError('Object.keys called on a non-object'); } var keys = [], i, key, len; if (hasProtoEnumBug && typeof obj === 'function') { for (key in obj) { if (owns(obj, key) && key !== 'prototype') { keys.push(key); } } } else { for (key in obj) { if (owns(obj, key)) { keys.push(key); } } } if (hasEnumBug) { for (i = 0, len = forceEnum.length; i < len; ++i) { key = forceEnum[i]; if (owns(obj, key)) { keys.push(key); } } } return keys; }; /** * Returns an array containing the values of the object's enumerable keys. * * Note that values are returned in enumeration order (that is, in the same * order that they would be enumerated by a `for-in` loop), which may not be the * same as the order in which they were defined. * * @example * * Y.Object.values({a: 'foo', b: 'bar', c: 'baz'}); * // => ['foo', 'bar', 'baz'] * * @method values * @param {Object} obj An object. * @return {Array} Array of values. * @static */ O.values = function (obj) { var keys = O.keys(obj), i = 0, len = keys.length, values = []; for (; i < len; ++i) { values.push(obj[keys[i]]); } return values; }; /** * Returns the number of enumerable keys owned by an object. * * @method size * @param {Object} obj An object. * @return {Number} The object's size. * @static */ O.size = function (obj) { try { return O.keys(obj).length; } catch (ex) { return 0; // Legacy behavior for non-objects. } }; /** * Returns `true` if the object owns an enumerable property with the specified * value. * * @method hasValue * @param {Object} obj An object. * @param {any} value The value to search for. * @return {Boolean} `true` if _obj_ contains _value_, `false` otherwise. * @static */ O.hasValue = function (obj, value) { return Y.Array.indexOf(O.values(obj), value) > -1; }; /** * Executes a function on each enumerable property in _obj_. The function * receives the value, the key, and the object itself as parameters (in that * order). * * By default, only properties owned by _obj_ are enumerated. To include * prototype properties, set the _proto_ parameter to `true`. * * @method each * @param {Object} obj Object to enumerate. * @param {Function} fn Function to execute on each enumerable property. * @param {mixed} fn.value Value of the current property. * @param {String} fn.key Key of the current property. * @param {Object} fn.obj Object being enumerated. * @param {Object} [thisObj] `this` object to use when calling _fn_. * @param {Boolean} [proto=false] Include prototype properties. * @return {YUI} the YUI instance. * @chainable * @static */ O.each = function (obj, fn, thisObj, proto) { var key; for (key in obj) { if (proto || owns(obj, key)) { fn.call(thisObj || Y, obj[key], key, obj); } } return Y; }; /** * Executes a function on each enumerable property in _obj_, but halts if the * function returns a truthy value. The function receives the value, the key, * and the object itself as paramters (in that order). * * By default, only properties owned by _obj_ are enumerated. To include * prototype properties, set the _proto_ parameter to `true`. * * @method some * @param {Object} obj Object to enumerate. * @param {Function} fn Function to execute on each enumerable property. * @param {mixed} fn.value Value of the current property. * @param {String} fn.key Key of the current property. * @param {Object} fn.obj Object being enumerated. * @param {Object} [thisObj] `this` object to use when calling _fn_. * @param {Boolean} [proto=false] Include prototype properties. * @return {Boolean} `true` if any execution of _fn_ returns a truthy value, * `false` otherwise. * @static */ O.some = function (obj, fn, thisObj, proto) { var key; for (key in obj) { if (proto || owns(obj, key)) { if (fn.call(thisObj || Y, obj[key], key, obj)) { return true; } } } return false; }; /** * Retrieves the sub value at the provided path, * from the value object provided. * * @method getValue * @static * @param o The object from which to extract the property value. * @param path {Array} A path array, specifying the object traversal path * from which to obtain the sub value. * @return {Any} The value stored in the path, undefined if not found, * undefined if the source is not an object. Returns the source object * if an empty path is provided. */ O.getValue = function(o, path) { if (!Lang.isObject(o)) { return UNDEFINED; } var i, p = Y.Array(path), l = p.length; for (i = 0; o !== UNDEFINED && i < l; i++) { o = o[p[i]]; } return o; }; /** * Sets the sub-attribute value at the provided path on the * value object. Returns the modified value object, or * undefined if the path is invalid. * * @method setValue * @static * @param o The object on which to set the sub value. * @param path {Array} A path array, specifying the object traversal path * at which to set the sub value. * @param val {Any} The new value for the sub-attribute. * @return {Object} The modified object, with the new sub value set, or * undefined, if the path was invalid. */ O.setValue = function(o, path, val) { var i, p = Y.Array(path), leafIdx = p.length - 1, ref = o; if (leafIdx >= 0) { for (i = 0; ref !== UNDEFINED && i < leafIdx; i++) { ref = ref[p[i]]; } if (ref !== UNDEFINED) { ref[p[i]] = val; } else { return UNDEFINED; } } return o; }; /** * Returns `true` if the object has no enumerable properties of its own. * * @method isEmpty * @param {Object} obj An object. * @return {Boolean} `true` if the object is empty. * @static * @since 3.2.0 */ O.isEmpty = function (obj) { return !O.keys(Object(obj)).length; }; /** * The YUI module contains the components required for building the YUI seed * file. This includes the script loading mechanism, a simple queue, and the * core utilities for the library. * @module yui * @submodule yui-base */ /** * YUI user agent detection. * Do not fork for a browser if it can be avoided. Use feature detection when * you can. Use the user agent as a last resort. For all fields listed * as @type float, UA stores a version number for the browser engine, * 0 otherwise. This value may or may not map to the version number of * the browser using the engine. The value is presented as a float so * that it can easily be used for boolean evaluation as well as for * looking for a particular range of versions. Because of this, * some of the granularity of the version info may be lost. The fields that * are @type string default to null. The API docs list the values that * these fields can have. * @class UA * @static */ /** * Static method on `YUI.Env` for parsing a UA string. Called at instantiation * to populate `Y.UA`. * * @static * @method parseUA * @param {String} [subUA=navigator.userAgent] UA string to parse * @return {Object} The Y.UA object */ YUI.Env.parseUA = function(subUA) { var numberify = function(s) { var c = 0; return parseFloat(s.replace(/\./g, function() { return (c++ === 1) ? '' : '.'; })); }, win = Y.config.win, nav = win && win.navigator, o = { /** * Internet Explorer version number or 0. Example: 6 * @property ie * @type float * @static */ ie: 0, /** * Opera version number or 0. Example: 9.2 * @property opera * @type float * @static */ opera: 0, /** * Gecko engine revision number. Will evaluate to 1 if Gecko * is detected but the revision could not be found. Other browsers * will be 0. Example: 1.8 * <pre> * Firefox 1.0.0.4: 1.7.8 <-- Reports 1.7 * Firefox 1.5.0.9: 1.8.0.9 <-- 1.8 * Firefox 2.0.0.3: 1.8.1.3 <-- 1.81 * Firefox 3.0 <-- 1.9 * Firefox 3.5 <-- 1.91 * </pre> * @property gecko * @type float * @static */ gecko: 0, /** * AppleWebKit version. KHTML browsers that are not WebKit browsers * will evaluate to 1, other browsers 0. Example: 418.9 * <pre> * Safari 1.3.2 (312.6): 312.8.1 <-- Reports 312.8 -- currently the * latest available for Mac OSX 10.3. * Safari 2.0.2: 416 <-- hasOwnProperty introduced * Safari 2.0.4: 418 <-- preventDefault fixed * Safari 2.0.4 (419.3): 418.9.1 <-- One version of Safari may run * different versions of webkit * Safari 2.0.4 (419.3): 419 <-- Tiger installations that have been * updated, but not updated * to the latest patch. * Webkit 212 nightly: 522+ <-- Safari 3.0 precursor (with native * SVG and many major issues fixed). * Safari 3.0.4 (523.12) 523.12 <-- First Tiger release - automatic * update from 2.x via the 10.4.11 OS patch. * Webkit nightly 1/2008:525+ <-- Supports DOMContentLoaded event. * yahoo.com user agent hack removed. * </pre> * http://en.wikipedia.org/wiki/Safari_version_history * @property webkit * @type float * @static */ webkit: 0, /** * Safari will be detected as webkit, but this property will also * be populated with the Safari version number * @property safari * @type float * @static */ safari: 0, /** * Chrome will be detected as webkit, but this property will also * be populated with the Chrome version number * @property chrome * @type float * @static */ chrome: 0, /** * The mobile property will be set to a string containing any relevant * user agent information when a modern mobile browser is detected. * Currently limited to Safari on the iPhone/iPod Touch, Nokia N-series * devices with the WebKit-based browser, and Opera Mini. * @property mobile * @type string * @default null * @static */ mobile: null, /** * Adobe AIR version number or 0. Only populated if webkit is detected. * Example: 1.0 * @property air * @type float */ air: 0, /** * PhantomJS version number or 0. Only populated if webkit is detected. * Example: 1.0 * @property phantomjs * @type float */ phantomjs: 0, /** * Detects Apple iPad's OS version * @property ipad * @type float * @static */ ipad: 0, /** * Detects Apple iPhone's OS version * @property iphone * @type float * @static */ iphone: 0, /** * Detects Apples iPod's OS version * @property ipod * @type float * @static */ ipod: 0, /** * General truthy check for iPad, iPhone or iPod * @property ios * @type Boolean * @default null * @static */ ios: null, /** * Detects Googles Android OS version * @property android * @type float * @static */ android: 0, /** * Detects Kindle Silk * @property silk * @type float * @static */ silk: 0, /** * Detects Ubuntu version * @property ubuntu * @type float * @static */ ubuntu: 0, /** * Detects Kindle Silk Acceleration * @property accel * @type Boolean * @static */ accel: false, /** * Detects Palms WebOS version * @property webos * @type float * @static */ webos: 0, /** * Google Caja version number or 0. * @property caja * @type float */ caja: nav && nav.cajaVersion, /** * Set to true if the page appears to be in SSL * @property secure * @type boolean * @static */ secure: false, /** * The operating system. Currently only detecting windows or macintosh * @property os * @type string * @default null * @static */ os: null, /** * The Nodejs Version * @property nodejs * @type float * @default 0 * @static */ nodejs: 0, /** * Window8/IE10 Application host environment * @property winjs * @type Boolean * @static */ winjs: !!((typeof Windows !== "undefined") && Windows.System), /** * Are touch/msPointer events available on this device * @property touchEnabled * @type Boolean * @static */ touchEnabled: false }, ua = subUA || nav && nav.userAgent, loc = win && win.location, href = loc && loc.href, m; /** * The User Agent string that was parsed * @property userAgent * @type String * @static */ o.userAgent = ua; o.secure = href && (href.toLowerCase().indexOf('https') === 0); if (ua) { if ((/windows|win32/i).test(ua)) { o.os = 'windows'; } else if ((/macintosh|mac_powerpc/i).test(ua)) { o.os = 'macintosh'; } else if ((/android/i).test(ua)) { o.os = 'android'; } else if ((/symbos/i).test(ua)) { o.os = 'symbos'; } else if ((/linux/i).test(ua)) { o.os = 'linux'; } else if ((/rhino/i).test(ua)) { o.os = 'rhino'; } // Modern KHTML browsers should qualify as Safari X-Grade if ((/KHTML/).test(ua)) { o.webkit = 1; } if ((/IEMobile|XBLWP7/).test(ua)) { o.mobile = 'windows'; } if ((/Fennec/).test(ua)) { o.mobile = 'gecko'; } // Modern WebKit browsers are at least X-Grade m = ua.match(/AppleWebKit\/([^\s]*)/); if (m && m[1]) { o.webkit = numberify(m[1]); o.safari = o.webkit; if (/PhantomJS/.test(ua)) { m = ua.match(/PhantomJS\/([^\s]*)/); if (m && m[1]) { o.phantomjs = numberify(m[1]); } } // Mobile browser check if (/ Mobile\//.test(ua) || (/iPad|iPod|iPhone/).test(ua)) { o.mobile = 'Apple'; // iPhone or iPod Touch m = ua.match(/OS ([^\s]*)/); if (m && m[1]) { m = numberify(m[1].replace('_', '.')); } o.ios = m; o.os = 'ios'; o.ipad = o.ipod = o.iphone = 0; m = ua.match(/iPad|iPod|iPhone/); if (m && m[0]) { o[m[0].toLowerCase()] = o.ios; } } else { m = ua.match(/NokiaN[^\/]*|webOS\/\d\.\d/); if (m) { // Nokia N-series, webOS, ex: NokiaN95 o.mobile = m[0]; } if (/webOS/.test(ua)) { o.mobile = 'WebOS'; m = ua.match(/webOS\/([^\s]*);/); if (m && m[1]) { o.webos = numberify(m[1]); } } if (/ Android/.test(ua)) { if (/Mobile/.test(ua)) { o.mobile = 'Android'; } m = ua.match(/Android ([^\s]*);/); if (m && m[1]) { o.android = numberify(m[1]); } } if (/Silk/.test(ua)) { m = ua.match(/Silk\/([^\s]*)/); if (m && m[1]) { o.silk = numberify(m[1]); } if (!o.android) { o.android = 2.34; //Hack for desktop mode in Kindle o.os = 'Android'; } if (/Accelerated=true/.test(ua)) { o.accel = true; } } } m = ua.match(/OPR\/(\d+\.\d+)/); if (m && m[1]) { // Opera 15+ with Blink (pretends to be both Chrome and Safari) o.opera = numberify(m[1]); } else { m = ua.match(/(Chrome|CrMo|CriOS)\/([^\s]*)/); if (m && m[1] && m[2]) { o.chrome = numberify(m[2]); // Chrome o.safari = 0; //Reset safari back to 0 if (m[1] === 'CrMo') { o.mobile = 'chrome'; } } else { m = ua.match(/AdobeAIR\/([^\s]*)/); if (m) { o.air = m[0]; // Adobe AIR 1.0 or better } } } } m = ua.match(/Ubuntu\ (\d+\.\d+)/); if (m && m[1]) { o.os = 'linux'; o.ubuntu = numberify(m[1]); m = ua.match(/\ WebKit\/([^\s]*)/); if (m && m[1]) { o.webkit = numberify(m[1]); } m = ua.match(/\ Chromium\/([^\s]*)/); if (m && m[1]) { o.chrome = numberify(m[1]); } if (/ Mobile$/.test(ua)) { o.mobile = 'Ubuntu'; } } if (!o.webkit) { // not webkit // @todo check Opera/8.01 (J2ME/MIDP; Opera Mini/2.0.4509/1316; fi; U; ssr) if (/Opera/.test(ua)) { m = ua.match(/Opera[\s\/]([^\s]*)/); if (m && m[1]) { o.opera = numberify(m[1]); } m = ua.match(/Version\/([^\s]*)/); if (m && m[1]) { o.opera = numberify(m[1]); // opera 10+ } if (/Opera Mobi/.test(ua)) { o.mobile = 'opera'; m = ua.replace('Opera Mobi', '').match(/Opera ([^\s]*)/); if (m && m[1]) { o.opera = numberify(m[1]); } } m = ua.match(/Opera Mini[^;]*/); if (m) { o.mobile = m[0]; // ex: Opera Mini/2.0.4509/1316 } } else { // not opera or webkit m = ua.match(/MSIE ([^;]*)|Trident.*; rv:([0-9.]+)/); if (m && (m[1] || m[2])) { o.ie = numberify(m[1] || m[2]); } else { // not opera, webkit, or ie m = ua.match(/Gecko\/([^\s]*)/); if (m) { o.gecko = 1; // Gecko detected, look for revision m = ua.match(/rv:([^\s\)]*)/); if (m && m[1]) { o.gecko = numberify(m[1]); if (/Mobile|Tablet/.test(ua)) { o.mobile = "ffos"; } } } } } } } //Check for known properties to tell if touch events are enabled on this device or if //the number of MSPointer touchpoints on this device is greater than 0. if (win && nav && !(o.chrome && o.chrome < 6)) { o.touchEnabled = (("ontouchstart" in win) || (("msMaxTouchPoints" in nav) && (nav.msMaxTouchPoints > 0))); } //It was a parsed UA, do not assign the global value. if (!subUA) { if (typeof process === 'object') { if (process.versions && process.versions.node) { //NodeJS o.os = process.platform; o.nodejs = numberify(process.versions.node); } } YUI.Env.UA = o; } return o; }; Y.UA = YUI.Env.UA || YUI.Env.parseUA(); /** Performs a simple comparison between two version numbers, accounting for standard versioning logic such as the fact that "535.8" is a lower version than "535.24", even though a simple numerical comparison would indicate that it's greater. Also accounts for cases such as "1.1" vs. "1.1.0", which are considered equivalent. Returns -1 if version _a_ is lower than version _b_, 0 if they're equivalent, 1 if _a_ is higher than _b_. Versions may be numbers or strings containing numbers and dots. For example, both `535` and `"535.8.10"` are acceptable. A version string containing non-numeric characters, like `"535.8.beta"`, may produce unexpected results. @method compareVersions @param {Number|String} a First version number to compare. @param {Number|String} b Second version number to compare. @return -1 if _a_ is lower than _b_, 0 if they're equivalent, 1 if _a_ is higher than _b_. **/ Y.UA.compareVersions = function (a, b) { var aPart, aParts, bPart, bParts, i, len; if (a === b) { return 0; } aParts = (a + '').split('.'); bParts = (b + '').split('.'); for (i = 0, len = Math.max(aParts.length, bParts.length); i < len; ++i) { aPart = parseInt(aParts[i], 10); bPart = parseInt(bParts[i], 10); /*jshint expr: true*/ isNaN(aPart) && (aPart = 0); isNaN(bPart) && (bPart = 0); if (aPart < bPart) { return -1; } if (aPart > bPart) { return 1; } } return 0; }; YUI.Env.aliases = { "anim": ["anim-base","anim-color","anim-curve","anim-easing","anim-node-plugin","anim-scroll","anim-xy"], "anim-shape-transform": ["anim-shape"], "app": ["app-base","app-content","app-transitions","lazy-model-list","model","model-list","model-sync-rest","model-sync-local","router","view","view-node-map"], "attribute": ["attribute-base","attribute-complex"], "attribute-events": ["attribute-observable"], "autocomplete": ["autocomplete-base","autocomplete-sources","autocomplete-list","autocomplete-plugin"], "axes": ["axis-numeric","axis-category","axis-time","axis-stacked"], "axes-base": ["axis-numeric-base","axis-category-base","axis-time-base","axis-stacked-base"], "base": ["base-base","base-pluginhost","base-build"], "cache": ["cache-base","cache-offline","cache-plugin"], "charts": ["charts-base"], "collection": ["array-extras","arraylist","arraylist-add","arraylist-filter","array-invoke"], "color": ["color-base","color-hsl","color-harmony"], "controller": ["router"], "dataschema": ["dataschema-base","dataschema-json","dataschema-xml","dataschema-array","dataschema-text"], "datasource": ["datasource-local","datasource-io","datasource-get","datasource-function","datasource-cache","datasource-jsonschema","datasource-xmlschema","datasource-arrayschema","datasource-textschema","datasource-polling"], "datatable": ["datatable-core","datatable-table","datatable-head","datatable-body","datatable-base","datatable-column-widths","datatable-message","datatable-mutable","datatable-sort","datatable-datasource"], "datatype": ["datatype-date","datatype-number","datatype-xml"], "datatype-date": ["datatype-date-parse","datatype-date-format","datatype-date-math"], "datatype-number": ["datatype-number-parse","datatype-number-format"], "datatype-xml": ["datatype-xml-parse","datatype-xml-format"], "dd": ["dd-ddm-base","dd-ddm","dd-ddm-drop","dd-drag","dd-proxy","dd-constrain","dd-drop","dd-scroll","dd-delegate"], "dom": ["dom-base","dom-screen","dom-style","selector-native","selector"], "editor": ["frame","editor-selection","exec-command","editor-base","editor-para","editor-br","editor-bidi","editor-tab","createlink-base"], "event": ["event-base","event-delegate","event-synthetic","event-mousewheel","event-mouseenter","event-key","event-focus","event-resize","event-hover","event-outside","event-touch","event-move","event-flick","event-valuechange","event-tap"], "event-custom": ["event-custom-base","event-custom-complex"], "event-gestures": ["event-flick","event-move"], "handlebars": ["handlebars-compiler"], "highlight": ["highlight-base","highlight-accentfold"], "history": ["history-base","history-hash","history-html5"], "io": ["io-base","io-xdr","io-form","io-upload-iframe","io-queue"], "json": ["json-parse","json-stringify"], "loader": ["loader-base","loader-rollup","loader-yui3"], "node": ["node-base","node-event-delegate","node-pluginhost","node-screen","node-style"], "pluginhost": ["pluginhost-base","pluginhost-config"], "querystring": ["querystring-parse","querystring-stringify"], "recordset": ["recordset-base","recordset-sort","recordset-filter","recordset-indexer"], "resize": ["resize-base","resize-proxy","resize-constrain"], "slider": ["slider-base","slider-value-range","clickable-rail","range-slider"], "template": ["template-base","template-micro"], "text": ["text-accentfold","text-wordbreak"], "widget": ["widget-base","widget-htmlparser","widget-skin","widget-uievents"] }; }, '3.17.2');
athanclark/cdnjs
ajax/libs/yui/3.17.2/yui-core/yui-core-debug.js
JavaScript
mit
133,406
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('datatype-number-parse', function (Y, NAME) { /** * Parse number submodule. * * @module datatype-number * @submodule datatype-number-parse * @for Number */ var safe = Y.Escape.regex, SPACES = '\\s*'; Y.mix(Y.namespace("Number"), { /** * Returns a parsing function for the given configuration. * It uses `Y.cached` so it expects the format spec separated into * individual values. * The method further uses closure to put together and save the * regular expresssion just once in the outer function. * * @method _buildParser * @param [prefix] {String} Prefix string to be stripped out. * @param [suffix] {String} Suffix string to be stripped out. * @param [separator] {String} Thousands separator to be stripped out. * @param [decimal] {String} Decimal separator to be replaced by a dot. * @return {Function} Parsing function. * @private */ _buildParser: Y.cached(function (prefix, suffix, separator, decimal) { var regexBits = [], regex; if (prefix) { regexBits.push('^' + SPACES + safe(prefix) + SPACES); } if (suffix) { regexBits.push(SPACES + safe(suffix) + SPACES + '$'); } if (separator) { regexBits.push(safe(separator) + '(?=\\d)'); } regex = new RegExp('(?:' + regexBits.join('|') + ')', 'g'); if (decimal === '.') { decimal = null; } return function (val) { val = val.replace(regex, ''); return decimal ? val.replace(decimal, '.') : val; }; }), /** * Converts data to type Number. * If a `config` argument is used, it will strip the `data` of the prefix, * the suffix and the thousands separator, if any of them are found, * replace the decimal separator by a dot and parse the resulting string. * Extra whitespace around the prefix and suffix will be ignored. * * @method parse * @param data {String | Number | Boolean} Data to convert. The following * values return as null: null, undefined, NaN, "". * @param [config] {Object} Optional configuration values, same as for [Y.Date.format](#method_format). * @param [config.prefix] {String} String to be removed from the start, like a currency designator "$" * @param [config.decimalPlaces] {Number} Ignored, it is accepted only for compatibility with [Y.Date.format](#method_format). * @param [config.decimalSeparator] {String} Decimal separator. * @param [config.thousandsSeparator] {String} Thousands separator. * @param [config.suffix] {String} String to be removed from the end of the number, like " items". * @return {Number} A number, or null. */ parse: function(data, config) { var parser; if (config && typeof data === 'string') { parser = this._buildParser(config.prefix, config.suffix, config.thousandsSeparator, config.decimalSeparator); data = parser(data); } if (typeof data === 'string' && Y.Lang.trim(data) !== '') { data = +data; } // catch NaN and ±Infinity if (typeof data !== 'number' || !isFinite(data)) { data = null; } // on the same line to get stripped for raw/min.js by build system return data; } }); // Add Parsers shortcut Y.namespace("Parsers").number = Y.Number.parse; Y.namespace("DataType"); Y.DataType.Number = Y.Number; }, '3.17.2', {"requires": ["escape"]});
kellyselden/cdnjs
ajax/libs/yui/3.17.2/datatype-number-parse/datatype-number-parse.js
JavaScript
mit
3,728
/* YUI 3.17.2 (build 9c3c78e) Copyright 2014 Yahoo! Inc. All rights reserved. Licensed under the BSD License. http://yuilibrary.com/license/ */ YUI.add('widget-uievents', function (Y, NAME) { /** * Support for Widget UI Events (Custom Events fired by the widget, which wrap the underlying DOM events - e.g. widget:click, widget:mousedown) * * @module widget * @submodule widget-uievents */ var BOUNDING_BOX = "boundingBox", Widget = Y.Widget, RENDER = "render", L = Y.Lang, EVENT_PREFIX_DELIMITER = ":", // Map of Node instances serving as a delegation containers for a specific // event type to Widget instances using that delegation container. _uievts = Y.Widget._uievts = Y.Widget._uievts || {}; Y.mix(Widget.prototype, { /** * Destructor logic for UI event infrastructure, * invoked during Widget destruction. * * @method _destroyUIEvents * @for Widget * @private */ _destroyUIEvents: function() { var widgetGuid = Y.stamp(this, true); Y.each(_uievts, function (info, key) { if (info.instances[widgetGuid]) { // Unregister this Widget instance as needing this delegated // event listener. delete info.instances[widgetGuid]; // There are no more Widget instances using this delegated // event listener, so detach it. if (Y.Object.isEmpty(info.instances)) { info.handle.detach(); if (_uievts[key]) { delete _uievts[key]; } } } }); }, /** * Map of DOM events that should be fired as Custom Events by the * Widget instance. * * @property UI_EVENTS * @for Widget * @type Object */ UI_EVENTS: Y.Node.DOM_EVENTS, /** * Returns the node on which to bind delegate listeners. * * @method _getUIEventNode * @for Widget * @protected */ _getUIEventNode: function () { return this.get(BOUNDING_BOX); }, /** * Binds a delegated DOM event listener of the specified type to the * Widget's outtermost DOM element to facilitate the firing of a Custom * Event of the same type for the Widget instance. * * @method _createUIEvent * @for Widget * @param type {String} String representing the name of the event * @private */ _createUIEvent: function (type) { var uiEvtNode = this._getUIEventNode(), key = (Y.stamp(uiEvtNode) + type), info = _uievts[key], handle; // For each Node instance: Ensure that there is only one delegated // event listener used to fire Widget UI events. if (!info) { handle = uiEvtNode.delegate(type, function (evt) { var widget = Widget.getByNode(this); // Widget could be null if node instance belongs to // another Y instance. if (widget) { if (widget._filterUIEvent(evt)) { widget.fire(evt.type, { domEvent: evt }); } } }, "." + Y.Widget.getClassName()); _uievts[key] = info = { instances: {}, handle: handle }; } // Register this Widget as using this Node as a delegation container. info.instances[Y.stamp(this)] = 1; }, /** * This method is used to determine if we should fire * the UI Event or not. The default implementation makes sure * that for nested delegates (nested unrelated widgets), we don't * fire the UI event listener more than once at each level. * * <p>For example, without the additional filter, if you have nested * widgets, each widget will have a delegate listener. If you * click on the inner widget, the inner delegate listener's * filter will match once, but the outer will match twice * (based on delegate's design) - once for the inner widget, * and once for the outer.</p> * * @method _filterUIEvent * @for Widget * @param {DOMEventFacade} evt * @return {boolean} true if it's OK to fire the custom UI event, false if not. * @private * */ _filterUIEvent: function(evt) { // Either it's hitting this widget's delegate container (and not some other widget's), // or the container it's hitting is handling this widget's ui events. return (evt.currentTarget.compareTo(evt.container) || evt.container.compareTo(this._getUIEventNode())); }, /** * Determines if the specified event is a UI event. * * @private * @method _isUIEvent * @for Widget * @param type {String} String representing the name of the event * @return {String} Event Returns the name of the UI Event, otherwise * undefined. */ _getUIEvent: function (type) { if (L.isString(type)) { var sType = this.parseType(type)[1], iDelim, returnVal; if (sType) { // TODO: Get delimiter from ET, or have ET support this. iDelim = sType.indexOf(EVENT_PREFIX_DELIMITER); if (iDelim > -1) { sType = sType.substring(iDelim + EVENT_PREFIX_DELIMITER.length); } if (this.UI_EVENTS[sType]) { returnVal = sType; } } return returnVal; } }, /** * Sets up infrastructure required to fire a UI event. * * @private * @method _initUIEvent * @for Widget * @param type {String} String representing the name of the event * @return {String} */ _initUIEvent: function (type) { var sType = this._getUIEvent(type), queue = this._uiEvtsInitQueue || {}; if (sType && !queue[sType]) { this._uiEvtsInitQueue = queue[sType] = 1; this.after(RENDER, function() { this._createUIEvent(sType); delete this._uiEvtsInitQueue[sType]; }); } }, // Override of "on" from Base to facilitate the firing of Widget events // based on DOM events of the same name/type (e.g. "click", "mouseover"). // Temporary solution until we have the ability to listen to when // someone adds an event listener (bug 2528230) on: function (type) { this._initUIEvent(type); return Widget.superclass.on.apply(this, arguments); }, // Override of "publish" from Base to facilitate the firing of Widget events // based on DOM events of the same name/type (e.g. "click", "mouseover"). // Temporary solution until we have the ability to listen to when // someone publishes an event (bug 2528230) publish: function (type, config) { var sType = this._getUIEvent(type); if (sType && config && config.defaultFn) { this._initUIEvent(sType); } return Widget.superclass.publish.apply(this, arguments); } }, true); // overwrite existing EventTarget methods }, '3.17.2', {"requires": ["node-event-delegate", "widget-base"]});
nareshs435/cdnjs
ajax/libs/yui/3.17.2/widget-uievents/widget-uievents.js
JavaScript
mit
7,324
'use strict'; angular.module('users').controller('AuthenticationController', ['$scope', '$http', '$location', 'Authentication', function($scope, $http, $location, Authentication) { $scope.authentication = Authentication; // If user is signed in then redirect back home if ($scope.authentication.user) $location.path('/'); $scope.signup = function() { $http.post('/auth/signup', $scope.credentials).success(function(response) { // If successful we assign the response to the global user model $scope.authentication.user = response; // And redirect to the index page $location.path('/'); }).error(function(response) { $scope.error = response.message; }); }; $scope.signin = function() { $http.post('/auth/signin', $scope.credentials).success(function(response) { // If successful we assign the response to the global user model $scope.authentication.user = response; // And redirect to the index page $location.path('/'); }).error(function(response) { $scope.error = response.message; }); }; } ]);
varguitas/automatec
public/modules/users/controllers/authentication.client.controller.js
JavaScript
mit
1,075
/* This is a compiled file, you should be editing the file in the templates directory */ .pace { -webkit-pointer-events: none; pointer-events: none; -webkit-user-select: none; -moz-user-select: none; user-select: none; } .pace .pace-activity { display: block; position: fixed; z-index: 2000; top: 0; right: 0; width: 300px; height: 300px; background: #22df80; -webkit-transition: -webkit-transform 0.3s; transition: transform 0.3s; -webkit-transform: translateX(100%) translateY(-100%) rotate(45deg); transform: translateX(100%) translateY(-100%) rotate(45deg); pointer-events: none; } .pace.pace-active .pace-activity { -webkit-transform: translateX(50%) translateY(-50%) rotate(45deg); transform: translateX(50%) translateY(-50%) rotate(45deg); } .pace .pace-activity::before, .pace .pace-activity::after { -moz-box-sizing: border-box; box-sizing: border-box; position: absolute; bottom: 30px; left: 50%; display: block; border: 5px solid #fff; border-radius: 50%; content: ''; } .pace .pace-activity::before { margin-left: -40px; width: 80px; height: 80px; border-right-color: rgba(0, 0, 0, .2); border-left-color: rgba(0, 0, 0, .2); -webkit-animation: pace-theme-corner-indicator-spin 3s linear infinite; animation: pace-theme-corner-indicator-spin 3s linear infinite; } .pace .pace-activity::after { bottom: 50px; margin-left: -20px; width: 40px; height: 40px; border-top-color: rgba(0, 0, 0, .2); border-bottom-color: rgba(0, 0, 0, .2); -webkit-animation: pace-theme-corner-indicator-spin 1s linear infinite; animation: pace-theme-corner-indicator-spin 1s linear infinite; } @-webkit-keyframes pace-theme-corner-indicator-spin { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(359deg); } } @keyframes pace-theme-corner-indicator-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(359deg); } }
contolini/cdnjs
ajax/libs/pace/1.0.0/themes/green/pace-theme-corner-indicator.css
CSS
mit
1,988
/*! * zeroclipboard * The Zero Clipboard library provides an easy way to copy text to the clipboard using an invisible Adobe Flash movie, and a JavaScript interface. * Copyright 2012 Jon Rohan, James M. Greene, . * Released under the MIT license * http://jonrohan.github.com/ZeroClipboard/ * v1.1.7 */(function(){"use strict";var a=function(a,b){var c=a.style[b];a.currentStyle?c=a.currentStyle[b]:window.getComputedStyle&&(c=document.defaultView.getComputedStyle(a,null).getPropertyValue(b));if(c=="auto"&&b=="cursor"){var d=["a"];for(var e=0;e<d.length;e++)if(a.tagName.toLowerCase()==d[e])return"pointer"}return c},b=function(a){if(!l.prototype._singleton)return;a||(a=window.event);var b;this!==window?b=this:a.target?b=a.target:a.srcElement&&(b=a.srcElement),l.prototype._singleton.setCurrent(b)},c=function(a,b,c){a.addEventListener?a.addEventListener(b,c,!1):a.attachEvent&&a.attachEvent("on"+b,c)},d=function(a,b,c){a.removeEventListener?a.removeEventListener(b,c,!1):a.detachEvent&&a.detachEvent("on"+b,c)},e=function(a,b){if(a.addClass)return a.addClass(b),a;if(b&&typeof b=="string"){var c=(b||"").split(/\s+/);if(a.nodeType===1)if(!a.className)a.className=b;else{var d=" "+a.className+" ",e=a.className;for(var f=0,g=c.length;f<g;f++)d.indexOf(" "+c[f]+" ")<0&&(e+=" "+c[f]);a.className=e.replace(/^\s+|\s+$/g,"")}}return a},f=function(a,b){if(a.removeClass)return a.removeClass(b),a;if(b&&typeof b=="string"||b===undefined){var c=(b||"").split(/\s+/);if(a.nodeType===1&&a.className)if(b){var d=(" "+a.className+" ").replace(/[\n\t]/g," ");for(var e=0,f=c.length;e<f;e++)d=d.replace(" "+c[e]+" "," ");a.className=d.replace(/^\s+|\s+$/g,"")}else a.className=""}return a},g=function(b){var c={left:0,top:0,width:b.width||b.offsetWidth||0,height:b.height||b.offsetHeight||0,zIndex:9999},d=a(b,"zIndex");d&&d!="auto"&&(c.zIndex=parseInt(d,10));while(b){var e=parseInt(a(b,"borderLeftWidth"),10),f=parseInt(a(b,"borderTopWidth"),10);c.left+=isNaN(b.offsetLeft)?0:b.offsetLeft,c.left+=isNaN(e)?0:e,c.top+=isNaN(b.offsetTop)?0:b.offsetTop,c.top+=isNaN(f)?0:f,b=b.offsetParent}return c},h=function(a){return(a.indexOf("?")>=0?"&":"?")+"nocache="+(new Date).getTime()},i=function(a){var b=[];return a.trustedDomains&&(typeof a.trustedDomains=="string"?b.push("trustedDomain="+a.trustedDomains):b.push("trustedDomain="+a.trustedDomains.join(","))),b.join("&")},j=function(a,b){if(b.indexOf)return b.indexOf(a);for(var c=0,d=b.length;c<d;c++)if(b[c]===a)return c;return-1},k=function(a){if(typeof a=="string")throw new TypeError("ZeroClipboard doesn't accept query strings.");return a.length?a:[a]},l=function(a,b){a&&(l.prototype._singleton||this).glue(a);if(l.prototype._singleton)return l.prototype._singleton;l.prototype._singleton=this,this.options={};for(var c in o)this.options[c]=o[c];for(var d in b)this.options[d]=b[d];this.handlers={},l.detectFlashSupport()&&p()},m,n=[];l.prototype.setCurrent=function(b){m=b,this.reposition(),b.getAttribute("title")&&this.setTitle(b.getAttribute("title")),this.setHandCursor(a(b,"cursor")=="pointer")},l.prototype.setText=function(a){a&&a!==""&&(this.options.text=a,this.ready()&&this.flashBridge.setText(a))},l.prototype.setTitle=function(a){a&&a!==""&&this.htmlBridge.setAttribute("title",a)},l.prototype.setSize=function(a,b){this.ready()&&this.flashBridge.setSize(a,b)},l.prototype.setHandCursor=function(a){this.ready()&&this.flashBridge.setHandCursor(a)},l.version="1.1.7";var o={moviePath:"ZeroClipboard.swf",trustedDomains:null,text:null,hoverClass:"zeroclipboard-is-hover",activeClass:"zeroclipboard-is-active",allowScriptAccess:"sameDomain"};l.setDefaults=function(a){for(var b in a)o[b]=a[b]},l.destroy=function(){l.prototype._singleton.unglue(n);var a=l.prototype._singleton.htmlBridge;a.parentNode.removeChild(a),delete l.prototype._singleton},l.detectFlashSupport=function(){var a=!1;try{new ActiveXObject("ShockwaveFlash.ShockwaveFlash")&&(a=!0)}catch(b){navigator.mimeTypes["application/x-shockwave-flash"]&&(a=!0)}return a};var p=function(){var a=l.prototype._singleton,b=document.getElementById("global-zeroclipboard-html-bridge");if(!b){var c=' <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="global-zeroclipboard-flash-bridge" width="100%" height="100%"> <param name="movie" value="'+a.options.moviePath+h(a.options.moviePath)+'"/> <param name="allowScriptAccess" value="'+a.options.allowScriptAccess+'"/> <param name="scale" value="exactfit"/> <param name="loop" value="false"/> <param name="menu" value="false"/> <param name="quality" value="best" /> <param name="bgcolor" value="#ffffff"/> <param name="wmode" value="transparent"/> <param name="flashvars" value="'+i(a.options)+'"/> <embed src="'+a.options.moviePath+h(a.options.moviePath)+'" loop="false" menu="false" quality="best" bgcolor="#ffffff" width="100%" height="100%" name="global-zeroclipboard-flash-bridge" allowScriptAccess="always" allowFullScreen="false" type="application/x-shockwave-flash" wmode="transparent" pluginspage="http://www.macromedia.com/go/getflashplayer" flashvars="'+i(a.options)+'" scale="exactfit"> </embed> </object>';b=document.createElement("div"),b.id="global-zeroclipboard-html-bridge",b.setAttribute("class","global-zeroclipboard-container"),b.setAttribute("data-clipboard-ready",!1),b.style.position="absolute",b.style.left="-9999px",b.style.top="-9999px",b.style.width="15px",b.style.height="15px",b.style.zIndex="9999",b.innerHTML=c,document.body.appendChild(b)}a.htmlBridge=b,a.flashBridge=document["global-zeroclipboard-flash-bridge"]||b.children[0].lastElementChild};l.prototype.resetBridge=function(){this.htmlBridge.style.left="-9999px",this.htmlBridge.style.top="-9999px",this.htmlBridge.removeAttribute("title"),this.htmlBridge.removeAttribute("data-clipboard-text"),f(m,this.options.activeClass),m=null,this.options.text=null},l.prototype.ready=function(){var a=this.htmlBridge.getAttribute("data-clipboard-ready");return a==="true"||a===!0},l.prototype.reposition=function(){if(!m)return!1;var a=g(m);this.htmlBridge.style.top=a.top+"px",this.htmlBridge.style.left=a.left+"px",this.htmlBridge.style.width=a.width+"px",this.htmlBridge.style.height=a.height+"px",this.htmlBridge.style.zIndex=a.zIndex+1,this.setSize(a.width,a.height)},l.dispatch=function(a,b){l.prototype._singleton.receiveEvent(a,b)},l.prototype.on=function(a,b){var c=a.toString().split(/\s/g);for(var d=0;d<c.length;d++)a=c[d].toLowerCase().replace(/^on/,""),this.handlers[a]||(this.handlers[a]=b);this.handlers.noflash&&!l.detectFlashSupport()&&this.receiveEvent("onNoFlash",null)},l.prototype.addEventListener=l.prototype.on,l.prototype.off=function(a,b){var c=a.toString().split(/\s/g);for(var d=0;d<c.length;d++){a=c[d].toLowerCase().replace(/^on/,"");for(var e in this.handlers)e===a&&this.handlers[e]===b&&delete this.handlers[e]}},l.prototype.removeEventListener=l.prototype.off,l.prototype.receiveEvent=function(a,b){a=a.toString().toLowerCase().replace(/^on/,"");var c=m;switch(a){case"load":if(b&&parseFloat(b.flashVersion.replace(",",".").replace(/[^0-9\.]/gi,""))<10){this.receiveEvent("onWrongFlash",{flashVersion:b.flashVersion});return}this.htmlBridge.setAttribute("data-clipboard-ready",!0);break;case"mouseover":e(c,this.options.hoverClass);break;case"mouseout":f(c,this.options.hoverClass),this.resetBridge();break;case"mousedown":e(c,this.options.activeClass);break;case"mouseup":f(c,this.options.activeClass);break;case"datarequested":var d=c.getAttribute("data-clipboard-target"),g=d?document.getElementById(d):null;if(g){var h=g.value||g.textContent||g.innerText;h&&this.setText(h)}else{var i=c.getAttribute("data-clipboard-text");i&&this.setText(i)}break;case"complete":this.options.text=null}if(this.handlers[a]){var j=this.handlers[a];typeof j=="function"?j.call(c,this,b):typeof j=="string"&&window[j].call(c,this,b)}},l.prototype.glue=function(a){a=k(a);for(var d=0;d<a.length;d++)j(a[d],n)==-1&&(n.push(a[d]),c(a[d],"mouseover",b))},l.prototype.unglue=function(a){a=k(a);for(var c=0;c<a.length;c++){d(a[c],"mouseover",b);var e=j(a[c],n);e!=-1&&n.splice(e,1)}},typeof module!="undefined"?module.exports=l:typeof define=="function"&&define.amd?define(function(){return l}):window.ZeroClipboard=l})();
cambell-prince/web-product-theme1
vendor/fortawesome/font-awesome/src/assets/js/ZeroClipboard-1.1.7.min.js
JavaScript
mit
8,400
(function() { JSLitmus.test('trimNoNative', function() { return _.trim(" foobar ", " "); }); JSLitmus.test('trim', function() { return _.trim(" foobar "); }); JSLitmus.test('trim object-oriented', function() { return _(" foobar ").trim(); }); JSLitmus.test('trim jQuery', function() { return jQuery.trim(" foobar "); }); JSLitmus.test('ltrimp', function() { return _.ltrim(" foobar ", " "); }); JSLitmus.test('rtrimp', function() { return _.rtrim(" foobar ", " "); }); JSLitmus.test('startsWith', function() { return _.startsWith("foobar", "foo"); }); JSLitmus.test('endsWith', function() { return _.endsWith("foobar", "xx"); }); JSLitmus.test('chop', function(){ return _('whitespace').chop(2); }); JSLitmus.test('count', function(){ return _('Hello worls').count('l'); }); JSLitmus.test('insert', function() { return _('Hello ').insert(6, 'world'); }); JSLitmus.test('splice', function() { return _('https://edtsech@bitbucket.org/edtsech/underscore.strings').splice(30, 7, 'epeli'); }); JSLitmus.test('succ', function(){ var let = 'a', alphabet = []; for (var i=0; i < 26; i++) { alphabet.push(let); let = _(let).succ(); } return alphabet; }); JSLitmus.test('titleize', function(){ return _('the titleize string method').titleize(); }); JSLitmus.test('truncate', function(){ return _('Hello world').truncate(5); }); JSLitmus.test('prune', function(){ return _('Hello world').prune(5); }); JSLitmus.test('isBlank', function(){ return _('').isBlank(); }); JSLitmus.test('escapeHTML', function(){ _('<div>Blah blah blah</div>').escapeHTML(); }); JSLitmus.test('unescapeHTML', function(){ _('&lt;div&gt;Blah blah blah&lt;/div&gt;').unescapeHTML(); }); JSLitmus.test('reverse', function(){ _('Hello World').reverse(); }); JSLitmus.test('pad default', function(){ _('foo').pad(12); }); JSLitmus.test('pad hash left', function(){ _('foo').pad(12, '#'); }); JSLitmus.test('pad hash right', function(){ _('foo').pad(12, '#', 'right'); }); JSLitmus.test('pad hash both', function(){ _('foo').pad(12, '#', 'both'); }); JSLitmus.test('pad hash both longPad', function(){ _('foo').pad(12, 'f00f00f00', 'both'); }); JSLitmus.test('toNumber', function(){ _('10.232323').toNumber(2); }); JSLitmus.test('strRight', function(){ _('aaa_bbb_ccc').strRight('_'); }); JSLitmus.test('strRightBack', function(){ _('aaa_bbb_ccc').strRightBack('_'); }); JSLitmus.test('strLeft', function(){ _('aaa_bbb_ccc').strLeft('_'); }); JSLitmus.test('strLeftBack', function(){ _('aaa_bbb_ccc').strLeftBack('_'); }); JSLitmus.test('join', function(){ _('separator').join(1, 2, 3, 4, 5, 6, 7, 8, 'foo', 'bar', 'lol', 'wut'); }); JSLitmus.test('slugify', function(){ _("Un éléphant à l'orée du bois").slugify(); }); })();
Dizzypointed/toastCE
node_modules/grunt/node_modules/underscore.string/test/speed.js
JavaScript
mit
3,026
var arraySum = require('../internal/arraySum'), baseCallback = require('../internal/baseCallback'), baseSum = require('../internal/baseSum'), isArray = require('../lang/isArray'), isIterateeCall = require('../internal/isIterateeCall'), toIterable = require('../internal/toIterable'); /** * Gets the sum of the values in `collection`. * * @static * @memberOf _ * @category Math * @param {Array|Object|string} collection The collection to iterate over. * @param {Function|Object|string} [iteratee] The function invoked per iteration. * @param {*} [thisArg] The `this` binding of `iteratee`. * @returns {number} Returns the sum. * @example * * _.sum([4, 6]); * // => 10 * * _.sum({ 'a': 4, 'b': 6 }); * // => 10 * * var objects = [ * { 'n': 4 }, * { 'n': 6 } * ]; * * _.sum(objects, function(object) { * return object.n; * }); * // => 10 * * // using the `_.property` callback shorthand * _.sum(objects, 'n'); * // => 10 */ function sum(collection, iteratee, thisArg) { if (thisArg && isIterateeCall(collection, iteratee, thisArg)) { iteratee = undefined; } iteratee = baseCallback(iteratee, thisArg, 3); return iteratee.length == 1 ? arraySum(isArray(collection) ? collection : toIterable(collection), iteratee) : baseSum(collection, iteratee); } module.exports = sum;
mchaperc/experiment
node_modules/browser-sync/node_modules/lodash/math/sum.js
JavaScript
mit
1,346
var test = require('tap').test var wrappy = require('../wrappy.js') test('basic', function (t) { function onceifier (cb) { var called = false return function () { if (called) return called = true return cb.apply(this, arguments) } } onceifier.iAmOnce = {} var once = wrappy(onceifier) t.equal(once.iAmOnce, onceifier.iAmOnce) var called = 0 function boo () { t.equal(called, 0) called++ } // has some rando property boo.iAmBoo = true var onlyPrintOnce = once(boo) onlyPrintOnce() // prints 'boo' onlyPrintOnce() // does nothing t.equal(called, 1) // random property is retained! t.equal(onlyPrintOnce.iAmBoo, true) var logs = [] var logwrap = wrappy(function (msg, cb) { logs.push(msg + ' wrapping cb') return function () { logs.push(msg + ' before cb') var ret = cb.apply(this, arguments) logs.push(msg + ' after cb') } }) var c = logwrap('foo', function () { t.same(logs, [ 'foo wrapping cb', 'foo before cb' ]) }) c() t.same(logs, [ 'foo wrapping cb', 'foo before cb', 'foo after cb' ]) t.end() })
natewscott/susy-template2.0
node_modules/grunt-contrib-imagemin/node_modules/imagemin/node_modules/imagemin-pngquant/node_modules/pngquant-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress-tarbz2/node_modules/tar-stream/node_modules/end-of-stream/node_modules/once/node_modules/wrappy/test/basic.js
JavaScript
mit
1,129