"use strict";(function(factory){if(typeof define==="function"&&define.amd){define(["jquery","jquery-ui","jquery-ui/ui/core","jquery-ui/ui/data","jquery-ui/ui/focusable","jquery-ui/ui/keycode","jquery-ui/ui/tabbable","jquery-ui/ui/version","jquery-ui/ui/widget","jquery-ui/ui/widgets/mouse"],factory)}else{factory(jQuery)}})(function($){/*!@license
* Infragistics.Web.ClientUI data source localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.DataSourceLocale=$.ig.DataSourceLocale||{};$.ig.locale.en.DataSourceLocale={invalidDataSource:"The supplied data source is invalid. It happens to be a scalar.",unknownDataSource:"Cannot determine the data source type. Please specify if it is JSON or XML data.",errorParsingArrays:"There was an error parsing the array data and applying the defined data schema: ",errorParsingJson:"There was an error parsing the JSON data and applying the defined data schema: ",errorParsingXml:"There was an error parsing the XML data and applying the defined data schema: ",errorParsingHtmlTable:"There was an error extracting the data from the HTML Table and applying the schema : ",errorExpectedTbodyParameter:"Expected a tbody or a table as a parameter.",errorTableWithIdNotFound:"The HTML Table with the following ID was not found: ",errorParsingHtmlTableNoSchema:"There was an error parsing the Table DOM: ",errorParsingJsonNoSchema:"There was an error parsing/evaluating the JSON string: ",errorParsingXmlNoSchema:"There was an error parsing the XML string: ",errorXmlSourceWithoutSchema:"The supplied data source is an xml document, but there is no defined data schema ($.IgDataSchema) ",errorUnrecognizedFilterCondition:" The filter condition that was passed was not recognized: ",errorRemoteRequest:"The remote request to fetch data has failed: ",errorSchemaMismatch:"The input data doesn't match the schema, the following field couldn't be mapped: ",errorSchemaFieldCountMismatch:"The input data doesn't match the schema in terms of number of fields. ",errorUnrecognizedResponseType:"The response type was either not set correctly, or it was not possible to detect it automatically. Please set settings.responseDataType and/or settings.responseContentType.",hierarchicalTablesNotSupported:"Tables are not supported for HierarchicalSchema",cannotBuildTemplate:"The jQuery template could not be built. There are no records present in the data source, and no columns defined.",unrecognizedCondition:"Unrecognized filtering condition in the following expression: ",fieldMismatch:"The following expression contains an invalid field or filtering condition: ",noSortingFields:"There are no fields specified. You need to specify at least one field to sort by, when calling sort().",filteringNoSchema:"There is no schema / fields specified. You need to specify a schema with field definitions and types to be able to filter the data source.",noSaveChanges:"Saving changes was not successful. Server did not return Success object or returned Success:false.",errorUnexpectedCustomFilterFunction:"An unexpected value was provided for a custom filtering function. A function or string is expected."};$.ig.DataSourceLocale.locale=$.ig.DataSourceLocale.locale||$.ig.locale.en.DataSourceLocale;return $.ig.locale.en.DataSourceLocale})($);/*!@license
* Infragistics.Web.ClientUI infragistics.documents.core_core.js resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function(){$=$||{};$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.documentsCore=$.ig.locale.en.documentsCore||{};var l=$.ig.locale.en.documentsCore;l["LE_ArgumentOutOfRangeException_ValueError"]="Invalid {0} value. It must be between {1} and {2}.";l["LE_DocumentEncryptedException_DefaultMessage"]="The document is encrypted and must be opened with a password.";l["LE_EncryptionAlgorithmNotSupportedException_DefaultMessage"]="The document is encrypted with an unsupported encryption algorithm and cannot be decrypted.";l["LE_FormatException_TypeError"]="Incorrect {0} format: {0}.";l["LE_InvalidPasswordException_DefaultMessage"]="The password used to open the encrypted document is incorrect.";$.ig.documentsCore=$.ig.documentsCore||{};$.ig.documentsCore.locale=$.ig.documentsCore.locale||l;return l})($);/*!@license
* Infragistics.Web.ClientUI common DV widget localization resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.DataChart=$.ig.DataChart||{};$.ig.PieChart=$.ig.PieChart||{};$.ig.Map=$.ig.Map||{};$.ig.Financial=$.ig.Financial||{};$.ig.ShapeChartWidget=$.ig.ShapeChartWidget||{};$.ig.locale.en.DataChart={seriesName:"must specify series name option when setting options.",axisName:"must specify axis name option when setting options.",invalidLabelBinding:"There is no such value for the labels to bind.",invalidSeriesAxisCombination:"Invalid combination of series and axis types: ",close:"Close",overview:"Overview",zoomOut:"Zoom Out",zoomIn:"Zoom In",resetZoom:"Reset Zoom",seriesUnsupportedOption:"the current series type does not support the option: ",seriesTypeNotLoaded:"the JavaScript file containing the requested series type has not been loaded or the series type is invalid: ",axisTypeNotLoaded:"the JavaScript file containing the requested axis type has not been loaded or the axis type is invalid: ",axisUnsupportedOption:"the current axis type does not support the option: ",dataChart_TrendLinesNotLoaded:"Trend lines functionality was accessed but chart trend line module was not loaded.",dataChart_NumberAbbreviatorNotLoaded:"Number abbreviation functionality was used, but the number abbreviator module has not been loaded.",dataChart_VisualDataNotLoaded:"VisualData functionality was accessed but chart interaction module has not been loaded.",dataChart_InteractivityNotLoaded:"Interactivity functionality was accessed but chart interaction module has not been loaded.",financialSeries_Close:"Close",financialSeries_High:"High",financialSeries_Low:"Low",financialSeries_Open:"Open",financialSeries_Volume:"Volume"};$.ig.locale.en.Map={seriesName:"must specify series name option when setting options.",axisName:"must specify axis name option when setting options.",invalidLabelBinding:"There is no such value for the labels to bind.",invalidSeriesAxisCombination:"Invalid combination of series and axis types: ",close:"Close",overview:"Overview",zoomOut:"Zoom Out",zoomIn:"Zoom In",resetZoom:"Reset Zoom",seriesUnsupportedOption:"the current series type does not support the option: ",seriesTypeNotLoaded:"the JavaScript file containing the requested series type has not been loaded or the series type is invalid: ",axisTypeNotLoaded:"the JavaScript file containing the requested axis type has not been loaded or the axis type is invalid: ",axisUnsupportedOption:"the current axis type does not support the option: ",dataChart_TrendLinesNotLoaded:"Trend lines functionality was accessed but chart trend line module was not loaded.",dataChart_NumberAbbreviatorNotLoaded:"Number abbreviation functionality was used, but the number abbreviator module has not been loaded.",dataChart_VisualDataNotLoaded:"VisualData functionality was accessed but chart interaction module has not been loaded.",dataChart_InteractivityNotLoaded:"Interactivity functionality was accessed but chart interaction module has not been loaded."};$.ig.locale.en.Financial={financialChart_RangeSelector_OneMonth:"1M",financialChart_RangeSelector_ThreeMonths:"3M",financialChart_RangeSelector_SixMonths:"6M",financialChart_RangeSelector_YTD:"YTD",financialChart_RangeSelector_OneYear:"1Y",financialChart_RangeSelector_All:"All",financialChart_IndicatorMenu_Header:"Indicators",financialChart_IndicatorMenu_OverlaysCategoryHeader:"Overlays",financialChart_IndicatorMenu_TrendlinesCategoryHeader:"Trendlines",financialChart_IndicatorMenu_VolumeCategoryHeader:"Volumes",financialChart_IndicatorMenu_IndicatorsCategoryHeader:"Standalone Indicators",financialChart_IndicatorsMenu_Overlay_BollingerBands:"Bollinger Bands",financialChart_IndicatorsMenu_Overlay_PriceChannel:"Price Channel",financialChart_IndicatorsMenu_TrendLine_LinearFit:"Linear Fit",financialChart_IndicatorsMenu_TrendLine_QuadraticFit:"Quadratic Fit",financialChart_IndicatorsMenu_TrendLine_CubicFit:"Cubic Fit",financialChart_IndicatorsMenu_TrendLine_QuarticFit:"Quartic Fit",financialChart_IndicatorsMenu_TrendLine_QuinticFit:"Quintic Fit",financialChart_IndicatorsMenu_TrendLine_LogarithmicFit:"Logarithmic Fit",financialChart_IndicatorsMenu_TrendLine_ExponentialFit:"Exponential Fit",financialChart_IndicatorsMenu_TrendLine_PowerLawFit:"PowerLaw Fit",financialChart_IndicatorsMenu_TrendLine_SimpleAverage:"Simple Average",financialChart_IndicatorsMenu_TrendLine_ExponentialAverage:"Exponential Average",financialChart_IndicatorsMenu_TrendLine_ModifiedAverage:"Modified Average",financialChart_IndicatorsMenu_TrendLine_CumulativeAverage:"Cumulative Average",financialChart_IndicatorsMenu_TrendLine_WeightedAverage:"Weighted Average",financialChart_IndicatorsMenu_Volume_Column:"Column",financialChart_IndicatorsMenu_Volume_Line:"Line",financialChart_IndicatorsMenu_Volume_Area:"Area",financialChart_IndicatorsMenu_Indicator_AbsoluteVolumeOscillator:"Absolute Volume Oscillator",financialChart_IndicatorsMenu_Indicator_AccumulationDistribution:"Accumulation Distribution",financialChart_IndicatorsMenu_Indicator_AverageDirectionalIndex:"Average Directional Index",financialChart_IndicatorsMenu_Indicator_AverageTrueRange:"Average True Range",financialChart_IndicatorsMenu_Indicator_BollingerBandWidth:"Bollinger Band Width",financialChart_IndicatorsMenu_Indicator_ChaikinOscillator:"Chaikin Oscillator",financialChart_IndicatorsMenu_Indicator_ChaikinVolatility:"Chaikin Volatility",financialChart_IndicatorsMenu_Indicator_CommodityChannelIndex:"Commodity Channel Index",financialChart_IndicatorsMenu_Indicator_DetrendedPriceOscillator:"Detrended Price Oscillator",financialChart_IndicatorsMenu_Indicator_EaseOfMovement:"Ease Of Movement",financialChart_IndicatorsMenu_Indicator_FastStochasticOscillator:"Fast Stochastic Oscillator",financialChart_IndicatorsMenu_Indicator_ForceIndex:"Force Index",financialChart_IndicatorsMenu_Indicator_FullStochasticOscillator:"Full Stochastic Oscillator",financialChart_IndicatorsMenu_Indicator_MarketFacilitationIndex:"Market Facilitation Index",financialChart_IndicatorsMenu_Indicator_MassIndex:"Mass Index",financialChart_IndicatorsMenu_Indicator_MedianPrice:"Median Price",financialChart_IndicatorsMenu_Indicator_MoneyFlowIndex:"Money Flow Index",financialChart_IndicatorsMenu_Indicator_MovingAverageConvergenceDivergence:"MACD",financialChart_IndicatorsMenu_Indicator_NegativeVolumeIndex:"Negative Volume Index",financialChart_IndicatorsMenu_Indicator_OnBalanceVolume:"On Balance Volume",financialChart_IndicatorsMenu_Indicator_PercentagePriceOscillator:"Percentage Price Oscillator",financialChart_IndicatorsMenu_Indicator_PercentageVolumeOscillator:"Percentage Volume Oscillator",financialChart_IndicatorsMenu_Indicator_PositiveVolumeIndex:"Positive Volume Index",financialChart_IndicatorsMenu_Indicator_PriceVolumeTrend:"Price Volume Trend",financialChart_IndicatorsMenu_Indicator_RateOfChangeAndMomentum:"ROC",financialChart_IndicatorsMenu_Indicator_RelativeStrengthIndex:"RSI",financialChart_IndicatorsMenu_Indicator_SlowStochasticOscillator:"Slow Stochastic Oscillator",financialChart_IndicatorsMenu_Indicator_StandardDeviation:"Standard Deviation",financialChart_IndicatorsMenu_Indicator_StochRSI:"Stoch RSI",financialChart_IndicatorsMenu_Indicator_TRIX:"TRIX",financialChart_IndicatorsMenu_Indicator_TypicalPrice:"Typical Price",financialChart_IndicatorsMenu_Indicator_UltimateOscillator:"Ultimate Oscillator",financialChart_IndicatorsMenu_Indicator_WeightedClose:"Weighted Close",financialChart_IndicatorsMenu_Indicator_WilliamsPercentR:"Williams %R"};$.extend($.ig.locale.en.Financial,$.ig.locale.en.DataChart);$.ig.locale.en.ShapeChartWidget={breakEvenTitle_BreakEven:"Break Even",breakEvenTitle_FixedCost:"Fixed Cost",breakEvenTitle_LossArea:"Loss Area",breakEvenTitle_MarginalProfit:"Marginal Profit",breakEvenTitle_ProfitArea:"Profit Area",breakEvenTitle_SafetyMargin:"Safety Margin",breakEvenTitle_SalesRevenue:"Sales Revenue",breakEvenTitle_TotalCost:"Total Cost",breakEvenTitle_VariableCost:"Variable Cost"};$.extend($.ig.locale.en.ShapeChartWidget,$.ig.locale.en.DataChart);$.ig.DataChart.locale=$.ig.DataChart.locale||$.ig.locale.en.DataChart;$.ig.PieChart.locale=$.ig.PieChart.locale||$.ig.locale.en.PieChart;$.ig.Map.locale=$.ig.Map.locale||$.ig.locale.en.Map;$.ig.Financial.locale=$.ig.Financial.locale||$.ig.locale.en.Financial;$.ig.ShapeChartWidget.locale=$.ig.ShapeChartWidget.locale||$.ig.locale.en.ShapeChartWidget;return $.ig.locale.en})($);/*!@license
* Infragistics.Web.ClientUI infragistics.excel_core.js resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function(){$=$||{};$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.excel=$.ig.locale.en.excel||{};var l=$.ig.locale.en.excel;l["DefaultTotalLabel"]="Total";l["Error_AnchoredReference"]="Attempt to access {0} as an unanchored reference";l["Error_ExplicitThis"]="{0} - Explicit This not supported";l["Error_ExternalRange"]="Range contains External Reference";l["Error_FormulaNotSupported"]="{0} - Attempt to access formula on a reference that doesn't support formulas";l["Error_Internal"]="An internal error occurred in method {0}.";l["Error_InvalidFunction"]="Invalid function '{0}' at {1}.";l["Error_InvalidFunctionArgCountTooFew"]="The function '{0}' referenced at {1} does not contain the correct number of arguments. The function requires a minimum of {2} parameter(s).";l["Error_InvalidFunctionArgCountTooMany"]="The function '{0}' referenced at {1} does not contain the correct number of arguments. The argument count should not exceed {2} parameter(s).";l["Error_InvalidNumberSystemDigit"]="Invalid digit of '{0}' encountered in the value '{1}' for the number system with base of {2}.";l["Error_InvalidOperand"]="Invalid Operand";l["Error_InvalidOperatorArgCount"]="The '{0}' function must accept {1} arguments.";l["Error_InvalidReference"]="Invalid or unavailable reference";l["Error_Location"]="line {0} col {1}";l["Error_MethodNotSupported"]="{0} does not support {1}.";l["Error_NoCurrentRangeElement"]="No current Range Element";l["Error_NullFunctionResult"]="The evaluation of '{0}' returned a null value.";l["Error_NullOperand"]="Null operand";l["Error_ParseRef"]="Unknown reference at {0}.";l["Error_RangeFromLast"]="fromT.Last not set";l["Error_RangeFromNull"]="RefRange: from is null";l["Error_RangeFromRefBase"]="RefRange: from is not a RefBase : {0}";l["Error_RangeLast"]="RefRange Validate: last tuples [{0}] != [{1}]";l["Error_RangeNormalizeScope"]="RefRange Normalize: bad scope [{0}/{1}]";l["Error_RangeToNull"]="RefRange: to is null";l["Error_RangeToRefBase"]="RefRange: to is not a RefBase : {0}";l["Error_RangeTuple"]="RefRange Validate: tuples [{0}] !=  [{1}]";l["Error_RangeValidateCount"]="RefRange Validate: from count {0} != to count {1}";l["Error_ReadOnlyReference"]="{0} - Attempt to set value on readonly reference";l["Error_ReferenceNotEumerable"]="{0} is not an enumerable reference";l["Error_RefMalformed"]="{0} - Malformed Reference  {1}";l["Error_RP_ContainsBase"]="RefParser.Contains - Empty Base";l["Error_RP_ContainsTarget"]="RefParser.Contains - Empty Target";l["Error_RP_EmptyElement"]="Invalid reference {0}. Empty element encountered at location {1}.";l["Error_RP_EmptyReference"]="Invalid reference {0}. Reference is empty.";l["Error_RP_MalformedExtra"]="RefParser Malformed Reference: Multiple [{0}] found in [{1}]";l["Error_RP_MalformedUnexpected"]="RefParser Malformed Reference: Unexpected [{0}] found in [{1}]";l["Error_RP_MergeRelativeBase"]="RefParser.Merge: Base is Relative";l["Error_RP_MissingCloseParenthesis"]="Invalid reference {0}. Missing close parenthesis.";l["Error_RP_MissingEndQuotes"]="Invalid reference {0}. Missing end quotes.";l["Error_RT_Expected"]="RefTuple: Expected [{0}] in [{1}]";l["Error_RT_InvalidScope"]="Invalid scope: {0}.";l["Error_RT_InvalidScope_CharactersAfterClosingQuotes"]="Characters encountered after closing double quotes in {0} scope at location {1}.";l["Error_RT_InvalidTuple_CharactersAfterScopeEnd"]="Invalid element {0}. Characters encountered after the end of the scope.";l["Error_RT_InvalidTuple_MissingCloseParenthesis"]="Invalid element {0}. Missing close parenthesis.";l["Error_RT_InvalidTuple_MissingEndQuotes"]="Invalid element {0}. Missing end quotes.";l["Error_RT_InvalidTuple_NamePortionEmpty"]="Invalid element {0}. Element name portion empty.";l["Error_RT_InvalidTuple_ScopeIndexLarge"]="Invalid element {0}. Index {1} is invalid: {2}.";l["Error_RT_InvalidTuple_UnescapedCharacter"]="Unescaped {0} character encountered in {1} at location {2}.";l["Error_RT_NullRefName"]="RefTuple: null RefName";l["Error_RT_Unexpected"]="RefTuple: unexpected [{0}] in [{1}]";l["Error_ScopeAllNotLast"]="{0} - Scope All must appear in last element  {1}";l["Error_UCErrorCode_Div"]="Divide by zero";l["Error_UCErrorCode_Fail"]="Fail";l["Error_UCErrorCode_NA"]="Not applicable";l["Error_UCErrorCode_Name"]="Invalid name";l["Error_UCErrorCode_Null"]="Null Value";l["Error_UCErrorCode_Num"]="Invalid numeric values in the function or formula.";l["Error_UCErrorCode_Ok"]="Succeed";l["Error_UCErrorCode_Reference"]="Invalid or unavailable reference";l["Error_UCErrorCode_Unknown"]="Invalid code";l["Error_UCErrorCode_Value"]="Incorrect type of argument or operand.";l["Error_UnexpectedScope"]="{0} - Unexpected scope for Parent {1}";l["Error_UnknownRange"]="Unknown Range Type";l["Error_UnknownRefType"]="{0} - Unknown RefType  {1}";l["Error_UnknownScope"]="{0} - Unknown scope  {1}";l["Error_UnresolvedExternal"]="Unresolved external reference";l["GenerateTableColumnName"]="Column";l["GenerateTableName"]="Table";l["LD_Chart_AxisDisplayUnits"]="Hundreds:Hundreds, Thousands:Thousands, TenThousands:x 10000, HundredThousands:x 100000, Millions:Millions, TenMillions:x 10000000, HundredMillions:x 100000000, ThousandMillions:Billions, MillionMillions:Trillions";l["LD_Fallback_ChartEx_Line1"]="This chart isn't available in your version of Excel.";l["LD_Fallback_ChartEx_Line2"]="Editing this shape or saving this workbook into a different file format will permanently break the chart.";l["LE_AllMustHavGuidsIfAnyHasThem"]="Can not set GenerateGuidsForGroups to false if any existing group has a Guid.";l["LE_ArgumentException_AnchorCellFromOtherWorksheet"]="The cell specified does not exist on the same worksheet as the shape.";l["LE_ArgumentException_ArrayFormulaMustHaveSingleRegion"]="An array formula can only be applied to one cell region.";l["LE_ArgumentException_ArrayTooSmall"]="The array is not big enough to copy all values to it.";l["LE_ArgumentException_CannotAddStandardTableStyle"]="A standard table style cannot be added to the CustomTableStyleCollection.";l["LE_ArgumentException_CannotApplyDVRuleToTotalCell"]="One or more cells in the specified reference are total cells in a table and cannot have a data validation rule applied.";l["LE_ArgumentException_CannotCreateEmptyColorInfo"]="The empty color cannot be used to create a WorkbookColorInfo instance.";l["LE_ArgumentException_CellMustBeOnSameWorksheetAsReferencesCollection"]="The cell must be from the same worksheet as the reference collection.";l["LE_ArgumentException_CellShiftedOffWorksheet"]="The cell has been deleted or shifted off the worksheet and no longer represents a worksheet position.";l["LE_ArgumentException_CellsInTableFromOtherWorksheet"]="The region specified is not from the same worksheet as the data table.";l["LE_ArgumentException_CellValueStringLength"]="String values assigned to a cell cannot have a length greater than {0}.";l["LE_ArgumentException_ColumnFormulaAlreadyAppliedToCell"]="The formula is applied to a cell already. Clone it to use it as the column formula.";l["LE_ArgumentException_ColumnFromDifferentWorksheet"]="The column does not belong to the same worksheet as this collection.";l["LE_ArgumentException_ColumnInputCellFromOtherWorksheet"]="The specified column input cell does not exist on the same worksheet as the data table.";l["LE_ArgumentException_ColumnNotInTable"]="The column is from a different table.";l["LE_ArgumentException_ColumnRemovedFromWorksheet"]="The column has been removed from the worksheet.";l["LE_ArgumentException_ColumnsToRepeatAtLeftOutsideRange"]="The range is outside the range of available columns in the worksheet.";l["LE_ArgumentException_CommentTooLong"]="The comment length must be less than 255 characters.";l["LE_ArgumentException_CustomViewNameAlreadyExists"]='A custom view with the name "{0}" already exists.';l["LE_ArgumentException_DefaultTableStyleNotInWorkbook"]="The specified table style is not in the CustomTableStyles or StandardTableStyles collections.";l["LE_ArgumentException_DisplayTextTooLong"]="The hyperlink display text must be less than 256 characters.";l["LE_ArgumentException_DuplicateDisplayValue"]="The specified display value is already in the collection.";l["LE_ArgumentException_DuplicateFixedDateGroup"]="The specified FixedDateGroup is already in the collection.";l["LE_ArgumentException_DuplicateTableStyle"]="The specified style is already in a CustomTableStyleCollection.";l["LE_ArgumentException_DuplicateTableStyleName_Existing"]="The specified name which matches that of another style in the collection.";l["LE_ArgumentException_DuplicateTableStyleName_New"]="The specified style has a name which matches another style in the collection.";l["LE_ArgumentException_DuplicateWorksheetProtectedRangeTitle"]="A range with the title '{0}' already exists.";l["LE_ArgumentException_DV_ArrayFormulaCannotBeUsed"]="An ArrayFormula cannot be applied as the {0}.";l["LE_ArgumentException_DV_CellFromOtherWorksheet"]="The cell does not belong to the same worksheet as the collection of data validation rules.";l["LE_ArgumentException_DV_ConstraintFormulaMustBeNumberOrReference"]="The {0} must be set to a number, a numeric expression, or a reference to a single cell.";l["LE_ArgumentException_DV_FormulaCannotBeNull"]="The {0} cannot be set to null while the data validation rule is applied to a worksheet.";l["LE_ArgumentException_DV_FormulaCannotFindNamedReference"]="The {0} contains a named reference that does not exist in the Workbook.";l["LE_ArgumentException_DV_FormulaCannotFindWorksheetReference"]="The {0} contains a reference on a worksheet that does not exist in the Workbook.";l["LE_ArgumentException_DV_FormulaCannotReferenceOtherWorkbook"]="The {0} cannot contain a reference to an external Workbook.";l["LE_ArgumentException_DV_FormulaInvalidForWorkbookFormat"]="The {0} references cells that are not valid in the {1} workbook format.";l["LE_ArgumentException_DV_InvalidAddress"]="The specified address is not a valid cell or regions address.";l["LE_ArgumentException_DV_InvalidExcelDate"]="The specified date cannot be represented in Excel.";l["LE_ArgumentException_DV_InvalidFormula"]="Invalid formula used in the data validation rule.";l["LE_ArgumentException_DV_InvalidMessageLength"]="The {0} cannot be more than {1} characters.";l["LE_ArgumentException_DV_ListFormulaCannotHaveEmptyString"]="The string constant in the ValuesFormula cannot be an empty string.";l["LE_ArgumentException_DV_ListFormulaMustBeStringOrReference"]="The ValuesFormula must be set to a string constant or a reference to a single cell or region in the same Workbook.";l["LE_ArgumentException_DV_ListFormulaReferenceMustBeOneDimensional"]="The ValuesFormula contains a region reference that has multiple rows and columns. The region must contain one row or one column.";l["LE_ArgumentException_DV_LowerGreaterThanUpperContraint"]="The value of the lower constraint must be less than or equal to the upper constraint.";l["LE_ArgumentException_DV_MustHaveOneAcceptedValue"]="At least one value must be specified as an accepted value.";l["LE_ArgumentException_DV_ReferencesAlreadyContainDVs"]="The specified references already contain one or more data validation rules.";l["LE_ArgumentException_DV_ReferencesFromOtherWorksheet"]="The references collection does not belong to the same worksheet as the collection of data validation rules.";l["LE_ArgumentException_DV_RegionFromOtherWorksheet"]="The region does not belong to the same worksheet as the collection of data validation rules.";l["LE_ArgumentException_DV_RuleAppliedOnOtherWorksheet"]="The data validation rule is applied to another worksheet already.";l["LE_ArgumentException_DV_UpperLessThanLowerContraint"]="The value of the upper constraint must be greater than or equal to the lower constraint.";l["LE_ArgumentException_EditRangeAlreadyOwned"]="The range is already in a worksheet's AllowedEditRanges.";l["LE_ArgumentException_EditRangeHasRangeFromOtherWorksheet"]="The edit range has a range from a different worksheet than the AllowedEditRanges.";l["LE_ArgumentException_EmptyCustomList"]="There must be at least one string in the list.";l["LE_ArgumentException_EndIndexLessThanZero"]="The end of the range must be greater than or equal to zero.";l["LE_ArgumentException_FileDoesntContainsWorkbookStream"]="The specified stream or file does not contain a valid workbook.";l["LE_ArgumentException_FormulaReferencesInvalidCells"]="The specified formula references cells which are not supported in the workbook's current file format.";l["LE_ArgumentException_HashSetFull"]="There are too many items in the hash set.";l["LE_ArgumentException_HyperlinkAlreadyOwned"]="The hyperlink already belongs to a hyperlinks collection.";l["LE_ArgumentException_HyperlinkSourceFromOtherWorksheet"]="The hyperlink has a source cell or region from a different worksheet.";l["LE_ArgumentException_HyperlinkTargetFromOtherWorkbook"]="The target is from a different workbook than the owner of the hyperlink.";l["LE_ArgumentException_InfiniteColumnWidth"]="The column width cannot be infinity.";l["LE_ArgumentException_Interval"]="Interval parameter should be one of the values in DateInterval enumeration";l["LE_ArgumentException_IntervalStr"]="Interval parameter couldn't be converted to one of the values in DateInterval enumeration";l["LE_ArgumentException_InvalidCellAddress"]="The address specified is not a valid cell address.";l["LE_ArgumentException_InvalidCommentPositioningMode"]="Only the DontMoveOrSizeWithCells and MoveAndSizeWithCells ShapePositioningModes can be applied to a comment shape.";l["LE_ArgumentException_InvalidCustomFilterOperandNumber"]="The value cannot be infinity or NaN.";l["LE_ArgumentException_InvalidCustomFilterOperator"]="When the comparison value is not a string, the comparison operator cannot be BeginsWith, DoesNotBeginWith, Contains, DoesNotContain, EndsWith, or DoesNotEndWith.";l["LE_ArgumentException_InvalidDatePeriodFilterValue"]="The value is not within range. For a filter type of Month, it must be 1-12. For a filter type of Quarter, it must be 1-4.";l["LE_ArgumentException_InvalidDpi"]="The specified Dpi value is invalid.";l["LE_ArgumentException_InvalidExcelDate"]="The value cannot be expressed as a date in Excel.";l["LE_ArgumentException_InvalidFileFormat"]="Invalid or unrecognized file format.";l["LE_ArgumentException_InvalidFormula"]="The specified formula was invalid.";l["LE_ArgumentException_InvalidGradientStopColor"]="Automatic and system colors cannot be used in gradient stops.";l["LE_ArgumentException_InvalidNamedReferenceName"]="The name is not a valid named reference name.";l["LE_ArgumentException_InvalidPaletteColor_EmptyOrSystem"]="Empty or system colors cannot be added to the palette.";l["LE_ArgumentException_InvalidPaletteColor_NonOpaque"]="Only opaque colors can be added to the palette.";l["LE_ArgumentException_InvalidReferencesString"]="The references value is not correctly formatted.";l["LE_ArgumentException_InvalidRegionAddress"]="The address specified is not a valid region address.";l["LE_ArgumentException_InvalidRowOrColumnRange"]="Invalid row or column range.";l["LE_ArgumentException_InvalidSeriesValues"]="Invalid series values. There must be at least one value and each value must either be a string or an object that can be converted to a double.";l["LE_ArgumentException_InvalidTarget"]="The hyperlink target must be a string, WorksheetCell, WorksheetRegion, or NamedReference.";l["LE_ArgumentException_InvalidTopOrBottomFilterValue"]="The value must be between 1 and 500.";l["LE_ArgumentException_InvalidWorksheetName"]="The worksheet name cannot contain any of the following characters:\r\n\t\t: \\ / ? * [ ]";l["LE_ArgumentException_InvalidWorksheetNameStartingQuote"]="The worksheet name cannot start or end with a single quote.";l["LE_ArgumentException_LessThanTwoGradientStops"]="There must be at least two gradient stops specified.";l["LE_ArgumentException_NamedReferenceNameTooLong"]="The name of the named reference cannot be more than 255 characters.";l["LE_ArgumentException_NaNDefaultColumnWidth"]="NaN cannot be used as the default column width.";l["LE_ArgumentException_NewRegionOverlapsFilterArea"]="The oeration is attempting to change a filtered range on your worksheet and cannot be completed. To complete this operation, AutoFilters in the sheet need to be removed.";l["LE_ArgumentException_NewTableRegionCannotMoveHeaders"]="The new table region cannot move the headers to a new row.";l["LE_ArgumentException_NewTableRegionFromWrongWorksheet"]="The specified region not from the same worksheet as the table.";l["LE_ArgumentException_NewTableRegionMustHaveDataRows"]="The new table region must contain at least one data row.";l["LE_ArgumentException_NewTableRegionOverlapOld"]="The new table region must overlap with the previous table region.";l["LE_ArgumentException_NewTableRegionOverlapsBlockingValue"]="The table cannot be resized to the specified region because it includes a multi-cell array formula or data table.";l["LE_ArgumentException_NewTableRegionOverlapsMergedRegion"]="The table cannot be resized to the specified region because it includes a merged cell.";l["LE_ArgumentException_NewTableRegionOverlapsOtherTable"]="The table cannot be resized to the specified region because it includes another table.";l["LE_ArgumentException_NoRegionsInArray"]="The specified array has no regions.";l["LE_ArgumentException_NotEnum"]="Type '{0}' is not an enum";l["LE_ArgumentException_NotSupportedCodePage"]="Not supported code page";l["LE_ArgumentException_NPer"]="nPer could not be 0";l["LE_ArgumentException_NPerFunction"]="Wrong combination of parameters for NPer function";l["LE_ArgumentException_PA_PrintAreasCannotOverlap"]="The specified print area overlaps with one of the existing print areas.";l["LE_ArgumentException_ParentStyleFromOtherWorkbook"]="The specified style is not from the same workbook as the cell format.";l["LE_ArgumentException_PB_CantInsertBreakAtIndex"]="This collection does not support inserting items at an index.";l["LE_ArgumentException_PB_CantSetBreakAtIndex"]="This collection does not support setting items at an index.";l["LE_ArgumentException_PB_MustBeWithinPrintArea"]="The page break must be within the print area.";l["LE_ArgumentException_PB_PageBreakCantBeA1Cell"]="Cannot insert a page break at the top-left of the worksheet.";l["LE_ArgumentException_PB_PageBreakCantBeBeforeLeftColumn"]="Cannot insert a page break at the left of the worksheet.";l["LE_ArgumentException_PB_PageBreakCantBeBeforeTopRow"]="Cannot insert a page break at the top of the worksheet.";l["LE_ArgumentException_PB_PageBreaksCannotAddExistingInstance"]="The specified instance already exists in the collection.";l["LE_ArgumentException_PB_PageBreaksCannotOverlap"]="The page break cannot overlap with other page breaks on the worksheet.";l["LE_ArgumentException_PB_PrintAreaMustBeInPrintAreas"]="The page break is in a print area which is not in the PrintAreas collection.";l["LE_ArgumentException_PB_PrintAreaMustBeOnSameWorksheet"]="The page break is in a print area which is not on the same worksheet as the page breaks collection.";l["LE_ArgumentException_Pmt"]="Pmt could not be 0";l["LE_ArgumentException_PrintAreaShiftedOffWorksheet"]="The page break is in a print area which has been shifted off the worksheet and no longer represent a valid range of cells.";l["LE_ArgumentException_RangeFromOtherWorksheetThanProtectedRange"]="The specified range is from a different worksheet than the edit range.";l["LE_ArgumentException_RegionMustBeOnSameWorksheet"]="The region must be from the same worksheet.";l["LE_ArgumentException_RegionMustBeOnSameWorksheetAsReferencesCollection"]="The region must be from the same worksheet as the reference collection.";l["LE_ArgumentException_RegionsFromMixedWorksheets"]="All regions specified in the array must be from the same worksheet.";l["LE_ArgumentException_RegionShiftedOffWorksheet"]="The region has been shifted off the worksheet and no longer represents a valid range of cells.";l["LE_ArgumentException_RegionsShiftedOffWorksheet"]="One or more regions specified have been shifted off the worksheet and no longer represent a valid range of cells.";l["LE_ArgumentException_RowFromDifferentWorksheet"]="The row does not belong to the same worksheet as this collection.";l["LE_ArgumentException_RowInputCellFromOtherWorksheet"]="The specified row input cell does not exist on the same worksheet as the data table.";l["LE_ArgumentException_RowRemovedFromWorksheet"]="The row has been removed from the worksheet.";l["LE_ArgumentException_SelectedWorksheetFromOtherWorkbook"]='The worksheet does not belong to the workbook associated with these window options."';l["LE_ArgumentException_ShapeCannotBeAdded"]="The specified shape cannot be added to a shapes collection.";l["LE_ArgumentException_SourceFromOtherWorksheetThanHyperlink"]="The specified source cell or region is from a different worksheet than the hyperlink.";l["LE_ArgumentException_StartIndexLessThanZero"]="The start of the range must be greater than or equal to zero.";l["LE_ArgumentException_StyleNameAlreadyExists"]='A style with the name "{0}" already exists in the workbook.';l["LE_ArgumentException_StyleNameTooLong"]="The style name cannot be more than 255 characters.";l["LE_ArgumentException_TableColumnRemovedFromTable"]="The table column has been removed from the table.";l["LE_ArgumentException_TableStyleFromOtherWorkbook"]="The specified WorksheetTableStyle does not belong to the same workbook as the table.";l["LE_ArgumentException_TargetTooLong"]="The hyperlink target address must be less than 256 characters.";l["LE_ArgumentException_TextLengthGreaterThanMax"]="The length of text in a shape or comment cannot be greater than {0}.";l["LE_ArgumentException_ToolTipTooLong"]="The hyperlink tool tip must be less than 256 characters.";l["LE_ArgumentException_TopLeftWindowBounds"]="The left and top of the window bounds must be between -32768 and 32767.";l["LE_ArgumentException_WeekdayFirst"]="WeekdayFirst parameter should be between  FirstDayOfWeek.System and FirstDayOfWeek.Saturday";l["LE_ArgumentException_WidthHeightWindowBounds"]="The width and height of the window bounds must be between 0 and 65535.";l["LE_ArgumentException_WorksheetNameAlreadyExists"]='A worksheet with the name "{0}" already exists in the workbook.';l["LE_ArgumentException_WorksheetNameTooLong"]="The worksheet name must be between 1 and 31 characters in length.";l["LE_ArgumentException_WorksheetProtectedRangeTitleTooLong"]="The title of an edit range cannot be more than 255 characters.";l["LE_ArgumentException_WorksheetScopeFromOtherWorkbook"]="The worksheet does not belong to the same workbook as this collection.";l["LE_ArgumentNullException_AnchorCell"]="The cell cannot be null when the shape exists on a worksheet or group.";l["LE_ArgumentNullException_CustomViewName"]="The custom view name cannot be null or empty.";l["LE_ArgumentNullException_Encoder"]="The image encoder cannot be null.";l["LE_ArgumentNullException_FindNamedReference"]="The name to find cannot be null or empty.";l["LE_ArgumentNullException_FormulaCantBeNull"]="The formula for a named reference cannot be null or empty.";l["LE_ArgumentNullException_HiddenColumn"]="A null column cannot be added to the collection.";l["LE_ArgumentNullException_HiddenRow"]="A null row cannot be added to the collection.";l["LE_ArgumentNullException_Image"]="The image cannot be null.";l["LE_ArgumentNullException_NamedReferenceNameCantBeNull"]="The name for a named reference cannot be null or empty.";l["LE_ArgumentNullException_SaveStream"]="Cannot save the workbook to a null stream.";l["LE_ArgumentNullException_SelectedWorksheet"]="The workbook must have a valid selected worksheet.";l["LE_ArgumentNullException_Shape"]="A null shape cannot be added to the collection.";l["LE_ArgumentNullException_SourceFont"]="The source font cannot be null.";l["LE_ArgumentNullException_SourceFormatting"]="The source formatting cannot be null.";l["LE_ArgumentNullException_StyleName"]="The style name cannot be null or empty.";l["LE_ArgumentNullException_UnformattedString"]="The unformatted string cannot be null.";l["LE_ArgumentNullException_Workbook"]="The workbook cannot be null.";l["LE_ArgumentNullException_WorkbookRequiredToResolveThemeColor"]="A workbook must be specified to resolve a themed color.";l["LE_ArgumentNullException_WorksheetName"]="The worksheet name cannot be null or empty.";l["LE_ArgumentNullException_WorksheetProtectedRangeTitleCantBeNull"]="The title of an edit range cannot be null or empty.";l["LE_ArgumentNullException_WorksheetScope"]="The worksheet scope cannot be null.";l["LE_ArgumentOutOfRange_RelativeColumnIndex"]="The relative column index is outside of the specified region.";l["LE_ArgumentOutOfRange_RelativeRowIndex"]="The relative row index is outside of the specified region.";l["LE_ArgumentOutOfRangeException_AnchorPosition"]="One of the percentages in the specified location is less than 0.";l["LE_ArgumentOutOfRangeException_BadInsertIndex"]="The specified index must be greater than or equal to zero and less than or equal to the number of existing paragraphs.";l["LE_ArgumentOutOfRangeException_BadRemoveAtIndex"]="The index must be greater than zero and less than the number of paragraphs in the formatted string.";l["LE_ArgumentOutOfRangeException_CollectionIndex"]="Index was out of range. It must be non-negative and less than the size of the collection.";l["LE_ArgumentOutOfRangeException_ColumnWidth"]="The column width must be between 0 and 65535.";l["LE_ArgumentOutOfRangeException_DefaultColumnWidth"]="The default column width must be between 0 and 65535.";l["LE_ArgumentOutOfRangeException_DefaultFontHeight"]="The default font height must be between 20 and 8180.";l["LE_ArgumentOutOfRangeException_DefaultRowHeight"]="The default row height must be between -1 and 8192.";l["LE_ArgumentOutOfRangeException_DuplicateItemSorted"]="The specified item already has a sort condition applied.";l["LE_ArgumentOutOfRangeException_FirstVisibleTabIndex"]="The first visible tab index must be greater than or equal to zero.";l["LE_ArgumentOutOfRangeException_FontHeight"]="The font height must be between 20 and 8180.";l["LE_ArgumentOutOfRangeException_GroupAddedToSelf"]="A group cannot be added to its own collection of shapes.";l["LE_ArgumentOutOfRangeException_Indent"]="The indent level must be between 0 and 250.";l["LE_ArgumentOutOfRangeException_IndexNegative"]="The index must be non-negative.";l["LE_ArgumentOutOfRangeException_InvalidCollectionIndex"]="The specified index is is not valid in the collection.";l["LE_ArgumentOutOfRangeException_InvalidColorInfoTint"]="The tint value must be between -1.0 and 1.0.";l["LE_ArgumentOutOfRangeException_InvalidColumnCount"]="{0} is not a valid column count in the current format. The value must be between {1} and {2}.";l["LE_ArgumentOutOfRangeException_InvalidColumnIndex"]="{0} is not a valid column index in the current format. The value must be between {1} and {2}.";l["LE_ArgumentOutOfRangeException_InvalidGradientStopOffset"]="The gradient stop offset must be between 0.0 and 1.0.";l["LE_ArgumentOutOfRangeException_InvalidRelativeRectangleValueForGradient"]="The values for the inner rectangle of the rectangular gradient must be between 0.0 and 1.0.";l["LE_ArgumentOutOfRangeException_InvalidRemoveAtIndex_SortConditions"]="The index at which to remove the sort condition is out of range.";l["LE_ArgumentOutOfRangeException_InvalidRowCount"]="{0} is not a valid row count in the current format. The value must be between {1} and {2}.";l["LE_ArgumentOutOfRangeException_InvalidRowIndex"]="{0} is not a valid row index in the current format. The value must be between {1} and {2}.";l["LE_ArgumentOutOfRangeException_InvalidTableStyleAreaStripeExtent"]="The {0} must be between 1 and 9, inclusive.";l["LE_ArgumentOutOfRangeException_LeftPaneWidth"]="The pane width specified is outside the valid range of {0} and {1}.";l["LE_ArgumentOutOfRangeException_LengthMustBePositive"]="The length must be greater than or equal to one.";l["LE_ArgumentOutOfRangeException_MagnificationLevel"]="View magnification levels must be between 10 and 400.";l["LE_ArgumentOutOfRangeException_Margins"]="The margins must be between 0 and 100.";l["LE_ArgumentOutOfRangeException_MaxPagesHorizontally"]="The maximum pages horizontally must be between 0 and 32767.";l["LE_ArgumentOutOfRangeException_MaxPagesVertically"]="The maximum pages vertically must be between 0 and 32767.";l["LE_ArgumentOutOfRangeException_MaxRecursionIterations"]="The maximum recursion iterations must be between 1 and 32767.";l["LE_ArgumentOutOfRangeException_MaxSortConditions"]="There cannot be more than {0} sort conditions in the collection.";l["LE_ArgumentOutOfRangeException_NegativeStartIndex"]="The start index cannot be negative.";l["LE_ArgumentOutOfRangeException_NumberOfCopies"]="The number of copies must be between 1 and 65535.";l["LE_ArgumentOutOfRangeException_Per"]="per value should be between 0 and nPer + 1";l["LE_ArgumentOutOfRangeException_Rate"]="Rate should be greater than -1";l["LE_ArgumentOutOfRangeException_Resolution"]="The resolution must be between 0 and 65535.";l["LE_ArgumentOutOfRangeException_RowHeight"]="The row height must be between 0 and 8192.";l["LE_ArgumentOutOfRangeException_ScalingFactor"]="The scaling factor must be between 10 and 400.";l["LE_ArgumentOutOfRangeException_StartPageNumber"]="The starting page number must be between -32765 and 32767.";l["LE_ArgumentOutOfRangeException_TabBarWidth"]="The tab bar width must be between 0 and 1000.";l["LE_ArgumentOutOfRangeException_TopPaneHeight"]="The pane height specified is outside the valid range of {0} and {1}.";l["LE_AutoColorNotAllowed"]="The color can not be 'Auto'.";l["LE_Axis_MajorMinorUnit"]="The value of the majorUnit parameter must be greater than the value of the minorUnit parameter.";l["LE_Axis_NoCrossAxis"]="If the CrossAxis property is set on one Axis object, it must be set on all of them. If your chart has only two axes, the crossing axis can be automatically determined, but only if the CrossAxis property is left unset on all Axis objects.";l["LE_Biff8SerializerNotLoaded"]="The '{0}' format requires a serializer that is not loaded, in JavaScript this is contained in the infragistics.excel_serialization_biff8.js file";l["LE_CategoryAxisBinning_BinWidthAndNumberOfBins"]="The 'binWidth' and 'numberOfBins' parameters are mutually exclusive. Both can be unspecified, but if one is specified, the other must not be.";l["LE_ChartGradientFill_EmptyStops"]="Must contain at least one gradient stop.";l["LE_ChartObject_DifferentChart"]="The object instance being assigned is associated with a different chart, and cannot be assigned to this instance.";l["LE_ColumnsToRepeatAtLeftAreOutsideAvailableRange"]="The print options have columns that repeat at the left which are outside the range of available columns in the new format.";l["LE_ComboChartGroupCollection_DoesNotExist"]="The specified ComboChartGroup does not exist in this collection.";l["LE_FillPercentInvalid"]="The value {0} is not a valid value for the {1} property.";l["LE_FormatLimitError_Indent"]="The Indent exceeds the maximum value of {0} provided by the current format.";l["LE_FormatLimitError_MacroWorkbook"]="The workbook has VBA code and cannot be saved as a macro-enabled workbook.";l["LE_FormatLimitError_MaxColumnIndex"]="The column index of {0} is greater than the {1} maximum supported by the specified format.";l["LE_FormatLimitError_MaxRowIndex"]="The row index of {0} exceeds the {1} maximum supported by this format.";l["LE_FormulaParseException_ArrayContainsConstants"]="A array can only contain constant expressions.";l["LE_FormulaParseException_ArrayHasEmptyFirstRow"]="A constant array in the formula has no items in the first row.";l["LE_FormulaParseException_ArrayHasMisalignedRows"]="A constant array in the formula has misaligned rows. Each row in an array must have the same number of columns.";
l["LE_FormulaParseException_CellReferenceAfterWorkbookName"]="An external workbook reference must be followed by a named reference, not a cell reference.";l["LE_FormulaParseException_ExtraExpressions"]="The formula has extra expressions after the end of it.";l["LE_FormulaParseException_FunctionMissingClosingParen"]="A function in the formula has no closing parenthesis.";l["LE_FormulaParseException_FunctionNestingTooDeep"]="A function in the formula is nested too deeply in other functions.";l["LE_FormulaParseException_IncorrectNumberOfArguments"]="A function in the formula has not been given the correct number of arguments.";l["LE_FormulaParseException_InvalidArguments"]="An operator or function in the formula has invalid arguments.";l["LE_FormulaParseException_InvalidConditionalFormatFormula"]="A conditional format formula cannot use reference operators such as unions or intersections, array constants or structured table references.";l["LE_FormulaParseException_InvalidErrorValue"]='The error type specified is not valid.  It must be one of the following values: "#NULL!", "#DIV/0!", "#VALUE!", "#REF!", "#NAME?", "#NUM!", or "#N/A".';l["LE_FormulaParseException_InvalidFileNameInBrackets"]="A file name between square brackets was invalid.";l["LE_FormulaParseException_InvalidStructuredTableReference"]="The structured table reference is incorrect.";l["LE_FormulaParseException_InvalidWorkbookName"]="The workbook reference in quotes is not a valid workbook file name.";l["LE_FormulaParseException_InvalidWorksheetName"]="The worksheet name is invalid.";l["LE_FormulaParseException_MacroFunctionNotAllowed"]="The '{0}' functions is only valid in a named reference.";l["LE_FormulaParseException_Message_PortionWithError"]="Portion with error: {0}";l["LE_FormulaParseException_MissingArgumentAfterBinary"]="A binary operator in the formula is missing an operand after it.";l["LE_FormulaParseException_MissingArgumentAfterParen"]="There is no expression following an open parenthesis.";l["LE_FormulaParseException_MissingArgumentAfterUnary"]="A unary operator in the formula was not followed by a valid expression.";l["LE_FormulaParseException_MissingArgumentBeforeBinary"]="A binary operator in the formula is missing an operand before it.";l["LE_FormulaParseException_NamedReferenceRefsNeedSheetName"]="All cell references in a named reference formula must identify the worksheet.";l["LE_FormulaParseException_NoElementAfterArraySerapator"]="There is no array element after an element separator in the formula.";l["LE_FormulaParseException_NoEqualsSign"]="The formula must start with an equals sign.";l["LE_FormulaParseException_NoExclamationAfterWorkbookName"]="The workbook reference must be followed by an exclamation point.";l["LE_FormulaParseException_NoExclamationAfterWorksheetName"]="The worksheet reference must be followed by an exclamation point.";l["LE_FormulaParseException_NoExpressions"]="The formula has no valid expressions after the equal sign.";l["LE_FormulaParseException_NoFileNameAfterBracket"]="A valid file name was expected after the open square bracket.";l["LE_FormulaParseException_NoValidTermAfterWorkbookName"]="An external workbook reference must be followed by a named reference.";l["LE_FormulaParseException_NoValidTermAfterWorksheetName"]="A worksheet reference must be followed by a cell or named reference.";l["LE_FormulaParseException_NoWorksheetAfterWorkbookName"]="A workbook file name in square brackets must be followed by a worksheet name.";l["LE_FormulaParseException_StringConstantLengthTooLong"]="The specified formula cannot contain a string longer than {0} characters.";l["LE_FormulaParseException_TooLong"]="The maximum length of a formula cannot exceed {0} for the specified workbook format.";l["LE_FormulaParseException_UnknownFunction"]="A function in the formula does not have a valid function name.";l["LE_FormulaParseException_UnmatchedOpenBracket"]="A constant array in the formula does not have a closing bracket.";l["LE_FormulaParseException_UnmatchedOpenParen"]="An open parenthesis in the formula does not have a matching closing parenthesis.";l["LE_FormulaParseException_UnmatchedOpenSquareBracket"]="A closing square bracket was expected after the workbook file name.";l["LE_FormulaParseException_WorkbookNameMissingEndQuote"]="The workbook reference has no ending quote.";l["LE_FormulaParseException_WorksheetRangeMissingEndingName"]="The worksheet range does not specify a second worksheet name.";l["LE_GradientStop_InvalidPosition"]="Must specify a number between 0 and 1.";l["LE_IconSetInvalid"]="'IconSetNoIcon' is not a valid setting for the IconSet property.";l["LE_IndexOutOfRangeException_ArrayBounds"]="Index was outside the bounds of the array.";l["LE_InvalidEnumArgumentException_DefaultPatternCannotBeUsed"]="The Default FillPatternStyle cannot be used to create a CellFillPattern.";l["LE_InvalidLineWeight"]="LineWeight must not be less than 0 or greater than 1584.";l["LE_InvalidOperationException_AnchorCommentBeforeApplyingToCell"]="The comment must have both the TopLeftCornerCell and BottomRightCornerCell set or they must be both null before it is applied to a cell.";l["LE_InvalidOperationException_AnchorShapeBeforeAddingToCollection"]="The shape must have both the TopLeftCornerCell and BottomRightCornerCell set before it is added to a worksheet or group.";l["LE_InvalidOperationException_ArrayFormulaAlreadyApplied"]="The array formula is already applied to a cell range. Clear the existing cell range first.";l["LE_InvalidOperationException_ArrayFormulaAppliedInTable"]="Array formulas cannot be applied to an area where a table is present.";l["LE_InvalidOperationException_ArrayFormulaInMergedCell"]="Array formulas are not valid in merged cells.";l["LE_InvalidOperationException_BottomRightAnchorFromOtherWorksheet"]="Adding the shape to this collection will place it on a different worksheet than its BottomRightCornerCell.";l["LE_InvalidOperationException_BuiltInStyleNameCannotBeChanged"]="The name of a built in style cannot be changed.";l["LE_InvalidOperationException_CannotAddColorsToPaletteDirectly"]="Colors cannot be added to the WorkbookColorPalette. Use the indexer to set a color at a specific index.";l["LE_InvalidOperationException_CannotAddParagraphDirectly"]="Paragraphs cannot be added directly.";l["LE_InvalidOperationException_CannotAddTableDirectly"]="WorksheetTable instances cannot be directly inserted into the collection. Use the Add method.";l["LE_InvalidOperationException_CannotAddTableToRemovedWorksheet"]="Tables cannot be added to a worksheet which has been removed from its owning workbook.";l["LE_InvalidOperationException_CannotApplyFilterWhileHeaderRowIsHidden"]="A filter cannot be applied while the table header row is hidden.";l["LE_InvalidOperationException_CannotApplyFilterWhileUIIsHidden"]="A filter cannot be applied while the filter UI is hidden.";l["LE_InvalidOperationException_CannotInsertTableRow_LossOfData"]="The {0} cannot be inserted because it would shift data off the bottom of the worksheet.";l["LE_InvalidOperationException_CannotInsertTableRow_LossOfObject"]="The {0} cannot be inserted because it would shift a shape or comment off the bottom of the worksheet.";l["LE_InvalidOperationException_CannotInsertTableRow_SplitBlockingValue"]="The {0} cannot be inserted because it would shift cells in a array formula or data table.";l["LE_InvalidOperationException_CannotInsertTableRow_SplitMergedRegion"]="The {0} cannot be inserted because it would shift cells in a merged region.";l["LE_InvalidOperationException_CannotInsertTableRow_SplitTable"]="The {0} cannot be inserted because it would shift cells in another table.";l["LE_InvalidOperationException_CannotInsertTableRow_TableOnBottomOfWorksheet"]="The {0} cannot be inserted because the table is on the bottom of the worksheet.";l["LE_InvalidOperationException_CannotModifyKeysCollection"]="The Keys collection cannot be modified.";l["LE_InvalidOperationException_CannotModifyStandardTableStyle"]="Standard table styles cannot be modified.";l["LE_InvalidOperationException_CannotModifyValuesCollection"]="The Values collection cannot be modified.";l["LE_InvalidOperationException_CannotMoveDisconnectedWorksheet"]="The worksheet cannot be moved because it does not belong to a workbook.";l["LE_InvalidOperationException_CannotRemoveColorsToPaletteDirectly"]="Colors cannot be removed from the WorkbookColorPalette. Use the Reset method to clear all custom colors.";l["LE_InvalidOperationException_CannotRemoveNormalStyle"]="The Normal style cannot be removed.";l["LE_InvalidOperationException_CannotSetParentStyleOnStyle"]="The style cannot be set on a format which belongs to another style.";l["LE_InvalidOperationException_CannotShift_LossOfData"]="Cannot shift data off sheet.";l["LE_InvalidOperationException_CannotShift_LossOfObject"]="Cannot shift objects off sheet.";l["LE_InvalidOperationException_CannotShift_SplitBlockingValue"]="Cannot shift in a array formula or data table.";l["LE_InvalidOperationException_CannotShift_SplitMergedRegion"]="Cannot shift in a merged region.";l["LE_InvalidOperationException_CannotShift_SplitTable"]="Cannot shift in table.";l["LE_InvalidOperationException_CantAddChartInChart"]="A chart cannot be added to the Shapes collection of another chart.";l["LE_InvalidOperationException_CantAddCustomView"]="Custom views cannot be added directly to the collection.";l["LE_InvalidOperationException_CantAddDataTable"]="Data tables cannot be added directly.";l["LE_InvalidOperationException_CantAddMergedRegion"]="Merged cells regions cannot be added directly.";l["LE_InvalidOperationException_CantAddNamedReference"]="Named references cannot be added directly.";l["LE_InvalidOperationException_CantAddWorksheet"]="Worksheets cannot be added directly to this collection.";l["LE_InvalidOperationException_CantApplyRemovedCustomView"]="The custom view cannot be applied if it has been removed from the workbook's custom view collection.";l["LE_InvalidOperationException_CantChangeArrayFormula"]="The cells of an array formula cannot be changed.";l["LE_InvalidOperationException_CantChangeDataTable"]="The interior cells of a data table cannot be changed.";l["LE_InvalidOperationException_CantModifyCollection"]="The collection cannot be modified.";l["LE_InvalidOperationException_CantOverlapArrayFormula"]="A merged cell region cannot overlap an array formula region.";l["LE_InvalidOperationException_CantOverlapDataTableInterior"]="A merged cell region cannot overlap the cells in a data table if it extends outside the top row or left-most column of those cells.";l["LE_InvalidOperationException_CantSaveEditRangeWithoutRange"]="The AllowedEditRanges of the worksheets must have at least one range.";l["LE_InvalidOperationException_CantSaveWithNoVisibleWorksheets"]="At least one worksheet in the workbook must be visible.";l["LE_InvalidOperationException_CantSaveWithNoWorksheets"]="A workbook with no worksheets cannot be saved";l["LE_InvalidOperationException_CantSetCircularityErrorDirectly"]="The circularity error value cannot be applied directly to cells.";l["LE_InvalidOperationException_CantSetDataTableDirectly"]="Data tables cannot be set as the value on a cell.";l["LE_InvalidOperationException_CantSetFormulaDirectly"]="Formulas cannot be set on a cell directly, use the ApplyFormula method or one of the ApplyTo methods of the formula instance instead.";l["LE_InvalidOperationException_CellsInTableMinSize"]="The region of cells in a data table must have at least two cells in each dimension.";l["LE_InvalidOperationException_ChartNotSupported"]="WorksheetChart modifications are not supported in this format.";l["LE_InvalidOperationException_ClearUnknownShapeData"]="All data for this shape is unknown, remove the shape from its collection instead.";l["LE_InvalidOperationException_CollectionLongerThanMaxValue"]="The collection contains more entries than the specified maximum value allows.";l["LE_InvalidOperationException_CollectionModifiedWhileEnumerating"]="The collection was modified while it was being enumerated.";l["LE_InvalidOperationException_CurrentTableRowAddressNeedsOriginCell"]="To parse a structured table reference using the current row, an origin cell must be specified.";l["LE_InvalidOperationException_CustomViewNoVisibleWorksheets"]='At least one worksheet in the custom view named "{0}" must be visible.';l["LE_InvalidOperationException_DataTableAppliedInTable"]="A data table cannot be in an area where a table is present.";l["LE_InvalidOperationException_DataTableFormulaCannotBeApplied"]="A data table formula cannot be applied directly to cells.";l["LE_InvalidOperationException_DataTableInMergedCell"]="The interior cells of a data table cannot be part of a merged cell region.";l["LE_InvalidOperationException_DataTableRemoved"]="The row and column input cells cannot be set after the data table has been removed from the worksheet.";l["LE_InvalidOperationException_DeprecatedFillColorSetWithGradientFill"]="A fill pattern color cannot be set while a gradient is set on the cell.";l["LE_InvalidOperationException_EncryptedWorkbooksNotSupported"]="The workbook being loaded is encrypted. Encrypted workbooks are not supported.";l["LE_InvalidOperationException_ExtensionDoesntMatchCurrentFormat"]="The file name to which to save the file has an extension which doesn't match the current format of the workbook.";l["LE_InvalidOperationException_FixedValuesFilterMustAcceptAValue"]="Cannot have a FixedValuesFilter which allows no values.";l["LE_InvalidOperationException_FormattedStringAlreadyOwned"]="The formatted string is already the value of another cell or comment. Clone it first and apply the clone to the new cell or shape.";l["LE_InvalidOperationException_FormattedStringNotOwned"]="The font properties cannot be accessed while the formatted string or text is not applied to a cell or shape.";l["LE_InvalidOperationException_FormattedTextAlreadyOwned"]="The formatted string is already the value of another shape. Clone it first and apply the clone to the new cell or shape.";l["LE_InvalidOperationException_FormulaAlreadyOwned"]="The formula is already applied to another cell.";l["LE_InvalidOperationException_FormulaReferencesInvalidCells"]="The formula references cells which are not supported in the workbook's current file format.";l["LE_InvalidOperationException_GetBoundsBeforeAnchorsSet"]="The shape does not have bounds before the anchor cells have been set.";l["LE_InvalidOperationException_HiddenWorksheetCannotBeSelected"]="A hidden worksheet cannot be selected.";l["LE_InvalidOperationException_HyperlinkSealed"]="The hyperlink cannot be modified.";l["LE_InvalidOperationException_ImageDisposed"]="An Image of a WorksheetImage has been disposed or is invalid.";l["LE_InvalidOperationException_InputCellsBothNull"]="The column input and row input cells cannot both be null.";l["LE_InvalidOperationException_InputCellsInTable"]="The input cells can not be within the data table cells.";l["LE_InvalidOperationException_InputCellsSame"]="The column input and row input cells cannot be the same cell.";l["LE_InvalidOperationException_InvalidCharacterRange"]="The range of characters covered by the font no longer exists in the formatted string.";l["LE_InvalidOperationException_InvalidFormatOptionsInWholeTableArea"]="The specified FormatOptions format value is invalid on the WholeTable table area.";l["LE_InvalidOperationException_InvalidFormatString"]="The specified format string is invalid.";l["LE_InvalidOperationException_InvalidFormatString_GetTextCall"]="The cell's format string is invalid. To be notified of this when the FormatString is set, set Workbook.ValidateFormatStrings to True.";l["LE_InvalidOperationException_InvalidForWorkbookFormat"]="Formula is not valid for specified format.";l["LE_InvalidOperationException_InvalidHeaderCellColumnAreaFormatProperty"]="The top border values cannot be set on the HeaderCell table column area format.";l["LE_InvalidOperationException_InvalidHeaderRowAreaFormatProperty"]="The top border values cannot be set on the HeaderRow table area format.";l["LE_InvalidOperationException_InvalidTableStyleAreaFontProperty"]="The {0} font value cannot be set on table style areas.";l["LE_InvalidOperationException_InvalidTableStyleAreaFormatOptions"]="The specified FormatOptions format value is invalid on table style areas.";l["LE_InvalidOperationException_InvalidTableStyleAreaFormatProperty"]="The {0} format value cannot be set on table style areas.";l["LE_InvalidOperationException_InvalidTotalsCellColumnAreaFormatProperty"]="The bottom border values cannot be set on the TotalCell table column area format.";l["LE_InvalidOperationException_InvalidTotalsRowAreaFormatProperty"]="The bottom border values cannot be set on the TotalsRow table area format.";l["LE_InvalidOperationException_InvalidWholeTableAreaFormatProperty"]="Only the edge border values can be set on the WholeTable table area format.";l["LE_InvalidOperationException_LastColumnBeforeFirst"]="The last column in the region should be greater than or equal to the first column.";l["LE_InvalidOperationException_LastRowBeforeFirst"]="The last row in the region should be greater than the first row.";l["LE_InvalidOperationException_MaxCellFormats"]="The maximum number of distinct cell formats in excel file is: {0}";l["LE_InvalidOperationException_MaxColors"]="The maximum number of colors in an excel workbook is: {0}";l["LE_InvalidOperationException_MaxColumns"]="The maximum number of columns in an excel worksheet with the current format is: {0}";l["LE_InvalidOperationException_MaxFonts"]="The number of fonts in a workbook cannot exceed {0}.";l["LE_InvalidOperationException_MaxFormattedStrings"]="The number of unique strings in a workbook cannot exceed {0}.";l["LE_InvalidOperationException_MaxRows"]="The maximum number of rows in an excel worksheet with the current format is: {0}";l["LE_InvalidOperationException_MergedCellCrossesDataTableLeftColumn"]="The left-most column of cells specified for the data table contains a merged cell region which extends outside the area of those cells.";l["LE_InvalidOperationException_MergedCellCrossesDataTableTopLeftCell"]="The top-left cell of the cells specified for the data table is part of a merged cell which extends outside the area of those cells.";l["LE_InvalidOperationException_MergedCellCrossesDataTableTopRow"]="The top row of cells specified for the data table contains a merged cell region which extends outside the area of those cells.";l["LE_InvalidOperationException_MergedCellsAppliedInTable"]="Cells within a table cannot be merged.";l["LE_InvalidOperationException_NamedReferenceNameAlreadyExists"]='The name "{0}" is used by a table or named reference in the workbook with the same scope.';l["LE_InvalidOperationException_NoRegionHasBeenSpecified"]="No region has been specified.";l["LE_InvalidOperationException_NoWorksheetContextToSetShapeBounds"]="This overload of Add cannot be called when the shapes collection is not associated with a Worksheet. Call the overload of Add which takes a Worksheet instance.";l["LE_InvalidOperationException_OverlappingTable"]="There is another table in the specified region.";l["LE_InvalidOperationException_ReadOnlyFont"]="The font object is read-only and cannot be changed.";l["LE_InvalidOperationException_ReadOnlyFormat"]="The format object is read-only and cannot be changed.";l["LE_InvalidOperationException_RelativeR1C1AddressNeedsOriginCell"]="To parse a relative R1C1 address, an origin cell must be specified.";l["LE_InvalidOperationException_ResizedTableMustBeOnWorksheet"]="The table must be on a worksheet to be resized.";l["LE_InvalidOperationException_ResolvedFormatCannotBeModified"]="The resolved cell format is read-only and cannot be changed.";l["LE_InvalidOperationException_ShapeCantChangeOrientation"]="This shape cannot be rotated or flipped.";l["LE_InvalidOperationException_ShapeFillSolidIsImmutable"]="ShapeFillSolid is immutable. Create a new ShapeFillSolid instead.";l["LE_InvalidOperationException_ShapeInAnotherCollection"]="The shape already exists on another worksheet or shape group.";l["LE_InvalidOperationException_ShapeOutlineSolidIsImmutable"]="ShapeOutlineSolid is immutable. Create a new ShapeOutlineSolid instead.";l["LE_InvalidOperationException_ShowFilterUIWhileHeaderRowHidden"]="The filter UI cannot be shown while the header row is hidden.";l["LE_InvalidOperationException_SystemColorsAccessedFromWrongThread"]="Cannot access SystemColors from a background thread.";l["LE_InvalidOperationException_TableReferenceMustBeUsedFromInsideTable"]="The formula has a structured table reference which can only be used from inside a table.";l["LE_InvalidOperationException_TableReferenceToMissingTable"]="The formula has a reference to a table which doesn't exist.";l["LE_InvalidOperationException_TableReferenceToMissingTableColumn"]="The formula has a reference to a table column which doesn't exist.";l["LE_InvalidOperationException_TopLeftAnchorFromOtherWorksheet"]="Adding the shape to this collection will place it on a different worksheet than its TopLeftCornerCell.";l["LE_InvalidOperationException_TotalsRowCannotBeShownInLastRow"]="The totals row cannot be shown when the table occupies the last row in the worksheet.";l["LE_InvalidOperationException_UnknownBIFFFormat"]="The workbook file was in an unknown BIFF format.";l["LE_InvalidOperationException_UnsupportedBIFFFormat"]="The workbook file was saved in {0}, a format which is not supported.";l["LE_InvalidOperationException_WorkbookDataViolatesFormatLimits"]="The workbook contains data which would exceed the limits imposed by the specified format.";l["LE_InvalidRegion"]="Invalid region address.";l["LE_InvalidValueType"]="'{0}' is not a valid value for the ValueType property.";l["LE_LocationNotSingleRowOrColumn"]="Location reference is not valid because the cells are not all in the same column or row. Select cells that are all in a single column or row.";l["LE_LocationOrDataAreaInvalid"]="The reference for the location or data range is not valid.";l["LE_LocationWorksheetMismatch"]="Location must be from this worksheet.";l["LE_NotSingleTargetFormula"]="Can only support single target formulas.";l["LE_NotSupportedException_CellType"]="{0} is not a supported cell value type.";l["LE_NotSupportedException_NoPackageFactory"]="packageFactory cannot be null. When loading from Excel2007 workbook format and using the Infragistics2.Documents.Excel assembly, you must provide an IPackageFactory to handle the packaging of data. If you are using the DotNet Framework 3.0 or higher, use the Infragistics3.Documents.Excel assembly instead, and the packaging will be handled by the WindowsBase class.";l["LE_OpenPackagingNonConformanceException_ContainsDublinCoreRefinements"]="The IPackagePart is the core properties relationship, and contains refinements to Dublin Core elements other than 'dcterms:created' and 'dcterms:modified'.";l["LE_OpenPackagingNonConformanceException_ContainsXmlLanguageAttribute"]="The IPackagePart is the core properties relationship, and contains elements which contain the 'xml:lang' attribute.";l["LE_OpenPackagingNonConformanceException_CorePropertiesRelationshipAlreadyProcessed"]="The IPackagePart is the core properties relationship, but one has already been processed for the associated IPackage.";l["LE_OpenPackagingNonConformanceException_DuplicatePartName"]="A IPackagePart with the same name already belongs to this IPackage. A IPackage cannot contain parts with identical names. Note that the check for duplicate values is case-insensitive.";l["LE_OpenPackagingNonConformanceException_UsesMarkupCompatibilityNamespace"]="The IPackagePart is the core properties relationship, and uses the Markup Compatibility Namespace.";l["LE_OpenPackagingNonConformanceException_XmlContainsDocumentTypeDefinition"]="A IPackagePart contained a DTD (Document Type Definition) declaration. Open Packaging Convention rules prohibit the use of XML content with DTD declarations.";l["LE_OpenPackagingNonConformanceException_XsiTypeAttributeInvalid"]="The IPackagePart is the core properties relationship, and contains elements which contain the 'xsi:type' attribute, or contains elements which are required to and do not contain the 'xsi:type' attribute.";l["LE_OpenXmlSerializerNotLoaded"]="The '{0}' format requires a serializer that is not loaded, in JavaScript this is contained in the infragistics.excel_serialization_openxml.js file";l["LE_PercentageValueOutOfRange"]="The percentage value {0} must be between 0 and 100.";l["LE_PercentileValueOutOfRange"]="The percentile value {0} must be between 0 and 100.";l["LE_PercentRangeInvalid"]="The {0} must be less than the {1}.";l["LE_RowsToRepeatAtTopAreOutsideAvailableRange"]="The print options have rows that repeat at the top which are outside the range of available rows in the new format.";l["LE_Serialization_NoPrimaryCategoryAxis"]="The chart type '{0}' requires a primary category axis. Add a primary category axis to the chart's AxisCollection.";l["LE_Serialization_NoPrimaryValueAxis"]="The chart type '{0}' requires a primary value axis. Add a primary value axis to the chart's AxisCollection.";l["LE_Series_ChartType_ChartEx"]="'{0}' is invalid for a series ChartType in a '{1}' chart.";l["LE_Series_ChartType_InvalidForComboChart"]="The chart type '{0}' is not valid for use within a combo chart.";l["LE_Series_ChartType_NonCombo"]="The chart type for this series is determined by the parent chart's type ('{0}'), and cannot be set. Set the parent chart's ChartType property to '{1}' instead.";l["LE_Series_Explosion_OutOfRange"]="The Explosion property supports values in the range of 0 to 400, inclusive.";l["LE_Series_InvalidAxisGroup"]="The AxisGroup property cannot be set to '{0}' because a series of type '{1}' exists on the same axis, which cannot share the same axis as a series of type '{2}'.";l["LE_Series_InvalidSeriesTypeForComboChart"]="A series of type '{0}' cannot be used in a combo chart.";l["LE_Series_NoPrimaryAxis"]="At least one series must be plotted on the primary axis. Change the AxisGroup property to 'Primary' for at least one Series.";l["LE_Series_OwningSeries_NotClusteredColumn"]="The OwningSeries property can only be set to a clustered column series in a Pareto chart.";l["LE_Series_OwningSeries_NotParetoLine"]="The OwningSeries property can only be set for a line series in a Pareto chart.";l["LE_Series_OwningSeries_Same"]="The OwningSeries cannot reference itself.";l["LE_Series_SeriesType_ChartEx"]="The SeriesType value '{0}' is invalid for a '{1}' chart.";l["LE_Series_SeriesType_NonCombo"]="The Type property is only applicable for combo charts, and cannot be set for a chart of type '{0}'.";l["LE_SetValue_Formula"]="The '{0}' value type is only valid for formulas. Use the SetFormula method instead.";l["LE_SetValue_NonNumeric"]="The value parameter is not applicable for the value type '{0}'. Use the overload that takes only a value type.";l["LE_SetValue_Numeric"]="The value parameter must be specified for the value type '{0}'. Use the overload that takes both the value and value type.";l["LE_WorksheetChart_ChartType_ChartEx_CannotTransition"]="The ChartType property cannot be changed from '{0}' to '{1}'.";l["LE_WorksheetChart_ChartType_ComboChart_From"]="The ChartType property of a combo chart cannot be changed to '{0}'.";l["LE_WorksheetChart_ChartType_ComboChart_To"]="A chart of type '{0}' cannot be changed to 'Combo'. A new combo chart can be created using the AddChart method, but changing an existing chart to a combo chart is not supported.";l["LE_WorksheetChart_ComboChart_NotEnoughSeries"]="A combo chart requires at least 2 series. Add more items to the chart's SeriesCollection.";l["LE_WorksheetChart_MissingRequiredAxis_StockCharts"]="A '{0}' chart requires a primary category axis, a primary value axis, a secondary category axis and a secondary value axis.";l["LE_WorksheetChart_NotEnoughSeries"]="A '{0}' chart requires a minimum of {1} series. To use this chart type you must add more items to the SeriesCollection.";l["LE_WorksheetChart_Save_Series"]="A '{0}' chart must contain at least one series. Add more series to the chart before attempting to save the workbook.";l["LE_WorksheetChart_Save_Series_Pareto"]="A 'Pareto' chart must contain one 'ColumnClustered' series and one 'Pareto' series. Add the appropriate series to the chart before attempting to save the workbook.";l["LE_WorksheetChart_SetComboChartSourceData_InvalidChartTypes"]="One or more of the specified chart types are not valid for use within a combo chart: {0}";l["LE_WorksheetChart_SetComboChartSourceData_NotAComboChart"]="SetComboChartSourceData cannot be called because the current chart type is '{0}'. Change the ChartType to 'Combo'.";l["LE_WorksheetChart_SetComboChartSourceData_SeriesChartTypesNotSupported"]="The seriesChartTypes parameter must be null for a '{0}' chart.";l["LE_WorksheetChart_SetSourceData_NotEnoughSeries"]="Combo charts require a minimum of 2 series. Change the 'dataRange' parameter to a range which will result in at least 2 series.";l["LE_WorksheetChart_SetSourceData_TooManyAxes"]="The specified combination of chart types require more than the maximum allowable number of axes.";l["LE_WorksheetChart_StockChartNotSupported"]="Editing of the chart type '{0}' is currently not supported.";l["LE_WorksheetChart_UnknownChartNotSupported"]="This chart was loaded from an existing worksheet, but it's ChartType could not be determined. Editing of unknown chart types is currently not supported.";l["LER_ArgumentOutOfRangeException_OutlineLevel"]="Outline level must be between 0 and 7.";l["LER_Exception_KeyNotFound"]="Key not found.";l["LER_Exception_MergedRegionsOverlap"]="Merged cell regions can't overlap.";l["TableHeaderRowDescription"]="header row";l["TableInsertRowDescription"]="insert row";l["TableTotalsRowDescription"]="totals row";l["Value_UCErrorCode_Div"]="#DIV/0!";l["Value_UCErrorCode_Fail"]="#FAIL";l["Value_UCErrorCode_NA"]="#N/A";l["Value_UCErrorCode_Name"]="#NAME?";l["Value_UCErrorCode_Null"]="#NULL!";l["Value_UCErrorCode_Num"]="#NUM!";l["Value_UCErrorCode_Ok"]="#OK";l["Value_UCErrorCode_Reference"]="#REF!";l["Value_UCErrorCode_Unknown"]="#N/A";l["Value_UCErrorCode_Value"]="#VALUE!";l["WorkbookColorInfo_Automatic_Description"]="Automatic";l["WorkbookColorInfo_Description"]="ColorInfo: {0}";l["WorkbookColorInfo_WithTint_Description"]="ColorInfo: {0}, Tint: {1}";l["WorksheetShapeSerialization_GroupName"]="Group";l["WorksheetShapeSerialization_ImageName"]="Image";l["WorksheetShapeSerialization_ShapeName"]="Shape";$.ig.excel=$.ig.excel||{};$.ig.excel.locale=$.ig.excel.locale||l;return l})($);/*!@license
* Infragistics.Web.ClientUI infragistics.scheduler.core.js resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function(){$=$||{};$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.schedulerCore=$.ig.locale.en.schedulerCore||{};var l=$.ig.locale.en.schedulerCore;l["ActivityBase_Exception_CannotModifyOccurrenceProperty"]="The value of the {0} property cannot be modified on this {1} instance because it is a member of a recurrence.";l["LE_ActivityBase_DisassociatedResource"]="The specified resource is not associated with the same data source as this activity.";l["LE_AppointmentItemsSource_CannotEdit"]="The appointment item source does not support modification of its contents.";l["LE_AppointmentItemsSource_InvalidValue_JS"]="The specified value must be a JSON array or an $.ig.DataSource instance.";l["LE_AppointmentItemsSource_NoIList_DOTNET"]="The AppointmentItemsSource does not support modification of its contents. The item source must implement System.Collections.IList in order to support modifications.";l["LE_AppointmentPropertyMapping_RecurrenceRoot"]="The RecurrenceRoot property is not bindable and cannot be mapped. Create a mapping for the RecurrenceId property instead.";l["LE_AppointmentPropertyMapping_Resource"]="The Resource property is not bindable and cannot be mapped. Create a mapping for the ResourceId property instead.";l["LE_BeginEdit_CreatePending"]="The specified activity cannot be edited because there is a 'Create' operation pending.";l["LE_CannotCreateDataObject_DOTNET"]="Could not create new data object instance. Ensure that your data object type has a parameterless constructor. If it does not, assign a delegate to the CreateAppointmentDataObjectCallback property which creates new instances of this type.";l["LE_CannotModifyApppointmentsWhenDataSourceSet"]="Operation is not valid while DataSource is in use. Access and modify elements with Scheduler.DataSource instead.";l["LE_CannotSetDataSourceWhenAppointmentsAreDefined"]="Appointments collection must be empty before using DataSource.";l["LE_CouldNotConvertColorScheme"]="The value '{0}' could not be converted to a ScheduleResourceColorScheme value.";l["LE_CouldNotConvertValue"]="The value '{0}' could not be converted to type {1}.";l["LE_CreateDataObjectFailed"]="Could not create new data object instance.";l["LE_DataObjectNotAssociated"]="The specified data object is not associated with an Appointment.";l["LE_DuplicateIdentifier"]="The identifier '{0}' is already in use. Activity/Resource identifiers must be unique.";l["LE_EndEdit_DataObjectAlreadyAssociated"]="This data object is already associated with an activity.";l["LE_EndEdit_NotInEditMode"]="EndEdit cannot be called on the specified activity because it is not in edit mode. BeginEdit must be called first before an activity edit operation can be committed.";l["LE_InvalidDayOfWeekRule"]="The specified day of week rule is invalid.";l["LE_MissingIdentifier"]="Missing identifier.";l["LE_NoAppointmentItemsSource"]="The AppointmentItemsSource has not been assigned.";l["LE_NoCreateAppointmentDataObjectCallback_JS"]="A new data object instance could not be created. You must specify a value for the CreateAppointmentDataObjectCallback property.";l["LE_NoDataObject"]="The specified activity's underlying data object does not exist in the item source.";l["LE_NoPropertyMapping_Appointment"]="No property mapping exists for Appointment property '{0}'.";l["LE_RecurrenceParsing"]="Error parsing recurrence, context: {0}";l["LE_RecurrenceSerializing"]="Error serializing recurrence, context: {0}";l["LE_SchedulePropertyMap_Missing"]="The following required property mappings were not defined:";l["LE_SchedulePropertyMap_NoPropertyFound"]="No public property named '{0}' was found on the underlying data object.";l["LIT_AgendaDayHeader_Today"]="Today";l["LIT_AgendaNoEventsMessage"]="No Events";l["LIT_AgendaStartTime_AllDay"]="all-day";l["LIT_AgendaStartTime_Ends"]="Ends";l["RD_And"]="and";l["RD_AtTime"]="at {0}";l["RD_Effective1"]="effective {0}";l["RD_Effective2"]="effective {0} until {1}";l["RD_Effective3"]="effective {0} from {1} to {2}";l["RD_Effective4"]="effective {0} at {1}";l["RD_Effective5"]="effective {0} until {1} at {2}";l["RD_Effective6"]="effective {0} until {1} from {2} to {3}";l["RD_Every"]="every {0} {1}";l["RD_FrequencyLiterals"]="year,month,week,day,hour,minute,second";l["RD_FrequencyLiterals2"]="yearly,monthly,weekly,daily,hourly,minutely,secondly";l["RD_FrequencyLiteralsPlural"]="years,months,weeks,days,hours,minutes,seconds";l["RD_InMonth"]="in {0}";l["RD_Last"]="last";l["RD_NumberSuffix_nd"]="nd";l["RD_NumberSuffix_rd"]="rd";l["RD_NumberSuffix_st"]="st";l["RD_NumberSuffix_th"]="th";l["RD_OccurrenceOfThe"]="occurrence of the";l["RD_OfEveryMinuteOrHour"]="of every {0}";l["RD_OfTheMonthOrYear"]="of the {0}";l["RD_OfTheNthMinuteOrHour"]="of the {0} {1}";l["RD_OnEach"]="on each";l["RD_OnEverySecond"]="on every second";l["RD_OnThe"]="on the";l["RD_OnTheNthSecond"]="on the {0} second";l["RD_Or"]="or";l["RD_OrdinalDayOfMonthUsesSuffix"]="true";l["RD_OrdinalNumberWithSuffix"]="{0}{1}";l["RD_RecurrenceDescriptionOverallStructure"]="Occurs {0}{1}{2}";l["RD_RepeatingMultipleTimes"]="repeating {0} times";l["RD_RepeatingOneTime"]="repeating once";l["RD_RulesInMonth"]="{0} {1}";l["RD_ToTheLast"]="to the last";l["RD_Weekday"]="weekday";l["RD_WeekendDay"]="weekend day";l["RD_WeekOrDayOfTheMonthOrYear"]="{0} {1}";l["ScheduleDayOfWeekSettings_Exception_InvalidValue"]="The value '{0}' could not be successfully parsed.";l["WorkingHourTimeRange_Exception_CannotModifyTime"]="The {0} property cannot be modified because this instance has already been added to a WorkingHours collection.";$.ig.schedulerCore=$.ig.schedulerCore||{};$.ig.schedulerCore.locale=$.ig.schedulerCore.locale||l;return l})($);/*!@license
* Infragistics.Web.ClientUI shared localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.SharedLocale=$.ig.SharedLocale||{};$.ig.locale.en.SharedLocale={};$.ig.SharedLocale.locale=$.ig.SharedLocale.locale||$.ig.locale.en.SharedLocale;return $.ig.locale.en.SharedLocale})($);/*!@license
* Infragistics.Web.ClientUI infragistics.spreadsheet.js resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function(){$=$||{};$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.spreadsheet=$.ig.locale.en.spreadsheet||{};var l=$.ig.locale.en.spreadsheet;l["CellBorderLineStyle_DashDot"]="DashDot";l["CellBorderLineStyle_DashDotDot"]="DashDotDot";l["CellBorderLineStyle_Dashed"]="Dashed";l["CellBorderLineStyle_Default"]="Default";l["CellBorderLineStyle_Dotted"]="Dotted";l["CellBorderLineStyle_Double"]="Double";l["CellBorderLineStyle_Hair"]="Hair";l["CellBorderLineStyle_Medium"]="Medium";l["CellBorderLineStyle_MediumDashDot"]="MediumDashDot";l["CellBorderLineStyle_MediumDashDotDot"]="MediumDashDotDot";l["CellBorderLineStyle_MediumDashed"]="MediumDashed";l["CellBorderLineStyle_None"]="None";l["CellBorderLineStyle_SlantedDashDot"]="SlantedDashDot";l["CellBorderLineStyle_Thick"]="Thick";l["CellBorderLineStyle_Thin"]="Thin";l["CopyError_InvalidSelection_Message"]="The operation cannot be performed on the current selection. If there are multiple selections ensure they form a rectangular region and do not overlap.";l["CustomValidationInformationMessage"]="{0}";l["CustomValidationStopMessage"]="{0}";l["CustomValidationWarningMessage"]="{0}\r\n\r\nContinue?";l["DefaultAutoFilterToolTip"]="(Showing All)";l["DefaultChartTitle"]="Chart Title";l["DefaultHyperlinkToolTip"]="{0} - Click once to follow. Click and hold to select this cell.";l["DefaultValidationInformationMessage"]="The value you entered is not valid.\r\n\r\nA user has restricted values that can be entered into this cell.";l["DefaultValidationStopMessage"]="The value you entered is not valid.\r\n\r\nA user has restricted values that can be entered into this cell.";l["DefaultValidationWarningMessage"]="The value you entered is not valid.\r\n\r\nA user has restricted values that can be entered into this cell.\r\n\r\nContinue?";l["DeleteWorksheets_Message"]="Deleting a worksheet cannot be undone and you may be removing some data. If you don't need it then click Ok.";l["Error_ChangePartOfDataTableError_Message"]="Cannot change part of a data table.";l["Error_DeletingLockedColumnCells_Message"]="You are trying to delete a column that contains a locked cell. Locked cells cannot be deleted while the worksheet is protected.";l["Error_DeletingLockedRowCells_Message"]="You are trying to delete a row that contains a locked cell. Locked cells cannot be deleted while the worksheet is protected.";l["Error_IntersectsMergedCells_Message"]="The operation cannot be performed because the selection intersects with a merged cell.";l["Error_InvalidArrayFormulaLockedState_Message"]="Cannot enter an array formula into a range of cells which are not all locked or unlocked.";l["Error_InvalidHyperlinkAddress_Message"]="Cannot open the specified file.";l["Error_InvalidHyperlinkReference_Message"]="Reference is not valid.";l["Error_InvalidProtectedWorksheetChange_Message"]="The cell you're trying to change is on a protected sheet.";l["Error_InvalidSortOrFilterRange_Message"]="This operation cannot be performed on the selected range. The selection should be within an area with data and/or formatting and should not contain table and non-table cells.";l["Error_LargeOperation_Message"]="The operation you are about to perform affects a large number of cells and may take a significant amount of time to complete. Are you sure you want to continue?";l["Error_LargePasteOperation_Message"]="The operation you are about to perform affects a large number of cells and may take a significant amount of time to complete. Are you sure you want to continue?";l["Error_NoSingleAllowedEditRange_Message"]="Some of the cells you are trying to change are password protected but no single password will allow access to all of the cells.";l["ExcelComparisonOperator_BeginsWith_DisplayText"]="begins with";l["ExcelComparisonOperator_Contains_DisplayText"]="contains";l["ExcelComparisonOperator_DoesNotBeginWith_DisplayText"]="does not begin with";l["ExcelComparisonOperator_DoesNotContain_DisplayText"]="does not contain";l["ExcelComparisonOperator_DoesNotEndWith_DisplayText"]="does not end with";l["ExcelComparisonOperator_EndsWith_DisplayText"]="ends with";l["ExcelComparisonOperator_Equals_DisplayText"]="equals";l["ExcelComparisonOperator_GreaterThan_DisplayText"]="is greater than";l["ExcelComparisonOperator_GreaterThanOrEqual_DisplayText"]="is greater than or equal to";l["ExcelComparisonOperator_LessThan_DisplayText"]="is less than";l["ExcelComparisonOperator_LessThanOrEqual_DisplayText"]="is less than or equal to";l["ExcelComparisonOperator_NotEqual_DisplayText"]="does not equal";l["ExcelTopOrBottomFilterDirection_Bottom_DisplayText"]="Bottom";l["ExcelTopOrBottomFilterDirection_Top_DisplayText"]="Top";l["ExcelTopOrBottomFilterTypes_Items_DisplayText"]="Items";l["ExcelTopOrBottomFilterTypes_Percent_DisplayText"]="Percent";l["FillPatternStyle_DiagonalCrosshatch"]="DiagonalCrosshatch";l["FillPatternStyle_DiagonalStripe"]="DiagonalStripe";l["FillPatternStyle_Gray12percent"]="Gray12percent";l["FillPatternStyle_Gray25percent"]="Gray25percent";l["FillPatternStyle_Gray50percent"]="Gray50percent";l["FillPatternStyle_Gray6percent"]="Gray6percent";l["FillPatternStyle_Gray75percent"]="Gray75percent";l["FillPatternStyle_HorizontalStripe"]="HorizontalStripe";l["FillPatternStyle_None"]="None";l["FillPatternStyle_ReverseDiagonalStripe"]="ReverseDiagonalStripe";l["FillPatternStyle_Solid"]="Solid";l["FillPatternStyle_ThickDiagonalCrosshatch"]="ThickDiagonalCrosshatch";l["FillPatternStyle_ThinDiagonalCrosshatch"]="ThinDiagonalCrosshatch";l["FillPatternStyle_ThinDiagonalStripe"]="ThinDiagonalStripe";l["FillPatternStyle_ThinHorizontalCrosshatch"]="ThinHorizontalCrosshatch";l["FillPatternStyle_ThinHorizontalStripe"]="ThinHorizontalStripe";l["FillPatternStyle_ThinReverseDiagonalStripe"]="ThinReverseDiagonalStripe";l["FillPatternStyle_ThinVerticalStripe"]="ThinVerticalStripe";l["FillPatternStyle_VerticalStripe"]="VerticalStripe";l["FilterDescription_AboveAverage"]="Above Average";l["FilterDescription_BelowAverage"]="Below Average";l["FilterDescription_BottomItems"]="Bottom {0} Items";l["FilterDescription_BottomPercent"]="Bottom {0} Percent";l["FilterDescription_CellFill_Named"]="Equals a {0} cell color";l["FilterDescription_CellFill_NoFill"]="Equals a cell color (No Fill)";l["FilterDescription_CellFill_Unknown"]="Equals a cell color";l["FilterDescription_ComparisonItem_BeginsWith"]='Begins with "{0}"';l["FilterDescription_ComparisonItem_Contains"]='Contains "{0}"';l["FilterDescription_ComparisonItem_DoesNotBeginWith"]='Does not begin with "{0}"';l["FilterDescription_ComparisonItem_DoesNotContain"]='Does not contain "{0}"';l["FilterDescription_ComparisonItem_DoesNotEndWith"]='Does not end with "{0}"';l["FilterDescription_ComparisonItem_EndsWith"]='Ends with "{0}"';l["FilterDescription_ComparisonItem_Equals"]='Equals "{0}"';l["FilterDescription_ComparisonItem_GreaterThan"]='Greater than "{0}"';l["FilterDescription_ComparisonItem_GreaterThanOrEqual"]='Greater than or equal to "{0}"';l["FilterDescription_ComparisonItem_LessThan"]='Less than "{0}"';l["FilterDescription_ComparisonItem_LessThanOrEqual"]='Less than or equal to "{0}"';l["FilterDescription_ComparisonItem_NotEqual"]='Does not equal "{0}"';l["FilterDescription_Custom_And"]="{0} and {1}";l["FilterDescription_Custom_Or"]="{0} or {1}";l["FilterDescription_FixedValues"]='Equals "{0}"';l["FilterDescription_FixedValues_Blanks"]="(Blanks)";l["FilterDescription_FixedValues_Day"]='"{0:MMMM dd yyyy}"';l["FilterDescription_FixedValues_Hour"]='"{0:MMMM dd yyyy h tt}"';l["FilterDescription_FixedValues_Minute"]='"{0:MMMM dd yyyy h:mm tt}"';l["FilterDescription_FixedValues_Month"]="{0:MMMM yyyy}";l["FilterDescription_FixedValues_Second"]='"{0:MMMM dd yyyy h:mm:ss tt}"';l["FilterDescription_FixedValues_Year"]="All of {0:yyyy}";l["FilterDescription_FontColor_Automatic"]="Equals a font color (Automatic)";l["FilterDescription_FontColor_Named"]="Equals a {0} font color";l["FilterDescription_FontColor_Unknown"]="Equals a font color";l["FilterDescription_MonthNumber"]='Equals "{0}"';l["FilterDescription_NoCellIcon"]="Equals a cell icon (No Cell Icon)";l["FilterDescription_QuarterNumber"]='Equals "Quarter {0}"';l["FilterDescription_RelativeDate_CurrentDay"]='Equals "Today"';l["FilterDescription_RelativeDate_CurrentMonth"]='Equals "This Month"';l["FilterDescription_RelativeDate_CurrentQuarter"]='Equals "This Quarter"';l["FilterDescription_RelativeDate_CurrentWeek"]='Equals "This Week"';l["FilterDescription_RelativeDate_CurrentYear"]='Equals "This Year"';l["FilterDescription_RelativeDate_NextDay"]='Equals "Tomorrow"';l["FilterDescription_RelativeDate_NextMonth"]='Equals "Next Month"';l["FilterDescription_RelativeDate_NextQuarter"]='Equals "Next Quarter"';l["FilterDescription_RelativeDate_NextWeek"]='Equals "Next Week"';l["FilterDescription_RelativeDate_NextYear"]='Equals "Next Year"';l["FilterDescription_RelativeDate_PreviousDay"]='Equals "Yesterday"';l["FilterDescription_RelativeDate_PreviousMonth"]='Equals "Last Month"';l["FilterDescription_RelativeDate_PreviousQuarter"]='Equals "Last Quarter"';l["FilterDescription_RelativeDate_PreviousWeek"]='Equals "Last Week"';l["FilterDescription_RelativeDate_PreviousYear"]='Equals "Last Year"';l["FilterDescription_TopItems"]="Top {0} Items";l["FilterDescription_TopPercent"]="Top {0} Percent";l["FilterDescription_WithCellIcon"]="Equals a {0}";l["FilterDescription_YearToDate"]='Equals "Year to Date"';l["FilterDialog_And"]="_And";l["FilterDialog_AsteriskHint"]="Use * to represent any series of characters";l["FilterDialog_Cancel"]="Cancel";l["FilterDialog_OK"]="OK";l["FilterDialog_Or"]="_Or";l["FilterDialog_QuestionMarkHint"]="Use ? to represent any single character";l["FilterDialog_ShowRowsWhere"]="Show rows where:";l["FilterDialog_Title"]="Custom AutoFilter";l["FormatCellsDialog_AlignmentTab_Text_Horizontal"]="_Horizontal";l["FormatCellsDialog_AlignmentTab_Text_Indent"]="Indent";l["FormatCellsDialog_AlignmentTab_Text_JustifyDistributed"]="Justify distributed";l["FormatCellsDialog_AlignmentTab_Text_MergeCells"]="_Merge cells";l["FormatCellsDialog_AlignmentTab_Text_RightToLeft"]="Right-to-left";l["FormatCellsDialog_AlignmentTab_Text_ShrinkToFit"]="Shrin_k to fit";l["FormatCellsDialog_AlignmentTab_Text_TextAlignment"]="Text alignment";l["FormatCellsDialog_AlignmentTab_Text_TextControl"]="Text control";l["FormatCellsDialog_AlignmentTab_Text_TextDirection"]="_Text direction";l["FormatCellsDialog_AlignmentTab_Text_Vertical"]="_Vertical";l["FormatCellsDialog_AlignmentTab_Text_WrapText"]="_Wrap Text";l["FormatCellsDialog_AlignmentTabCaption"]="Alignment";l["FormatCellsDialog_BorderTab_Text_Border"]="Border";l["FormatCellsDialog_BorderTab_Text_Color"]="_Color";l["FormatCellsDialog_BorderTab_Text_Description"]="The selected border style can be applied by clicking the presets or the buttons around the preview diagram.";l["FormatCellsDialog_BorderTab_Text_Line"]="Line";l["FormatCellsDialog_BorderTab_Text_PresetInside"]="_Inside";l["FormatCellsDialog_BorderTab_Text_PresetNone"]="_None";l["FormatCellsDialog_BorderTab_Text_PresetOutline"]="_Outline";l["FormatCellsDialog_BorderTab_Text_Presets"]="Presets";l["FormatCellsDialog_BorderTab_Text_SampleText"]="Text";l["FormatCellsDialog_BorderTab_Text_Style"]="_Style";l["FormatCellsDialog_BorderTabCaption"]="Border";l["FormatCellsDialog_Cancel"]="Cancel";l["FormatCellsDialog_FillTab_Text_BackgroundColor"]="Background _Color";l["FormatCellsDialog_FillTab_Text_PatternColor"]="P_attern Color";l["FormatCellsDialog_FillTab_Text_PatternStyle"]="_Pattern Style:";l["FormatCellsDialog_FillTab_Text_Sample"]="Sample";l["FormatCellsDialog_FillTabCaption"]="Fill";l["FormatCellsDialog_FontTabCaption"]="Font";l["FormatCellsDialog_NumberTab_CategoryLabel"]="_Category";l["FormatCellsDialog_NumberTab_DateFormatMasks"]="m/d/yyyy\r\n[$-F800]dddd, mmmm dd, yyyy\r\nm/d;@\r\nm/d/yy;@\r\nmm/dd/yy;@\r\n[$-409]d-mmm;@";l["FormatCellsDialog_NumberTab_DecimalPlaces"]="_Decimal Places:";l["FormatCellsDialog_NumberTab_SampleLabel"]="Sample";l["FormatCellsDialog_NumberTab_TimeFormatMasks"]="[$-F400]h:mm:ss AM/PM\r\nh:mm;@\r\n[$-409]h:mm AM/PM;@\r\nh:mm:ss;@\r\n[$-409]h:mm:ss AM/PM;@";l["FormatCellsDialog_NumberTabCaption"]="Number";l["FormatCellsDialog_NumberTabInvalidMaskError"]="The specified format mask '{0}' is not valid.";l["FormatCellsDialog_OK"]="OK";l["FormatCellsDialog_ProtectionTab_Text_Locked"]="_Locked";l["FormatCellsDialog_ProtectionTab_Text_Summary"]="Locking cells has no effect until you protect the worksheet.";l["FormatCellsDialog_ProtectionTabCaption"]="Protection";l["FormatCellsDialog_Title"]="Format Cells";l["FormatInfo_Accounting"]="Accounting";l["FormatInfo_Accounting_NumberFormat_Description"]="Accounting formats line up the currency symbols and decimal points in a column.";l["FormatInfo_BlankDocument"]="Blank Document";l["FormatInfo_Currency"]="Currency";l["FormatInfo_Currency_NumberFormat_Description"]="Currency formats are used for general monetary values.  Use Accounting formats to align decimal points in a column.";l["FormatInfo_Custom"]="Custom";l["FormatInfo_Custom_NumberFormat_Description"]="Type the number format code, using one of the existing codes as a starting point.";l["FormatInfo_Date"]="Date";l["FormatInfo_Date_NumberFormat_Description"]="Date formats display date and time serial numbers as date values.  Date formats that begin with an asterisk (*) respond to changes in regional date and time settings that are specified for the operating system. Formats without an asterisk are not affected by operating system settings.";l["FormatInfo_FormatHeader_NegativeNumbers"]="Negative numbers:";l["FormatInfo_FormatHeader_Type"]="Type:";l["FormatInfo_Fraction"]="Fraction";l["FormatInfo_Fraction_Eighths"]="As eighths (4/8)";l["FormatInfo_Fraction_Halves"]="As halves (1/2)";l["FormatInfo_Fraction_Hundreths"]="As hundreths (30/100)";l["FormatInfo_Fraction_OneDigit"]="Up to one digit (1/4)";l["FormatInfo_Fraction_Quarters"]="As quarters (2/4)";l["FormatInfo_Fraction_Sixteenths"]="As sixteenths (8/16)";l["FormatInfo_Fraction_Tenths"]="As tenths (3/10)";l["FormatInfo_Fraction_ThreeDigits"]="Up to three digits (312/943)";l["FormatInfo_Fraction_TwoDigits"]="Up to two digits (21/25)";l["FormatInfo_General"]="General";l["FormatInfo_General_NumberFormat_Description"]="General format cells have no specific number format.";l["FormatInfo_Number"]="Number";l["FormatInfo_Number_NumberFormat_Description"]="Number is used for general display of numbers.  Currency and Accounting offer specialized formatting for monetary value.";l["FormatInfo_Percentage"]="Percentage";l["FormatInfo_Percentage_NumberFormat_Description"]="Percentage formats multiply the cell value by 100 and displays the result with a percent symbol.";l["FormatInfo_ProjectBudget"]="Project Budget";l["FormatInfo_Scientific"]="Scientific";l["FormatInfo_Special"]="Special";l["FormatInfo_Special_NumberFormat_Description"]="Special formats are useful for tracking list and database values.";l["FormatInfo_Special_PhoneNumber"]="Phone Number";l["FormatInfo_Special_SocialSecurityNumber"]="Social Security Number";l["FormatInfo_Special_ZipCode"]="Zip Code";l["FormatInfo_Special_ZipCodePlus4"]="Zip Code + 4";l["FormatInfo_Text"]="Text";l["FormatInfo_Text_NumberFormat_Description"]="Text format cells are treated as text even when a number is in the cell.  The cell is displayed exactly as entered.";l["FormatInfo_Time"]="Time";l["FormatInfo_Time_NumberFormat_Description"]="Time formats display date and time serial numbers as date values.  Time formats that begin with an asterisk (*) respond to changes in regional date and time settings that are specified for the operating system. Formats without an asterisk are not affected by operating system settings.";l["HorizontalCellAlignment_Center"]="Center";l["HorizontalCellAlignment_CenterAcrossSelection"]="CenterAcrossSelection";l["HorizontalCellAlignment_Default"]="Default";l["HorizontalCellAlignment_Distributed"]="Distributed";l["HorizontalCellAlignment_Fill"]="Fill";l["HorizontalCellAlignment_General"]="General";l["HorizontalCellAlignment_Justify"]="Justify";l["HorizontalCellAlignment_Left"]="Left";l["HorizontalCellAlignment_Right"]="Right";l["Icon_BlackCircle"]="Black Circle";l["Icon_BlackCircleWithBorder"]="Black Circle With Border";l["Icon_CircleWithOneWhiteQuarter"]="Circle With One White Quarter";l["Icon_CircleWithThreeWhiteQuarters"]="Circle With Three White Quarters";l["Icon_CircleWithTwoWhiteQuarters"]="Circle With Two White Quarters";l["Icon_FourBars"]="Signal Meter With Four Filled Bars";l["Icon_FourFilledBoxes"]="Four Filled Boxes";l["Icon_GoldStar"]="Gold Star";l["Icon_GrayCircle"]="Gray Circle";l["Icon_GrayDownArrow"]="Gray Down Arrow";l["Icon_GrayDownInclineArrow"]="Gray Down Incline Arrow";l["Icon_GraySideArrow"]="Gray Side Arrow";l["Icon_GrayUpArrow"]="Gray Up Arrow";l["Icon_GrayUpInclineArrow"]="Gray Up Incline Arrow";l["Icon_GreenCheck"]="Green Check";l["Icon_GreenCheckSymbol"]="Green Check Symbol";l["Icon_GreenCircle"]="Green Circle";l["Icon_GreenFlag"]="Green Flag";l["Icon_GreenTrafficLight"]="Green Traffic Light";l["Icon_GreenUpArrow"]="Green Up Arrow";l["Icon_GreenUpTriangle"]="Green Up Triangle";l["Icon_HalfGoldStar"]="Half Gold Star";l["Icon_OneBar"]="Signal Meter With One Filled Bar";l["Icon_OneFilledBox"]="One Filled Box";l["Icon_PinkCircle"]="Pink Circle";l["Icon_RedCircle"]="Red Circle";l["Icon_RedCircleWithBorder"]="Red Circle With Border";l["Icon_RedCross"]="Red Cross";l["Icon_RedCrossSymbol"]="Red Cross Symbol";l["Icon_RedDiamond"]="Red Diamond";l["Icon_RedDownArrow"]="Red Down Arrow";l["Icon_RedDownTriangle"]="Red Down Triangle";l["Icon_RedFlag"]="Red Flag";l["Icon_RedTrafficLight"]="Red Traffic Light";l["Icon_SilverStar"]="Silver Star";l["Icon_ThreeBars"]="Signal Meter With Three Filled Bars";l["Icon_ThreeFilledBoxes"]="Three Filled Boxes";l["Icon_TwoBars"]="Signal Meter With Two Filled Bars";l["Icon_TwoFilledBoxes"]="Two Filled Boxes";l["Icon_WhiteCircleAllWhiteQuarters"]="White Circle (All White Quarters)";l["Icon_YellowCircle"]="Yellow Circle";l["Icon_YellowDash"]="Yellow Dash";l["Icon_YellowDownInclineArrow"]="Yellow Down Incline Arrow";l["Icon_YellowExclamation"]="Yellow Exclamation";l["Icon_YellowExclamationSymbol"]="Yellow Exclamation Symbol";l["Icon_YellowFlag"]="Yellow Flag";l["Icon_YellowSideArrow"]="Yellow Side Arrow";l["Icon_YellowTrafficLight"]="Yellow Traffic Light";l["Icon_YellowTriangle"]="Yellow Triangle";l["Icon_YellowUpInclineArrow"]="Yellow Up Incline Arrow";l["Icon_ZeroBars"]="Signal Meter With No Filled Bars";l["Icon_ZeroFilledBoxes"]="Zero Filled Boxes";l["InvalidCommand_MixedSelection_Message"]="That command cannot be used with selections that contain a mix of entire rows/columns with other cells. Try selecting only entire rows, only entire columns or just groups of cells.";l["InvalidCommand_MultipleSelection_Message"]="That command cannot be used with multiple selections.\r\nSelect a single range and invoke the command again.";l["InvalidCommand_OverlappingSelection_Message"]="Cannot use that command on overlapping selections.";l["InvalidCommand_TableChangeWithMultipleSheetSelection_Message"]="Cannot make changes to a table when multiple sheets are selected.";l["InvalidDateTimeToolTip"]="Dates and times that are negative or too large display as #####.";l["InvalidNameBoxValue_Message"]="You must enter a valid reference you want to go to or type a valid name for the selection.";l["LE_MissingTemplatePart"]="A template part with a name of '{0}' and type '{1}' is required in the '{2}' template.";l["MenuItem_AllDatesInPeriod"]="All Dates in the _Period";l["MenuItem_AutoFit_Columns"]="_AutoFit Column Width";l["MenuItem_AutoFit_Rows"]="_AutoFit Row Height";l["MenuItem_Automatic"]="Automatic";l["MenuItem_ClearContents"]="Clear Co_ntents";l["MenuItem_ClearFilterEmpty"]="Cl_ear Filter";l["MenuItem_ClearFilterForColumn"]='Cl_ear Filter From "{0}"';l["MenuItem_ColorValue"]="RGB({0}, {1}, {2})";l["MenuItem_ConvertTableToRange"]="Con_vert to Range";l["MenuItem_Copy"]="_Copy";l["MenuItem_Cut"]="Cu_t";l["MenuItem_DateFilters"]="Date _Filters";l["MenuItem_Delete"]="_Delete";l["MenuItem_DeleteCells"]="_Delete";l["MenuItem_DeleteCells_Column"]="Entire _column";l["MenuItem_DeleteCells_DeleteTableColumns"]="Table _Columns";l["MenuItem_DeleteCells_DeleteTableRows"]="Table _Rows";l["MenuItem_DeleteCells_Row"]="Entire _row";l["MenuItem_DeleteCells_ShiftLeft"]="Shift cells _left";l["MenuItem_DeleteCells_ShiftUp"]="Shift cells _up";l["MenuItem_DeleteWorksheets"]="_Delete";l["MenuItem_Filter"]="Filt_er";l["MenuItem_Filter_AboveAverage"]="_Above Average";l["MenuItem_Filter_After"]="_After...";l["MenuItem_Filter_Before"]="_Before...";l["MenuItem_Filter_BeginsWith"]="Begins W_ith...";l["MenuItem_Filter_BelowAverage"]="Bel_ow Average";l["MenuItem_Filter_Between"]="Bet_ween...";l["MenuItem_Filter_Contains"]="Cont_ains...";l["MenuItem_Filter_Custom"]="Custom _Filter...";l["MenuItem_Filter_Day_Current"]="T_oday";l["MenuItem_Filter_Day_Next"]="_Tomorrow";l["MenuItem_Filter_Day_Previous"]="Yester_day";l["MenuItem_Filter_DoesNotContain"]="_Does Not Contain...";l["MenuItem_Filter_EndsWith"]="Ends Wi_th...";l["MenuItem_Filter_Equals"]="Equals...";l["MenuItem_Filter_GreaterThan"]="_Greater Than...";l["MenuItem_Filter_GreaterThanOrEqual"]="Greater Than _Or Equal To...";l["MenuItem_Filter_LessThan"]="_Less Than...";l["MenuItem_Filter_LessThanOrEqual"]="Less Than Or E_qual To...";l["MenuItem_Filter_Month_Current"]="Thi_s Month";l["MenuItem_Filter_Month_Next"]="Next _Month";l["MenuItem_Filter_Month_Previous"]="Last Mo_nth";l["MenuItem_Filter_NotEqual"]="Does _Not Equal...";l["MenuItem_Filter_Quarter_Current"]="This Q_uarter";l["MenuItem_Filter_Quarter_Next"]="Next _Quarter";l["MenuItem_Filter_Quarter_Previous"]="Last Qua_rter";l["MenuItem_Filter_QuarterNumber"]="Quarter _{0}";l["MenuItem_Filter_Top10"]="_Top 10...";l["MenuItem_Filter_Week_Current"]="T_his Week";l["MenuItem_Filter_Week_Next"]="Next Wee_k";l["MenuItem_Filter_Week_Previous"]="_Last Week";l["MenuItem_Filter_Year_Current"]="Th_is Year";l["MenuItem_Filter_Year_Next"]="Ne_xt Year";l["MenuItem_Filter_Year_Previous"]="Last _Year";l["MenuItem_Filter_YearToDate"]="Year to D_ate";l["MenuItem_FilterByCellColor"]="Filter by _Cell Color";l["MenuItem_FilterByCellFontColor"]="Filter by Selected Cell's _Font Color";l["MenuItem_FilterByCellIcon"]="Filter by Selected Cell's _Icon";l["MenuItem_FilterByCellValue"]="Filter by Selected Cell's _Value";l["MenuItem_FilterByColor"]="F_ilter by Color";l["MenuItem_FilterByFontColor"]="Filter by _Font Color";l["MenuItem_FilterByIcon"]="Filter by Conditional Formatting _Icon";l["MenuItem_GradientFill"]="Gradient";l["MenuItem_Hide"]="_Hide";l["MenuItem_Insert"]="_Insert";l["MenuItem_InsertCells"]="_Insert";l["MenuItem_InsertCells_AddTableColumn"]="Table Column to the _Right";l["MenuItem_InsertCells_AddTableRow"]="Table Row _Below";l["MenuItem_InsertCells_Column"]="Entire _column";l["MenuItem_InsertCells_InsertTableColumns"]="Table Columns to the _Left";l["MenuItem_InsertCells_InsertTableRows"]="Table Rows _Above";l["MenuItem_InsertCells_Row"]="Entire _row";l["MenuItem_InsertCells_ShiftDown"]="Shift cells _down";l["MenuItem_InsertCells_ShiftRight"]="Shift cells r_ight";l["MenuItem_InsertWorksheets"]="_Insert";l["MenuItem_NoFill"]="No Fill";l["MenuItem_NoIcon"]="No Icon";l["MenuItem_NumberFilters"]="Number _Filters";l["MenuItem_OpenHyperlink"]="_Open Hyperlink";l["MenuItem_Paste"]="_Paste";l["MenuItem_PickFromDropDownList"]="Pic_k From Drop-down List...";l["MenuItem_ReapplyFilter"]="_Reapply";l["MenuItem_RemoveHyperlink"]="_Remove Hyperlink";l["MenuItem_RemoveHyperlinks"]="_Remove Hyperlinks";l["MenuItem_RenameWorksheet"]="_Rename";l["MenuItem_Select"]="Se_lect";l["MenuItem_Select_SelectEntireTableColumn"]="_Entire Table Column";l["MenuItem_Select_SelectTableColumnData"]="Table _Column Data";l["MenuItem_Select_SelectTableRow"]="Table _Row";l["MenuItem_SelectAllWorksheets"]="_Select All Sheets";l["MenuItem_ShowFormatCellsDialog"]="_Format Cells...";l["MenuItem_Sort"]="S_ort";l["MenuItem_Sort_Custom"]="C_ustom Sort...";l["MenuItem_SortAscending_Date"]="_Sort Oldest to Newest";l["MenuItem_SortAscending_Number"]="_Sort Smallest to Largest";l["MenuItem_SortAscending_Text"]="_Sort A to Z";l["MenuItem_SortByCellColor"]="Put Selected _Cell Color On Top";l["MenuItem_SortByCellColorHeader"]="Sort by _Cell Color";l["MenuItem_SortByCellFontColor"]="Put Selected _Font Color On Top";l["MenuItem_SortByCellIcon"]="Put Selected _Icon On Top";l["MenuItem_SortByColor"]="Sor_t by Color";l["MenuItem_SortByFontColor"]="Sort by _Font Color";l["MenuItem_SortByIcon"]="Sort by Conditional Formatting _Icon";l["MenuItem_SortDescending_Date"]="S_ort Newest to Oldest";l["MenuItem_SortDescending_Number"]="S_ort Largest to Smallest";l["MenuItem_SortDescending_Text"]="S_ort Z to A";l["MenuItem_Table"]="Ta_ble";l["MenuItem_TextFilters"]="Text _Filters";l["MenuItem_ToggleTableTotalRow"]="_Totals Row";l["MenuItem_Unhide"]="_Unhide";l["MenuItem_UnselectWorksheets"]="_Ungroup Sheets";l["NewSheetName"]="Sheet{0}";l["PasteError_CellRangeSize_Message"]="The paste operation cannot be performed because the copy area and paste area are not the same size.\r\nTry one of the following:\r\n* Click one cell, then paste\r\n* Select a rectangle that's the same size, then paste.";l["PasteError_General_Message"]="An error occurred during the paste operation:\r\n{0}";l["PasteError_IntersectsMergedCells_Message"]="The paste operation cannot be performed because the paste area intersects with a merged cell.";l["PasteError_InvalidSelectedSheetCount_Message"]="The paste operation cannot be performed because the number of worksheets in the copy and paste areas are not the same size.";l["PasteError_InvalidSourceRanges_Message"]="The paste operation cannot be performed on the copy areas provided.";l["PasteError_MultipleSheetTables_Message"]="The paste operation cannot be performed because the source had multiple worksheets and there are tables in the source selection.";l["PasteError_MultipleSourceAndTargetRanges_Message"]="The paste operation cannot be performed because there are multiple selections in the source and target worksheets.";l["SheetNameError_Message_Invalid"]="You entered an invalid name '{0}' for the sheet. Make sure that:\r\n* The name is not blank.\r\n* There are no more than 31 characters in the name.\r\n* The name does not start or end with a single quote (').\r\n* The name does not contain any of the following characters: : \\ / ? * [ ]";l["SheetNameError_Message_NameIsUsed"]="A worksheet with the name '{0}' already exists in the workbook.";l["SortDialog_AddLevel"]="_Add Level";l["SortDialog_Cancel"]="Cancel";l["SortDialog_CellFill_Gradient"]="Gradient";l["SortDialog_CellFill_NoColor"]="No Color";l["SortDialog_Color_RGB"]="RGB ({0}, {1}, {2})";l["SortDialog_Column_ColumnHeader"]="Column";l["SortDialog_ColumnName"]="Column {0}";l["SortDialog_ConditionalFormatIcon_NoCellIcon"]="No Cell Icon";l["SortDialog_CopyLevel"]="_Copy Level";l["SortDialog_DeleteLevel"]="_Delete Level";l["SortDialog_MoveDown"]="Move Down";l["SortDialog_MoveUp"]="Move Up";l["SortDialog_MyDataHasHeaders"]="My data has _headers";l["SortDialog_OK"]="OK";l["SortDialog_Options"]="_Options...";l["SortDialog_Order_ColumnHeader"]="Order";l["SortDialog_Row_ColumnHeader"]="Row";l["SortDialog_RowName"]="Row {0}";l["SortDialog_SortBy_Label"]="Sort By";l["SortDialog_SortConditionError_DuplicateItemSorted"]="Duplicate sort conditions detected.";l["SortDialog_SortConditionError_FieldCannotBeNull"]="Sort condition field: '{0}' cannot be null";l["SortDialog_SortDirection_CustomList"]="Custom List...";l["SortDialog_SortDirection_Date_Ascending"]="Oldest to Newest";l["SortDialog_SortDirection_Date_Descending"]="Newest to Oldest";l["SortDialog_SortDirection_Number_Ascending"]="Smallest to Largest";l["SortDialog_SortDirection_Number_Descending"]="Largest to Smallest";l["SortDialog_SortDirection_Text_Ascending"]="A to Z";l["SortDialog_SortDirection_Text_Descending"]="Z to A";l["SortDialog_SortDirectionLeftOrRight_Ascending"]="On Left";l["SortDialog_SortDirectionLeftOrRight_Descending"]="On Right";l["SortDialog_SortDirectionTopOrBottom_Ascending"]="On Top";l["SortDialog_SortDirectionTopOrBottom_Descending"]="On Bottom";l["SortDialog_SortOn_ColumnHeader"]="Sort On";l["SortDialog_Text_Automatic"]="Automatic";l["SortDialog_ThenBy_Label"]="Then By";l["SortDialog_Title"]="Sort";l["SortOptionsDialog_Cancel"]="Cancel";l["SortOptionsDialog_CaseSensitive"]="_Case sensitive";l["SortOptionsDialog_OK"]="OK";l["SortOptionsDialog_Orientation"]="Orientation";l["SortOptionsDialog_SortLeftToRight"]="Sort _left to right";l["SortOptionsDialog_SortTopToBottom"]="Sort _top to bottom";l["SortOptionsDialog_Title"]="Sort Options";l["SpreadsheetFontControl_ColorLabel"]="_Color:";l["SpreadsheetFontControl_FontLabel"]="_Font:";l["SpreadsheetFontControl_FontStyle_Bold"]="Bold";l["SpreadsheetFontControl_FontStyle_BoldItalic"]="Bold Italic";l["SpreadsheetFontControl_FontStyle_Italic"]="Italic";l["SpreadsheetFontControl_FontStyle_Regular"]="Regular";l["SpreadsheetFontControl_FontStyleLabel"]="F_ont style:";l["SpreadsheetFontControl_NormalFontLabel"]="_Normal font";l["SpreadsheetFontControl_SizeLabel"]="_Size:";l["SpreadsheetFontControl_StrikethroughLabel"]="Stri_kethrough";l["SpreadsheetFontControl_SubscriptLabel"]="Su_bscript";l["SpreadsheetFontControl_SuperscriptLabel"]="Su_perscript";l["SpreadsheetFontControl_Text_Automatic"]="Automatic";l["SpreadsheetFontControl_Text_Effects"]="Effects";l["SpreadsheetFontControl_Text_NoColor"]="No Color";l["SpreadsheetFontControl_Text_Preview"]="Preview";l["SpreadsheetFontControl_UnderlineLabel"]="_Underline:";l["SpreadsheetSortDialogConditionTypes_CustomListSortCondition_DisplayText"]="Custom List";l["SpreadsheetSortDialogConditionTypes_FillSortCondition_DisplayText"]="Cell Color";l["SpreadsheetSortDialogConditionTypes_FontColorSortCondition_DisplayText"]="Font Color";l["SpreadsheetSortDialogConditionTypes_IconSortCondition_DisplayText"]="Conditional Formatting Icon";l["SpreadsheetSortDialogConditionTypes_OrderedSortCondition_DisplayText"]="Cell Values";l["SpreadsheetThemeColorPickerControl_Text_Automatic"]="Automatic";l["SpreadsheetThemeColorPickerControl_Text_NoColor"]="No Color";l["SpreadsheetThemeColorPickerControl_Text_StandardColors"]="Standard Colors";l["SpreadsheetThemeColorPickerControl_Text_ThemeColors"]="Theme Colors";l["ToolTip_FormulaBarCancelButton"]="Cancel";l["ToolTip_FormulaBarEnterButton"]="Enter";l["ToolTip_FormulaBarNameBox"]="Name Box";l["ToolTip_FormulaBarTextEditor"]="Formula Bar";l["TopOrBottomDialog_Cancel"]="Cancel";l["TopOrBottomDialog_OK"]="OK";l["TopOrBottomDialog_Show"]="Show";l["TopOrBottomDialog_Title"]="Top 10 AutoFilter";l["TotalRow_Average"]="Average";l["TotalRow_Count"]="Count";l["TotalRow_CountNumbers"]="Count Numbers";l["TotalRow_Max"]="Max";l["TotalRow_Min"]="Min";l["TotalRow_None"]="None";l["TotalRow_StdDev"]="StdDev";l["TotalRow_Sum"]="Sum";l["TotalRow_Var"]="Var";l["Undo_AddTableColumn"]="Add Table Column";l["Undo_AddTableRow"]="Add Table Row";l["Undo_AutoFilterOff"]="AutoFilter Off";l["Undo_AutoFilterOn"]="AutoFilter On";l["Undo_Bold"]="Bold";l["Undo_Borders"]="Borders";l["Undo_BottomAlignment"]="Bottom Alignment";l["Undo_CenterAlignment"]="Center Alignment";l["Undo_ChangeTotalRowFormula"]="Change Total Row Formula";l["Undo_ChartAdd"]="Insert Chart";l["Undo_ChartModify"]="Modify Chart";l["Undo_ChartRemove"]="Remove Chart";l["Undo_ClearCellContents"]="Clear {0}";l["Undo_ClearCellFormats"]="Clear";l["Undo_ClearHyperlinks"]="Clear Hyperlinks";l["Undo_ClearShapes"]="Clear Shapes";l["Undo_ClearTables"]="Clear Tables";l["Undo_ConditionalFormat"]="Conditional Formatting";l["Undo_ConvertTableToRange"]="Convert Table to Range";l["Undo_CreateNamedReference"]="Define Name";l["Undo_CreateTable"]="Create Table";l["Undo_Cut"]="Cut";l["Undo_Delete"]="Delete";l["Undo_DeleteTableColumn"]="Delete Column";
l["Undo_DeleteTableRow"]="Delete Row";l["Undo_EditCell"]="Typing '{1}' in {0}";l["Undo_Entry"]="Entry";l["Undo_Filter"]="Filter";l["Undo_Font"]="Font";l["Undo_FontSize"]="Font Size";l["Undo_FormatCells"]="Format Cells";l["Undo_Group"]="Group";l["Undo_Hyperlink"]="Hyperlink";l["Undo_InsertCells"]="Insert Cells";l["Undo_InsertColumns"]="Insert Columns";l["Undo_InsertRows"]="Insert Rows";l["Undo_InsertTableColumns"]="Insert Columns";l["Undo_InsertTableRows"]="Insert Rows";l["Undo_Italic"]="Italic";l["Undo_JustifyAlignment"]="Justify Alignment";l["Undo_LeftAlignment"]="Left Alignment";l["Undo_MergeCells"]="Merge Cells";l["Undo_MiddleAlignment"]="Center Vertically Alignment";l["Undo_Paste"]="Paste";l["Undo_Reapply"]="Reapply";l["Undo_RemoveHyperlinks"]="Remove Hyperlinks";l["Undo_RemoveTable"]="Remove Table";l["Undo_ResetOptions"]="Reset Options";l["Undo_ResizeColumn"]="Column Width";l["Undo_ResizeRow"]="Row Height";l["Undo_RightAlignment"]="Right Alignment";l["Undo_Shape"]="Shape";l["Undo_ShapeAdd"]="Insert Shape";l["Undo_ShapeRemove"]="Remove Shape";l["Undo_ShowAll"]="Show All";l["Undo_Sort"]="Sort";l["Undo_SparklineAdd"]="Insert Sparkline";l["Undo_SparklineColorChange"]="Sparkline Color Change";l["Undo_SparklineDataChange"]="Sparkline Data Change";l["Undo_SparklineRemove"]="Clear Sparklines";l["Undo_SparklineStyleChange"]="Sparkline Style Change";l["Undo_SparklineTypeChange"]="Sparkline Type Change";l["Undo_Strikethrough"]="Strikethrough";l["Undo_Style"]="Style";l["Undo_TabColor"]="Tab Color";l["Undo_TableAutoExpansion"]="Table AutoExpansion";l["Undo_ToggleTotalRow"]="Toggle Total Row";l["Undo_TopAlignment"]="Top Alignment";l["Undo_Underline"]="Underline";l["Undo_View"]="View Change";l["Undo_WrapText"]="Wrap Text";l["Undo_Zoom"]="Zoom";l["VerticalCellAlignment_Bottom"]="Bottom";l["VerticalCellAlignment_Center"]="Center";l["VerticalCellAlignment_Default"]="Default";l["VerticalCellAlignment_Distributed"]="Distributed";l["VerticalCellAlignment_Justify"]="Justify";l["VerticalCellAlignment_Top"]="Top";$.ig.spreadsheet=$.ig.spreadsheet||{};$.ig.spreadsheet.locale=$.ig.spreadsheet.locale||l;return l})($);/*!@license
* Infragistics.Web.ClientUI templating localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.Templating=$.ig.Templating||{};$.ig.locale.en.Templating={undefinedArgument:"An error has occurred while trying to retrieve data source property: "};$.ig.Templating.locale=$.ig.Templating.locale||$.ig.locale.en.Templating;return $.ig.locale.en.Templating})($);/*!@license
* Infragistics.Web.ClientUI Barcode localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.Barcode=$.ig.Barcode||{};$.ig.locale.en.Barcode={aILength:"The AI should have at least 2 digits.",badFormedUCCValue:"The Data property value of the UCC barcode is not well formed. It should look like (AI)GTIN.",code39_NonNumericError:"The character '{0}' is invalid for CODE39 Data property value. The valid ones are: {1}",countryError:"Error converting Country property value code. It should be a numeric value.",emptyValueMsg:"The Data property value is empty.",encodingError:"Error in the convertion. Refer to the documentation for the valid property values.",errorMessageText:"Invalid value! Reference the documentation for the valid barcode Data property value structure.",gS1ExMaxAlphanumNumber:"The GS1 DataBar Expanded family can encode up to 41 alphanumeric characters.",gS1ExMaxNumericNumber:"The GS1 DataBar Expanded family can encode up to 74 numeric characters.",gS1Length:"The GS1 DataBar Data property value is used for GTIN - 8, 12, 13, 14 and its length should be 7, 11, 12 or 13. The last digit is reserved for a check sum.",gS1LimitedFirstChar:"GS1 DataBar Limited barcode should have 0 or 1 in the first digit. When encoding GTIN-14 data with an Indicator value greater than 1, Omnidirectional, Stacked, Stacked Omnidirectional or Truncated barcode type must be used.",i25Length:"The Interleaved2of5 barcode should have even number of digits. You can put 0 in the front of it if they are odd number.",intelligentMailLength:"The length of the Intelligent Mail barcode Data property value should be 20, 25, 29 or 31 characters - 20 digits track code (2 for barcode identifier, 3 for service type identifier, 6 or 9 for mailer identifier and 9 or 6 for serial number) and 0, 5, 9 or 11 zip code symbols.",intelligentMailSecondDigit:"The second digit should be in the range of 0-4.",invalidAI:"Invalid Application Identifier element strings. Please, ensure that the AI string in the Data property value is well formed.",invalidCharacter:"The character '{0}' is invalid for the current barcode type. The valid ones are: {1}",invalidDimension:"The barcode dimension cannot be determined because of an incorrect combination of Stretch, BarsFillMode and XDimension property values.",invalidHeight:"This number of barcode grid rows ({0}) cannot fit in such a height ({1} pixel(s)).",invalidLength:"The barcode Data property value should have {0} digit(s).",invalidPostalCode:"Invalid PostalCode value - Mode 2 encodes up to 9 digits postal code (U.S. zip code) while Mode 3 encodes up to 6 characters alpha-numeric code.",invalidPropertyValue:"The {0} property value should be in the range of {1}-{2}.",invalidVersion:"The SizeVersion propery value number does not generate enough cells to encode the data with the current encoding mode and error correction level.",invalidWidth:"This number of barcode grid columns ({0}) cannot fit in such a width ({1} pixel(s)). Check the XDimension or/and the WidthToHeightRatio property values.",invalidXDimensionValue:"The XDimension property value should be in the range of {0} to {1} for the current barcode type.",maxLength:"The length {0} of the text exceeds the maximum encodable for the current type of barcode. It could encode max {1} characters.",notSupportedEncoding:"The encoding corresponding under the {0} {1} is not supported.",pDF417InvalidRowsColumnsCombination:"The codewords (data & error correction) are more than can be encoded in symbol with a matrix {0}x{1}.",primaryMessageError:"Cannot extract the primary message from the Data property value. Refer to the documentation for its structure.",serviceClassError:"Error converting service class. It should be a numeric value.",smallSize:"Cannot fit the grid in Size({0}, {1}) with the defined Stretch settings.",unencodableCharacter:"The character '{0}' cannot be encoded.",uPCEFirstDigit:"The first UPCE digit shall always be zero by specification.",warningString:"Barcode warning: ",wrongCompactionMode:"The Data property value cannot be compacted with {0} mode.",notLoadedEncoding:"The {0} encoding is not loaded."};$.ig.Barcode.locale=$.ig.Barcode.locale||$.ig.locale.en.Barcode;return $.ig.locale.en.Barcode})($);/*!@license
* Infragistics.Web.ClientUI Bullet Graph localization resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.BulletGraph=$.ig.BulletGraph||{};$.ig.locale.en.BulletGraph={rangeNameMissing:"Range name is missing for range: "};$.ig.BulletGraph.locale=$.ig.BulletGraph.locale||$.ig.locale.en.BulletGraph;return $.ig.locale.en.BulletGraph})($);/*!@license
* Infragistics.Web.ClientUI Combo localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.Combo=$.ig.Combo||{};$.ig.locale.en.Combo={noMatchFoundText:"No matches found",dropDownButtonTitle:"Show drop-down",clearButtonTitle:"Clear value",placeHolder:"select...",notSuported:"Operation is not supported.",errorNoSupportedTextsType:"A different filtering text is required. Provide a value that is either a string or an array of strings.",errorUnrecognizedHighlightMatchesMode:"A different highlight matches mode is required. Choose a value between 'multi', 'contains', 'startsWith', 'full' and 'null'.",errorIncorrectGroupingKey:"Grouping key is not correct."};$.ig.Combo.locale=$.ig.Combo.locale||$.ig.locale.en.Combo;return $.ig.locale.en.Combo})($);/*!@license
* Infragistics.Web.ClientUI Dialog localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.Dialog=$.ig.Dialog||{};$.ig.locale.en.Dialog={closeButtonTitle:"Close",minimizeButtonTitle:"Minimize",maximizeButtonTitle:"Maximize",pinButtonTitle:"Pin",unpinButtonTitle:"Unpin",restoreButtonTitle:"Restore",setOptionError:"Runtime changes are not allowed for the following option: "};$.ig.Dialog.locale=$.ig.Dialog.locale||$.ig.locale.en.Dialog;return $.ig.locale.en.Dialog})($);/*!@license
* Infragistics.Web.ClientUI Doughnut Chart localization resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.igDoughnutChart=$.ig.igDoughnutChart||{};$.ig.locale.en.igDoughnutChart={invalidBaseElement:" is not supported as base element. Use DIV instead."};$.ig.igDoughnutChart.locale=$.ig.igDoughnutChart.locale||$.ig.locale.en.igDoughnutChart;return $.ig.locale.en.igDoughnutChart})($);/*!@license
* Infragistics.Web.ClientUI Editors localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.Editor=$.ig.Editor||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.Editor={spinUpperTitle:"Increment",spinLowerTitle:"Decrement",buttonTitle:"Show list",clearTitle:"Clear value",ariaTextEditorFieldLabel:"Text Editor",ariaNumericEditorFieldLabel:"Numeric Editor",ariaCurrencyEditorFieldLabel:"Currency Editor",ariaPercentEditorFieldLabel:"Percent Editor",ariaMaskEditorFieldLabel:"Mask Editor",ariaDateEditorFieldLabel:"Date Editor",ariaDatePickerFieldLabel:"Date Picker",ariaTimePickerFieldLabel:"Time Picker",ariaSpinUpButton:"Spin up",ariaSpinDownButton:"Spin down",ariaDropDownButton:"Drop down",ariaClearButton:"Clear",ariaCalendarButton:"Calendar",datePickerButtonTitle:"Show calendar",updateModeUnsupportedValue:'updateMode requires a different configuration. Choose a value between "onChange" and "immediate".',updateModeNotSupported:'updateMode property supports only "onchange" mode for igMaskEditor, igDateEditor and igDatePicker extensions',renderErrMsg:"A base editor cannot be instantiated directly. Try with a text, numeric, date, or other editor.",multilineErrMsg:'textArea requires a different configuration. The textMode should be set to "multiline".',targetNotSupported:"This target element is not supported.",placeHolderNotSupported:"The placeholder attribute is not supported by your browser.",allowedValuesMsg:"Pick a value from the drop-down list",maxLengthErrMsg:"Entry is too long and was trimmed to {0} symbols",maxLengthWarningMsg:"Entry reached the maximum length of {0} for this field",minLengthErrMsg:"At least {0} characters should be entered",maxValErrMsg:"Entry reached the maximum value of {0} for this field",minValErrMsg:"Entry reached the minimum value of {0} for this field",maxValExceedRevertErrMsg:"Entry exceeded the maximum value of {0} and was reverted to previous one",minValExceedRevertErrMsg:"Entry was less than the minimum value of {0} and was reverted to previous one",maxValExceedSetErrMsg:"Entry exceeded the maximum value of {0} and was set to the maximum value",minValExceedSetErrMsg:"Entry was less than the minimum value of {0} and was set to the minimum value",maxValExceededWrappedAroundErrMsg:"Entry exceeded the maximum value of {0} and was set to the minimum allowed one",minValExceededWrappedAroundErrMsg:"Entry was less than the minimum value of {0} and was set to the maximum allowed one",btnValueNotSupported:'A different button value is required. Choose a value between "dropdown", "clear" and "spin".',scientificFormatErrMsg:'A different scientificFormat is required. Choose a value between "E", "e", "E+" and "e+".',spinDeltaIsOfTypeNumber:"A different type of spinDelta is required. A positive number should be entered.",spinDeltaIsOfTypeNumberForPeriod:"A different type of spinDelta is required for the {0}. A positive number between {1} and {2} should be entered.",spinDeltaIsOfTypeNumberOrObject:"A different type of spinDelta is required. A positive number or an object, defining different time period deltas, should be entered.",spinDeltaShouldBeInRange:"The spinDelta option for {0} should be between {1} and {2}",spinDeltaCouldntBeNegative:"The spinDelta option cannot be negative. A positive number should be entered.",spinDeltaContainsExceedsMaxDecimals:"Maximum allowed fractions for spinDelta are set to {0}. Either change MaxDecimals or try to shrink your value.",spinDeltaIncorrectFloatingPoint:'A floating point spinDelta requires a different configuration. Set the dataMode of the editor to either "double" or "float" or set spinDelta to integer.',numericEditorNoSuchMethod:"The numeric editor does not support this method.",numericEditorNoSuchOption:"The numeric editor does not support this option.",displayFactorIsOfTypeNumber:"displayFactor requires a different value. Its value should be set to 1 or 100 as a number.",displayFactorAllowedValue:"displayFactor requires a different value. Its value should be set to 1 or 100 as a number.",instantiateCheckBoxErrMsg:"igCheckboxEditor requires a different element. Use INPUT, SPAN or DIV element.",cannotParseNonBoolValue:"igCheckboxEditor requires a different value. A boolean value should be provided.",cannotSetNonBoolValue:"igCheckboxEditor requires a different value. A boolean value should be provided.",maskEditorNoSuchMethod:"The mask editor does not support this method.",datePickerEditorNoSuchMethod:"The date editor does not support this method.",datePickerNoSuchMethodDropDownContainer:"The date editor does not support this method. Use 'getCalendar' one instead.",buttonTypeIsDropDownOnly:"Datepicker allows only dropdown and clear values for the buttonType option.",dateEditorOffsetRange:"The displayTimeOffset option should be between -720 and 840, which represents the offset in minutes, according to the UTC, of all the timezones from the westernmost (\u221212:00) to the easternmost (+14:00).",setOptionError:"Runtime changes are not allowed for the following option: ",invalidDate:"Invalid date",maskMessage:"All required positions should be filled",maskRevertMessage:"All required positions should be filled, that is why the value was reverted to the last valid one.",dateMessage:"A valid date should be entered",centuryThresholdValidValues:"centuryThreshold property shoud be between 0 and 99.",noListItemsNoButton:"No spin or dropdown button is rendered because there are no listitems.",decimalNumber:"When dataMode is '{0}', the {1} option can accept numeric values between 0 and {2}.",decimalSeparatorErrorMsg:"The decimalSeparator option requires a different value. Its value should be a single character.",decimalSeparatorEqualsGroupSeparatorErrorMsg:"The groupSeparator and the decimalSeparator options can not have equal values.",timePickerNoSuchMethod:"The time picker does not support this method."};$.ig.Editor.locale=$.ig.Editor.locale||$.ig.locale.en.Editor;return $.ig.locale.en.Editor})($);/*!@license
* Infragistics.Web.ClientUI Grid localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.Grid=$.ig.Grid||{};$.ig.locale.en.Grid={noSuchWidget:"{featureName} was not recognized. Verify that such a feature exists and the spelling is correct.",autoGenerateColumnsNoRecords:"autoGenerateColumns is enabled, but there are no records in the data source. Load a data source with records to be able to determine the columns.",optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",optionChangeNotScrollingGrid:"{optionName} cannot be edited after initialization because your grid initially does not scroll and full re-rendering will be required. This option should be set during initialization.",widthChangeFromPixelsToPercentagesNotSupported:"Cannot change dynamically option width of the grid from pixels to percentages.",widthChangeFromPercentagesToPixelsNotSupported:"Cannot change dynamically option width of the grid from percentages to pixels.",noPrimaryKeyDefined:"There is no primary key defined for the grid. Define a primary key in order to use features such as Grid Editing.",indexOutOfRange:"The specified row index is out of range. A row index between 0 and {max} should be provided.",noSuchColumnDefined:"The specified column key is not valid. A column key that matches the key of one of the defined grid columns should be provided.",columnIndexOutOfRange:"The specified column index is out of range. A column index between 0 and {max} should be provided.",recordNotFound:"A record with id {id} could not be found in the data view. Verify the id used for the search and adjust it if necessary.",columnNotFound:"A column with key {key} could not be found. Verify the key used for the search and adjust it if necessary.",colPrefix:"Column ",columnVirtualizationRequiresWidth:"Virtualization and columnVirtualization require the width of the grid or its columns to be set. Provide a value for the grid width, defaultColumnWidth or the width of each column.",virtualizationRequiresHeight:"Virtualization requires the height of the grid to be set. A value for the grid height should be provided.",colVirtualizationDenied:"columnVirtualization requires a different virtualizationMode setting. The virtualizationMode should be set to 'fixed'.",noColumnsButAutoGenerateTrue:"autoGenerateColumns is disabled and no columns are defined for the grid. Either enable autoGenerateColumns or manually specify the columns.",expandTooltip:"Expand Row",collapseTooltip:"Collapse Row",movingNotAllowedOrIncompatible:"The specified column could not be moved. Verify that such a column exists and its end position would not break the column layout.",allColumnsHiddenOnInitialization:"All columns cannot be hidden during initialization. At least one column should be configured as visible.",virtualizationNotSupportedWithAutoSizeCols:"Virtualization requires a different column width configuration than '*'. The column width should be set as a number in pixels.",columnVirtualizationNotSupportedWithPercentageWidth:"Column virtualization requires a different grid width configuration. The column width should be set as a number in pixels.",mixedWidthsNotSupported:"All columns are required to have their width set the same way. Set all column widths either as percentages or as number in pixels.",multiRowLayoutColumnError:"The column with key: {key1} could not be added to Multi-Row Layout because its place in the layout has already been taken by the column with key: {key2} .",multiRowLayoutNotComplete:"The Multi-Row Layout is not complete. The column definition creates a layout that has empty spaces and cannot be rendered correctly.",multiRowLayoutMixedWidths:"Mixed widths (percentage and pixels) are not supported in the Multi-Row Layout. Please define all column widths in either pixels or percentage. ",multiRowLayoutHidingNotSupported:"The Multi-Row Layout does not support hidden columns. Please remove hidden columns from the column definitions.",scrollableGridAreaNotVisible:"Fixed header and footer areas are larger than the available grid height. The scrollable area is not visible.Please set a larger grid height.",featureNotSupportedWithMRL:"{featureName} is not supported with Multi-Row Layout. Please remove the feature from the features' list.",editorTypeCannotBeDetermined:"Updating did not have enough information to properly determine the type of editor to use for column: "};$.ig.HierarchicalGrid=$.ig.HierarchicalGrid||{};$.ig.locale.en.HierarchicalGrid={noPrimaryKey:"igHierarchicalGrid requires a primary key to be defined. A primary key should be provided.",expandTooltip:"Expand Row",collapseTooltip:"Collapse Row"};$.ig.GridFeatureChooser=$.ig.GridFeatureChooser||{};$.ig.locale.en.GridFeatureChooser={featureChooserTooltip:"Feature chooser"};$.ig.GridFiltering=$.ig.GridFiltering||{};$.ig.locale.en.GridFiltering={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",startsWithNullText:"Starts with...",endsWithNullText:"Ends with...",containsNullText:"Contains...",doesNotContainNullText:"Does not contain...",equalsNullText:"Equals...",doesNotEqualNullText:"Does not equal...",greaterThanNullText:"Greater than...",lessThanNullText:"Less than...",greaterThanOrEqualToNullText:"Greater than or equal to...",lessThanOrEqualToNullText:"Less than or equal to...",onNullText:"On...",notOnNullText:"Not on...",afterNullText:"After",beforeNullText:"Before",emptyNullText:"Empty",notEmptyNullText:"Not empty",nullNullText:"Null",notNullNullText:"Not null",emptyLabel:"Empty",notEmptyLabel:"Not empty",nullLabel:"Null",notNullLabel:"Not null",startsWithLabel:"Starts with",endsWithLabel:"Ends with",containsLabel:"Contains",doesNotContainLabel:"Does not contain",equalsLabel:"Equals",doesNotEqualLabel:"Does not equal",greaterThanLabel:"Greater than",lessThanLabel:"Less than",greaterThanOrEqualToLabel:"Greater than or equal to",lessThanOrEqualToLabel:"Less than or equal to",trueLabel:"True",falseLabel:"False",afterLabel:"After",beforeLabel:"Before",todayLabel:"Today",yesterdayLabel:"Yesterday",thisMonthLabel:"This month",lastMonthLabel:"Last month",nextMonthLabel:"Next month",thisYearLabel:"This year",lastYearLabel:"Last year",nextYearLabel:"Next year",atLabel:"At",atNullText:"At...",notAtLabel:"Not at",notAtNullText:"Not at...",atBeforeLabel:"At or before",atBeforeNullText:"At or before...",atAfterLabel:"At or after",atAfterNullText:"At or after...",clearLabel:"Clear Filter",noFilterLabel:"No",onLabel:"On",notOnLabel:"Not on",advancedButtonLabel:"Advanced",filterDialogCaptionLabel:"Advanced Filter",filterDialogConditionLabel1:"Show records matching ",filterDialogConditionLabel2:" of the following criteria",filterDialogConditionDropDownLabel:"Filtering condition",filterDialogOkLabel:"Search",filterDialogCancelLabel:"Cancel",filterDialogAnyLabel:"ANY",filterDialogAllLabel:"ALL",filterDialogAddLabel:"Add",filterDialogErrorLabel:"You reached the maximum number of filters supported.",filterDialogCloseLabel:"Close filtering dialog",filterSummaryTitleLabel:"Search results",filterSummaryTemplate:"${matches} matching records",filterDialogClearAllLabel:"Clear ALL",tooltipTemplate:"${condition} filter applied",featureChooserText:"Hide Filter",featureChooserTextHide:"Show Filter",featureChooserTextAdvancedFilter:"Advanced Filter",virtualizationSimpleFilteringNotAllowed:"Column virtualization requires a different type of filtering. Set filtering mode to 'advanced' or disable advancedModeEditorsVisible",multiRowLayoutSimpleFilteringNotAllowed:"Multi-Row Layout requires a different type of filtering. Set filtering mode to 'advanced'",featureChooserNotReferenced:"A reference to Feature Chooser is missing. Include infragistics.ui.grid.featurechooser.js in your project, use a loader or one of the combined script files.",conditionListLengthCannotBeZero:"The conditionList array in columnSettings is empty. A suitable array for the conditionList should be provided.",conditionNotValidForColumnType:"The condition '{0}' is not valid for the current configuration. It should be replaced with a condition suitable for {1} column type.",defaultConditionContainsInvalidCondition:"defaultExpression for the '{0}' column contains a condition that is not allowed. It should be replaced it with a condition suitable for {0} column type.",initialConditionIsNotInTheConditionsListArrayOrIsNotInTheDefaultConditions:"The initial condition set in the columnSettings for column '{0}' is not from the default(or custom conditions) or is not avaliable in the conditionList array set in columnSettins.Please apply a valid condition."};$.ig.GridGroupBy=$.ig.GridGroupBy||{};$.ig.locale.en.GridGroupBy={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",emptyGroupByAreaContent:"Drag a column here or {0} to Group By",emptyGroupByAreaContentSelectColumns:"select columns",emptyGroupByAreaContentSelectColumnsCaption:"select columns",expandTooltip:"Expand Grouped Row",collapseTooltip:"Collapse Grouped Row",removeButtonTooltip:"Remove Grouped Column",modalDialogCaptionButtonDesc:"Sort ascending",modalDialogCaptionButtonAsc:"Sort descending",modalDialogCaptionButtonUngroup:"Ungroup",modalDialogGroupByButtonText:"Group By",modalDialogCaptionText:"Add to Group By",modalDialogDropDownLabel:"Showing:",modalDialogClearAllButtonLabel:"Clear ALL",modalDialogRootLevelHierarchicalGrid:"Root",modalDialogDropDownButtonCaption:"Show/Hide",modalDialogButtonApplyText:"Apply",modalDialogButtonCancelText:"Cancel",fixedVirualizationNotSupported:"Group By requires another virtualization setting. The virtualizationMode should be set to 'continuous'.",summaryRowTitle:"Grouping summary row",summaryIconTitle:"Summary for {0}: {1}"};$.ig.GridHiding=$.ig.GridHiding||{};$.ig.locale.en.GridHiding={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",columnChooserDisplayText:"Column Chooser",hiddenColumnIndicatorTooltipText:"Hidden Column(s)",columnHideText:"Hide",columnChooserCaptionLabel:"Column Chooser",columnChooserCloseButtonTooltip:"Close",hideColumnIconTooltip:"Hide",featureChooserNotReferenced:"A reference to Feature Chooser is missing. Include infragistics.ui.grid.featurechooser.js in your project or use one of the combined script files.",columnChooserShowText:"Show",columnChooserHideText:"Hide",columnChooserResetButtonLabel:"Reset",columnChooserButtonApplyText:"Apply",columnChooserButtonCancelText:"Cancel"};$.ig.GridResizing=$.ig.GridResizing||{};$.ig.locale.en.GridResizing={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",noSuchVisibleColumn:"There is no visible column for the specified key. The showColumn() method should be used on the column before trying to resize it.",resizingAndFixedVirtualizationNotSupported:"Resizing columns requires a different virtualization setting. Use rowVirtualization and set the virtualizationMode to 'continuous'."};$.ig.GridPaging=$.ig.GridPaging||{};$.ig.locale.en.GridPaging={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",pageSizeDropDownLabel:"Show ",pageSizeDropDownTrailingLabel:"records",nextPageLabelText:"Next",prevPageLabelText:"Prev",firstPageLabelText:"",lastPageLabelText:"",currentPageDropDownLeadingLabel:"Pg",currentPageDropDownTrailingLabel:"of ${count}",currentPageDropDownTooltip:"Choose page index",pageSizeDropDownTooltip:"Choose number of records per page",pagerRecordsLabelTooltip:"Current records range",prevPageTooltip:"Previous page",nextPageTooltip:"Next page",firstPageTooltip:"First page",lastPageTooltip:"Last page",pageTooltipFormat:"Page ${index}",pagerRecordsLabelTemplate:"${startRecord} - ${endRecord} of ${recordCount} records",invalidPageIndex:"The specified page index is not valid. Provide a page index that is greater than or equal to 0 and less than the total number of pages."};$.ig.GridSelection=$.ig.GridSelection||{};$.ig.locale.en.GridSelection={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",persistenceImpossible:"Persisting selection requires a different configuration. The primary key option of the grid should be configured."};$.ig.GridRowSelectors=$.ig.GridRowSelectors||{};$.ig.locale.en.GridRowSelectors={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",selectionNotLoaded:"igGridSelection has not been initialized. Selection should be enabled for the grid.",columnVirtualizationEnabled:"Row Selectors require a different virtualization setting. Use rowVirtualization or set the virtualizationMode to 'continuous'.",selectedRecordsText:"You have selected ${checked} records.",deselectedRecordsText:"You have deselected ${unchecked} records.",selectAllText:"Select all ${totalRecordsCount} records",deselectAllText:"Deselect all ${totalRecordsCount} records",requireSelectionWithCheckboxes:"Selection is required when there are checkboxes enabled"};$.ig.GridSorting=$.ig.GridSorting||{};$.ig.locale.en.GridSorting={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",sortedColumnTooltip:"Sorted ${direction}",unsortedColumnTooltip:"Sort column",ascending:"ascending",descending:"descending",modalDialogSortByButtonText:"Sort by",modalDialogResetButton:"Reset",modalDialogCaptionButtonDesc:"Click to sort descending",modalDialogCaptionButtonAsc:"Click to sort ascending",modalDialogCaptionButtonUnsort:"Click to remove sorting",featureChooserText:"Sort on Multiple",modalDialogCaptionText:"Sort on Multiple",modalDialogButtonApplyText:"Apply",modalDialogButtonCancelText:"Cancel",sortingHiddenColumnNotSupport:"The specified column could not be sorted because it is hidden. Use the showColumn() method on it before trying to sort it.",featureChooserSortAsc:"Sort ascending",featureChooserSortDesc:"Sort descending"};$.ig.GridSummaries=$.ig.GridSummaries||{};$.ig.locale.en.GridSummaries={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",featureChooserText:"Hide Summaries",featureChooserTextHide:"Show Summaries",dialogButtonOKText:"OK",dialogButtonCancelText:"Cancel",emptyCellText:"",summariesHeaderButtonTooltip:"Show/Hide summaries",defaultSummaryRowDisplayLabelCount:"Count",defaultSummaryRowDisplayLabelMin:"Min",defaultSummaryRowDisplayLabelMax:"Max",defaultSummaryRowDisplayLabelSum:"Sum",defaultSummaryRowDisplayLabelAvg:"Avg",defaultSummaryRowDisplayLabelCustom:"Custom",calculateSummaryColumnKeyNotSpecified:"Column key is missing. A column key should be specified to calculate summaries.",featureChooserNotReferenced:"A reference to Feature Chooser is missing. Include infragistics.ui.grid.featurechooser.js in your project or use one of the combined script files."};$.ig.GridUpdating=$.ig.GridUpdating||{};$.ig.locale.en.GridUpdating={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",doneLabel:"Done",doneTooltip:"Stop editing and update",cancelLabel:"Cancel",cancelTooltip:"Stop editing without updating",addRowLabel:"Add new row",addRowTooltip:"Start adding a new row",deleteRowLabel:"Delete row",deleteRowTooltip:"Delete row",igTextEditorException:"It is currently not possible to update string columns in the grid. ui.igTextEditor should be loaded first.",igNumericEditorException:"It is currently not possible to update numeric columns in the grid. ui.igNumericEditor should be loaded first.",igCheckboxEditorException:"It is currently not possible to update checkbox columns in the grid. ui.igCheckboxEditor should be loaded first.",igCurrencyEditorException:"It is currently not possible to update numeric columns with currency format in the grid. ui.igCurrencyEditor should be loaded first.",igPercentEditorException:"It is currently not possible to update numeric columns with percent format in the grid. ui.igPercentEditor should be loaded first.",igDateEditorException:"It is currently not possible to update date columns in the grid. ui.igDateEditor should be loaded first.",igDatePickerException:"It is currently not possible to update date columns in the grid. ui.igDatePicker should be loaded first.",igTimePickerException:"It is currently not possible to update date columns in the grid. ui.igTimePicker should be loaded first.",igComboException:"It is currently not possible to use a combo in the grid. ui.igCombo should be loaded first.",igRatingException:"It is currently not possible to use igRating as an editor in the grid. ui.igRating should be loaded first.",igValidatorException:"It is currently not possible to support validation with the options defined in igGridUpdating. ui.igValidator should be loaded first.",noPrimaryKeyException:"In order to support update operations after a row was deleted, application should define primaryKey in options of igGrid.",hiddenColumnValidationException:"Cannot edit row which has a hidden column with enabled validation.",dataDirtyException:"Grid has pending transactions which may affect rendering of data. To prevent exception, application may enable autoCommit option of igGrid, or it should process dataDirty event of igGridUpdating and return false. While processing that event, application also may do commit() data in igGrid.",recordOrPropertyNotFoundException:"The specified record or property was not found. Verify the criteria for your search and adjust them if necessary.",rowUpdatingNotSupportedWithColumnVirtualization:'Updating with editMode: "row" requires different configuration. columnVirtualization should be disabled.',rowEditDialogCaptionLabel:"Edit row data",excelNavigationNotSupportedWithCurrentEditMode:"Excel Navigation requires a different configuration. editMode should be set to 'cell' or 'row'",columnNotFound:"The specified column key was not found in the visible columns' collection or the specified index was out of range.",rowOrColumnSpecifiedOutOfView:"Editing the specified row or column is currently not possible. It should be in view on the current page and virtualization frame.",editingInProgress:"A row or cell is currently being edited. Another updating procedure cannot start before the current editing is finished.",undefinedCellValue:"Undefined cannot be set as a cell value.",addChildTooltip:"Add a child row",multiRowGridNotSupportedWithCurrentEditMode:"When the grid has Multi-Row Layout enabled only dialog edit mode is supported.",virtualizationNotSupportedWithoutAutoCommit:" Enabling Updating and Virtualization while autoCommit is set to false is not supported. Please set the grid's autoCommit option to true."};$.ig.CellMerging=$.ig.CellMerging||{};$.ig.locale.en.CellMerging={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",mergeStrategyNotAFunction:"The mergeStrategy specified is not recognized as a valid pre-defined value or a function with this name is not found."};$.ig.ColumnMoving=$.ig.ColumnMoving||{};$.ig.locale.en.ColumnMoving={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",movingDialogButtonApplyText:"Apply",movingDialogButtonCancelText:"Cancel",movingDialogCaptionButtonDesc:"Move down",movingDialogCaptionButtonAsc:"Move up",movingDialogCaptionText:"Move Columns",movingDialogDisplayText:"Move Columns",movingDialogDropTooltipText:"Move here",movingDialogCloseButtonTitle:"Close moving dialog",dropDownMoveLeftText:"Move left",dropDownMoveRightText:"Move right",dropDownMoveFirstText:"Move first",dropDownMoveLastText:"Move last",featureChooserNotReferenced:"A reference to Feature Chooser is missing. Include infragistics.ui.grid.featurechooser.js in your project or use one of the combined script files.",movingToolTipMove:"Move",featureChooserSubmenuText:"Move To",columnVirtualizationEnabled:"Column Moving requires a different virtualization setting. Use rowVirtualization or set the virtualizationMode to 'continuous'."};$.ig.ColumnFixing=$.ig.ColumnFixing||{};$.ig.locale.en.ColumnFixing={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",headerFixButtonText:"Fix this column",headerUnfixButtonText:"Unfix this column",featureChooserTextFixedColumn:"Fix column",featureChooserTextUnfixedColumn:"Unfix column",groupByNotSupported:"Column Fixing requires a different configuration. The Group By functionality should be disabled.",virtualizationNotSupported:"Column Fixing requires a different virtualization setting. rowVirtualization should be used instead.",columnVirtualizationNotSupported:"Column Fixing requires a different virtualization setting. columnVirtualization should be disabled.",columnMovingNotSupported:"Column Fixing requires a different configuration. Column Moving should be disabled.",hidingNotSupported:"Column Fixing requires a different configuration. The Hiding functionality should be disabled.",hierarchicalGridNotSupported:"igHierarchicalGrid does not support Column Fixing. Column Fixing should be disabled.",responsiveNotSupported:"Column Fixing requires a different configuration. The Responsive functionality should be disabled.",noGridWidthNotSupported:"Column Fixing requires a different configuration. The grid width should be set either as percentages or as number in pixels.",gridHeightInPercentageNotSupported:"Column Fixing requires a different configuration. The grid height should be set in pixels.",defaultColumnWidthInPercentageNotSupported:"Column Fixing requires a different configuration. The default column width should be set as a number in pixels.",columnsWidthShouldBeSetInPixels:"Column Fixing requires a different column width setting. The width of column with key {key} should be set in pixels.",unboundColumnsNotSupported:"Column Fixing requires a different configuration. Unbound Columns should be disabled.",excelNavigationNotSupportedWithCurrentEditMode:"Excel Navigation requires a different configuration. editMode should be set to 'cell' or 'row'.",initialFixingNotApplied:"Initial fixing could not be applied for column with key: {0}. Reason: {1}",setOptionGridWidthException:"Incorrect value for option grid width. When there are fixed columns width of the visible area of unfixed column(s) should be greater that or equal to value of minimalVisibleAreaWidth.",noneError:"Your grid configuration is successful!",notValidIdentifierError:"The specified column key is not valid. Provide a column key that matches the key of one of the defined grid columns.",fixingRefusedError:"Fixing this column is not currently supported. Unfix another visible column or use the showColumn() method on any hidden unfixed column first.",fixingRefusedMinVisibleAreaWidthError:"This column cannot be fixed. Its width exceeds the available space for fixing a column in the grid.",alreadyHiddenError:"Fixing/Unfixing this column is currently not possible. The showColumn() method should be used on the column first.",alreadyUnfixedError:"This column is already unfixed.",alreadyFixedError:"This column is already fixed.",unfixingRefusedError:"Unfixing this column is currently not possible. The showColumn() method should be used on any hidden fixed column first.",targetNotFoundError:"Target column with key {key} could not be found. Verify the key used for the search and adjust it if necessary."};$.ig.GridAppendRowsOnDemand=$.ig.GridAppendRowsOnDemand||{};$.ig.locale.en.GridAppendRowsOnDemand={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",loadMoreDataButtonText:"Load more data",appendRowsOnDemandRequiresHeight:"Append Rows On Demand requires a different configuration. The grid height should be set.",groupByNotSupported:"Append Rows On Demand requires a different configuration. Group By should be disabled.",pagingNotSupported:"Append Rows On Demand requires a different configuration. Paging should be disabled.",cellMergingNotSupported:"Append Rows On Demand requires a different configuration. Cell Merging should be disabled.",virtualizationNotSupported:"Append Rows On Demand requires a different configuration. Virtualization should be disabled."};$.ig.igGridResponsive=$.ig.igGridResponsive||{};$.ig.locale.en.igGridResponsive={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",fixedVirualizationNotSupported:'The Responsive functionality requires a different virtualization setting. virtualizationMode should be set to "continuous".'};$.ig.igGridMultiColumnHeaders=$.ig.igGridMultiColumnHeaders||{};$.ig.locale.en.igGridMultiColumnHeaders={optionChangeNotSupported:"{optionName} cannot be edited after initialization. Its value should be set during initialization.",multiColumnHeadersNotSupportedWithColumnVirtualization:"Multi-column headers require a different configuration. columnVirtualization should be disabled.",cannotExpandMultiColumnHeader:"Multi-Column header exceeds the maximum allowed fixed area width and therefore cannot be expanded",atLeastOneColumnShouldBeShownWhenCollapseOrExpand:"You should have at least one column shown when you expand or collapse a multi-column header.",collapsedColumnIconTooltip:"Expand",expandedColumnIconTooltip:"Collapse"};$.ig.Grid.locale=$.ig.Grid.locale||$.ig.locale.en.Grid;$.ig.GridFiltering.locale=$.ig.GridFiltering.locale||$.ig.locale.en.GridFiltering;$.ig.GridGroupBy.locale=$.ig.GridGroupBy.locale||$.ig.locale.en.GridGroupBy;$.ig.GridHiding.locale=$.ig.GridHiding.locale||$.ig.locale.en.GridHiding;$.ig.GridResizing.locale=$.ig.GridResizing.locale||$.ig.locale.en.GridResizing;$.ig.GridPaging.locale=$.ig.GridPaging.locale||$.ig.locale.en.GridPaging;$.ig.GridSelection.locale=$.ig.GridSelection.locale||$.ig.locale.en.GridSelection;$.ig.GridRowSelectors.locale=$.ig.GridRowSelectors.locale||$.ig.locale.en.GridRowSelectors;$.ig.GridSorting.locale=$.ig.GridSorting.locale||$.ig.locale.en.GridSorting;$.ig.GridSummaries.locale=$.ig.GridSummaries.locale||$.ig.locale.en.GridSummaries;$.ig.GridUpdating.locale=$.ig.GridUpdating.locale||$.ig.locale.en.GridUpdating;$.ig.CellMerging.locale=$.ig.CellMerging.locale||$.ig.locale.en.CellMerging;$.ig.ColumnMoving.locale=$.ig.ColumnMoving.locale||$.ig.locale.en.ColumnMoving;$.ig.ColumnFixing.locale=$.ig.ColumnFixing.locale||$.ig.locale.en.ColumnFixing;$.ig.GridAppendRowsOnDemand.locale=$.ig.GridAppendRowsOnDemand.locale||$.ig.locale.en.GridAppendRowsOnDemand;$.ig.igGridResponsive.locale=$.ig.igGridResponsive.locale||$.ig.locale.en.igGridResponsive;$.ig.igGridMultiColumnHeaders.locale=$.ig.igGridMultiColumnHeaders.locale||$.ig.locale.en.igGridMultiColumnHeaders;$.ig.HierarchicalGrid.locale=$.ig.HierarchicalGrid.locale||$.ig.locale.en.HierarchicalGrid;return $.ig.locale.en})($);/*!@license
* Infragistics.Web.ClientUI HTML Editor localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.HtmlEditor=$.ig.HtmlEditor||{};$.ig.locale.en.HtmlEditor={boldButtonTitle:"Bold",italicButtonTitle:"Italic",underlineButtonTitle:"Underline",strikethroughButtonTitle:"Strikethrough",increaseFontSizeButtonTitle:"Increase Font Size",decreaseFontSizeButtonTitle:"Decrease Font Size",alignTextLeftButtonTitle:"Align Text Left",alignTextRightButtonTitle:"Align Text Right",alignTextCenterButtonTitle:"Center",justifyButtonTitle:"Justify",bulletsButtonTitle:"Bullets",numberingButtonTitle:"Numbering",decreaseIndentButtonTitle:"Decrease Indent",increaseIndentButtonTitle:"Increase Indent",insertPictureButtonTitle:"Insert Picture",fontColorButtonTitle:"Font Color",textHighlightButtonTitle:"Text Highlight Color",insertLinkButtonTitle:"Insert Hyperlink",insertTableButtonTitle:"Table",addRowButtonTitle:"Add Row",removeRowButtonTitle:"Remove Row",addColumnButtonTitle:"Add Column",removeColumnButtonTitle:"Remove Column",inserHRButtonTitle:"Insert Horizontal Rule",viewSourceButtonTitle:"View Source",cutButtonTitle:"Cut",copyButtonTitle:"Copy",pasteButtonTitle:"Paste",undoButtonTitle:"Undo",redoButtonTitle:"Redo",imageUrlDialogText:"Image URL:",imageAlternativeTextDialogText:"Alternative Text:",imageWidthDialogText:"Image Width:",imageHeihgtDialogText:"Image Height:",linkNavigateToUrlDialogText:"Navigate to URL:",linkDisplayTextDialogText:"Display Text:",linkOpenInDialogText:"Open In:",linkTargetNewWindowDialogText:"New Window",linkTargetSameWindowDialogText:"Same Window",linkTargetParentWindowDialogText:"Parent Window",linkTargetTopmostWindowDialogText:"Topmost Window",applyButtonTitle:"Apply",cancelButtonTitle:"Cancel",textToolbar:"text manipulation toolbar",formattingToolbar:"text formatting toolbar",insertObjectToolbar:"objects insertion toolbar",copyPasteToolbar:"copy/paste toolbar",fontNames:{win:[{text:"Times New Roman",value:"Times New Roman"},{text:"Arial",value:"Arial"},{text:"Arial Black",value:"Arial Black"},{text:"Helvetica",value:"Helvetica"},{text:"Comic Sans MS",value:"Comic Sans MS"},{text:"Courier New",value:"Courier New"},{text:"Georgia",value:"Georgia"},{text:"Impact",value:"Impact"},{text:"Lucida Console",value:"Lucida Console"},{text:"Lucida Sans Unicode",value:"Lucida Sans Unicode"},{text:"Palatino Linotype",value:"Palatino Linotype"},{text:"Tahoma",value:"Tahoma"},{text:"Trebuchet MS",value:"Trebuchet MS"},{text:"Verdana",value:"Verdana"},{text:"Symbol",value:"Symbol"},{text:"Webdings",value:"Webdings"},{text:"Wingdings",value:"Wingdings"},{text:"MS Sans Serif",value:"MS Sans Serif"},{text:"MS Serif",value:"MS Serif"}],mac:[{text:"Times New Roman",value:"Times New Roman"},{text:"Arial",value:"Arial"},{text:"Arial Black",value:"Arial Black"},{text:"Helvetica",value:"Helvetica"},{text:"Comic Sans MS",value:"Comic Sans MS"},{text:"Courier New",value:"Courier New"},{text:"Georgia",value:"Georgia"},{text:"Impact",value:"Impact"},{text:"Monaco",value:"Monaco"},{text:"Lucida Grande",value:"Lucida Grande"},{text:"Book Antiqua",value:"Book Antiqua"},{text:"Geneva",value:"Geneva"},{text:"Trebuchet MS",value:"Trebuchet"},{text:"Verdana",value:"Verdana"},{text:"Symbol",value:"Symbol"},{text:"Webdings",value:"Webdings"},{text:"Zapf Dingbats",value:"Zapf Dingbats"},{text:"New York",value:"New York"}]},fontSizes:[{text:"1",value:"7.5 pt"},{text:"2",value:"10 pt"},{text:"3",value:"12 pt"},{text:"4",value:"13.5 pt"},{text:"5",value:"18 pt"},{text:"6",value:"24 pt"},{text:"7",value:"36 pt"}],formatsList:[{text:"h1",value:"Heading 1"},{text:"h2",value:"Heading 2"},{text:"h3",value:"Heading 3"},{text:"h4",value:"Heading 4"},{text:"h5",value:"Heading 5"},{text:"h6",value:"Heading 6"},{text:"p",value:"Normal"}]};$.ig.HtmlEditor.locale=$.ig.HtmlEditor.locale||$.ig.locale.en.HtmlEditor;return $.ig.locale.en.HtmlEditor})($);/*!@license
* Infragistics.Web.ClientUI Linear Gauge localization resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.LinearGauge=$.ig.LinearGauge||{};$.ig.locale.en.LinearGauge={rangeNameMissing:"Range name is missing for range: "};$.ig.LinearGauge.locale=$.ig.LinearGauge.locale||$.ig.locale.en.LinearGauge;return $.ig.locale.en.LinearGauge})($);/*!@license
* Infragistics.Web.ClientUI Notifier localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.Notifier=$.ig.Notifier||{};$.ig.locale.en.Notifier={successMsg:"Success",errorMsg:"Error",warningMsg:"Warning",infoMsg:"Information",notSupportedState:"Not supported notification state! Use one of the supported states 'success', 'info', 'warning', 'error'",notSupportedMode:"Not supported notification mode! Use one of the supported modes 'auto', 'popover', 'inline'"};$.ig.Notifier.locale=$.ig.Notifier.locale||$.ig.locale.en.Notifier;return $.ig.locale.en.Notifier})($);/*!@license
* Infragistics.Web.ClientUI Pivot Shared localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.PivotShared=$.ig.PivotShared||{};$.ig.locale.en.PivotShared={invalidDataSource:"The passed data source either null or not supported.",measureList:"Measures",ok:"OK",cancel:"Cancel",addToMeasures:"Add to Measures",addToFilters:"Add to Filters",addToColumns:"Add to Columns",addToRows:"Add to Rows"};$.ig.PivotShared.locale=$.ig.PivotShared.locale||$.ig.locale.en.PivotShared;return $.ig.locale.en.PivotShared})($);/*!@license
* Infragistics.Web.ClientUI Pivot Data Selector localization renourcen 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.PivotDataSelector=$.ig.PivotDataSelector||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.PivotDataSelector={invalidBaseElement:" is not supported as base element. Use DIV instead.",catalog:"Catalog",cube:"Cube",measureGroup:"Measure Group",measureGroupAll:"(All)",rows:"Rows",columns:"Columns",measuren:"Measuren",filters:"Filters",deferUpdate:"Defer Update",updateLayout:"Update Layout",selectAll:"Select All"};$.ig.PivotDataSelector.locale=$.ig.PivotDataSelector.locale||$.ig.locale.en.PivotDataSelector;return $.ig.locale.en.PivotDataSelector})($);/*!@license
* Infragistics.Web.ClientUI Pivot Grid localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.PivotGrid=$.ig.PivotGrid||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.PivotGrid={filtersHeader:"Drop Filter Fields Here",measuresHeader:"Drop Data Items Here",rowsHeader:"Drop Row Fields Here",columnsHeader:"Drop Column Fields Here",disabledFiltersHeader:"Filter Fields",disabledMeasuresHeader:"Data Items",disabledRowsHeader:"Row Fields",disabledColumnsHeader:"Column Fields",noSuchAxis:"No such axis"};$.ig.PivotGrid.locale=$.ig.PivotGrid.locale||$.ig.locale.en.PivotGrid;return $.ig.locale.en.PivotGrid})($);/*!@license
* Infragistics.Web.ClientUI Popover localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.Popover=$.ig.Popover||{};$.ig.locale.en.Popover={popoverOptionChangeNotSupported:"Changing the following option after igPopover has been initialized is not supported:",popoverShowMethodWithoutTarget:"The target parameter of the show function is mandatory when the selectors option is used"};$.ig.Popover.locale=$.ig.Popover.locale||$.ig.locale.en.Popover;return $.ig.locale.en.Popover})($);/*!@license
* Infragistics.Web.ClientUI Radial Gauge localization resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.RadialGauge=$.ig.RadialGauge||{};$.ig.locale.en.RadialGauge={rangeNameMissing:"Range name is missing for range: "};$.ig.RadialGauge.locale=$.ig.RadialGauge.locale||$.ig.locale.en.RadialGauge;return $.ig.locale.en.RadialGauge})($);/*!@license
* Infragistics.Web.ClientUI Radial Menu localization resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.RadialMenu=$.ig.RadialMenu||{};$.ig.locale.en.RadialMenu={invalidItemKey:"Specified item key is invalid.",notSupported:"Not supported"};$.ig.RadialMenu.locale=$.ig.RadialMenu.locale||$.ig.locale.en.RadialMenu;return $.ig.locale.en.RadialMenu})($);/*!@license
* Infragistics.Web.ClientUI Rating localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.Rating=$.ig.Rating||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.Rating={setOptionError:"Runtime changes are not allowed for the following option: "};$.ig.Rating.locale=$.ig.Rating.locale||$.ig.locale.en.Rating;return $.ig.locale.en.Rating})($);/*!@license
* Infragistics.Web.ClientUI Scheduler localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.SchedulerLocale=$.ig.SchedulerLocale||{};$.ig.locale.en.SchedulerLocale={tag:"en-US",agenda:"Agenda",month:"Month",week:"Week",day:"Day",next:"Next",previous:"Previous",dateRange:"Date Range",todayButton:"Today",nonDivError:"igScheduler can be instantiated only on HTML DIV element.",createNewAppointmentDialogTitle:"Create New Appointment",editAppointmentDialogTitle:"Edit Appointment",appointmentDialogSubjectLabel:"Subject",appointmentDialogLocationLabel:"Location",appointmentDialogFromLabel:"From",appointmentDialogToLabel:"To",appointmentDialogDescriptionLabel:"Description",appointmentDialogCreateButtonLabel:"Create",appointmentDialogSaveButtonLabel:"Save",appointmentDialogCancelButtonLabel:"Cancel",appointmentDialogCreateAppointmentButtonLabel:"Create appointment",dayPopoverTitle:"Create new appointment",appointmentPopoverTitle:"Edit appointment",appointmentPopoverOpenButtonLabel:"Open appointment",appointmentPopoverDeleteButtonLabel:"Delete",deleteAppointmentDialogTitle:"Delete Appointment",deleteAppointmentDialogConfirmation:"Do you want to delete this appointment?",deleteAppointmentDialogDeleteButtonLabel:"Delete",deleteAppointmentDialogCancelButtonLabel:"Cancel",deleteOccurrenceDialogTitle:"Delete Recurring Item",deleteOccurrenceDialogText:"Do you want to delete this occurrence or the entire series?",deleteOccurrenceDialogDeleteButtonLabel:"Delete occurrence",deleteOccurrenceDialogDeleteSeriesLabel:"Delete series",deleteOccurrenceDialogCancelLabel:"Cancel",appointmentDialogResourceLabel:"Resource",invalidIntervalErrorMessage:"The end date you entered occurs before the start date.",dialogCloseButtonText:"Close",countNumericEditorLabel:"Count",recurringEventLabel:"Recurring event",frequencyComboLabel:"Frequency",dateRecurrenceFrequencyDaily:"Daily",dateRecurrenceFrequencyWeekly:"Weekly",dateRecurrenceFrequencyMonthly:"Monthly",dateRecurrenceFrequencyYearly:"Yearly",editAppointmentDialogConfirmation:"Do you want to edit this occurrence or the entire series?",editAppointmentDialogOccurrenceButtonLabel:"Edit occurrence",editAppointmentDialogSeriesButtonLabel:"Edit series",editOccurrenceDialogTitle:"Edit occurrence",editSeriesDialogTitle:"Edit series",editSeriesButtonText:"Edit Recurring item"};$.ig.SchedulerLocale.locale=$.ig.SchedulerLocale.locale||$.ig.locale.en.SchedulerLocale;return $.ig.locale.en})($);/*!@license
* Infragistics.Web.ClientUI Scroll localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.Scroll=$.ig.Scroll||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.Scroll={errorNoElementLink:"Element that is being linked does not exists.",errorNoScrollbarLink:"Scrollbar element that is being linked does not exists."};$.ig.Scroll.locale=$.ig.Scroll.locale||$.ig.locale.en.Scroll;return $.ig.locale.en.Scroll})($);/*!@license
* Infragistics.Web.ClientUI Splitter localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.Splitter=$.ig.Splitter||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.Splitter={errorPanels:"The number of panels have to be no more than two.",errorSettingOption:"Error setting option."};$.ig.Splitter.locale=$.ig.Splitter.locale||$.ig.locale.en.Splitter;return $.ig.locale.en.Splitter})($);/*!@license
* Infragistics.Web.ClientUI Tile Manager localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.TileManager=$.ig.TileManager||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.TileManager={renderDataError:"Data was not successfully retrieved or parsed.",setOptionItemsLengthError:"The length of the items configurations does not match the number of the tiles.",setOptionError:"Runtime changes are not allowed for this option."};$.ig.TileManager.locale=$.ig.TileManager.locale||$.ig.locale.en.TileManager;return $.ig.locale.en.TileManager})($);/*!@license
* Infragistics.Web.ClientUI Toolbar localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.Toolbar=$.ig.Toolbar||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.Toolbar={collapseButtonTitle:"Collapse {0}",expandButtonTitle:"Expand {0}"};$.ig.Toolbar.locale=$.ig.Toolbar.locale||$.ig.locale.en.Toolbar;return $.ig.locale.en.Toolbar})($);/*!@license
* Infragistics.Web.ClientUI Tree localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.Tree=$.ig.Tree||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.Tree={invalidArgumentType:"Invalid argument type provided.",errorOnRequest:"An error has occurred while retrieving data: ",noDataSourceUrl:"The igTree control requires a dataSourceUrl provided in order to initiate a request for data to that URL.",incorrectPath:"A node was not found at the provided path: ",incorrectNodeObject:"The provided argument is not a jQuery node element.",setOptionError:"Runtime changes are not allowed for the following option: ",moveTo:"<strong>Move to</strong> {0}",moveBetween:"<strong>Move between</strong> {0} and {1}",moveAfter:"<strong>Move after</strong> {0}",moveBefore:"<strong>Move before</strong> {0}",copyTo:"<strong>Copy to</strong> {0}",copyBetween:"<strong>Copy between</strong> {0} and {1}",copyAfter:"<strong>Copy after</strong> {0}",copyBefore:"<strong>Copy before</strong> {0}",and:"and"};$.ig.Tree.locale=$.ig.Tree.locale||$.ig.locale.en.Tree;return $.ig.locale.en.Tree})($);/*!@license
* Infragistics.Web.ClientUI Tree Grid localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.TreeGridHiding=$.ig.TreeGridHiding||{};$.ig.locale.en.TreeGridHiding=$.extend({},$.ig.locale.en.GridHiding);$.ig.TreeGridResizing=$.ig.TreeGridResizing||{};$.ig.locale.en.TreeGridResizing=$.extend({},$.ig.locale.en.GridResizing);$.ig.TreeGridSelection=$.ig.TreeGridSelection||{};$.ig.locale.en.TreeGridSelection=$.extend({},$.ig.locale.en.GridSelection);$.ig.TreeGridColumnMoving=$.ig.TreeGridColumnMoving||{};$.ig.locale.en.TreeGridColumnMoving=$.extend({},$.ig.locale.en.ColumnMoving);$.ig.TreeGridColumnFixing=$.ig.TreeGridColumnFixing||{};$.ig.locale.en.TreeGridColumnFixing=$.extend({},$.ig.locale.en.ColumnFixing);$.ig.TreeGridMultiColumnHeaders=$.ig.TreeGridMultiColumnHeaders||{};$.ig.locale.en.TreeGridMultiColumnHeaders=$.extend({},$.ig.locale.en.GridMultiColumnHeaders);$.ig.TreeGridSorting=$.ig.TreeGridSorting||{};$.ig.locale.en.TreeGridSorting=$.extend({},$.ig.locale.en.GridSorting);$.ig.TreeGridTooltips=$.ig.TreeGridTooltips||{};$.ig.locale.en.TreeGridTooltips=$.extend({},$.ig.locale.en.GridTooltips);$.ig.TreeGrid=$.ig.TreeGrid||{};$.ig.locale.en.TreeGrid=$.extend({},$.ig.locale.en.Grid,{fixedVirtualizationNotSupported:"Row Virtualization requires a different virtualizationMode setting. The virtualizationMode should be set to 'continuous'."});$.ig.TreeGridPaging=$.ig.TreeGridPaging||{};$.ig.locale.en.TreeGridPaging=$.extend({},$.ig.locale.en.GridPaging,{contextRowLoadingText:"Loading...",contextRowRootText:"Root",columnFixingWithContextRowNotSupported:"Column Fixing requires a different contextRowMode setting. contextRowMode should be set to 'none' in order to enable column fixing."});$.ig.TreeGridFiltering=$.ig.TreeGridFiltering||{};$.ig.locale.en.TreeGridFiltering=$.extend({},$.ig.locale.en.GridFiltering,{filterSummaryInPagerTemplate:"${currentPageMatches} of ${totalMatches} matching records"});$.ig.TreeGridRowSelectors=$.ig.TreeGridRowSelectors||{};$.ig.locale.en.TreeGridRowSelectors=$.extend({},$.ig.locale.en.GridRowSelectors,{multipleSelectionWithTriStateCheckboxesNotSupported:"Multiple selection requires a different checkBoxMode setting. checkBoxMode should be set to biState in order to enable multiple selection."});$.ig.TreeGridUpdating=$.ig.TreeGridUpdating||{};$.ig.locale.en.TreeGridUpdating=$.extend({},$.ig.locale.en.GridUpdating,{addChildButtonLabel:"Add a child row"});$.ig.TreeGrid.locale=$.ig.TreeGrid.locale||$.ig.locale.en.TreeGrid;$.ig.TreeGridHiding.locale=$.ig.TreeGridHiding.locale||$.ig.locale.en.TreeGridHiding;$.ig.TreeGridPaging.locale=$.ig.TreeGridPaging.locale||$.ig.locale.en.TreeGridPaging;$.ig.TreeGridResizing.locale=$.ig.TreeGridResizing.locale||$.ig.locale.en.TreeGridResizing;$.ig.TreeGridSelection.locale=$.ig.TreeGridSelection.locale||$.ig.locale.en.TreeGridSelection;$.ig.TreeGridRowSelectors.locale=$.ig.TreeGridRowSelectors.locale||$.ig.locale.en.TreeGridRowSelectors;$.ig.TreeGridSorting.locale=$.ig.TreeGridSorting.locale||$.ig.locale.en.TreeGridSorting;$.ig.TreeGridColumnMoving.locale=$.ig.TreeGridColumnMoving.locale||$.ig.locale.en.TreeGridColumnMoving;$.ig.TreeGridColumnFixing.locale=$.ig.TreeGridColumnFixing.locale||$.ig.locale.en.TreeGridColumnFixing;$.ig.TreeGridMultiColumnHeaders.locale=$.ig.TreeGridMultiColumnHeaders.locale||$.ig.locale.en.TreeGridMultiColumnHeaders;$.ig.TreeGridFiltering.locale=$.ig.TreeGridFiltering.locale||$.ig.locale.en.TreeGridFiltering;$.ig.TreeGridTooltips.locale=$.ig.TreeGridTooltips.locale||$.ig.locale.en.TreeGridTooltips;$.ig.TreeGridUpdating.locale=$.ig.TreeGridUpdating.locale||$.ig.locale.en.TreeGridUpdating;return $.ig.locale.en})($);/*!@license
* Infragistics.Web.ClientUI Upload localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.Upload=$.ig.Upload||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.Upload={labelUploadButton:"Upload File",labelAddButton:"Add",labelClearAllButton:"Clear Uploaded",labelSummaryTemplate:"{0} of {1} uploaded",labelSummaryProgressBarTemplate:"{0}/{1}",labelShowDetails:"Show Details",labelHideDetails:"Hide Details",labelSummaryProgressButtonCancel:"Cancel",labelSummaryProgressButtonContinue:"Upload",labelSummaryProgressButtonDone:"Done",labelProgressBarFileNameContinue:"...",errorMessageFileSizeExceeded:"Max file size exceeded.",errorMessageGetFileStatus:"Could not get your current file status! Probably connection dropped.",errorMessageCancelUpload:"Could not send to server command to cancel upload! Probably connection dropped.",errorMessageNoSuchFile:"The file you requested could not be found. Probably this file is too big.",errorMessageOther:"There is internal error uploading file. Error code: {0}.",errorMessageValidatingFileExtension:"File extension validation failed.",errorMessageAJAXRequestFileSize:"AJAX error while trying to get file size.",errorMessageMaxUploadedFiles:"Maximum count of uploading files exceeded.",errorMessageMaxSimultaneousFiles:"Value of maxSimultaneousFilesUploads is incorrect. It should be more than 0 or null.",errorMessageTryToRemoveNonExistingFile:"You are trying to remove non-existing file with id {0}.",errorMessageTryToStartNonExistingFile:"You are trying to start non-existing file with id {0}.",errorMessageDropMultipleFilesWhenSingleModel:"It is not allowed to drop more than 1 file when mode is single",titleUploadFileButtonInit:"Upload File",titleAddFileButton:"Add",titleCancelUploadButton:"Cancel",titleSummaryProgressButtonContinue:"Upload",titleClearUploaded:"Clear Uploaded",titleShowDetailsButton:"Show Details",titleHideDetailsButton:"Hide Details",titleSummaryProgressButtonCancel:"Cancel",titleSummaryProgressButtonDone:"Done",titleSingleUploadButtonContinue:"Upload",titleClearAllButton:"Clear Uploaded"};$.ig.Upload.locale=$.ig.Upload.locale||$.ig.locale.en.Upload;return $.ig.locale.en.Upload})($);/*!@license
* Infragistics.Web.ClientUI Validator localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.Validator=$.ig.Validator||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.Validator={defaultMessage:"This field needs attention",selectMessage:"A value should be selected",rangeSelectMessage:"At least {0} but no more than {1} items should be selected",minSelectMessage:"At least {0} item(s) should be selected",maxSelectMessage:"No more than {0} item(s) should be selected",rangeLengthMessage:"Entry should be between {0} and {1} characters long",minLengthMessage:"Entry should be at least {0} character(s) long",maxLengthMessage:"Entry should be no more than {0} character(s) long",requiredMessage:"This field is required",patternMessage:"Entry does not match the required pattern",maskMessage:"All required positions should be filled",dateFieldsMessage:"Date field values should be entered",invalidDayMessage:"A valid day of the month should be entered",dateMessage:"A valid date should be entered",numberMessage:"A valid number should be entered",rangeValueMessage:"A value between {0} and {1} should be entered",minValueMessage:"A value of at least {0} should be entered",maxValueMessage:"A value no more than {0} should be entered",emailMessage:"A valid email address should be entered",creditCardMessage:"A valid payment card number should be entered",equalToMessage:"The two values do not match",optionalString:"(optional)"};$.ig.Validator.locale=$.ig.Validator.locale||$.ig.locale.en.Validator;return $.ig.locale.en.Validator})($);/*!@license
* Infragistics.Web.ClientUI Video Player localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.VideoPlayer=$.ig.VideoPlayer||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.VideoPlayer={liveStream:"Live video",live:"Live",paused:"Paused",playing:"Playing",play:"Play",volume:"Volume",unsupportedVideoSource:"The current video sources does not contain a format that is supported by your browser.",missingVideoSource:"No compatible video source.",progressLabelLongFormat:"$currentTime$ / $duration$",progressLabelShortFormat:"$currentTime$",enterFullscreen:"Go Fullscreen",exitFullscreen:"Exit Fullscreen",skipTo:"SKIP TO",unsupportedBrowser:"The current browser does not support HTML5 video. <br/>Try upgrading to any of the following versions:",currentBrowser:"Current browser: {0}",ie9:"Microsoft Internet Explorer V 9+",chrome8:"Google Chrome V 8+",firefox36:"Mozilla Firefox V 3.6+",safari5:"Apple Safari V 5+",opera11:"Opera V 11+",ieDownload:"http://www.microsoft.com/windows/internet-explorer/default.aspx",operaDownload:"http://www.opera.com/download/",chromeDownload:"http://www.google.com/chrome",firefoxDownload:"http://www.mozilla.com/",safariDownload:"http://www.apple.com/safari/download/",buffering:"Buffering...",adMessage:"Ad: Video will resume in $duration$ seconds.",adMessageLong:"Ad: Video will resume in $duration$.",adMessageNoDuration:"Ad: Video will resume after the commercial.",adNewWindowTip:"Ad: Click to open ad content in a new window.",nonDivException:"The Infragistics HTML5 Video Player can be instantiated only on a DIV tag.",relatedVideos:"RELATED VIDEOS",replayButton:"Replay",replayTooltip:"Click to replay last video.",noCommercials:"Browser controls does not support commercials"};$.ig.VideoPlayer.locale=$.ig.VideoPlayer.locale||$.ig.locale.en.VideoPlayer;return $.ig.locale.en.VideoPlayer})($);/*!@license
* Infragistics.Web.ClientUI Zoombar localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function($){$.ig=$.ig||{};$.ig.Zoombar=$.ig.Zoombar||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.Zoombar={zoombarTargetNotSpecified:"igZoombar requires a valid target to attach to!",zoombarTypeNotSupported:"The type of widget the Zoombar is trying to attach to is not supported!",zoombarProviderNotRecognized:"igZoombar could not initialize a provider from the class specified or the value passed is not a class.",optionChangeNotSupported:"Changing the following option after the igZoombar has been created is not supported:"};$.ig.Zoombar.locale=$.ig.Zoombar.locale||$.ig.locale.en.Zoombar;return $.ig.locale.en.Zoombar})($);/*!@license
* Infragistics.Web.ClientUI infragistics.undo.js resources 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function(){$=$||{};$.ig=$.ig||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.undo=$.ig.locale.en.undo||{};var l=$.ig.locale.en.undo;l["AddItemDescription"]="Add '{1}'";l["AddItemDescriptionDetailed"]="Add '{1}'";l["AddRangeDescription"]="Add {1} {2}(s)";l["AddRangeDescriptionDetailed"]="Add {1} {2}(s)";l["FallbackTransactionDescription"]="";l["LE_AddOpenTransaction"]="Cannot add an UndoTransaction that has not been opened or is still open.";l["LE_AddTransactionDirect"]="UndoTransaction cannot be added. The RootTransaction is automatically added upon Commit.";l["LE_AddUnitWhileTransactionOpen"]="Cannot add an UndoUnit while the transaction contains a nested open transaction '{0}'.";l["LE_ArgumentIsNegative"]="The '{0}' must be 0 or greater. Actual value: '{1}'";l["LE_CannotExecuteOpenTransaction"]="Cannot invoke Execute while the transaction '{0}' is open.";l["LE_ChangeHistoryInMerge"]="Cannot alter the Undo/Redo history while a Merge is being invoked";l["LE_ChangeHistoryInRemoveAll"]="Cannot alter the Undo/Redo history while the RemoveAll is being invoked.";l["LE_ChildTransactionNotInUnits"]="The specified child transaction '{0}' is not part of the Units of this transaction.";l["LE_ClosingOtherTransaction"]="The specified transaction '{0}' is not the currently open transaction '{1}'.";l["LE_EndTransactionWhileSuspended"]="Cannot close a transaction while the UndoManager is suspended.";l["LE_EnumEnded"]="The enumerator was completed.";l["LE_EnumFailedVersion"]="The collection was modified after the enumerator was started.";l["LE_EnumNotStarted"]="The enumerator was not started. Call MoveNext.";l["LE_FactoryNullTransaction"]="The UndoUnitFactory returned a null UndoTransaction.";l["LE_HasOpenTransaction"]="A transaction has already been opened.";l["LE_HistoryItemNotInCurrentHistory"]="The UndoHistoryItem does not exist within the associated Undo or Redo history in the UndoManager.";l["LE_InvalidTransactionOwner"]="The specified transaction's Owner is not this object.";l["LE_NeedAddRemoveAction"]="The specified action must be 'Add' or 'Remove'.";l["LE_NewTransactionWhileSuspended"]="A transaction cannot be started while the UndoManager is suspended.";l["LE_RangeCollectionAction"]="Range actions are not supported.";l["LE_ReferenceNotRegistered"]="The specified reference '{0}' has not been registered with an UndoManager instance. Use the RegisterReference method to register the reference with an UndoManager or pass null as the 'reference' to use the UndoManager.Current thread static/shared instance.";l["LE_ReferenceRegisteredToOther"]="The specified reference '{0}' is registered with a different UndoManager instance.";l["LE_RemoveAllFailedVersion"]="The collection was modified during the call to RemoveAll.";l["LE_ResetCollectionAction"]="Reset action is not supported.";l["LE_TargetCollectionIsReadOnly"]="The specified collection '{0}' cannot be read-only.";l["LE_TransactionAlreadyOpened"]="The transaction has already been opened.";l["LE_TransactionClosed"]="The transaction cannot be modified once it has been closed.";l["LE_TransactionNotOpened"]="The specified transaction '{0}' is not open.";l["LE_TransactionNotStarted"]="The transaction cannot be modified until it has been started.";l["LE_UndoManagerAsReference"]="An 'UndoManager' instance cannot be a reference.";l["LE_UndoRedoInRollback"]="Cannot perform an Undo/Redo while a Rollback is in progress.";l["LE_UndoRedoInTransaction"]="Cannot perform an undo/redo while a transaction is opened.";l["LE_UndoRedoInUndoRedo"]="Cannot perform an Undo/Redo while an Undo/Redo is in progress.";l["LE_UndoRedoWhileSuspended"]="Cannot perform an Undo/Redo while the UndoManager has been suspended.";l["MoveItemDescription"]="Move '{1}'";l["MoveItemDescriptionDetailed"]="Move '{1}' from '{2}' to '{3}'";l["PropertyChangeDescription"]="Change '{0}' on '{1}'";l["PropertyChangeDescriptionDetailed"]="Change '{0}' on '{1}' to '{3}'";l["ReinitializeCollectionDescription"]="Batch '{2}' Change";l["ReinitializeCollectionDescriptionDetailed"]="Batch '{2}' Change";l["RemoveItemDescription"]="Remove '{1}'";l["RemoveItemDescriptionDetailed"]="Remove '{1}'";l["RemoveRangeDescription"]="Remove {1} {2}(s)";l["RemoveRangeDescriptionDetailed"]="Remove {1} {2}(s)";l["ReplaceItemDescription"]="Replace '{1}'";l["ReplaceItemDescriptionDetailed"]="Replace '{1}' with '{2}'";$.ig.undo=$.ig.undo||{};$.ig.undo.locale=$.ig.undo.locale||l;return l})($);/*!@license
* Infragistics.Web.ClientUI common utilities localization resources 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
*/
(function(){window.igRoot=window.igRoot||{};if(window.$!==undefined||typeof $==="function"){window.igRoot=window.$||$}window.igRoot.ig=window.igRoot.ig||{_isNamespace:true};window.$ig=window.$ig||window.igRoot.ig;$=$||{};$.ig=$.ig||{};$.ig.util=$.ig.util||{};$.ig.locale=$.ig.locale||{};$.ig.locale.en=$.ig.locale.en||{};$.ig.locale.en.util={unsupportedBrowser:"The current browser does not support HTML5 canvas element. <br/>Try upgrading to any of the following versions:",currentBrowser:"Current browser: {0}",ie9:"Microsoft Internet Explorer V 9+",chrome8:"Google Chrome V 8+",firefox36:"Mozilla Firefox V 3.6+",safari5:"Apple Safari V 5+",opera11:"Opera V 11+",ieDownload:"http://www.microsoft.com/windows/internet-explorer/default.aspx",operaDownload:"http://www.opera.com/download/",chromeDownload:"http://www.google.com/chrome",firefoxDownload:"http://www.mozilla.com/",safariDownload:"http://www.apple.com/safari/download/",defaultSummaryMethodLabelMin:"Min = ",defaultSummaryMethodLabelMax:"Max = ",defaultSummaryMethodLabelSum:"Sum = ",defaultSummaryMethodLabelAvg:"Avg = ",defaultSummaryMethodLabelCount:"Count = "};$.ig.util.locale=$.ig.util.locale||$.ig.locale.en.util;return igRoot})($);/*!@license
 * Infragistics.Web.ClientUI Util functions 21.2.12
 *
 * Copyright (c) 2011-2022 Infragistics Inc.
 *
 * util functions that extend the jQuery  namespace
 * if something is not already available in jQuery, please add it here.
 *
 * http://www.infragistics.com/
 *
 * Depends on:
 *
 */
(function(){window.igRoot=window.igRoot||{};if(window.jQuery!==undefined||typeof jQuery==="function"){window.igRoot=window.jQuery||jQuery}window.igRoot.ig=window.igRoot.ig||{_isNamespace:true};window.$ig=window.$ig||window.igRoot.ig;var initializing=false,fnTest=/xyz/.test(function(){xyz()})?/\b_super\b/:/.*/;if(!Array.isArray){Array.isArray=function(arg){return Object.prototype.toString.call(arg)==="[object Array]"}}window.Class=window.Class||function(){};Class.extend=function(prop,doAugment){var doSuper=true,_super=this.prototype,prototype,name;if(doAugment){doSuper=false}initializing=true;prototype=new this;initializing=false;function makeFn(name,fn){return function(){var tmp=this._super,ret;this._super=_super[name];ret=fn.apply(this,arguments);this._super=tmp;return ret}}if(doAugment){prototype.getType=function(){return this.$type};prototype.getHashCode=function(){if(this.$hashCode!==undefined){return this.$hashCode}this.$hashCode=$.ig.nextHashCode++;return this.$hashCode}}for(name in prop){if(prop.hasOwnProperty(name)){prototype[name]=doSuper&&typeof prop[name]==="function"&&typeof _super[name]==="function"&&fnTest.test(prop[name])?makeFn(name,prop[name]):prop[name]}}var isForIntellisense=window.intellisense&&window.intellisense.annotate;function Class(){if(!initializing&&this.init){if(!isForIntellisense||Class===$.ig.Type){this.init.apply(this,arguments)}}}if(prop.$type){prop.$type.InstanceConstructor=Class}Class.prototype=prototype;Class.constructor=Class;Class.extend=this.extend;if(doAugment){Class.typeName=function(){return this.prototype.$type};Class.baseType=function(){return this.$type.baseType}}return Class};if(!window.console){window.console={log:function(){}}}var lastTime=0;var prefixes=["ms","moz","webkit","o"];for(var x=0;x<prefixes.length&&(!window.requestAnimationFrame||!window.cancelAnimationFrame);++x){window.requestAnimationFrame=window[prefixes[x]+"RequestAnimationFrame"];window.cancelAnimationFrame=window[prefixes[x]+"CancelAnimationFrame"]||window[prefixes[x]+"CancelRequestAnimationFrame"]}if(!window.requestAnimationFrame){window.requestAnimationFrame=function(callback){var currTime=Date.now();var timeToCall=Math.max(0,16-(currTime-lastTime));var id=window.setTimeout(function(){callback(currTime+timeToCall)},timeToCall);lastTime=currTime+timeToCall;return id}}if(!window.cancelAnimationFrame){window.cancelAnimationFrame=function(id){clearTimeout(id)}}$.ig.util=$.ig.util||{};$.ig.util.browserVersion="";$.ig.util.language="en";$.ig.util.regional="en-US";$.ig.util.widgetStack=[];$.ig._regional={monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],am:"AM",pm:"PM",datePattern:"M/d/yyyy",dateLongPattern:"dddd, MMMM dd, yyyy",dateTimePattern:"M/d/yyyy h:mm tt",timePattern:"h:mm tt",timeLongPattern:"h:mm:ss tt",dateTitleFullPattern:"dd MM yy",dateTitleMonthPattern:"MM yy",negativeSign:"-",numericNegativePattern:"-$n",numericDecimalSeparator:".",numericGroupSeparator:",",numericGroups:[3],numericMaxDecimals:2,numericMinDecimals:0,currencyPositivePattern:"$n",currencyNegativePattern:"-$n",currencySymbol:"$",currencyDecimalSeparator:".",currencyGroupSeparator:",",currencyGroups:[3],currencyMaxDecimals:2,currencyMinDecimals:2,percentPositivePattern:"n$",percentNegativePattern:"-n$",percentSymbol:"%",percentDecimalSeparator:".",percentGroupSeparator:",",percentGroups:[3],percentDisplayFactor:100,percentMaxDecimals:2,percentMinDecimals:2};$.ig.regional=$.ig.regional||{};$.ig.regional.defaults=$.ig._regional;$.ig.util.changeGlobalLanguage=function(language){$.ig.util.language=language;for(var i=0;i<$.ig.util.widgetStack.length;i++){$.ig.util.widgetStack[i].changeGlobalLanguage()}};$.ig.util.changeGlobalRegional=function(regional){$.ig.util.regional=regional;$.ig.regional.defaults=$.extend({},$.ig._regional,typeof regional==="string"?$.ig.regional[regional]:regional);for(var i=0;i<$.ig.util.widgetStack.length;i++){$.ig.util.widgetStack[i].changeGlobalRegional()}};$.ig.util.getLocaleValue=function(collection,key){var language=$.ig.util.language,locale=$.ig.locale[language]&&$.ig.locale[language][collection]||$.ig[collection]&&$.ig[collection].locale||$.ig[collection.toLowerCase()]&&$.ig[collection.toLowerCase()].locale;return locale[key]||""};$.ig.util.isIE=window.navigator.userAgent.indexOf("MSIE")>-1||!!window.navigator.userAgent.match(/trident/i);$.ig.util.isIEOld=$.ig.util.isIE&&!window.HTMLElement?true:false;if($.ig.util.isIE){$.ig.util.browserVersion=document.documentMode;$.ig.util.isIE7=$.ig.util.browserVersion<=7;$.ig.util.isIE8=$.ig.util.browserVersion===8;$.ig.util.isIE9=$.ig.util.browserVersion===9;$.ig.util.isIE10=$.ig.util.browserVersion===10;$.ig.util.isIE11=$.ig.util.browserVersion>=11}$.ig.util.isChrome=window.chrome;$.ig.util.isFF=window.mozInnerScreenX!==undefined;$.ig.util.isOpera=!!window.opera;$.ig.util.isSafari=Object.prototype.toString.call(window.HTMLElement).indexOf("Constructor")>0||window.ApplePaySession?true:false;$.ig.util.isWebKit=!!window.webkitURL;$.ig.util.isEdge=window.navigator.userAgent.indexOf("Edge")>-1;if(typeof $.ig.useDefineProperty==="undefined"){$.ig.useDefineProperty=true}$.ig.util.isModernizrAvailable=typeof Modernizr==="object";$.ig.util.isTouch=$.ig.util.isModernizrAvailable&&(Modernizr.touch===true||Modernizr.touchevents===true||Modernizr.pointerevents===true);$.ig.util.isTouchDevice=function(){return"ontouchstart"in window||window.navigator.maxTouchPoints>0||window.navigator.msMaxTouchPoints>0};$.ig.extendNativePrototype=function(proto,propName,val){if($.ig.useDefineProperty){try{Object.defineProperty(proto,propName,{value:val,enumerable:false,configurable:true,writable:true})}catch(e){proto[propName]=val}}else{proto[propName]=val}};$.ig.util.stackPeek=function(array){return array[array.length-1]};$.ig.util.stackContains=function(array,item){for(var i=0;i<array.length;i++){if($.ig.Object.prototype.equalsStatic(array[i],item)){return true}}return false};$.ig.util.createString1=function(charArray){return charArray.join("")};$.ig.util.createString2=function(c,count){var ret="";for(var i=0;i<count;i++){ret=ret+c}return ret};$.ig.util.createString3=function(charArray,start,length){var ret="";for(var i=0;i<length;i++){ret=ret+charArray[start+i]}return ret};String.prototype.copyTo=function(sourceIndex,destination,destinationIndex,count){for(var i=destinationIndex;i<destinationIndex+count;i++){destination[i]=this.charAt(sourceIndex+i-destinationIndex)}};Date.prototype.stdTimezoneOffset=function(){var jan,jul,janOffset,julOffset;jan=new Date(this.getFullYear(),0,1);jul=new Date(this.getFullYear(),6,1);julOffset=jul.getTimezoneOffset();janOffset=jan.getTimezoneOffset();return Math.max(janOffset,julOffset)};Date.prototype.dst=function(){return this.getTimezoneOffset()<this.stdTimezoneOffset()};$.ig.findPath=function(dsObj,resKey){var resPath,ds=dsObj;resPath=resKey.split(".");if(resPath.length>0){for(var i=0;i<resPath.length;i++){if(ds){ds=ds[resPath[i]]}else{break}}}return ds};$.ig.nextHashCode=0;$.ig.util.ensureUniqueId=function(obj){if(!obj.getHashCode){var code=$.ig.nextHashCode++;obj.getHashCode=function(){return code}}};$.ig.typeIdentifierCache={};$.ig.nextTypeIdentifier=0;$.ig.Type=Class.extend({init:function(identifier,baseType,interfaces,staticInitializer){this.specializationCache={};this._staticInitializer=staticInitializer;this._fullName=identifier;this.name=identifier;var lastDotIndex=this.name.lastIndexOf(".");if(lastDotIndex>=0){this.name=this.name.substr(lastDotIndex+1)}this.typeArguments=null;this.baseType=null;this.interfaces=null;if(baseType){this.baseType=baseType}if(interfaces){this.interfaces=interfaces}if($.ig.typeIdentifierCache[identifier]){this.identifier=$.ig.typeIdentifierCache[identifier]}else{this.identifier=$.ig.nextTypeIdentifier++;$.ig.typeIdentifierCache[identifier]=this.identifier}if(baseType&&$.ig.Enum&&baseType==$.ig.Enum.prototype.$type){this.isEnumType=true}},typeName:function(){return this.name},fullName:function(){return this._fullName},getSpecId:function(types){if(types.length===1){if(!types[0]){return"undef"}else if(types[0]===-1){return undefined}else if(!types[0].typeName){return types[0].toString()}else if(types[0].stringId){return types[0].stringId}else{return types[0].identifier.toString()}}var ret="";for(var i=0;i<types.length;i++){var type=types[i];if(!type){ret+="undef"}else if(type==-1){return undefined}else if(!type.typeName){ret+=type.toString()}else if(type.stringId){ret+=type.stringId}else{ret+=type.identifier.toString()}}return ret},_isGenericType:null,isGenericType:function(){if(this._isGenericType===null){this._isGenericType=this.name.indexOf("$")>=0}return this._isGenericType},isGenericTypeDefinition:function(){return this.typeArguments===null&&this.isGenericType()},genericTypeArguments:function(){return this.typeArguments},_staticInitializer:null,_staticFields:null,getStaticFields:function(type){if(type===undefined){type=this}var t=this;while(t!=null){if(t===type||t._fullName==type._fullName){if(t._staticFields==null&&t._staticInitializer){t._staticFields={};t._staticInitializer.apply(t._staticFields,t.typeArguments)}return t._staticFields}t=t.baseType}return null},specializationCache:null,initSelfReferences:function(replacement){var i,j;if(replacement){if(this.typeArguments){var updateCache=false;for(j=0;j<this.typeArguments.length;j++){var typeArg=this.typeArguments[j];if(typeArg==-1){updateCache=true;this.typeArguments[j]=replacement}else if(typeArg&&typeArg.initSelfReferences){typeArg.initSelfReferences(replacement)}}if(updateCache){var specId=this.getSpecId(this.typeArguments);var ret=this.specializationCache[specId];if(!ret){this.specializationCache[specId]=this}}}}else{if(this.baseType){this.baseType.initSelfReferences(this)}if(this.interfaces){for(i=0;i<this.interfaces.length;i++){this.interfaces[i].initSelfReferences(this)}}}},specialize:function(){var i;if(!this.isGenericType()){return this}var specId=this.getSpecId(arguments);var ret=this.specializationCache[specId];if(ret){return ret}ret=new $.ig.Type(this._fullName,this.baseType,this.interfaces,this._staticInitializer);var placeholders=this.typeArguments;var hasPlaceholders=false;if(placeholders&&placeholders.length){hasPlaceholders=true}ret.typeArguments=[];if(hasPlaceholders){for(i=0;i<placeholders.length;i++){if(isFinite(placeholders[i])&&!isFinite(arguments[placeholders[i]])){ret.typeArguments[i]=arguments[placeholders[i]]}else if(placeholders[i]&&placeholders[i]!=arguments[i]&&placeholders[i].typeArguments){ret.typeArguments[i]=this.specialize.apply(placeholders[i],arguments)}else{ret.typeArguments[i]=placeholders[i]}}}else{for(i=0;i<arguments.length;i++){ret.typeArguments[i]=arguments[i]}}if(this.baseType&&this.baseType.typeArguments){ret.baseType=this.specialize.apply(this.baseType,ret.typeArguments)}if(this.interfaces){ret.interfaces=[];for(i=0;i<this.interfaces.length;i++){ret.interfaces[i]=this.specialize.apply(this.interfaces[i],ret.typeArguments)}}if(this._fullName=="Nullable$1"&&ret.typeArguments.length==1){ret.isNullable=true}if(specId){this.specializationCache[specId]=ret;ret.stringId=ret.generateString()}else{ret.specializationCache=this.specializationCache}var _self=this;ret.InstanceConstructor=function(){_self.InstanceConstructor.apply(this,ret.typeArguments.concat(Array.prototype.slice.call(arguments,0)));return this};ret.InstanceConstructor.prototype=this.InstanceConstructor.prototype;return ret},equals:function(other){if(!(other instanceof $.ig.Type)){return false}if(this.identifier!==other.identifier){return false}if(this.typeArguments===null&&other.typeArguments===null){return true}if(this.typeArguments===null&&other.typeArguments!==null){return false}if(this.typeArguments!==null&&other.typeArguments===null){return false}if(this.typeArguments.length!==other.typeArguments.length){return false}for(var i=0;i<this.typeArguments.length;i++){if(!$.ig.Type.prototype.checkEquals(this.typeArguments[i],other.typeArguments[i])){return false}}return true},checkEquals:function(type1,type2){if(type1 instanceof $.ig.Type){return type1.equals(type2)}else if(type2 instanceof $.ig.Type){return type2.equals(type1)}else{return type1===type2}},op_Equality:function(type1,type2){return type1.equals(type2)},op_Inequality:function(type1,type2){return!type1.equals(type2)},generateString:function(){if(!this.typeArguments||!this.typeArguments.length){return this.identifier.toString()}else{var ret=this.identifier.toString()+"[";var first=true;for(var i=0;i<this.typeArguments.length;i++){if(this.typeArguments[i]==undefined){continue}if(first){first=false}else{ret+=","}if(this.typeArguments[i].toString){ret+=this.typeArguments[i].toString()}else{ret+=this.typeArguments[i].identifier.toString()}}ret+="]";return ret}},isEnum:function(){return this.baseType===$.ig.Enum.prototype.$type},isValueType:function(){return this.baseType===$.ig.ValueType.prototype.$type},isAssignableFrom:function(tOther){if(this===tOther){return true}if(tOther.baseType&&this.isAssignableFrom(tOther.baseType)){return true}if(tOther.interfaces){for(var i=0;i<tOther.interfaces.length;i++){if(this.isAssignableFrom(tOther.interfaces[i])){return true}}}return false},isInstanceOfType:function(value){return $.ig.util.cast(this,value)!==null},isPrimitive:function(){return this===$.ig.Number.prototype.$type||this===$.ig.Boolean.prototype.$type}},true);$.ig.Object=Class.extend({init:function(){},equals:function(other){return this===other},equalsStatic:function(a,b){var aIsNull=a==null||!!a.isNullable&&!a.hasValue();var bIsNull=b==null||!!b.isNullable&&!b.hasValue();if(aIsNull||bIsNull){return aIsNull&&bIsNull}if(a.equals){return a.equals(b)}if(b.equals){return b.equals(a)}if($.ig.util.isNaN(a)&&$.ig.util.isNaN(b)){return true}return a==b&&typeof a==typeof b},memberwiseClone:function(){function Cons(){}Cons.prototype=this.$type.InstanceConstructor.prototype;var clone=new Cons;for(var prop in this){if(this.hasOwnProperty(prop)){clone[prop]=this[prop]}}return clone},referenceEquals:function(a,b){return a===b||a==null&&b==null},$type:new $.ig.Type("Object")},true);$.ig.$o=$.ig.Object;$.ig.$op=$.ig.Object.prototype;$.ig.$ot=$.ig.Object.prototype.$type;$.ig.Type.prototype.$type=new $.ig.Type("Type",$.ig.Object.prototype.$type);$.ig.IConvertible=Class.extend({$type:new $.ig.Type("IConvertible")},true);$.ig.IComparable=Class.extend({$type:new $.ig.Type("IComparable")},true);$.ig.IComparable$1=Class.extend({$type:new $.ig.Type("IComparable$1")},true);$.ig.IEquatable$1=Class.extend({$type:new $.ig.Type("IEquatable$1")},true);$.ig.Enum=Class.extend({parse:function(enumType,value,ignoreCase){var info=$.ig.util.getDefinedNameAndNamespace(enumType.fullName());if($.ig.util.canAssign(this.$type,enumType)){var p=info.namespace[info.name].prototype;var values=p.$type.InstanceConstructor._isEnum?p.$type.InstanceConstructor:p;if(values.hasOwnProperty(value)){return p.getBox(values[value])}else if(ignoreCase){var upper=value.toUpperCase();for(var x in values){if(x.toUpperCase()===upper){return p.getBox(values[x])}}}else{var firstChar=value.charAt(0);if(firstChar!="_"){value=firstChar.toLowerCase()+value.substr(1)}else{value="_"+value.charAt(1).toLowerCase()+value.substr(2)}if(values.hasOwnProperty(value)){return p.getBox(values[value])}}if(p.$renamed){var rVal=p.$renamed[ignoreCase?value.toUpperCase():value];if(rVal){return p.getBox(values[rVal])}}}throw new Error("Invalid "+info.name+" value: "+value)},getBox:function(v){if(!this._boxes){this._boxes={}}if(!this._boxes[v]){this._boxes[v]=new this.$type.InstanceConstructor(v)}return this._boxes[v]},toString:function(){return this.$type.InstanceConstructor.prototype.$getName(this._v)},getFlaggedName:function(v,getName){var names=[];var original=v;var zeroValueName;var value;var values=[];for(var p in this){if(this.hasOwnProperty(p)){value=this[p];if(typeof this[p]=="number"){values.push(p)}}}var _self=this;values.sort(function(a,b){return _self[a]-_self[b]});for(var i=values.length-1;i>=0;i--){value=this[values[i]];if(value===0){zeroValueName=getName(0)}else if((v&value)===value){v-=value;names.unshift(getName(value))}}if(v!==0){return original.toString()}if(original!==0){return names.join(", ")}return zeroValueName||"0"},getValues:function($t){var result=[];var p=$t.InstanceConstructor._isEnum?$t.InstanceConstructor:$t.InstanceConstructor.prototype;for(var member in p){if(p.hasOwnProperty(member)){if(typeof p[member]==="number"){result.push(p[member])}}}return result},getNames:function($t){var result=[];var p=$t.InstanceConstructor._isEnum?$t.InstanceConstructor:$t.InstanceConstructor.prototype;for(var member in p){if(p.hasOwnProperty(member)){if(typeof p[member]==="number"){result.push(member)}}}return result},isDefined:function($t,value){value=$.ig.util.getValue(value);var p=$t.InstanceConstructor._isEnum?$t.InstanceConstructor:$t.InstanceConstructor.prototype;for(var member in p){if(p.hasOwnProperty(member)){if(p[member]===value){return true}}}return false},toDouble:function(provider){return this.$value()},toObject:function($t,value){return value},tryParse$1:function($tEnum,value,ignoreCase,result){try{return{ret:true,p2:this.parse($tEnum,value,ignoreCase).$value()}}catch(e){result=$.ig.util.createInstance($tEnum);return{ret:false,p2:result}}},$type:new $.ig.Type("Enum",$.ig.Object.prototype.$type,[$.ig.IConvertible.prototype.$type])},true);$.ig.$e=$.ig.Enum;$.ig.$ep=$.ig.Enum.prototype;$.ig.$et=$.ig.Enum.prototype.$type;$.ig.ValueType=Class.extend({init:function(){},$type:new $.ig.Type("ValueType",$.ig.Object.prototype.$type)},true);$.ig.INotifyPropertyChanged=Class.extend({init:function(){},_PropertyChanged:function(){},$type:new $.ig.Type("INotifyPropertyChanged")},true);$.ig.PropertyChangedEventArgs=$.ig.Object.extend({init:function(propertyName){this._propertyName=propertyName},_propertyName:null,propertyName:function(value){if(arguments.length===0){return this._propertyName}else{this._propertyName=value}},$type:new $.ig.Type("PropertyChangedEventArgs",$.ig.Object.$type)},true);$.ig.XmlNodeType=Class.extend({_None:0,_Attribute:2,_CDATA:4,_Comment:8,_Document:9,_DocumentFragment:11,_DocumentType:10,_Element:1,_EndElement:15,_EndEntity:16,_Entity:6,_EntityReference:5,_Notation:12,_ProcessingInstruction:7,_SignificantWhitespace:14,_Text:3,_Whitespace:13,_XmlDeclaration:17,none:0,element:1,attribute:2,text:3,cDATA:4,entityReference:5,entity:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12,whitespace:13,significantWhitespace:14,endElement:15,endEntity:16,xmlDeclaration:17},true);$.ig.XmlDocumentParser=Class.extend({parse:function(markup){if(!window.DOMParser){var parsers=["Msxml2.DOMDocument.3.0","Msxml2.DOMDocument"];for(var i=0;i<parsers.length;i++){try{var xmlDOM=new ActiveXObject(parsers[i]);xmlDOM.async=false;xmlDOM.loadXML(markup);xmlDOM.setProperty("SelectionLanguage","XPath");return xmlDOM}catch(ex){}}}else{try{var domParser=new DOMParser;return domParser.parseFromString(markup,"text/xml")}catch(ex){}}return null}},true);$.ig.Array=Array;$.ig.extendNativePrototype(Array.prototype,"add",function(item){this[this.length]=item});$.ig.addToArray=function(arr,item){arr[arr.length]=item};$.ig.indexInArray=function(arr,item){for(var i=0;i<arr.length;i++){if(arr[i]==item){return i}}return-1};$.ig.arrayContains=function(arr,item){var index=arr.indexOf(item);return index>=0};if(!Array.prototype.indexOf){$.ig.extendNativePrototype(Array.prototype,"indexOf",function(item){for(var i=0;i<this.length;i++){if(this[i]==item){return i}}return-1})}if(!Array.prototype.lastIndexOf){$.ig.extendNativePrototype(Array.prototype,"lastIndexOf",function(item){for(var i=this.length-1;i>=0;i--){if(this[i]==item){return i}}return-1})}$.ig.extendNativePrototype(Array.prototype,"copy",function(source,sourceIndex,dest,destIndex,count){for(var i=0;i<count;i++){dest[destIndex+i]=source[sourceIndex+i]}});$.ig.removeFromArray=function(arr,from,to){var rest=arr.slice((to||from)+1||arr.length);arr.length=from<0?arr.length+from:from;return arr.push.apply(arr,rest)};$.ig.extendNativePrototype(Array.prototype,"contains",function(item){var index=this.indexOf(item);return index>=0});$.ig.extendNativePrototype(Array.prototype,"insert",function(index,item){this.splice(index,0,item)});$.ig.extendNativePrototype(Array.prototype,"removeAt",function(i){this.splice(i,1)});$.ig.extendNativePrototype(Array.prototype,"removeItem",function(item){var index=this.indexOf(item);if(index>=0){this.splice(index,1);return true}return false});$.ig.extendNativePrototype(Array.prototype,"getEnumerator",function(){return new $.ig.ArrayEnumerator(this)});$.ig.extendNativePrototype(Array.prototype,"count",function(){return this.length});$.ig.extendNativePrototype(Array.prototype,"item",function(index,value){if(arguments.length===2){this[index]=value;return value}else{return this[index]}});$.ig.extendNativePrototype(Array.prototype,"getLength",function(dimension){var array=this;var dim=dimension;while(array){if(dim===0){return array.length}dim--;array=array[0]}return this.dimensionLength[dimension-1]});$.ig.extendNativePrototype(Array.prototype,"resize",function(){this.length=0});$.ig.ArrayEnumerator=Class.extend({init:function(array){this._array=array;this._index=-1},current:function(){return this._array[this._index]},moveNext:function(){this._index++;return this._index<this._array.length},reset:function(){this._index=-1},dispose:function(){}},true);$.ig.Date=Class.extend({init:function(){return new Date},fromOADate:function(value){var days=Math.floor(value);var result=new Date(1899,11,30+days);if(value!==days){result=new Date(+result+Math.round((value-days)*864e5))}return result},fromValues:function(year,month,day,hour,minute,second,millisecond){return new Date(year,month-1,day,hour,minute,second,millisecond)},fromTicks:function(ticks){return new Date(ticks)},addSeconds:function(value,seconds){return $.ig.Date.prototype.addDays(value,seconds/86400)},addMinutes:function(value,minutes){return $.ig.Date.prototype.addDays(value,minutes/1440)},addHours:function(value,hours){return $.ig.Date.prototype.addDays(value,hours/24)},addDays:function(value,days){var result=new Date(+value+days*864e5);if(value.dst){if(!value.dst()){if(result.dst()){result=new Date(+result-36e5)}}else{if(!result.dst()){result=new Date(+result+36e5)}}}return result},addMonths:function(value,num){var result=new Date(value.getTime());var currentMonth=result.getMonth()+result.getFullYear()*12;result.setMonth(result.getMonth()+num);var diff=result.getMonth()+result.getFullYear()*12-currentMonth;if(diff!=num){result.setDate(0)}return result},addYears:function(value,num){var result=new Date(value.getTime());result.setFullYear(result.getFullYear()+num);return result},daysInMonth:function(year,month){switch(month){case 1:return 31;case 2:return $.ig.Date.prototype.isLeapYear(year)?29:28;case 3:return 31;case 4:return 30;case 5:return 31;case 6:return 30;case 7:return 31;case 8:return 31;case 9:return 30;case 10:return 31;case 11:return 30;case 12:return 31}return 0},isLeapYear:function(year){return year%4===0&&year%100!==0},toFileTime:function(value){return(value-new Date(1600,11,31,19,0,0,0))*1e4},fromFileTime:function(value){return value/1e4+new Date(1600,11,31,19,0,0,0)},tryParse:function(s){var date=new Date(s);if(date==null||$.ig.util.isNaN(+date)){var r=/(\d{4})-(\d{2})-(\d{2})(?:T(\d{2}):(\d{2}):(\d{2}))?/.exec(s);if(r){if(r[4]){return{p1:new Date((+r[1]),+r[2]-1,(+r[3]),(+r[4]),(+r[5]),(+r[6])),ret:true}}else{return{p1:new Date((+r[1]),+r[2]-1,(+r[3])),ret:true}}}return{p1:null,ret:false}}if(date.getFullYear()<1930&&/\d+\/\d+\/\d\d(?!\d)/.test(s)){date.setFullYear(date.getFullYear()+100)}return{p1:date,ret:true}},parseExact:function(s,format,provider){var r=$.ig.Date.prototype.tryParse(s);if(!r.ret){throw new $.ig.FormatException("Unknown date format")}return r.p1},toLocalTime:function(value){return value},toUniversalTime:function(value){return value},getMonth:function(value){return value.getMonth()+1},today:function(value){var r=new Date;r.setHours(0,0,0,0);return r},getTimeOfDay:function(value){return value.getHours()*36e5+value.getMinutes()*6e4+value.getSeconds()*1e3+value.getMilliseconds()},getDate:function(value){var newDate=new Date((+value));newDate.setHours(0,0,0,0);return newDate},_requiresISOCorrection:!isNaN(+new Date("2000-01-01T00:00:00"))&&new Date("2000-01-01T00:00:00").getHours()!==0,_requiresISODateCorrection:!isNaN(new Date("2000-01-01"))&&new Date("2000-01-01").getHours()!==0,parse:function(s,provider){provider=provider||$.ig.CultureInfo.prototype.currentCulture();var result;var isoTest=/(\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2})(?:\.| )?(\d*)?/.exec(s);if(isoTest){result=$.ig.Date.prototype.parseExact(isoTest[1]);if(isoTest[2]){var ms=Number("0."+isoTest[2])*1e3;result=new Date(+result+ms)}if(!$.ig.Date.prototype._requiresISOCorrection){return result}}else{result=$.ig.Date.prototype.parseExact(s);if(!$.ig.Date.prototype._requiresISODateCorrection){return result}}return new Date(result.getUTCFullYear(),result.getUTCMonth(),result.getUTCDate(),result.getUTCHours(),result.getUTCMinutes(),result.getUTCSeconds(),result.getUTCMilliseconds())},_longDateFormatOptions:{weekday:"long",year:"numeric",month:"long",day:"numeric"},toLongDateString:function(value){return value.toLocaleString($.ig.CultureInfo.prototype.currentCulture().name(),this._longDateFormatOptions).replace(/\u200E/g,"")},_longTimeFormatOptions:{hour:"numeric",minute:"numeric",second:"numeric"},toLongTimeString:function(value){return value.toLocaleString($.ig.CultureInfo.prototype.currentCulture().name(),this._longTimeFormatOptions).replace(/\u200E/g,"")},resetDateToCurrentDate:function(value){if(!value||!value.getTime){return value}var currentDate=new Date;var result=new Date(currentDate.getFullYear(),currentDate.getMonth(),currentDate.getDate(),value.getHours(),value.getMinutes(),value.getSeconds(),value.getMilliseconds());return result},$type:new $.ig.Type("Date",$.ig.Object.$type)},true);$.ig.extendNativePrototype(Date.prototype,"toOADate",function(){var u1=Date.UTC(this.getFullYear(),this.getMonth(),this.getDate(),this.getHours(),this.getMinutes(),this.getSeconds(),this.getMilliseconds());var u2=Date.UTC(1899,11,30);return(u1-u2)/864e5});$.ig.extendNativePrototype(Date.prototype,"kind",function(){return $.ig.DateTimeKind.prototype.local});$.ig.Date.prototype.now=function(){return new Date};$.ig.Date.prototype.minValue=function(){return new Date(1,1,1,0,0,0,0)};$.ig.Date.prototype.maxValue=function(){return new Date(9999,12,31,23,59,59,.9999999)};$.ig.Date.prototype.fromMilliseconds=function(value){return value};$.ig.Date.prototype.toString=function(value,provider){return $.ig.Date.prototype.toStringFormat(value,"s",provider)};if(!Date.prototype.toISOString){if(!Date.prototype.toJSON){Date.prototype.toJSON=function(key){function f(n){return n<10?"0"+n:n}return this.getUTCFullYear()+"-"+f(this.getUTCMonth()+1)+"-"+f(this.getUTCDate())+"T"+f(this.getUTCHours())+":"+f(this.getUTCMinutes())+":"+f(this.getUTCSeconds())+"Z"}}Date.prototype.toISOString=Date.prototype.toJSON}if(!Element.hasOwnProperty("remove")){Object.defineProperty(Element,"remove",{configurable:true,enumerable:true,writable:true,value:function remove(){this.parentNode.removeChild(this)}})}if(Text&&!Text.hasOwnProperty("remove")){Object.defineProperty(Text,"remove",{configurable:true,enumerable:true,writable:true,value:function remove(){this.parentNode.removeChild(this)}})}$.ig.Date.prototype.toStringFormat=function(value,format,provider){var result;provider=provider||$.ig.CultureInfo.prototype.currentCulture();var mmm=function(value,provider){var cultureName=provider.name();if(cultureName=="ja-JP"){result=value.toLocaleString("en-US",{month:"numeric"}).replace(/\u200E/g,"")}else{result=value.toLocaleString(provider.name(),{month:"short"}).replace(/\u200E/g,"")}if(result.contains(" ")){return["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"][value.getMonth()]}return result};var tt=function(value,provider,abbr){var h=value.getHours();var designator=h<=11?"AM":"PM";if(window.Intl){var d=new Date((+value));d.setHours(h,0,0,0);var culture=provider.name();var r=/\d|[\u200E]/g;var withAmPm=new Intl.DateTimeFormat(culture,{hour12:true,hour:"2-digit"}).format(d).replace(r,"");var nonAmPm=new Intl.DateTimeFormat(culture,{hour12:false,hour:"2-digit"}).format(d).replace(r,"");var pattern=$.ig.util.escapeRegExp(nonAmPm);var amPm=withAmPm.replace(new RegExp("\\s*"+pattern+"\\s*"),"").trim();if(amPm.replace(/[.,:;]/g,"").length>0){designator=amPm}}if(abbr&&designator){designator=designator.charAt(0)}return designator};var applyFormat=function(options){if(window.Intl){var formatter=new Intl.DateTimeFormat(provider.name(),options);return formatter.format(value)}return value.toLocaleString(provider.name(),options)};switch(format){case"s":{var s=new Date(Date.UTC(value.getFullYear(),value.getMonth(),value.getDate(),value.getHours(),value.getMinutes(),value.getSeconds())).toISOString();var d=s.lastIndexOf(".");if(d<0){return s}return s.slice(0,d)}case"MMMM":return value.toLocaleString(provider.name(),{month:"long"}).replace(/\u200E/g,"");case"ddd":return value.toLocaleString(provider.name(),{weekday:"short"}).replace(/\u200E/g,"");case"dddd":result=value.toLocaleString(provider.name(),{weekday:"long"}).replace(/\u200E/g,"");if(result.contains(" ")){return["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"][value.getDay()]}return result;case"%t":return tt(value,provider,true);case"d":return value.toLocaleDateString();case"D":return applyFormat({weekday:"long",month:"long",day:"numeric",year:"numeric"});case"f":return applyFormat({weekday:"long",month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"});case"F":return applyFormat({weekday:"long",month:"long",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});case"g":return applyFormat({month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric"});case"G":return applyFormat({month:"numeric",day:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric"});case"M":case"m":return applyFormat({month:"long",day:"numeric"});case"t":return applyFormat({hour:"numeric",minute:"numeric"});case"T":return value.toLocaleTimeString();case"Y":case"y":return applyFormat({year:"numeric",month:"long"})}result=format;var year=value.getFullYear().toString();result=result.replace("yyyy",year);result=result.replace("yy",year.substr(-2));result=result.replace("MMM",mmm(value,provider));result=result.replace("MM",(value.getMonth()+1).toString().replace(/^(\d)$/,"0$1"));result=result.replace("dd",value.getDate().toString().replace(/^(\d)$/,"0$1"));var hours=value.getHours();result=result.replace("HH",hours.toString().replace(/^(\d)$/,"0$1"));result=result.replace("hh",(hours%12==0?12:hours%12).toString().replace(/^(\d)$/,"0$1"));result=result.replace("tt",tt(value,provider,false));result=result.replace("mm",value.getMinutes().toString().replace(/^(\d)$/,"0$1"));result=result.replace("ss",value.getSeconds().toString().replace(/^(\d)$/,"0$1"));result=result.replace("ff",Math.round(value.getMilliseconds()/10).toString().replace(/^(\d)$/,"0$1"));return result};$.ig.util.canAssign=function(targetType,type){if(targetType.name==="Nullable$1"&&type.name!=="Nullable$1"){targetType=$.ig.Nullable.prototype.getUnderlyingType(targetType)}return $.ig.util.canAssignSimple(targetType,type)};$.ig.util.canAssignSimple=function(targetType,type){if(targetType===type||$.ig.Type.prototype.checkEquals(targetType,type)){return true}if(type.interfaces){for(var i=0;i<type.interfaces.length;i++){if($.ig.util.canAssignSimple(targetType,type.interfaces[i])){
return true}}}if(type.baseType){return $.ig.util.canAssignSimple(targetType,type.baseType)}return false};$.ig.util.cast=function(targetType,obj){if(obj===undefined||obj===null){return null}if(targetType===Array){return obj instanceof Array?obj:null}if(targetType===String){targetType=$.ig.String.prototype.$type}var type=obj;if(obj.$type){type=obj.$type}else if(typeof obj==="number"){type=targetType===Number?Number:$.ig.Number.prototype.$type}else if(typeof obj==="string"){type=$.ig.String.prototype.$type}else if(typeof obj==="boolean"){type=$.ig.Boolean.prototype.$type}else if(obj instanceof Date){type=$.ig.Date.prototype.$type}else if(obj instanceof Array){if(targetType==$.ig.IEnumerable.prototype.$type){return obj}}if($.ig.util.canAssignSimple(targetType,type)){return obj}if(targetType.name==="Nullable$1"&&type.name!=="Nullable$1"){targetType=$.ig.Nullable.prototype.getUnderlyingType(targetType);if($.ig.util.canAssignSimple(targetType,type)){return $.ig.util.toNullable(targetType,obj)}return $.ig.util.toNullable(targetType,null)}return null};$.ig.Dictionary=Class.extend({init:function(){this.proxy={};this.keysHolder=this.proxy;this._count=0},$type:new $.ig.Type("Dictionary",$.ig.Object.prototype.$type),proxy:null},true);$.ig.Dictionary.prototype.getDictionary=function(o){var dict=new $.ig.Dictionary;dict.proxy=o;dict.keysHolder=o;return dict};$.ig.Dictionary.prototype.containsKey=function(key){return this.proxy[key]!==undefined};$.ig.Dictionary.prototype.count=function(){return this._count};$.ig.Dictionary.prototype.item=function(key,value){if(arguments.length===1){return this.proxy[key]}else{if(!this.proxy[key]){this._count++}this.proxy[key]=value}};$.ig.Dictionary.prototype.add=function(key,value){if(!this.proxy[key]){this._count++}this.proxy[key]=value};$.ig.Dictionary.prototype.remove=function(key){delete this.proxy[key];this._count--};$.ig.Dictionary.prototype.keys=function(){return new $.ig.KeyEnumerator(this)};$.ig.Dictionary.prototype.values=function(){return new $.ig.ValueEnumerator(this)};$.ig.Dictionary.prototype.clear=function(){this.proxy={};this.keysHolder=this.proxy;this._count=0};$.ig.EventArgs=$.ig.Object.extend({init:function(){}},true);$.ig.String=Class.extend({$type:new $.ig.Type("String",$.ig.Object.prototype.$type,[$.ig.IConvertible.prototype.$type,$.ig.IComparable.prototype.$type])},true);$.ig.String.prototype.isDigit=function(str,index){index=index||0;var ch=str.charAt(index);if(ch>="0"&&ch<="9"){return true}return false};$.ig.String.prototype.charMaxValue=function(s){return"\uffff"};$.ig.String.prototype.charMinValue=function(s){return"\0"};$.ig.Boolean=Class.extend({tryParse:function(value){value=value.toLowerCase();if(value=="true"){return{p1:true,ret:true}}else if(value=="false"){return{p1:false,ret:true}}return{p1:false,ret:false}},$type:new $.ig.Type("Boolean",$.ig.Object.prototype.$type,[$.ig.IConvertible.prototype.$type,$.ig.IComparable.prototype.$type])},true);$.ig.Number=Class.extend({$type:new $.ig.Type("Number",$.ig.Object.prototype.$type,[$.ig.IConvertible.prototype.$type,$.ig.IComparable.prototype.$type])},true);$.ig.Number.prototype.parseInt=function(a,b){return parseInt(a,b)};$.ig.Number.prototype.log10=function(x){return Math.log(x)/Math.log(10)};if(!Number.isPrimitive){Number.isPrimitive=function(){return true}}if(!String.isPrimitive){String.isPrimitive=function(){return false}}$.ig.extendNativePrototype(String.prototype,"toDateTime",function(provider){var result=new Date(this);if(!isNaN(+result)){return result}if(/^((([0-9]{1,4})\s*(\s+((a|p)m?)\s*))|(([0-9]{1,4})\s*:\s*([0-9]?[0-9])\s*(:\s*([0-9]?[0-9])\s*(.\s*([0-9]{0,4})[0-9]*\s*)?)?(\s+((a|p)m?)\s*)?)|(\s*([0-9]?[0-9])\s*:\s*([0-9]?[0-9])\s*.\s*([0-9]{0,4})[0-9]*\s*(\s+((a|p)m?)\s*)?))$/i.test(this)){return new Date((new Date).toDateString()+" "+this)}throw new $.ig.FormatException(1,"The string cannot be converted to a date")});$.ig.extendNativePrototype(String.prototype,"toDecimal",function(provider){var result=+this;if($.ig.util.isNaN(result)){throw new $.ig.FormatException(1,"The string cannot be converted to a number")}return result});$.ig.extendNativePrototype(String.prototype,"toString1",function(provider){return this.toString()});String.isInstanceOfType=function(value){return typeof value=="string"};$.ig.extendNativePrototype(Number.prototype,"toDecimal",function(provider){return+this});$.ig.extendNativePrototype(Number.prototype,"toDouble",function(provider){return+this});$.ig.extendNativePrototype(Number.prototype,"toString1",function(provider){return this.toLocaleString(provider.name(),{useGrouping:false})});$.ig.extendNativePrototype(Date.prototype,"getType",function(provider){return $.ig.Date.prototype.$type});$.ig.extendNativePrototype(Date.prototype,"equals",function(other){return other instanceof Date&&+this===+other});$.ig.extendNativePrototype(Boolean.prototype,"getHashCode",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toByte",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toSByte",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toInt16",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toUInt16",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toInt32",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toUInt32",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toInt64",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toUInt64",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toSingle",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toDouble",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toDecimal",function(provider){return+this});$.ig.extendNativePrototype(Boolean.prototype,"toBoolean",function(provider){return!!+this});$.ig.extendNativePrototype(Boolean.prototype,"toString1",function(provider){return this.toString()});$.ig.extendNativePrototype(Boolean.prototype,"compareTo",function(other){return $.ig.util.boolCompare(this,other)});$.ig.extendNativePrototype(Number.prototype,"compareTo",function(other){return $.ig.util.compareSimple(+this,other)});$.ig.Single=Class.extend({},true);$.ig.Single.prototype.parseFloat=function(s){return parseFloat(s)};$.ig.Single.prototype.isInfinity=function(s){return s===Infinity||s===-Infinity};$.ig.Int32=Class.extend({$type:new $.ig.Type("Int32",$.ig.Object.prototype.$type,[$.ig.IComparable.prototype.$type,$.ig.IComparable$1.prototype.$type.specialize(-1),$.ig.IEquatable$1.prototype.$type.specialize(-1)])},true);$.ig.Int32.prototype.$type.initSelfReferences();$.ig.Double=Class.extend({$type:new $.ig.Type("Double",$.ig.Object.prototype.$type)},true);$.ig.Delegate=Class.extend({$type:new $.ig.Type("Delegate",$.ig.Object.prototype.$type)},true);$.ig.Delegate.prototype.combine=function(del1,del2){if(!del1){return del2}if(!del2){return del1}var ret=function(){del1.apply(null,arguments);return del2.apply(null,arguments)};ret.enumerate=function(arr){if(del1){if(del1.enumerate){del1.enumerate(arr)}else{arr.push(del1)}}if(del2){if(del2.enumerate){del2.enumerate(arr)}else{arr.push(del2)}}};return ret};$.ig.Delegate.prototype.remove=function(del1,del2){if(!del1){return null}if(!del2){return del1}var arr=[];var del=null;if(del1.enumerate){del1.enumerate(arr)}else{arr.push(del1)}for(var i=0;i<arr.length;i++){if(del2.original){if(arr[i].original==del2.original&&arr[i].target==del2.target){continue}}if(arr[i]==del2){continue}del=$.ig.Delegate.prototype.combine(del,arr[i])}return del};$.ig.ReflectionUtil=Class.extend({$type:new $.ig.Type("ReflectionUtil",$.ig.Object.prototype.$type)},true);$.ig.ReflectionUtil.prototype.getPropertyGetter=function(type,propertyName){if(typeof type.prototype[propertyName]==="function"){return function(instance){return type.prototype[propertyName].apply(instance,arguments)}}return function(instance){return instance[propertyName]}};$.ig.IEnumerable=Class.extend({$type:new $.ig.Type("IEnumerable",null)},true);$.ig.IEnumerator=Class.extend({$type:new $.ig.Type("IEnumerator",null)},true);$.ig.IEqualityComparer$1=Class.extend({$type:new $.ig.Type("IEqualityComparer",$.ig.Object.prototype.$type)},true);$.ig.IList=Class.extend({$type:new $.ig.Type("IList",null,[$.ig.IEnumerable.prototype.$type])},true);$.ig.IEnumerable$1=Class.extend({$type:new $.ig.Type("IEnumerable$1",null,[$.ig.IEnumerable.prototype.$type])},true);$.ig.ICollection$1=Class.extend({$type:new $.ig.Type("ICollection$1",null,[$.ig.IEnumerable$1.prototype.$type.specialize(0),$.ig.IEnumerable.prototype.$type])},true);$.ig.IList$1=Class.extend({$type:new $.ig.Type("IList$1",null,[$.ig.ICollection$1.prototype.$type.specialize(0),$.ig.IEnumerable$1.prototype.$type.specialize(0),$.ig.IEnumerable.prototype.$type])},true);$.ig.IEnumerator$1=Class.extend({$type:new $.ig.Type("IEnumerator$1",null,[$.ig.IEnumerator.prototype.$type])},true);$.ig.Error=Class.extend({init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}this.__message=null;this.__innerException=null},init1:function(initNumber,message){this.__message=message},init2:function(initNumber,message,innerException){this.__message=message;this.__innerException=innerException},toString:function(){return this.message()},$type:new $.ig.Type("Error",$.ig.Object.prototype.$type)},true);$.ig.Error.prototype.message=function(){return this.__message};$.ig.Error.prototype.innerException=function(){return this.__innerException};$.ig.IDictionary=Class.extend({$type:new $.ig.Type("IDictionary",null)},true);$.ig.ValueEnumerator=Class.extend({init:function(dict){this._dict=dict;this._index=-1;this._count=0;this._values=[];for(var item in this._dict.proxy){if(this._dict.proxy.hasOwnProperty(item)){this._values[this._count]=this._dict.proxy[item];this._count++}}},current:function(){return this._values[this._index]},dispose:function(){},moveNext:function(){this._index++;return this._index<this._count},reset:function(){this._index=-1},getEnumerator:function(){this.reset();return this},$type:new $.ig.Type("ValueEnumerator",$.ig.Object.prototype.$type,[$.ig.IEnumerable.prototype.$type])},true);$.ig.KeyEnumerator=Class.extend({init:function(dict){this._dict=dict;this._index=-1;this._count=0;this._keys=[];for(var item in this._dict.proxy){if(this._dict.proxy.hasOwnProperty(item)){this._keys[this._count]=item;this._count++}}},current:function(){return this._keys[this._index]},moveNext:function(){this._index++;return this._index<this._count},reset:function(){this._index=-1},getEnumerator:function(){this.reset();return this},$type:new $.ig.Type("KeyEnumerator",$.ig.Object.prototype.$type,[$.ig.IEnumerable.prototype.$type])},true);$.ig.truncate=function(val){if(val>=0){return Math.floor(val)}else{return Math.ceil(val)}};$.ig.intDivide=function(int1,int2){var result=int1/int2;return $.ig.truncate(result)};$.ig.Nullable=Class.extend({getUnderlyingType:function(nullableType){if(nullableType.isGenericType!==undefined&&nullableType.isGenericType()&&!nullableType.isGenericTypeDefinition()&&$.ig.Nullable$1.prototype.$type.typeName()==nullableType.typeName()){return nullableType.genericTypeArguments()[0]}return null},$type:new $.ig.Type("Nullable",$.ig.Object.prototype.$type)},true);$.ig.Nullable$1=Class.extend({$t:null,init:function($t,value){this.$t=$t;this.$type=this.$type.specialize(this.$t);$.ig.Object.prototype.init.call(this);if(value!==undefined){this._value=value}},equals:function(value){return $.ig.util.nullableEquals(this,value)},getHashCode:function(){return this._value===null?0:this._value.getHashCode()},hasValue:function(){return this._value!==null},toString:function(){return this._value===null?"":this._value.toString()},_value:null,value:function(value){if(arguments.length===1){this._value=value;return value}else{return this._value}},getValueOrDefault:function(){if(this.hasValue()){return this._value}else{return this.getDefaultValue()}},getDefaultValue:function(){if($.ig.util.canAssign($.ig.Number.prototype.$type,this.$t)){return 0}else if($.ig.util.canAssign($.ig.Boolean.prototype.$type,this.$t)){return false}else if(this.$t.baseType==$.ig.ValueType.prototype.$type){return $.ig.util.createInstance(this.$t)}else{return null}},getValueOrDefault1:function(defaultValue){if(this.hasValue()){return this._value}else{return defaultValue}},preIncrement:function(){if(!this.hasValue()){return this}this._value++;return this},preDecrement:function(){if(!this.hasValue()){return this}this._value--;return this},postIncrement:function(){if(!this.hasValue()){return this}var originalValue=this._value;this._value++;return new $.ig.Nullable$1(this.$t,originalValue)},postDecrement:function(){if(!this.hasValue()){return this}var originalValue=this._value;this._value--;return new $.ig.Nullable$1(this.$t,originalValue)},isNullable:true,$type:new $.ig.Type("Nullable$1",$.ig.Object.prototype.$type)},true);$.ig.util.toNullable=function(t,value){if(value==null){return t._$nullNullable||(t._$nullNullable=new $.ig.Nullable$1(t,value))}else if(value.isNullable){return value}return new $.ig.Nullable$1(t,value)};$.ig.util.toLowerCase=function(c){return c.toLowerCase()};$.ig.util.isLower=function(c){return c===c.toLowerCase()};$.ig.util.isLetterOrDigit=function(c){var charCode=c.charCodeAt(0);if(97<=charCode&&charCode<=122){return true}if(65<=charCode&&charCode<=90){return true}if(48<=charCode&&charCode<=57){return true}if(charCode<=127){return false}return $.ig.unicode_hack("(\\p{L}|\\p{Nd})").test(c)};$.ig.util.isLetter=function(c){var charCode=c.charCodeAt(0);if(97<=charCode&&charCode<=122){return true}if(65<=charCode&&charCode<=90){return true}if(charCode<=127){return false}return $.ig.unicode_hack("\\p{L}").test(c)};$.ig.util.isDigit1=function(c,index){return $.ig.util.isDigit(c[index])};$.ig.util.isDigit=function(c){var charCode=c.charCodeAt(0);if(48<=charCode&&charCode<=57){return true}if(charCode<=127){return false}return $.ig.unicode_hack("\\p{Nd}").test(c)};$.ig.util.isNumber=function(c){var charCode=c.charCodeAt(0);if(48<=charCode&&charCode<=57){return true}if(charCode<=127){return false}return $.ig.unicode_hack("\\p{N}").test(c)};$.ig.util.toUpperCase=function(c){return c.toUpperCase()};$.ig.util.concat=function(v1,v2){if(v1==null){v1=""}else if(!!v1.isNullable){v1=v1.getValueOrDefault1("")}if(v2==null){v2=""}else if(!!v2.isNullable){v2=v2.getValueOrDefault1("")}return v1.toString()+v2.toString()};$.ig.util.nullableAdd=function(v1,v2){if(v1.isNullable&&!v1.hasValue()){return null}if(v2.isNullable&&!v2.hasValue()){return null}var val1=v1;var val2=v2;if(v1.isNullable){val1=v1.value()}if(v2.isNullable){val2=v2.value()}return $.ig.util.toNullable($.ig.Number.prototype.$type,val1+val2)};$.ig.util.nullableSubtract=function(v1,v2){if(v1.isNullable&&!v1.hasValue()){return null}if(v2.isNullable&&!v2.hasValue()){return null}var val1=v1;var val2=v2;if(v1.isNullable){val1=v1.value()}if(v2.isNullable){val2=v2.value()}return $.ig.util.toNullable($.ig.Number.prototype.$type,val1-val2)};$.ig.util.nullableMultiply=function(v1,v2){if(v1.isNullable&&!v1.hasValue()){return null}if(v2.isNullable&&!v2.hasValue()){return null}var val1=v1;var val2=v2;if(v1.isNullable){val1=v1.value()}if(v2.isNullable){val2=v2.value()}return $.ig.util.toNullable($.ig.Number.prototype.$type,val1*val2)};$.ig.util.nullableDivide=function(v1,v2){if(v1.isNullable&&!v1.hasValue()){return null}if(v2.isNullable&&!v2.hasValue()){return null}var val1=v1;var val2=v2;if(v1.isNullable){val1=v1.value()}if(v2.isNullable){val2=v2.value()}return $.ig.util.toNullable($.ig.Number.prototype.$type,val1/val2)};$.ig.util.nullableModulus=function(v1,v2){if(v1.isNullable&&!v1.hasValue()){return null}if(v2.isNullable&&!v2.hasValue()){return null}var val1=v1;var val2=v2;if(v1.isNullable){val1=v1.value()}if(v2.isNullable){val2=v2.value()}return $.ig.util.toNullable($.ig.Number.prototype.$type,val1%val2)};$.ig.util.nullableGreaterThan=function(v1,v2){if(v1.isNullable&&!v1.hasValue()){return false}if(v2.isNullable&&!v2.hasValue()){return false}var val1=v1;var val2=v2;if(v1.isNullable){val1=v1.value()}if(v2.isNullable){val2=v2.value()}return val1>val2};$.ig.util.nullableGreaterThanOrEqual=function(v1,v2){if(v1.isNullable&&!v1.hasValue()){return false}if(v2.isNullable&&!v2.hasValue()){return false}var val1=v1;var val2=v2;if(v1.isNullable){val1=v1.value()}if(v2.isNullable){val2=v2.value()}return val1>=val2};$.ig.util.nullableLessThan=function(v1,v2){if(v1.isNullable&&!v1.hasValue()){return false}if(v2.isNullable&&!v2.hasValue()){return false}var val1=v1;var val2=v2;if(v1.isNullable){val1=v1.value()}if(v2.isNullable){val2=v2.value()}return val1<val2};$.ig.util.nullableLessThanOrEqual=function(v1,v2){if(v1.isNullable&&!v1.hasValue()){return false}if(v2.isNullable&&!v2.hasValue()){return false}var val1=v1;var val2=v2;if(v1.isNullable){val1=v1.value()}if(v2.isNullable){val2=v2.value()}return val1<=val2};$.ig.util.nullableIsNull=function(v){return v==null||!!v.isNullable&&!v.hasValue()};$.ig.util.nullableEquals=function(v1,v2){var v1IsNull=v1==null||!!v1.isNullable&&!v1.hasValue();var v2IsNull=v2==null||!!v2.isNullable&&!v2.hasValue();if(v1IsNull&&v2IsNull){return true}if(v1IsNull!=v2IsNull){return false}var val1=v1;var val2=v2;if(v1.isNullable){val1=v1.value()}if(v2.isNullable){val2=v2.value()}return val1==val2};$.ig.util.nullableNotEquals=function(v1,v2){return!$.ig.util.nullableEquals(v1,v2)};$.ig.util.unwrapNullable=function(v){if(v==null||!v.isNullable){return v}if(!v.hasValue()){return null}return v.value()};$.ig.util.wrapNullable=function($t,v){if(v!=null&&v.isNullable){return v}return $.ig.util.toNullable($t,v)};$.ig.util.getColorStringSafe=function(v){return v==null?null:v.colorString()};$.ig.util.wellKnownColors={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};$.ig.util.stringToColor=function(str){var ret={a:255,r:0,g:0,b:0};var transparent={a:0,r:0,g:0,b:0};if(!str){return transparent}var asColorName=str.replace(" ","").toLowerCase();if(asColorName==="transparent"){return transparent}if($.ig.util.wellKnownColors[asColorName]!==undefined){str=$.ig.util.wellKnownColors[asColorName]}var parts;if(str.lastIndexOf("rgba",0)===0){str=str.replace("rgba","").replace(" ","").replace("(","").replace(")","");parts=str.split(",");ret.r=parseInt(parts[0],10);ret.g=parseInt(parts[1],10);ret.b=parseInt(parts[2],10);ret.a=parseFloat(parts[3])*255}else if(str.lastIndexOf("rgb",0)===0){str=str.replace("rgb","").replace(" ","").replace("(","").replace(")","");parts=str.split(",");ret.r=parseInt(parts[0],10);ret.g=parseInt(parts[1],10);ret.b=parseInt(parts[2],10)}else{str=str.replace("#","").replace(" ","");if(str.length===6){ret.r=parseInt(str.substr(0,2),16);ret.g=parseInt(str.substr(2,2),16);ret.b=parseInt(str.substr(4,2),16)}else if(str.length===3){ret.r=parseInt(str.substr(0,1)+str.substr(0,1),16);ret.g=parseInt(str.substr(1,1)+str.substr(1,1),16);ret.b=parseInt(str.substr(2,1)+str.substr(2,1),16)}}return ret};$.ig.util.rgbToHex=function(color){var r,g,b,colHex=null;if(color.charAt(0)==="r"){color=color.replace("rgb(","").replace(")","").split(",");r=parseInt(color[0],10).toString(16);g=parseInt(color[1],10).toString(16);b=parseInt(color[2],10).toString(16);r=r.length===1?"0"+r:r;g=g.length===1?"0"+g:g;b=b.length===1?"0"+b:b;colHex="#"+r+g+b}return colHex};$.ig.util.isResponseTypeSupported=function(responseType){var xhr=null;try{xhr=new XMLHttpRequest;xhr.open("GET","/");xhr.responseType=responseType}catch(e){return false}if(xhr===null){return false}return xhr.responseType===responseType};$.ig.util.getBinary=function(url,callback,error){var data,ret,req,useVbArray=false,arrayBufferSupported=$.ig.util.isResponseTypeSupported("arraybuffer")&&typeof Uint8Array!="undefined";if(typeof XMLHttpRequest=="undefined"){try{req=new ActiveXObject("Msxml2.XMLHTTP.6.0")}catch(e){}try{req=new ActiveXObject("Msxml2.XMLHTTP.3.0")}catch(e){}req=new ActiveXObject("Microsoft.XMLHTTP")}else{req=new XMLHttpRequest}if(!arrayBufferSupported){if(req.overrideMimeType){req.overrideMimeType("text/plain; charset=x-user-defined")}}if(typeof VBArray!="undefined"){useVbArray=true}req.onreadystatechange=function(){if(req.readyState==4){if(req.status==200){if(arrayBufferSupported&&typeof this.response!="undefined"){callback(new Uint8Array(this.response))}else{if(useVbArray){data=new VBArray(req.responseBody).toArray();for(var i=0;i<data.length;i++){data[i]=String.fromCharCode(data[i])}ret=data.join("");callback(ret)}else{callback(req.responseText)}}}else{error(req.error)}}};req.open("GET",url,true);if(arrayBufferSupported){req.responseType="arraybuffer"}req.send(null)};$.ig.util.extCopy=function(source,bindings){var i,j,k;if(typeof source=="undefined"||!source){return}for(j=0;j<bindings.length;j++){var dests=bindings[j][0];var meths=bindings[j][1];for(k=0;k<dests.length;k++){for(i=0;i<meths.length;i++){if(typeof dests[k]=="undefined"||!dests[k]||typeof meths[i]=="undefined"||!meths[i]){continue}$.ig.extendNativePrototype(dests[k].prototype,meths[i],source.prototype[meths[i]])}}}};$.ig.$currDefinitions=null;$.ig.$allDefinitions=[];$.ig.util.getDefinedNameAndNamespace=function(name){var ns=$.ig;var nParts=name.split(".");if(nParts.length!=1){for(var i=0;i<nParts.length-1;i++){var nsName=nParts[i];if(!ns[nsName]){ns[nsName]={}}ns=ns[nsName]}name=nParts[nParts.length-1]}return{name:name,namespace:ns}};$.ig.util.bulkDefine=function(toDefine){var i=0,curr=null,els=null;for(i=0;i<toDefine.length;i++){curr=toDefine[i];els=curr.split(":");curr=els[0];var info=$.ig.util.getDefinedNameAndNamespace(curr);info.namespace[info.name]=info.namespace[info.name]||Class.extend({$type:new $.ig.Type(curr,$.ig.Object.prototype.$type),$placeholder:true},true);if(els.length>1&&$.ig.$currDefinitions){$.ig.$currDefinitions[els[1]]=info.namespace[info.name];$.ig.$currDefinitions["$"+els[1]]=info.namespace[info.name].prototype;$.ig.$currDefinitions["$_"+curr]=els[1]}if($.ig.$allDefinitions&&$.ig.$allDefinitions.indexOf($.ig.$currDefinitions)<0){$.ig.$allDefinitions.push($.ig.$currDefinitions)}}};$.ig.util.defType=function(name,baseName,definition){var els=null,i,currDefs,shortName;els=name.split(":");name=els[0];var info=$.ig.util.getDefinedNameAndNamespace(name);var result=info.namespace[info.name];if(!result||result.prototype.$placeholder){var baseInfo=$.ig.util.getDefinedNameAndNamespace(baseName);result=baseInfo.namespace[baseInfo.name].extend(definition);info.namespace[info.name]=result}if(els.length>1&&$.ig.$currDefinitions){$.ig.$currDefinitions[els[1]]=result;$.ig.$currDefinitions["$"+els[1]]=result.prototype;$.ig.$currDefinitions["$_"+name]=els[1];if($.ig.$allDefinitions){for(i=0;i<$.ig.$allDefinitions.length;i++){currDefs=$.ig.$allDefinitions[i];if(currDefs["$_"+name]!==undefined){shortName=currDefs["$_"+name];currDefs[shortName]=result;currDefs["$"+shortName]=result.prototype}}}}return result};$.ig.util.defEnum=function(name,isFlag,isPublic,values){var _values={};var renamed=null;for(var m in values){var mParts=m.split(":");_values[values[m]]=mParts[0];if(mParts.length>1){renamed=renamed||{};renamed[mParts[0]]=mParts[1];renamed[mParts[0].toUpperCase()]=mParts[1]}}var simpleName=name.split(":")[0];var getNameSingle=function(v){if(_values.hasOwnProperty(v)){return _values[v]}else{return v.toString()}};var getName=getNameSingle;if(isFlag){getName=function(v){return this.getFlaggedName(v,getNameSingle)}}var definition={init:function(v){this._v=v},$value:function(){return this._v},$renamed:renamed,$type:new $.ig.Type(simpleName,$.ig.Enum.prototype.$type),$getName:getName};var type=$.ig.util.defType(name,"Enum",definition,true);var enumTarget=isPublic?type:type.prototype;for(var member in values){var parts=member.split(":");var memberName;if(parts.length>1){memberName=parts[1]}else if(member.charAt(0)==="_"){memberName="_"+member.charAt(1).toLowerCase()+member.slice(2)}else{memberName=member.charAt(0).toLowerCase()+member.slice(1)}enumTarget[memberName]=values[member]}if(isPublic){enumTarget._isEnum=true}return type};$.ig.util.getClassCount=function(classNamePrefix,isPrefix){var styleSheets=document.styleSheets,numFound=0,count=0,currSheet,rules,currSelector,currVal;classNamePrefix=classNamePrefix.toLowerCase();if(!styleSheets){return 0}for(var i=0;i<styleSheets.length;i++){try{currSheet=styleSheets[i];rules=currSheet.rules?currSheet.rules:currSheet.cssRules;if(!rules){continue}for(var j=0;j<rules.length;j++){currSelector=rules[j].selectorText;if(currSelector){currSelector=currSelector.toLowerCase();if(isPrefix){if(currSelector.indexOf(classNamePrefix)===0){currVal=parseInt(currSelector.replace(classNamePrefix,""),10);if(isNaN(currVal)){count++}else{numFound=Math.max(numFound,currVal)}}}else{if(currSelector==classNamePrefix){numFound++}}}}}catch(e){}}return Math.max(numFound,count)};$.ig.util._isCanvasSupported=function(){var canvas=document.createElement("canvas");return!!(canvas.getContext&&canvas.getContext("2d"))};var globalInfo={invariant:{c:"\xa4",d:"MM/dd/yyyy"},127:"invariant",af:{c:"R",d:"yyyy/MM/dd"},54:"af","af-ZA":{c:"R",d:"yyyy/MM/dd"},1078:"af-ZA",am:{c:"ETB",d:"d/M/yyyy"},94:"am","am-ET":{c:"ETB",d:"d/M/yyyy"},1118:"am-ET",ar:{c:"\u0631.\u0633.\u200f",d:"dd/MM/yy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},1:"ar","ar-AE":{c:"\u062f.\u0625.\u200f",d:"dd/MM/yyyy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},14337:"ar-AE","ar-BH":{c:"\u062f.\u0628.\u200f",d:"dd/MM/yyyy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},15361:"ar-BH","ar-DZ":{c:"\u062f.\u062c.\u200f",d:"dd-MM-yyyy"},5121:"ar-DZ","ar-EG":{c:"\u062c.\u0645.\u200f",d:"dd/MM/yyyy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},3073:"ar-EG","ar-IQ":{c:"\u062f.\u0639.\u200f",d:"dd/MM/yyyy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},2049:"ar-IQ","ar-JO":{c:"\u062f.\u0627.\u200f",d:"dd/MM/yyyy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},11265:"ar-JO","ar-KW":{c:"\u062f.\u0643.\u200f",d:"dd/MM/yyyy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},13313:"ar-KW","ar-LB":{c:"\u0644.\u0644.\u200f\u200f",d:"dd/MM/yyyy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},12289:"ar-LB","ar-LY":{c:"\u062f.\u0644.\u200f\u200f",d:"dd/MM/yyyy"},4097:"ar-LY","ar-MA":{c:"\u062f.\u0645.\u200f\u200f",d:"dd-MM-yyyy"},6145:"ar-MA",arn:{c:"$",d:"dd-MM-yyyy"},122:"arn","arn-CL":{c:"$",d:"dd-MM-yyyy"},1146:"arn-CL","ar-OM":{c:"\u0631.\u0639.\u200f\u200f",d:"dd/MM/yyyy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},8193:"ar-OM","ar-QA":{c:"\u0631.\u0642.\u200f\u200f",d:"dd/MM/yyyy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},16385:"ar-QA","ar-SA":{c:"\u0631.\u0633.\u200f",d:"dd/MM/yy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},1025:"ar-SA","ar-SY":{c:"\u0644.\u0633.\u200f\u200f",d:"dd/MM/yyyy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},10241:"ar-SY","ar-TN":{c:"\u062f.\u062a.\u200f\u200f",d:"dd-MM-yyyy"},7169:"ar-TN","ar-YE":{c:"\u0631.\u064a.\u200f\u200f",d:"dd/MM/yyyy",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},9217:"ar-YE",as:{c:"\u20b9",d:"dd-MM-yyyy",n:"\u09e6\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef"},77:"as","as-IN":{c:"\u20b9",d:"dd-MM-yyyy",n:"\u09e6\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef"},1101:"as-IN",az:{c:"man.",d:"dd.MM.yyyy"},44:"az","az-Cyrl":{c:"\u043c\u0430\u043d.",d:"dd.MM.yyyy"},29740:"az-Cyrl","az-Cyrl-AZ":{c:"\u043c\u0430\u043d.",d:"dd.MM.yyyy"},2092:"az-Cyrl-AZ","az-Latn":{c:"man.",d:"dd.MM.yyyy"},30764:"az-Latn","az-Latn-AZ":{c:"man.",d:"dd.MM.yyyy"},1068:"az-Latn-AZ",ba:{c:"\u20bd",d:"dd.MM.yy"},109:"ba","ba-RU":{c:"\u20bd",d:"dd.MM.yy"},1133:"ba-RU",be:{c:"Br",d:"dd.MM.yy"},35:"be","be-BY":{c:"Br",d:"dd.MM.yy"},1059:"be-BY",bg:{c:"\u043b\u0432.",d:'d.M.yyyy "\u0433."'},2:"bg","bg-BG":{c:"\u043b\u0432.",d:'d.M.yyyy "\u0433."'},1026:"bg-BG",bn:{c:"\u20b9",d:"dd-MM-yy",n:"\u09e6\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef"},69:"bn","bn-BD":{c:"\u09f3",d:"dd-MM-yy",n:"\u09e6\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef"},2117:"bn-BD","bn-IN":{c:"\u20b9",d:"dd-MM-yy",n:"\u09e6\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef"},1093:"bn-IN",bo:{c:"\xa5",d:"yyyy/M/d",n:"\u0f20\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29"},81:"bo","bo-CN":{c:"\xa5",d:"yyyy/M/d",n:"\u0f20\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29"},1105:"bo-CN",br:{c:"\u20ac",d:"dd/MM/yyyy"},126:"br","br-FR":{c:"\u20ac",d:"dd/MM/yyyy"},1150:"br-FR",bs:{c:"KM",d:"d.M.yyyy"},30746:"bs","bs-Cyrl":{c:"\u041a\u041c",d:"d.M.yyyy"},25626:"bs-Cyrl","bs-Cyrl-BA":{c:"\u041a\u041c",d:"d.M.yyyy"},8218:"bs-Cyrl-BA","bs-Latn":{c:"KM",d:"d.M.yyyy"},26650:"bs-Latn","bs-Latn-BA":{c:"KM",d:"d.M.yyyy"},5146:"bs-Latn-BA",ca:{c:"\u20ac",d:"dd/MM/yyyy"},3:"ca","ca-ES":{c:"\u20ac",d:"dd/MM/yyyy"},1027:"ca-ES","ca-ES-valencia":{c:"\u20ac",d:"dd/MM/yy"},2051:"ca-ES-valencia",chr:{c:"$",d:"M/d/yyyy"},92:"chr","chr-Cher":{c:"$",d:"M/d/yyyy"},31836:"chr-Cher","chr-Cher-US":{c:"$",d:"M/d/yyyy"},1116:"chr-Cher-US",
co:{c:"\u20ac",d:"dd/MM/yyyy"},131:"co","co-FR":{c:"\u20ac",d:"dd/MM/yyyy"},1155:"co-FR",cs:{c:"K\u010d",d:"d. M. yyyy"},5:"cs","cs-CZ":{c:"K\u010d",d:"d. M. yyyy"},1029:"cs-CZ",cy:{c:"\xa3",d:"dd/MM/yy"},82:"cy","cy-GB":{c:"\xa3",d:"dd/MM/yy"},1106:"cy-GB",da:{c:"kr.",d:"dd-MM-yyyy"},6:"da","da-DK":{c:"kr.",d:"dd-MM-yyyy"},1030:"da-DK",de:{c:"\u20ac",d:"dd.MM.yyyy"},7:"de","de-AT":{c:"\u20ac",d:"dd.MM.yyyy"},3079:"de-AT","de-CH":{c:"Fr.",d:"dd.MM.yyyy"},2055:"de-CH","de-DE":{c:"\u20ac",d:"dd.MM.yyyy"},1031:"de-DE","de-LI":{c:"CHF",d:"dd.MM.yyyy"},5127:"de-LI","de-LU":{c:"\u20ac",d:"dd.MM.yyyy"},4103:"de-LU",dsb:{c:"\u20ac",d:"d. M. yyyy"},31790:"dsb","dsb-DE":{c:"\u20ac",d:"d. M. yyyy"},2094:"dsb-DE",dv:{c:"\u0783.",d:"dd/MM/yy"},101:"dv","dv-MV":{c:"\u0783.",d:"dd/MM/yy"},1125:"dv-MV",el:{c:"\u20ac",d:"d/M/yyyy"},8:"el","el-GR":{c:"\u20ac",d:"d/M/yyyy"},1032:"el-GR",en:{c:"$",d:"M/d/yyyy"},9:"en","en-029":{c:"EC$",d:"dd/MM/yyyy"},9225:"en-029","en-AU":{c:"$",d:"d/MM/yyyy"},3081:"en-AU","en-BZ":{c:"BZ$",d:"dd/MM/yyyy"},10249:"en-BZ","en-CA":{c:"$",d:"yyyy-MM-dd"},4105:"en-CA","en-GB":{c:"\xa3",d:"dd/MM/yyyy"},2057:"en-GB","en-HK":{c:"$",d:"d/M/yy"},15369:"en-HK","en-IE":{c:"\u20ac",d:"dd/MM/yyyy"},6153:"en-IE","en-IN":{c:"\u20b9",d:"dd-MM-yyyy"},16393:"en-IN","en-JM":{c:"J$",d:"dd/MM/yyyy"},8201:"en-JM","en-MY":{c:"RM",d:"d/M/yyyy"},17417:"en-MY","en-NZ":{c:"$",d:"d/MM/yyyy"},5129:"en-NZ","en-PH":{c:"\u20b1",d:"M/d/yyyy"},13321:"en-PH","en-SG":{c:"$",d:"d/M/yyyy"},18441:"en-SG","en-TT":{c:"TT$",d:"dd/MM/yyyy"},11273:"en-TT","en-US":{c:"$",d:"M/d/yyyy"},1033:"en-US","en-ZA":{c:"R",d:"yyyy-MM-dd"},7177:"en-ZA","en-ZW":{c:"$",d:"dd/MM/yyyy"},12297:"en-ZW",es:{c:"\u20ac",d:"dd/MM/yyyy"},10:"es","es-419":{c:"US$",d:"dd/MM/yy"},22538:"es-419","es-AR":{c:"$",d:"dd/MM/yyyy"},11274:"es-AR","es-BO":{c:"Bs.",d:"dd/MM/yyyy"},16394:"es-BO","es-CL":{c:"$",d:"dd-MM-yyyy"},13322:"es-CL","es-CO":{c:"$",d:"dd/MM/yyyy"},9226:"es-CO","es-CR":{c:"\u20a1",d:"dd/MM/yyyy"},5130:"es-CR","es-DO":{c:"RD$",d:"d/M/yy"},7178:"es-DO","es-EC":{c:"$",d:"dd/MM/yyyy"},12298:"es-EC","es-ES":{c:"\u20ac",d:"dd/MM/yyyy"},3082:"es-ES","es-GT":{c:"Q",d:"dd/MM/yyyy"},4106:"es-GT","es-HN":{c:"L.",d:"dd/MM/yyyy"},18442:"es-HN","es-MX":{c:"$",d:"dd/MM/yyyy"},2058:"es-MX","es-NI":{c:"C$",d:"dd/MM/yyyy"},19466:"es-NI","es-PA":{c:"B/.",d:"d/M/yy"},6154:"es-PA","es-PE":{c:"S/.",d:"dd/MM/yyyy"},10250:"es-PE","es-PR":{c:"$",d:"dd/MM/yyyy"},20490:"es-PR","es-PY":{c:"\u20b2",d:"dd/MM/yyyy"},15370:"es-PY","es-SV":{c:"$",d:"dd/MM/yyyy"},17418:"es-SV","es-US":{c:"$",d:"M/d/yyyy"},21514:"es-US","es-UY":{c:"$U",d:"dd/MM/yyyy"},14346:"es-UY","es-VE":{c:"Bs.F.",d:"dd-MM-yyyy"},8202:"es-VE",et:{c:"\u20ac",d:"d.MM.yyyy"},37:"et","et-EE":{c:"\u20ac",d:"d.MM.yyyy"},1061:"et-EE",eu:{c:"\u20ac",d:"yyyy/MM/dd"},45:"eu","eu-ES":{c:"\u20ac",d:"yyyy/MM/dd"},1069:"eu-ES",fa:{c:"\u0631\u064a\u0627\u0644",d:"dd/MM/yyyy",n:"\u06f0\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9"},41:"fa","fa-IR":{c:"\u0631\u064a\u0627\u0644",d:"dd/MM/yyyy",n:"\u06f0\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9"},1065:"fa-IR",ff:{c:"CFA",d:"dd/MM/yyyy"},103:"ff","ff-Latn":{c:"CFA",d:"dd/MM/yyyy"},31847:"ff-Latn","ff-Latn-SN":{c:"CFA",d:"dd/MM/yyyy"},2151:"ff-Latn-SN",fi:{c:"\u20ac",d:"d.M.yyyy"},11:"fi","fi-FI":{c:"\u20ac",d:"d.M.yyyy"},1035:"fi-FI",fil:{c:"\u20b1",d:"M/d/yyyy"},100:"fil","fil-PH":{c:"\u20b1",d:"M/d/yyyy"},1124:"fil-PH",fo:{c:"kr.",d:"dd-MM-yyyy"},56:"fo","fo-FO":{c:"kr.",d:"dd-MM-yyyy"},1080:"fo-FO",fr:{c:"\u20ac",d:"dd/MM/yyyy"},12:"fr","fr-BE":{c:"\u20ac",d:"dd-MM-yy"},2060:"fr-BE","fr-CA":{c:"$",d:"yyyy-MM-dd"},3084:"fr-CA","fr-CD":{c:"FC",d:"dd/MM/yyyy"},9228:"fr-CD","fr-CH":{c:"fr.",d:"dd.MM.yyyy"},4108:"fr-CH","fr-CI":{c:"CFA",d:"dd/MM/yyyy"},12300:"fr-CI","fr-CM":{c:"FCFA",d:"dd/MM/yyyy"},11276:"fr-CM","fr-FR":{c:"\u20ac",d:"dd/MM/yyyy"},1036:"fr-FR","fr-HT":{c:"G",d:"dd/MM/yyyy"},15372:"fr-HT","fr-LU":{c:"\u20ac",d:"dd/MM/yyyy"},5132:"fr-LU","fr-MA":{c:"DH",d:"dd/MM/yyyy"},14348:"fr-MA","fr-MC":{c:"\u20ac",d:"dd/MM/yyyy"},6156:"fr-MC","fr-ML":{c:"CFA",d:"dd/MM/yyyy"},13324:"fr-ML","fr-RE":{c:"\u20ac",d:"dd/MM/yyyy"},8204:"fr-RE","fr-SN":{c:"CFA",d:"dd/MM/yyyy"},10252:"fr-SN",fy:{c:"\u20ac",d:"d-M-yyyy"},98:"fy","fy-NL":{c:"\u20ac",d:"d-M-yyyy"},1122:"fy-NL",ga:{c:"\u20ac",d:"dd/MM/yyyy"},60:"ga","ga-IE":{c:"\u20ac",d:"dd/MM/yyyy"},2108:"ga-IE",gd:{c:"\xa3",d:"dd/MM/yyyy"},145:"gd","gd-GB":{c:"\xa3",d:"dd/MM/yyyy"},1169:"gd-GB",gl:{c:"\u20ac",d:"dd/MM/yyyy"},86:"gl","gl-ES":{c:"\u20ac",d:"dd/MM/yyyy"},1110:"gl-ES",gn:{c:"\u20b2",d:"dd/MM/yyyy"},116:"gn","gn-PY":{c:"\u20b2",d:"dd/MM/yyyy"},1140:"gn-PY",gsw:{c:"\u20ac",d:"dd/MM/yyyy"},132:"gsw","gsw-FR":{c:"\u20ac",d:"dd/MM/yyyy"},1156:"gsw-FR",gu:{c:"\u20b9",d:"dd-MM-yy",n:"\u0ae6\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef"},71:"gu","gu-IN":{c:"\u20b9",d:"dd-MM-yy",n:"\u0ae6\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef"},1095:"gu-IN",ha:{c:"\u20a6",d:"d/M/yyyy"},104:"ha","ha-Latn":{c:"\u20a6",d:"d/M/yyyy"},31848:"ha-Latn","ha-Latn-NG":{c:"\u20a6",d:"d/M/yyyy"},1128:"ha-Latn-NG",haw:{c:"$",d:"M/d/yyyy"},117:"haw","haw-US":{c:"$",d:"M/d/yyyy"},1141:"haw-US",he:{c:"\u20aa",d:"dd/MM/yyyy"},13:"he","he-IL":{c:"\u20aa",d:"dd/MM/yyyy"},1037:"he-IL",hi:{c:"\u20b9",d:"dd-MM-yyyy",n:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f"},57:"hi","hi-IN":{c:"\u20b9",d:"dd-MM-yyyy",n:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f"},1081:"hi-IN",hr:{c:"kn",d:"d.M.yyyy."},26:"hr","hr-BA":{c:"KM",d:"d.M.yyyy."},4122:"hr-BA","hr-HR":{c:"kn",d:"d.M.yyyy."},1050:"hr-HR",hsb:{c:"\u20ac",d:"d. M. yyyy"},46:"hsb","hsb-DE":{c:"\u20ac",d:"d. M. yyyy"},1070:"hsb-DE",hu:{c:"Ft",d:"yyyy.MM.dd."},14:"hu","hu-HU":{c:"Ft",d:"yyyy.MM.dd."},1038:"hu-HU",hy:{c:"\u058f",d:"dd.MM.yyyy"},43:"hy","hy-AM":{c:"\u058f",d:"dd.MM.yyyy"},1067:"hy-AM",id:{c:"Rp",d:"dd/MM/yyyy"},33:"id","id-ID":{c:"Rp",d:"dd/MM/yyyy"},1057:"id-ID",ig:{c:"\u20a6",d:"d/M/yyyy"},112:"ig","ig-NG":{c:"\u20a6",d:"d/M/yyyy"},1136:"ig-NG",ii:{c:"\xa5",d:"yyyy/M/d"},120:"ii","ii-CN":{c:"\xa5",d:"yyyy/M/d"},1144:"ii-CN",is:{c:"kr.",d:"d.M.yyyy"},15:"is","is-IS":{c:"kr.",d:"d.M.yyyy"},1039:"is-IS",it:{c:"\u20ac",d:"dd/MM/yyyy"},16:"it","it-CH":{c:"fr.",d:"dd.MM.yyyy"},2064:"it-CH","it-IT":{c:"\u20ac",d:"dd/MM/yyyy"},1040:"it-IT",iu:{c:"$",d:"d/MM/yyyy"},93:"iu","iu-Cans":{c:"$",d:"d/M/yyyy"},30813:"iu-Cans","iu-Cans-CA":{c:"$",d:"d/M/yyyy"},1117:"iu-Cans-CA","iu-Latn":{c:"$",d:"d/MM/yyyy"},31837:"iu-Latn","iu-Latn-CA":{c:"$",d:"d/MM/yyyy"},2141:"iu-Latn-CA",ja:{c:"\xa5",d:"yyyy/MM/dd"},17:"ja","ja-JP":{c:"\xa5",d:"yyyy/MM/dd"},1041:"ja-JP",jv:{c:"Rp",d:"dd/MM/yyyy"},4096:"jv","jv-Latn":{c:"Rp",d:"dd/MM/yyyy"},"jv-Latn-ID":{c:"Rp",d:"dd/MM/yyyy"},ka:{c:"\u10da.",d:"dd.MM.yyyy"},55:"ka","ka-GE":{c:"\u10da.",d:"dd.MM.yyyy"},1079:"ka-GE",kk:{c:"\u20b8",d:"d-MMM-yy"},63:"kk","kk-KZ":{c:"\u20b8",d:"d-MMM-yy"},1087:"kk-KZ",kl:{c:"kr.",d:"dd-MM-yyyy"},111:"kl","kl-GL":{c:"kr.",d:"dd-MM-yyyy"},1135:"kl-GL",km:{c:"\u17db",d:"dd/MM/yy",n:"\u17e0\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9"},83:"km","km-KH":{c:"\u17db",d:"dd/MM/yy",n:"\u17e0\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9"},1107:"km-KH",kn:{c:"\u20b9",d:"dd-MM-yy",n:"\u0ce6\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef"},75:"kn","kn-IN":{c:"\u20b9",d:"dd-MM-yy",n:"\u0ce6\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef"},1099:"kn-IN",ko:{c:"\u20a9",d:"yyyy-MM-dd"},18:"ko",kok:{c:"\u20b9",d:"dd-MM-yyyy",n:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f"},87:"kok","kok-IN":{c:"\u20b9",d:"dd-MM-yyyy",n:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f"},1111:"kok-IN","ko-KR":{c:"\u20a9",d:"yyyy-MM-dd"},1042:"ko-KR",ku:{c:"\u062f.\u0639.\u200f",d:"yyyy/MM/dd",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},146:"ku","ku-Arab":{c:"\u062f.\u0639.\u200f",d:"yyyy/MM/dd",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},31890:"ku-Arab","ku-Arab-IQ":{c:"\u062f.\u0639.\u200f",d:"yyyy/MM/dd",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},1170:"ku-Arab-IQ",ky:{c:"\u0441\u043e\u043c",d:"d-MMM yy"},64:"ky","ky-KG":{c:"\u0441\u043e\u043c",d:"d-MMM yy"},1088:"ky-KG",lb:{c:"\u20ac",d:"dd.MM.yy"},110:"lb","lb-LU":{c:"\u20ac",d:"dd.MM.yy"},1134:"lb-LU",lo:{c:"\u20ad",d:"dd/MM/yyyy",n:"\u0ed0\u0ed1\u0ed2\u0ed3\u0ed4\u0ed5\u0ed6\u0ed7\u0ed8\u0ed9"},84:"lo","lo-LA":{c:"\u20ad",d:"dd/MM/yyyy",n:"\u0ed0\u0ed1\u0ed2\u0ed3\u0ed4\u0ed5\u0ed6\u0ed7\u0ed8\u0ed9"},1108:"lo-LA",lt:{c:"Lt",d:"yyyy-MM-dd"},39:"lt","lt-LT":{c:"Lt",d:"yyyy-MM-dd"},1063:"lt-LT",lv:{c:"\u20ac",d:"dd.MM.yyyy."},38:"lv","lv-LV":{c:"\u20ac",d:"dd.MM.yyyy."},1062:"lv-LV",mg:{c:"Ar",d:"d/M/yyyy"},"mg-MG":{c:"Ar",d:"d/M/yyyy"},mi:{c:"$",d:"dd/MM/yyyy"},129:"mi","mi-NZ":{c:"$",d:"dd/MM/yyyy"},1153:"mi-NZ",mk:{c:"\u0434\u0435\u043d.",d:"dd.MM.yyyy"},47:"mk","mk-MK":{c:"\u0434\u0435\u043d.",d:"dd.MM.yyyy"},1071:"mk-MK",ml:{c:"\u20b9",d:"dd-MM-yy",n:"\u0d66\u0d67\u0d68\u0d69\u0d6a\u0d6b\u0d6c\u0d6d\u0d6e\u0d6f"},76:"ml","ml-IN":{c:"\u20b9",d:"dd-MM-yy",n:"\u0d66\u0d67\u0d68\u0d69\u0d6a\u0d6b\u0d6c\u0d6d\u0d6e\u0d6f"},1100:"ml-IN",mn:{c:"\u20ae",d:"yyyy-MM-dd"},80:"mn","mn-Cyrl":{c:"\u20ae",d:"yyyy-MM-dd"},30800:"mn-Cyrl","mn-MN":{c:"\u20ae",d:"yyyy-MM-dd"},1104:"mn-MN","mn-Mong":{c:"\xa5",d:"yyyy/M/d"},31824:"mn-Mong","mn-Mong-CN":{c:"\xa5",d:"yyyy/M/d"},2128:"mn-Mong-CN","mn-Mong-MN":{c:"\u20ae",d:"yyyy/M/d"},3152:"mn-Mong-MN",moh:{c:"$",d:"M/d/yyyy"},124:"moh","moh-CA":{c:"$",d:"M/d/yyyy"},1148:"moh-CA",mr:{c:"\u20b9",d:"dd-MM-yyyy",n:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f"},78:"mr","mr-IN":{c:"\u20b9",d:"dd-MM-yyyy",n:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f"},1102:"mr-IN",ms:{c:"RM",d:"dd/MM/yyyy"},62:"ms","ms-BN":{c:"$",d:"dd/MM/yyyy"},2110:"ms-BN","ms-MY":{c:"RM",d:"dd/MM/yyyy"},1086:"ms-MY",mt:{c:"\u20ac",d:"dd/MM/yyyy"},58:"mt","mt-MT":{c:"\u20ac",d:"dd/MM/yyyy"},1082:"mt-MT",my:{c:"K",d:"dd-MM-yyyy",n:"\u1040\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049"},85:"my","my-MM":{c:"K",d:"dd-MM-yyyy",n:"\u1040\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049"},1109:"my-MM",nb:{c:"kr",d:"dd.MM.yyyy"},31764:"nb","nb-NO":{c:"kr",d:"dd.MM.yyyy"},1044:"nb-NO",ne:{c:"\u0930\u0941",d:"M/d/yyyy",n:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f"},97:"ne","ne-IN":{c:"\u20b9",d:"yyyy-MM-dd",n:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f"},2145:"ne-IN","ne-NP":{c:"\u0930\u0941",d:"M/d/yyyy",n:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f"},1121:"ne-NP",nl:{c:"\u20ac",d:"d-M-yyyy"},19:"nl","nl-BE":{c:"\u20ac",d:"d/MM/yyyy"},2067:"nl-BE","nl-NL":{c:"\u20ac",d:"d-M-yyyy"},1043:"nl-NL",nn:{c:"kr",d:"dd.MM.yyyy"},30740:"nn","nn-NO":{c:"kr",d:"dd.MM.yyyy"},2068:"nn-NO",no:{c:"kr",d:"dd.MM.yyyy"},20:"no",nqo:{c:"\u07d6\u07d5.",d:"dd/MM/yyyy",n:"\u07c0\u07c1\u07c2\u07c3\u07c4\u07c5\u07c6\u07c7\u07c8\u07c9"},"nqo-GN":{c:"\u07d6\u07d5.",d:"dd/MM/yyyy",n:"\u07c0\u07c1\u07c2\u07c3\u07c4\u07c5\u07c6\u07c7\u07c8\u07c9"},nso:{c:"R",d:"dd/MM/yy"},108:"nso","nso-ZA":{c:"R",d:"dd/MM/yy"},1132:"nso-ZA",oc:{c:"\u20ac",d:"dd/MM/yyyy"},130:"oc","oc-FR":{c:"\u20ac",d:"dd/MM/yyyy"},1154:"oc-FR",om:{c:"Br",d:"dd/MM/yy"},114:"om","om-ET":{c:"Br",d:"dd/MM/yy"},1138:"om-ET",or:{c:"\u20b9",d:"dd-MM-yy",n:"\u0b66\u0b67\u0b68\u0b69\u0b6a\u0b6b\u0b6c\u0b6d\u0b6e\u0b6f"},72:"or","or-IN":{c:"\u20b9",d:"dd-MM-yy",n:"\u0b66\u0b67\u0b68\u0b69\u0b6a\u0b6b\u0b6c\u0b6d\u0b6e\u0b6f"},1096:"or-IN",pa:{c:"\u20b9",d:"dd-MM-yy",n:"\u0a66\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f"},70:"pa","pa-Arab":{c:"Rs",d:"dd-MM-yy",n:"\u06f0\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9"},31814:"pa-Arab","pa-Arab-PK":{c:"Rs",d:"dd-MM-yy",n:"\u06f0\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9"},2118:"pa-Arab-PK","pa-IN":{c:"\u20b9",d:"dd-MM-yy",n:"\u0a66\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f"},1094:"pa-IN",pl:{c:"z\u0142",d:"yyyy-MM-dd"},21:"pl","pl-PL":{c:"z\u0142",d:"yyyy-MM-dd"},1045:"pl-PL",prs:{c:"\u060b",d:"yyyy/M/d",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},140:"prs","prs-AF":{c:"\u060b",d:"yyyy/M/d",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},1164:"prs-AF",ps:{c:"\u060b",d:"yyyy/M/d",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},99:"ps","ps-AF":{c:"\u060b",d:"yyyy/M/d",n:"\u0660\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669"},1123:"ps-AF",pt:{c:"R$",d:"dd/MM/yyyy"},22:"pt","pt-AO":{c:"Kz",d:"dd/MM/yy"},"pt-BR":{c:"R$",d:"dd/MM/yyyy"},1046:"pt-BR","pt-PT":{c:"\u20ac",d:"dd/MM/yyyy"},2070:"pt-PT",qut:{c:"Q",d:"dd/MM/yyyy"},134:"qut","qut-GT":{c:"Q",d:"dd/MM/yyyy"},1158:"qut-GT",quz:{c:"Bs.",d:"dd/MM/yyyy"},107:"quz","quz-BO":{c:"Bs.",d:"dd/MM/yyyy"},1131:"quz-BO","quz-EC":{c:"$",d:"dd/MM/yyyy"},2155:"quz-EC","quz-PE":{c:"S/.",d:"dd/MM/yyyy"},3179:"quz-PE",rm:{c:"fr.",d:"dd-MM-yyyy"},23:"rm","rm-CH":{c:"fr.",d:"dd-MM-yyyy"},1047:"rm-CH",ro:{c:"lei",d:"dd.MM.yyyy"},24:"ro","ro-MD":{c:"L",d:"dd.MM.yyyy"},2072:"ro-MD","ro-RO":{c:"lei",d:"dd.MM.yyyy"},1048:"ro-RO",ru:{c:"\u20bd",d:"dd.MM.yyyy"},25:"ru","ru-RU":{c:"\u20bd",d:"dd.MM.yyyy"},1049:"ru-RU",rw:{c:"RWF",d:"d/MM/yyyy"},135:"rw","rw-RW":{c:"RWF",d:"d/MM/yyyy"},1159:"rw-RW",sa:{c:"\u20b9",d:"dd-MM-yyyy",n:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f"},79:"sa",sah:{c:"\u20bd",d:"dd.MM.yyyy"},133:"sah","sah-RU":{c:"\u20bd",d:"dd.MM.yyyy"},1157:"sah-RU","sa-IN":{c:"\u20b9",d:"dd-MM-yyyy",n:"\u0966\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f"},1103:"sa-IN",sd:{c:"Rs",d:"dd/MM/yyyy",n:"\u06f0\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9"},89:"sd","sd-Arab":{c:"Rs",d:"dd/MM/yyyy",n:"\u06f0\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9"},31833:"sd-Arab","sd-Arab-PK":{c:"Rs",d:"dd/MM/yyyy",n:"\u06f0\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9"},2137:"sd-Arab-PK",se:{c:"kr",d:"dd.MM.yyyy"},59:"se","se-FI":{c:"\u20ac",d:"d.M.yyyy"},3131:"se-FI","se-NO":{c:"kr",d:"dd.MM.yyyy"},1083:"se-NO","se-SE":{c:"kr",d:"yyyy-MM-dd"},2107:"se-SE",si:{c:"\u0dbb\u0dd4.",d:"yyyy-MM-dd"},91:"si","si-LK":{c:"\u0dbb\u0dd4.",d:"yyyy-MM-dd"},1115:"si-LK",sk:{c:"EUR",d:"d.M.yyyy"},27:"sk","sk-SK":{c:"EUR",d:"d.M.yyyy"},1051:"sk-SK",sl:{c:"\u20ac",d:"d.M.yyyy"},36:"sl","sl-SI":{c:"\u20ac",d:"d.M.yyyy"},1060:"sl-SI",sma:{c:"kr",d:"yyyy-MM-dd"},30779:"sma","sma-NO":{c:"kr",d:"dd.MM.yyyy"},6203:"sma-NO","sma-SE":{c:"kr",d:"yyyy-MM-dd"},7227:"sma-SE",smj:{c:"kr",d:"yyyy-MM-dd"},31803:"smj","smj-NO":{c:"kr",d:"dd.MM.yyyy"},4155:"smj-NO","smj-SE":{c:"kr",d:"yyyy-MM-dd"},5179:"smj-SE",smn:{c:"\u20ac",d:"d.M.yyyy"},28731:"smn","smn-FI":{c:"\u20ac",d:"d.M.yyyy"},9275:"smn-FI",sms:{c:"\u20ac",d:"d.M.yyyy"},29755:"sms","sms-FI":{c:"\u20ac",d:"d.M.yyyy"},8251:"sms-FI",sn:{c:"US$",d:"dd/MM/yyyy"},"sn-Latn":{c:"US$",d:"dd/MM/yyyy"},"sn-Latn-ZW":{c:"US$",d:"dd/MM/yyyy"},so:{c:"S",d:"dd/MM/yy"},119:"so","so-SO":{c:"S",d:"dd/MM/yy"},1143:"so-SO",sq:{c:"Lek",d:"d.M.yyyy"},28:"sq","sq-AL":{c:"Lek",d:"d.M.yyyy"},1052:"sq-AL",sr:{c:"din.",d:"d.M.yyyy."},31770:"sr","sr-Cyrl":{c:"\u0434\u0438\u043d.",d:"d.M.yyyy."},27674:"sr-Cyrl","sr-Cyrl-BA":{c:"\u041a\u041c",d:"d.M.yyyy."},7194:"sr-Cyrl-BA","sr-Cyrl-CS":{c:"\u0434\u0438\u043d.",d:"d.M.yyyy."},3098:"sr-Cyrl-CS","sr-Cyrl-ME":{c:"\u20ac",d:"d.M.yyyy."},12314:"sr-Cyrl-ME","sr-Cyrl-RS":{c:"\u0434\u0438\u043d.",d:"d.M.yyyy."},10266:"sr-Cyrl-RS","sr-Latn":{c:"din.",d:"d.M.yyyy."},28698:"sr-Latn","sr-Latn-BA":{c:"KM",d:"d.M.yyyy."},6170:"sr-Latn-BA","sr-Latn-CS":{c:"din.",d:"d.M.yyyy."},2074:"sr-Latn-CS","sr-Latn-ME":{c:"\u20ac",d:"d.M.yyyy."},11290:"sr-Latn-ME","sr-Latn-RS":{c:"din.",d:"d.M.yyyy."},9242:"sr-Latn-RS",st:{c:"R",d:"yyyy-MM-dd"},48:"st","st-ZA":{c:"R",d:"yyyy-MM-dd"},1072:"st-ZA",sv:{c:"kr",d:"yyyy-MM-dd"},29:"sv","sv-FI":{c:"\u20ac",d:"d.M.yyyy"},2077:"sv-FI","sv-SE":{c:"kr",d:"yyyy-MM-dd"},1053:"sv-SE",sw:{c:"KSh",d:"M/d/yyyy"},65:"sw","sw-KE":{c:"KSh",d:"M/d/yyyy"},1089:"sw-KE",syr:{c:"\u0720.\u0723.\u200f",d:"dd/MM/yyyy"},90:"syr","syr-SY":{c:"\u0720.\u0723.\u200f",d:"dd/MM/yyyy"},1114:"syr-SY",ta:{c:"\u20b9",d:"dd-MM-yyyy",n:"\u0be6\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef"},73:"ta","ta-IN":{c:"\u20b9",d:"dd-MM-yyyy",n:"\u0be6\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef"},1097:"ta-IN","ta-LK":{c:"Rs",d:"dd-MM-yyyy",n:"\u0be6\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef"},2121:"ta-LK",te:{c:"\u20b9",d:"dd-MM-yy",n:"\u0c66\u0c67\u0c68\u0c69\u0c6a\u0c6b\u0c6c\u0c6d\u0c6e\u0c6f"},74:"te","te-IN":{c:"\u20b9",d:"dd-MM-yy",n:"\u0c66\u0c67\u0c68\u0c69\u0c6a\u0c6b\u0c6c\u0c6d\u0c6e\u0c6f"},1098:"te-IN",tg:{c:"\u0441\u043c\u043d",d:"dd.MM.yyyy"},40:"tg","tg-Cyrl":{c:"\u0441\u043c\u043d",d:"dd.MM.yyyy"},31784:"tg-Cyrl","tg-Cyrl-TJ":{c:"\u0441\u043c\u043d",d:"dd.MM.yyyy"},1064:"tg-Cyrl-TJ",th:{c:"\u0e3f",d:"d/M/yyyy",n:"\u0e50\u0e51\u0e52\u0e53\u0e54\u0e55\u0e56\u0e57\u0e58\u0e59"},30:"th","th-TH":{c:"\u0e3f",d:"d/M/yyyy",n:"\u0e50\u0e51\u0e52\u0e53\u0e54\u0e55\u0e56\u0e57\u0e58\u0e59"},1054:"th-TH",ti:{c:"ERN",d:"d/M/yyyy"},115:"ti","ti-ER":{c:"ERN",d:"d/M/yyyy"},2163:"ti-ER","ti-ET":{c:"\u1265\u122d",d:"d/M/yyyy"},1139:"ti-ET",tk:{c:"m.",d:'dd.MM.yy "\xfd."'},66:"tk","tk-TM":{c:"m.",d:'dd.MM.yy "\xfd."'},1090:"tk-TM",tn:{c:"R",d:"dd/MM/yy"},50:"tn","tn-BW":{c:"P",d:"dd/MM/yy"},2098:"tn-BW","tn-ZA":{c:"R",d:"dd/MM/yy"},1074:"tn-ZA",tr:{c:"\u20ba",d:"d.M.yyyy"},31:"tr","tr-TR":{c:"\u20ba",d:"d.M.yyyy"},1055:"tr-TR",ts:{c:"R",d:"yyyy-MM-dd"},49:"ts","ts-ZA":{c:"R",d:"yyyy-MM-dd"},1073:"ts-ZA",tt:{c:"\u20bd",d:"dd.MM.yyyy"},68:"tt","tt-RU":{c:"\u20bd",d:"dd.MM.yyyy"},1092:"tt-RU",tzm:{c:"DA",d:"dd-MM-yyyy"},95:"tzm","tzm-Latn":{c:"DA",d:"dd-MM-yyyy"},31839:"tzm-Latn","tzm-Latn-DZ":{c:"DA",d:"dd-MM-yyyy"},2143:"tzm-Latn-DZ","tzm-Tfng":{c:"\u2d37\u2d54",d:"dd-MM-yyyy"},30815:"tzm-Tfng","tzm-Tfng-MA":{c:"\u2d37\u2d54",d:"dd-MM-yyyy"},4191:"tzm-Tfng-MA",ug:{c:"\xa5",d:"yyyy-M-d"},128:"ug","ug-CN":{c:"\xa5",d:"yyyy-M-d"},1152:"ug-CN",uk:{c:"\u20b4",d:"dd.MM.yyyy"},34:"uk","uk-UA":{c:"\u20b4",d:"dd.MM.yyyy"},1058:"uk-UA",ur:{c:"Rs",d:"dd/MM/yyyy",n:"\u06f0\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9"},32:"ur","ur-IN":{c:"\u20b9",d:"d/M/yy",n:"\u06f0\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9"},2080:"ur-IN","ur-PK":{c:"Rs",d:"dd/MM/yyyy",n:"\u06f0\u06f1\u06f2\u06f3\u06f4\u06f5\u06f6\u06f7\u06f8\u06f9"},1056:"ur-PK",uz:{c:'so"m',d:"dd.MM.yyyy"},67:"uz","uz-Cyrl":{c:"\u0441\u045e\u043c",d:"dd.MM.yyyy"},30787:"uz-Cyrl","uz-Cyrl-UZ":{c:"\u0441\u045e\u043c",d:"dd.MM.yyyy"},2115:"uz-Cyrl-UZ","uz-Latn":{c:'so"m',d:"dd.MM.yyyy"},31811:"uz-Latn","uz-Latn-UZ":{c:'so"m',d:"dd.MM.yyyy"},1091:"uz-Latn-UZ",vi:{c:"\u20ab",d:"dd/MM/yyyy"},42:"vi","vi-VN":{c:"\u20ab",d:"dd/MM/yyyy"},1066:"vi-VN",wo:{c:"CFA",d:"dd/MM/yyyy"},136:"wo","wo-SN":{c:"CFA",d:"dd/MM/yyyy"},1160:"wo-SN",xh:{c:"R",d:"yyyy/MM/dd"},52:"xh","xh-ZA":{c:"R",d:"yyyy/MM/dd"},1076:"xh-ZA",yo:{c:"\u20a6",d:"d/M/yyyy"},106:"yo","yo-NG":{c:"\u20a6",d:"d/M/yyyy"},1130:"yo-NG",zgh:{c:"\u2d37\u2d54\u2d4e",d:"dd-MM-yyyy"},"zgh-Tfng":{c:"\u2d37\u2d54\u2d4e",d:"dd-MM-yyyy"},"zgh-Tfng-MA":{c:"\u2d37\u2d54\u2d4e",d:"dd-MM-yyyy"},zh:{c:"\xa5",d:"yyyy/M/d"},30724:"zh","zh-CHS":{c:"\xa5",d:"yyyy/M/d"},4:"zh-CHS","zh-CHT":{c:"HK$",d:"d/M/yyyy"},31748:"zh-CHT","zh-CN":{c:"\xa5",d:"yyyy/M/d"},2052:"zh-CN","zh-Hans":{c:"\xa5",d:"yyyy/M/d"},"zh-Hant":{c:"HK$",d:"d/M/yyyy"},"zh-HK":{c:"HK$",d:"d/M/yyyy"},3076:"zh-HK","zh-MO":{c:"MOP",d:"d/M/yyyy"},5124:"zh-MO","zh-SG":{c:"$",d:"d/M/yyyy"},4100:"zh-SG","zh-TW":{c:"NT$",d:"yyyy/M/d"},1028:"zh-TW",zu:{c:"R",d:"dd-MM-yyyy"},53:"zu","zu-ZA":{c:"R",d:"dd-MM-yyyy"},1077:"zu-ZA"};$.ig.CultureInfo=Class.extend({_name:null,_isInvariant:false,init:function(name){this._name=name},clone:function(){var copy=new $.ig.CultureInfo(this._name);for(var attr in this){if(this.hasOwnProperty(attr)){copy[attr]=this[attr]}}if(copy._dateTimeFormat){copy._dateTimeFormat=copy._dateTimeFormat.clone()}if(copy._numberFormat){copy._numberFormat=copy._numberFormat.clone()}return copy},compareInfo:function(){return new $.ig.CompareInfo},getFormat:function($t){if($t===$.ig.NumberFormatInfo.prototype.$type){return this.numberFormat()}if($t===$.ig.DateTimeFormat.prototype.$type){return this.dateTimeFormat()}throw new Error("Unknown format type")},name:function(){return this._name},calendar:function(){return new $.ig.Calendar},dateTimeFormat:function(value){if(arguments.length===1){this._dateTimeFormat=value}if(!this._dateTimeFormat){this._dateTimeFormat=new $.ig.DateTimeFormat(this._name,this._isInvariant)}return this._dateTimeFormat},numberFormat:function(value){if(arguments.length===1){this._numberFormat=value}if(!this._numberFormat){this._numberFormat=new $.ig.NumberFormatInfo(this._name,this._isInvariant)}return this._numberFormat},twoLetterISOLanguageName:function(){if(this._name.length>2&&this._name[2]=="-"){return this._name.substr(0,2)}return""},getCultureInfo:function(lcid){var name=globalInfo[lcid];if(name){if(name==="invariant"){return $.ig.CultureInfo.prototype.invariantCulture()}return new $.ig.CultureInfo(name)}return $.ig.CultureInfo.prototype.invariantCulture()},$type:new $.ig.Type("CultureInfo",$.ig.Object.prototype.$type)},true);$.ig.CultureInfo.prototype.currentCulture=function(){return $.ig.Thread.prototype.currentThread().currentCulture()};$.ig.CultureInfo.prototype.invariantCulture=function(){if(this._cachedInvariant){return this._cachedInvariant}this._cachedInvariant=new $.ig.CultureInfo("en-US");this._cachedInvariant._isInvariant=true;return this._cachedInvariant};$.ig.Calendar=Class.extend({init:function(){},eras:function(){return[1]},getEra:function(time){return 1},getDayOfMonth:function(time){return time.getDate()},getDaysInMonth:function(year,month,era){return $.ig.Date.prototype.daysInMonth(year,month)},getDaysInYear:function(year,era){return $.ig.Date.prototype.isLeapYear(year)?366:365},getMonth:function(time){return $.ig.Date.prototype.getMonth(time)},getYear:function(time){return time.getFullYear()},toDateTime:function(year,month,day,hour,minute,second,millisecond,era){return $.ig.Date.prototype.fromValues(year,month,day,hour,minute,second,millisecond)},$type:new $.ig.Type("Calendar",$.ig.Object.prototype.$type)},true);$.ig.util.defType("CompareInfo","Object",{init:function(){},compare1:function(string1,offset1,length1,string2,offset2,length2,options){var v1=string1.substr(offset1,length1);var v2=string2.substr(offset2,length2);if((options&$.ig.CompareOptions.prototype.ignoreCase)!==0){v1=v1.toLowerCase();v2=v2.toLowerCase()}return $.ig.util.compare(v1,v2)},compare4:function(string1,string2){return this.compare5(string1,string2,$.ig.CompareOptions.prototype.none)},compare5:function(string1,string2,options){if(string1===null){return string2===null?0:-1}else if(string2===null){return 1}return this.compare1(string1,0,string1.length,string2,0,string2.length,options)},indexOf1:function(source,value){return this.indexOf6(source,value,0,$.ig.CompareOptions.prototype.none)},indexOf3:function(source,value,options){return this.indexOf6(source,value,0,options)},indexOf6:function(source,value,startIndex,options){if((options&$.ig.CompareOptions.prototype.ignoreCase)!==0){source=source.toLowerCase();value=value.toLowerCase()}return source.indexOf(value,startIndex)},indexOf5:function(source,value,options){return source.indexOf(value)},referenceEquals:function(a,b){return a===b},$type:new $.ig.Type("CompareInfo",$.ig.Object.prototype.$type)},true);$.ig.DateTimeFormat=Class.extend({init:function(cultureName,isInvariant){this._cultureName=cultureName;this._isInvariant=isInvariant},clone:function(){var copy=new $.ig.DateTimeFormat(this._cultureName,this._isInvariant);for(var attr in this){if(this.hasOwnProperty(attr)){copy[attr]=this[attr]}}return copy},dateSeparator:function(value){if(arguments.length===1){this._dateSeparator=value}if(!this._dateSeparator){this._dateSeparator="/"}return this._dateSeparator},timeSeparator:function(value){if(arguments.length===1){this._timeSeparator=value}if(!this._timeSeparator){this._timeSeparator=":"}return this._timeSeparator},longDatePattern:function(value){if(arguments.length===1){this._longDatePattern=value}if(!this._longDatePattern){this._longDatePattern="dddd, MMMM d, yyyy"}return this._longDatePattern},shortDatePattern:function(value){if(arguments.length===1){this._shortDatePattern=value}if(!this._shortDatePattern){var g=globalInfo[this._isInvariant?"invariant":this._cultureName];if(g){this._shortDatePattern=g.d}else{this._shortDatePattern="M/d/yyyy"}}return this._shortDatePattern},shortTimePattern:function(value){if(arguments.length===1){this._shortTimePattern=value}if(!this._shortTimePattern){this._shortTimePattern="h:mm tt"}return this._shortTimePattern},$type:new $.ig.Type("DateTimeFormat",$.ig.Object.prototype.$type)},true);$.ig.NumberFormatInfo=Class.extend({init:function(cultureName,isInvariant){this._cultureName=cultureName;this._isInvariant=isInvariant},clone:function(){var copy=new $.ig.NumberFormatInfo(this._cultureName,this._isInvariant);for(var attr in this){if(this.hasOwnProperty(attr)){copy[attr]=this[attr]}}return copy},currencySymbol:function(value){if(arguments.length===1){this._currencySymbol=value}if(!this._currencySymbol){var g=globalInfo[this._isInvariant?"invariant":this._cultureName];if(g){this._currencySymbol=g.c}else{this._currencySymbol="$"}}return this._currencySymbol},nativeDigits:function(){if(!this._nativeDigits){var g=globalInfo[this._isInvariant?"invariant":this._cultureName];if(g&&g.n){this._nativeDigits=g.n}else{this._nativeDigits="0123456789"}}return this._nativeDigits},negativeSign:function(value){if(arguments.length===1){this._negativeSign=value}if(!this._negativeSign){this._negativeSign="-"}return this._negativeSign},percentSymbol:function(value){if(arguments.length===1){this._percentSymbol=value}if(!this._percentSymbol){var temp=1..toLocaleString(this._cultureName,{style:"percent"});this._percentSymbol=temp[temp.length-1]}return this._percentSymbol},positiveSign:function(value){if(arguments.length===1){this._positiveSign=value}if(!this._positiveSign){this._positiveSign="+"}return this._positiveSign},numberDecimalSeparator:function(value){if(arguments.length===1){this._numberDecimalSeparator=value}if(!this._numberDecimalSeparator){this._numberDecimalSeparator=1.1.toLocaleString(this._cultureName).substring(1,2)}return this._numberDecimalSeparator},numberGroupSeparator:function(value){if(arguments.length===1){this._numberGroupSeparator=value}if(!this._numberGroupSeparator){var s=123456789..toLocaleString(this._cultureName);var result=/\D/.exec(s);if(result===null||result.length===0){this._numberGroupSeparator=","}else{this._numberGroupSeparator=result[0]}}return this._numberGroupSeparator},numberGroupSizes:function(value){if(arguments.length===1){this._numberGroupSizes=value}if(!this._numberGroupSizes){var s=123456789..toLocaleString(this._cultureName);var result=/\D(\d+)\D/.exec(s);if(result===null||result.length===0){this._numberGroupSizes=[3]}else{this._numberGroupSizes=[result[1].length]}}return this._numberGroupSizes},$type:new $.ig.Type("NumberFormatInfo",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Thread","Object",{init:function(){},currentThread:function(){if(!this._currentThread){this._currentThread=new $.ig.Thread}return this._currentThread},currentCulture:function(value){if(arguments.length===1){this._currentCulture=value}if(!this._currentCulture){var currentLocale=navigator.language||navigator.userLanguage;this._currentCulture=new $.ig.CultureInfo(currentLocale)}return this._currentCulture},$type:new $.ig.Type("Thread",$.ig.Object.prototype.$type)},true);$.ig.util.defType("Stream","Object",{init:function(){},close:function(){this.disposeCore(true)},dispose:function(){this.close()},disposeCore:function(disposing){},flush:function(){},readByte:function(){var bytes=[0];var count=this.read(bytes,0,1);if(count===0){return-1}return bytes[0]},writeByte:function(value){this.write([value],0,1)},$type:new $.ig.Type("Stream",$.ig.Object.prototype.$type)},true);$.ig.extendNativePrototype(Function.prototype,"invoke",function(){return this.apply(null,arguments)});$.ig.extendNativePrototype(Function.prototype,"runOn",function(target){var self=this;var ret=function(){return self.apply(target,arguments)};ret.original=this;ret.target=target;return ret});String.prototype.startsWith=function(s){return this.indexOf(s)===0};String.prototype.startsWith1=function(s,comparisonType){if(this.length<s.length){return false}return $.ig.util.stringCompare1(this.slice(0,s.length),s,comparisonType||0)===0};String.prototype.endsWith=function(s,comparisonType){if(this.length<s.length){return false}return $.ig.util.stringCompare1(this.slice(-s.length),s,comparisonType||0)===0};String.prototype.remove=function(index,count){if(!count||index+count>this.length){return this.substr(0,index)}return this.substr(0,index)+this.substr(index+count)};String.prototype.compareTo=function(other){if(this==other){return 0}if(this<other){return-1}return 1};if(!String.prototype.trim){String.prototype.trim=function(){return this.replace(/^\s\s*/,"").replace(/\s\s*$/,"")}}if(!String.prototype.getHashCode){String.prototype.getHashCode=function(){var hash=0,i,chr,len;if(this.length===0){return hash}for(i=0,len=this.length;i<len;i++){chr=this.charCodeAt(i);hash=(hash<<5)-hash+chr;hash|=0}return hash}}String.prototype.fullTrim=function(){return this.replace(/(?:(?:^|\n)\s+|\s+(?:$|\n))/g,"").replace(/\s+/g," ")};String.prototype.trimStart=function(){var args=[" "];if(arguments.length>0){if(arguments.length==1&&Array.isArray(arguments[0])){if(arguments[0].length>0){args=arguments[0]}}else{args=Array.prototype.slice.call(arguments)}}if(this.length===0){return this}var i=0;for(;i<this.length&&args.indexOf(this.charAt(i))>-1;i++){}return this.substring(i)};String.prototype.trimEnd=function(){var args=[" "];if(arguments.length>0){if(arguments.length==1&&Array.isArray(arguments[0])){if(arguments[0].length>0){args=arguments[0]}}else{args=Array.prototype.slice.call(arguments)}}var i=this.length-1;for(;i>=0&&args.indexOf(this.charAt(i))>-1;i--){}return this.substring(0,i+1)};String.getHashCode=function(){return this};String.isNullOrEmpty=function(s){return!s||s.length<1};String.isNullOrWhiteSpace=function(s){return!s||s.trim().length<1};String.empty=function(){return""};String.concat=function(){return[].join.call(arguments,"")};String.concat1=function(o1,o2){return[].join.call(arguments,"")};String.concat2=function(s1,s2){return[].join.call(arguments,"")};String.concat3=function(){return[].join.call(arguments,"")};String.concat4=function(o1,o2,o3){return[].join.call(arguments,"")};String.concat5=function(s1,s2,s3){return[].join.call(arguments,"")};String.concat6=function(o1,o2,o3,o4){return[].join.call(arguments,"")};String.concat7=function(s1,s2,s3,s4){return[].join.call(arguments,"")};String.equalsStatic=$.ig.Object.prototype.equalsStatic;String.prototype.equals=function(other){return this==other};String.prototype.contains=function(s){return this.indexOf(s)>-1};String.prototype.padLeft=function(len,c){var s=this;c=c||" ";while(s.length<len){s=c+s}return s};String.prototype.reverse=function(){var s="";for(var i=this.length-1;i>=0;i--){s+=this[i]}return s};String.prototype.padRight=function(len,c){var s=this;c=c||" ";while(s.length<len){s+=c}return s};String.prototype.capitalize=function(){return this.charAt(0).toUpperCase()+this.slice(1)};if(!String.prototype.indexOfAny){String.prototype.indexOfAny=function(chars){var s=this.toString();for(var i=0;i<s.length;i++){if(chars.contains(s[i])){return i}}return-1}}if(!String.prototype.lastIndexOfAny){String.prototype.lastIndexOfAny=function(chars){var s=this.toString();for(var i=s.length-1;i>=0;i--){if(chars.contains(s[i])){return i}}return-1}}if(!Array.prototype.filter){Array.prototype.filter=function(fun){var t,len,res,thisp,val,i;if(this===undefined||this===null){throw new TypeError;
}t=Object(this);len=t.length>>>0;if(typeof fun!="function"){throw new TypeError}res=[];thisp=arguments[1];for(i=0;i<len;i++){if(i in t){val=t[i];if(fun.call(thisp,val,i,t)){res.push(val)}}}return res}}$.ig.extendNativePrototype(Array.prototype,"insertRange",function(index,items){var i=0;if(this.length===0){for(i=0;i<items.length;i++){this[index++]=items[i]}}else{for(i=0;i<items.length;i++){this.splice(index++,0,items[i])}}});$.ig.extendNativePrototype(Array.prototype,"insertRange1",function(index,items){var i=0;if(this.length===0){for(i=0;i<items.length;i++){this[index++]=items[i]}}else{for(i=0;i<items.length;i++){this.splice(index++,0,items[i])}}});$.ig.util.shallowClone=function(arr){var newArr=[];for(var i=0;i<arr.length;i++){newArr[i]=arr[i]}return newArr};$.ig.extendNativePrototype(Array.prototype,"clear",function(){this.length=0});Math.log10=function(n){return Math.log(n)/Math.log(10)};Math.logBase=function(n,n2){return Math.log(n)/Math.log(n2)};Math.sign=function(n){if(n<0){return-1}else if(n>0){return 1}else{return 0}};if(!Math.cosh){Math.cosh=function(x){var y=Math.exp(x);return(y+1/y)/2}}if(!Math.sinh){Math.sinh=function(x){var y=Math.exp(x);return(y-1/y)/2}}if(!Math.tanh){Math.tanh=function(x){if(x===Infinity){return 1}else if(x===-Infinity){return-1}else{var y=Math.exp(2*x);return(y-1)/(y+1)}}}if(!Math.ieeeRemainder){Math.ieeeRemainder=function(a,b){var r=Math.abs(a%b);if(isNaN(r)||r==b||r<=Math.abs(b)/2){return r}else{return Math.signum(a)*(r-b)}}}Number.getHashCode=function(){return this};Number.isInfinity=function(n){return n===Infinity||n===-Infinity};if(!Number.prototype.getHashCode){Number.prototype.getHashCode=function(){return this}}Boolean.prototype.getType=function(){return $.ig.Boolean.prototype.$type};Number.prototype.getType=function(){return Number};String.prototype.getType=function(){return String};window.toStaticHTML=window.toStaticHTML||function(s){return s};window.MSApp=window.MSApp||{};window.MSApp.execUnsafeLocalFunction=window.MSApp.execUnsafeLocalFunction||function(fn){fn.apply()};$.ig.util.setSize=function(elem,prop,val,chart,notifyResized){if(!elem||!elem[0]){return}var timer,px,obj=elem[0]._w_s_f=elem[0]._w_s_f||{},perc=obj.perc;if(!prop){if(obj.observer){obj.observer.disconnect();delete obj.observer}if(obj.tickID){obj.onTick(true)}delete obj.elem;delete obj.chart;if(obj.__resizeProxy){window.removeEventListener("resize",obj.__resizeProxy,false);delete obj.__resizeProxy}elem[0]._w_s_f=null;return}if(window.MutationObserver&&!obj.observer){var oldCollapsed=elem[0].style.display=="none";var observer=new MutationObserver(function(event){var collapsed=elem[0].style.display=="none";if(collapsed!==oldCollapsed){oldCollapsed=collapsed;if(notifyResized&&chart){chart[notifyResized]()}}});observer.observe(elem[0],{attributes:true,attributeFilter:["style"],childList:false,characterData:false});obj.observer=observer}if(!val){val=elem[prop]()}if(perc&&perc.indexOf(prop)>=0){perc=perc.replace(prop,"")}if(val){elem[prop](val);if(typeof val!=="number"){val=val.toString();if(val.indexOf("%")>0){perc=perc||"";if(perc.indexOf(prop)<0){timer=perc+=prop}}px=val.indexOf("px");if(px>0){val=val.substring(0,px)}px=parseFloat(val);if(px.toString()===val){val=px}else{val=elem[prop]();if(!val){obj.wait=obj.wait||"";if(obj.wait.indexOf(prop)<0){obj.wait+=prop}timer=prop}}}obj.perc=perc;if(val&&chart){if(chart[prop]){chart[prop](val)}if(notifyResized){chart[notifyResized]()}}}if(!timer&&!elem[0].offsetWidth){timer=obj.wait="width"}obj.elem=elem;obj.chart=chart;obj.notify=notifyResized;if(timer){obj.onTick=obj.onTick||function(stop){var obj=this,chart=obj.chart,elem=obj.elem,perc=obj.perc||"",wait=obj.wait||"",width=stop||elem[0].offsetWidth,height=stop||elem[0].offsetHeight,oldWidth=obj.oldWidth||0,oldHeight=obj.oldHeight||0;stop=stop===true||!perc&&!wait;if(stop){if(obj.tickID){clearInterval(obj.tickID)}delete obj.tickID;return}if(!obj.tickID&&(!width||!height||perc)){obj.tickID=setInterval(function(){obj.onTick()},200)}if(!width||!height){return}delete obj.wait;obj.oldWidth=width;obj.oldHeight=height;if(!chart){return}var percWidthChange=perc.indexOf("width")>=0&&width!==oldWidth||wait.indexOf("width")>=0;if(chart.width&&percWidthChange){chart.width(width)}var percHeightChange=perc.indexOf("height")>=0&&height!==oldHeight||wait.indexOf("height")>=0;if(chart.height&&percHeightChange){chart.height(height)}if((percWidthChange||percHeightChange)&&obj.notify){chart[obj.notify]()}};obj.onTick()}if(obj.chart&&obj.notify&&obj.chart[obj.notify]&&!obj.__resizeProxy){obj.oldDevicePixelRatio=window.devicePixelRatio||1;obj.__resizeProxy=function(){var devicePixelRatio=window.devicePixelRatio||1;if(devicePixelRatio!==obj.oldDevicePixelRatio){obj.oldDevicePixelRatio=window.devicePixelRatio||1;obj.chart[obj.notify]()}};window.addEventListener("resize",obj.__resizeProxy,false)}};$.ig.util.getEasingFunction=function(easingValue){if(easingValue===null||easingValue=="null"||easingValue=="linear"){return null}switch(easingValue){case"cubic":return $.ig.EasingFunctions.prototype.cubicEase;case"exponential":return $.ig.EasingFunctions.prototype.exponentialEase;case"circle":return $.ig.EasingFunctions.prototype.circleEase}return easingValue};$.ig.util.isDomElement=function(o){return typeof HTMLElement==="object"?o instanceof HTMLElement:o&&typeof o==="object"&&o!==null&&o.nodeType===1&&typeof o.nodeName==="string"};$.ig.util.isJsonpUrl=function(url){var isJSONPExpr=/(=)\?(?=&|$)|\?\?/;return isJSONPExpr.test(url)};$.ig.util.evtButton=function(e){e=e?e.button:null;if(e===1){e=this._ie_8;if(!e){var v;e=window.navigator.userAgent;if(e){v=e.toLowerCase().indexOf("msie ");if(v>0){v=parseFloat(e.substring(v+5));if(v>8){v=parseFloat(document.documentMode)}}}this._ie_8=e=v&&!isNaN(v)&&v>5&&v<9?1:-1}e=e<0?1:0}return e===2?2:e?1:0};$.ig.util.dateFromISO=function(obj){var regexIso8601=/^(\d{4}|\+\d{6})(?:-(\d{2})(?:-(\d{2})(?:T(\d{2})(?::(\d{2})(?::(\d{2})(?:\.(\d{1,7})(?:Z|([\-+])(\d{2}):(\d{2}))?)?)?)?)?)?)?$/,m=regexIso8601.exec(obj);if(m){return new Date(Date.UTC(m[1],(m[2]||1)-1,m[3]||1,m[4]-(m[8]?m[8]+m[9]:0)||0,m[5]-(m[8]?m[8]+m[10]:0)||0,m[6]||0,((m[7]||0)+"00").substr(0,3)))}return obj};$.ig.util.defaultDVDateParse=function(obj){return new Date(parseInt(obj.replace("/Date(","").replace(")/",""),10))};$.ig.util.createGuid=function(){function S4(){return((1+Math.random())*65536|0).toString(16).substring(1)}return(S4()+S4()+"-"+S4()+"-4"+S4().substr(0,3)+"-"+S4()+"-"+S4()+S4()+S4()).toLowerCase()};$.ig.util.escapeRegExp=function(str){return str.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")};$.ig.util.escapeStr=function(str){return str.replace(/([!"#$%&'()*+,.\/:;<=>?@[\\\]^`{|}~])/g,"\\$1")};$.ig.util.replace=function(str,oldValue,newValue){return str.replace(new RegExp($.ig.util.escapeRegExp(oldValue),"g"),newValue)};$.ig.util.stringFormat=function(format){return $.ig.util.stringFormat1(format,Array.prototype.slice.call(arguments,1))};$.ig.util.stringFormat1=function(format,args){return $.ig.util.stringFormat2($.ig.CultureInfo.prototype.currentCulture(),format,args)};$.ig.util.stringFormat2=function(provider,format,args){return format.replace(/{(\d+)(?::)?([^}]*)?}/g,function(match,number,format){var arg=args[number];if(arg===void 0){return match}if(arg===null){return""}if(format){if(format[0]==="X"){return $.ig.util.intToString1(arg,format,provider)}else{return $.ig.util.numberToString1(arg,format,provider)}}return arg})};$.ig.util.createInstance=function($t){if($t===Number||$t==$.ig.Number.prototype.$type||$t.baseType===$.ig.Enum.prototype.$type){return 0}if($t==Boolean||$t==$.ig.Boolean.prototype.$type){return false}if($t.InstanceConstructor){var result;if(typeof Object.create==="function"){result=Object.create($t.InstanceConstructor.prototype)}else{var Cons=function(){};Cons.prototype=$t.InstanceConstructor.prototype;result=new Cons}$t.InstanceConstructor.apply(result,Array.prototype.slice.call(arguments,1));return result}throw new Error("Cannot find instance constructor for the type parameter")};$.ig.util.getDefaultValue=function($t){if($t===Number||$t==$.ig.Number.prototype.$type||$t.baseType===$.ig.Enum.prototype.$type){return 0}if($t==Boolean||$t==$.ig.Boolean.prototype.$type){return false}if($t.baseType===$.ig.ValueType.prototype.$type){return $.ig.util.createInstance($t)}return null};$.ig.util.equalsSimple=function(item1,item2){return item1==item2};$.ig.util.compareSimple=function(item1,item2){if(item1==item2){return 0}if(item1<item2){return-1}return 1};$.ig.util.compare=function(item1,item2){if(item1===item2){return 0}var xComparable=$.ig.util.cast($.ig.IComparable.prototype.$type,item1);if(xComparable!==null){return xComparable.compareTo(item2)}var yComparable=$.ig.util.cast($.ig.IComparable.prototype.$type,item2);if(yComparable!==null){return-yComparable.compareTo(item1)}return $.ig.util.compareSimple(item1,item2)};$.ig.util.boolCompare=function(item1,item2){if(item1==item2){return 0}return item1?1:-1};$.ig.util.areSetsEqual=function(array1,array2){var sortedArray1,sortedArray2;if(!array1||!array2||array1.length!==array2.length){return false}if(array1===array2){return true}sortedArray1=array1.slice().sort();sortedArray2=array2.slice().sort();for(var i=0;i<sortedArray1.length;i++){if(sortedArray1[i]!==sortedArray2[i]){return false}}return true};$.ig.util.sleep=function(milliseconds){var start=(new Date).getTime();for(var i=0;i<1e7;i++){if((new Date).getTime()-start>milliseconds){break}}};$.ig.util.toCharArray=function(string){{return string.split("")}};$.ig.util.stringCompare1=function(strA,strB,comparisonType){if(!strA){return!strB?0:-1}else if(!strB){return 1}switch(comparisonType){case $.ig.StringComparison.prototype.currentCulture:return $.ig.CultureInfo.prototype.currentCulture().compareInfo().compare4(strA,strB);case $.ig.StringComparison.prototype.currentCultureIgnoreCase:return $.ig.CultureInfo.prototype.currentCulture().compareInfo().compare4(strA.toLowerCase(),strB.toLowerCase());case $.ig.StringComparison.prototype.invariantCulture:case $.ig.StringComparison.prototype.ordinal:return strA.compareTo(strB);case $.ig.StringComparison.prototype.invariantCultureIgnoreCase:case $.ig.StringComparison.prototype.ordinalIgnoreCase:return strA.toLowerCase().compareTo(strB.toLowerCase());default:break}return 0};$.ig.util.stringCompare2=function(strA,strB,culture,options){return culture.compareInfo().compare5(strA,strB,options)};$.ig.util.stringCompare3=function(strA,indexA,strB,indexB,length){var v1=strA.substr(indexA,length);var v2=strB.substr(indexB,length);return $.ig.util.stringCompare1(v1,v2,$.ig.StringComparison.prototype.currentCulture)};$.ig.util.tryParseNumber=function(s){var value=Number(s);if(value!==null&&isFinite(value)&&s.trim().length!==0){return{p1:value,ret:true}}else{return{p1:0,ret:false}}};$.ig.util.tryParseNumber1=function(s,style,provider){var value,i,currentCharCode;provider=provider||$.ig.CultureInfo.prototype.currentCulture();if(style&$.ig.NumberStyles.prototype.allowLeadingWhite){s=s.trimStart()}if(style&$.ig.NumberStyles.prototype.allowTrailingWhite){s=s.trimEnd()}if(s.length!=s.trim().length){return{p3:0,ret:false}}var numberFormat=provider.numberFormat();if(style&$.ig.NumberStyles.prototype.allowCurrencySymbol){if(s[0]=="$"){s=s.slice(1)}}var multiplier=1;var hadParentheses=false;if(style&$.ig.NumberStyles.prototype.allowParentheses){if(s[0]=="("&&s[s.length-1]==")"){hadParentheses=true;multiplier*=-1;s=s.slice(1,-1)}}if(style&$.ig.NumberStyles.prototype.allowCurrencySymbol){if(s[0]=="$"){s=s.slice(1)}}if(style&$.ig.NumberStyles.prototype.allowLeadingSign){var positiveSign=numberFormat.positiveSign();var negativeSign=numberFormat.negativeSign();if(s[0]==positiveSign||s[0]==negativeSign){if(hadParentheses){return{p3:0,ret:false}}if(s[0]==negativeSign){multiplier*=-1}s=s.slice(1)}}if(style&$.ig.NumberStyles.prototype.allowTrailingSign){}if(style&$.ig.NumberStyles.prototype.allowDecimalPoint){if(style&$.ig.NumberStyles.prototype.allowExponent){}if(style&$.ig.NumberStyles.prototype.allowThousands){var decimalSeparator=numberFormat.numberDecimalSeparator();var groupSeparator=numberFormat.numberGroupSeparator();var hitDecimalSeparator=false;for(i=0;i<s.length;i++){switch(s[i]){case groupSeparator:if(hitDecimalSeparator){return{p3:0,ret:false}}s=s.slice(0,i)+s.slice(i+1);i--;break;case decimalSeparator:hitDecimalSeparator=true;if(decimalSeparator!="."){s=s.slice(0,i)+"."+s.slice(i+1)}break}}}value=Number(s);if(value!==null&&isFinite(value)&&s.trim().length!==0){return{p3:value*multiplier,ret:true}}}else{var zeroCharCode="0".charCodeAt(0);var nineCharCode="9".charCodeAt(0);value=0;if(style&$.ig.NumberStyles.prototype.allowHexSpecifier){var aCharCode="a".charCodeAt(0);var fCharCode="f".charCodeAt(0);var ACharCode="A".charCodeAt(0);var FCharCode="F".charCodeAt(0);for(i=0;i<s.length;i++){value*=16;currentCharCode=s[i].charCodeAt(0);if(zeroCharCode<=currentCharCode&&currentCharCode<=nineCharCode){value+=currentCharCode-zeroCharCode}else if(aCharCode<=currentCharCode&&currentCharCode<=fCharCode){value+=currentCharCode-aCharCode+10}else if(ACharCode<=currentCharCode&&currentCharCode<=FCharCode){value+=currentCharCode-ACharCode+10}else{return{p3:0,ret:false}}}}else{for(i=0;i<s.length;i++){value*=10;currentCharCode=s[i].charCodeAt(0);if(zeroCharCode<=currentCharCode&&currentCharCode<=nineCharCode){value+=currentCharCode-zeroCharCode}else{return{p3:0,ret:false}}}}return{p3:value*multiplier,ret:true}}return{p3:0,ret:false}};$.ig.util.parseNumber=function(s,provider){var r=$.ig.util.tryParseNumber1(s,231,provider);if(!r.ret){throw new $.ig.FormatException(1,"Incorrect number format")}return r.p3};$.ig.util.isNegativeInfinity=function(v){return v==Number.NEGATIVE_INFINITY};$.ig.util.isPositiveInfinity=function(v){return v==Number.POSITIVE_INFINITY};$.ig.util.parseInt8_1=function(s,provider){return $.ig.util.parseIntCore(s,provider,-128,127)};$.ig.util.parseInt8_2=function(s,style,provider){return $.ig.util.parseIntCore(s,provider,-128,127,style)};$.ig.util.parseInt16_1=function(s,provider){return $.ig.util.parseIntCore(s,provider,-32768,32767)};$.ig.util.parseInt16_2=function(s,style,provider){return $.ig.util.parseIntCore(s,provider,-32768,32767,style)};$.ig.util.parseInt32_1=function(s,provider){return $.ig.util.parseIntCore(s,provider,-2147483648,2147483647)};$.ig.util.parseInt32_2=function(s,style,provider){return $.ig.util.parseIntCore(s,provider,-2147483648,2147483647,style)};$.ig.util.parseInt64_1=function(s,provider){return $.ig.util.parseIntCore(s,provider,-0x8000000000000000,0x8000000000000000)};$.ig.util.parseInt64_2=function(s,style,provider){return $.ig.util.parseIntCore(s,provider,-0x8000000000000000,0x8000000000000000,style)};$.ig.util.parseUInt8_1=function(s,provider){return $.ig.util.parseIntCore(s,provider,0,255)};$.ig.util.parseUInt8_2=function(s,style,provider){return $.ig.util.parseIntCore(s,provider,0,255,style)};$.ig.util.parseUInt16_1=function(s,provider){return $.ig.util.parseIntCore(s,provider,0,65535)};$.ig.util.parseUInt16_2=function(s,style,provider){return $.ig.util.parseIntCore(s,provider,0,65535,style)};$.ig.util.parseUInt32_1=function(s,provider){return $.ig.util.parseIntCore(s,provider,0,4294967295)};$.ig.util.parseUInt32_2=function(s,style,provider){return $.ig.util.parseIntCore(s,provider,0,4294967295,style)};$.ig.util.parseUInt64_1=function(s,provider){return $.ig.util.parseIntCore(s,provider,0,0x10000000000000000)};$.ig.util.parseUInt64_2=function(s,style,provider){return $.ig.util.parseIntCore(s,provider,0,0x10000000000000000,style)};$.ig.util.parseIntCore=function(s,provider,min,max,style){var r=$.ig.util.tryParseIntCore(s,provider,min,max,style);if(!r.ret){throw new $.ig.FormatException(1,"Incorrect number format")}return r.p3};$.ig.util.tryParseInt8_1=function(s){return $.ig.util.tryParseIntCore(s,null,-128,127)};$.ig.util.tryParseInt8_2=function(s,style,provider){return $.ig.util.tryParseIntCore(s,provider,-128,127,style)};$.ig.util.tryParseInt16_1=function(s){return $.ig.util.tryParseIntCore(s,null,-32768,32767)};$.ig.util.tryParseInt16_2=function(s,style,provider){return $.ig.util.tryParseIntCore(s,provider,-32768,32767,style)};$.ig.util.tryParseInt32_1=function(s){return $.ig.util.tryParseIntCore(s,null,-2147483648,2147483647)};$.ig.util.tryParseInt32_2=function(s,style,provider){return $.ig.util.tryParseIntCore(s,provider,-2147483648,2147483647,style)};$.ig.util.tryParseInt64_1=function(s){return $.ig.util.tryParseIntCore(s,null,-0x8000000000000000,0x8000000000000000)};$.ig.util.tryParseInt64_2=function(s,style,provider){return $.ig.util.tryParseIntCore(s,provider,-0x8000000000000000,0x8000000000000000,style)};$.ig.util.tryParseUInt8_1=function(s){return $.ig.util.tryParseIntCore(s,null,0,255)};$.ig.util.tryParseUInt8_2=function(s,style,provider){return $.ig.util.tryParseIntCore(s,provider,0,255,style)};$.ig.util.tryParseUInt16_1=function(s){return $.ig.util.tryParseIntCore(s,null,0,65535)};$.ig.util.tryParseUInt16_2=function(s,style,provider){return $.ig.util.tryParseIntCore(s,provider,0,65535,style)};$.ig.util.tryParseUInt32_1=function(s){return $.ig.util.tryParseIntCore(s,null,0,4294967295)};$.ig.util.tryParseUInt32_2=function(s,style,provider){return $.ig.util.tryParseIntCore(s,provider,0,4294967295,style)};$.ig.util.tryParseUInt64_1=function(s){return $.ig.util.tryParseIntCore(s,null,0,0x10000000000000000)};$.ig.util.tryParseUInt64_2=function(s,style,provider){return $.ig.util.tryParseIntCore(s,provider,0,0x10000000000000000,style)};$.ig.util.tryParseIntCore=function(s,provider,min,max,style){style=style!=null?style:$.ig.NumberStyles.prototype.integer;provider=provider||$.ig.CultureInfo.prototype.currentCulture();var r=$.ig.util.tryParseNumber1(s,style,provider);if(style&$.ig.NumberStyles.prototype.allowHexSpecifier&&max<r.p3){r.p3-=-min*2}if(!r.ret||r.p3<min||max<r.p3||r.p3%1!==0){return{p1:0,p3:0,ret:false}}r.p1=r.p3;return r};$.ig.util.parseBool=function(s){var r=$.ig.util.tryParseBool(s);if(!r.ret){throw new $.ig.FormatException(1,"Incorrect boolean format")}return r.p1};$.ig.util.tryParseBool=function(s){switch(s==null?"":s.trim().toLowerCase()){case"true":return{p1:true,ret:true};case"false":return{p1:false,ret:true};default:return{p1:false,ret:false}}};$.ig.util.arrayClear1=function(array,index,length){for(var i=index;i<index+length;i++){array[i]=null}};$.ig.util.arrayCopy1=function(source,sourceIndex,dest,destIndex,count){var i;if(source===dest&&sourceIndex<destIndex){for(i=count-1;i>=0;i--){dest[i+destIndex]=source[i+sourceIndex]}}else{for(i=0;i<count;i++){dest[i+destIndex]=source[i+sourceIndex]}}};$.ig.util.arrayCopy2=function(source,dest,count){for(var i=0;i<count;i++){dest[i]=source[i]}};$.ig.util.arrayCopyTo=function(source,dest,index){for(var i=0;i<source.length;i++){dest[index++]=source[i]}};$.ig.util.arrayIndexOf1=function($t,array,value){return array.indexOf(value)};$.ig.util.isNaN=function(v){return v!==v};$.ig.util.numberToString=function(number,provider){return $.ig.util.numberToString1(number,"G",provider)};var gFormatOptions={useGrouping:false,maximumSignificantDigits:15};var zeroFormatOptions={useGrouping:false,maximumSignificantDigits:15,maximumFractionDigits:0};$.ig.util.numberToString1=function(number,format,provider){provider=provider||$.ig.CultureInfo.prototype.currentCulture();switch(format){case"G":return number.toLocaleString(provider.name(),gFormatOptions);case"R":case"r":return number.toString().replace(".",provider.numberFormat().numberDecimalSeparator())}if(format.match(/[0\#\.]+/)){var isValid=true;var formatIndexOfDecimalSeparator=format.indexOf(".");var decimalFormat=formatIndexOfDecimalSeparator==-1?"":format.substring(formatIndexOfDecimalSeparator+1);var numberString=number.toFixed(decimalFormat.length).toString();var numberIndexOfDecimalSeparator=numberString.indexOf(".");var integralPart=numberIndexOfDecimalSeparator==-1?numberString:numberString.substring(0,numberIndexOfDecimalSeparator);var integralFormat=formatIndexOfDecimalSeparator==-1?format:format.substring(0,formatIndexOfDecimalSeparator);while(integralFormat.length<integralPart.length){integralFormat="0"+integralFormat}while(integralPart.length<integralFormat.length){integralPart="0"+integralPart}var formattedIntegralPart="";var digit;for(var ii=integralFormat.length-1;ii>=0;ii--){if(integralFormat[ii]=="0"){formattedIntegralPart=integralPart[ii]+formattedIntegralPart}else if(integralFormat[ii]=="#"){digit=integralPart.substring(0,ii+1).match(/[1-9]/)?integralPart[ii]:"";formattedIntegralPart=digit+formattedIntegralPart}else{isValid=false}}var decimalPart=numberIndexOfDecimalSeparator==-1?"":numberString.substring(numberIndexOfDecimalSeparator+1);var formattedDecimalPart="";for(var jj=0;jj<decimalFormat.length;jj++){if(decimalFormat[jj]=="0"){formattedDecimalPart+=decimalPart[jj]}else if(decimalFormat[jj]=="#"){digit=decimalPart.length>jj&&(decimalPart[jj]!="0"||decimalPart.substring(jj).match(/[1-9]/))?decimalPart[jj]:"";formattedDecimalPart+=digit}else{isValid=false}}if(isValid){return formattedIntegralPart+(formattedDecimalPart.length>0?"."+formattedDecimalPart:"")}}throw new $.ig.FormatException(1,"Unsupported format code: "+format)};$.ig.util.intToString=function(number,provider){return $.ig.util.intToString1(number,"G",provider)};$.ig.util.intToString1=function(number,format,provider){provider=provider||$.ig.CultureInfo.prototype.currentCulture();if(format&&format.length){if(format[0]=="X"){number=$.ig.util.intSToU(number);var result=number.toString(16).toUpperCase();if(format.length!==1){var digits=+format.substr(1);if(!isFinite(digits)){throw new Error("Unsupported format code: "+format)}while(result.length<digits){result="0"+result}}return result}}switch(format){case"G":return number.toLocaleString(provider.name(),gFormatOptions)}throw new Error("Unsupported format code: "+format)};$.ig.util.intSToU=function(number){if(number<0){number=number+1+4294967295}return number};$.ig.util.enumHasFlag=function(value,flag){return(value&flag)===flag};$.ig.util.boolToString=function(value,provider){return value.toString()};$.ig.util.getArrayOfValues=function(obj){var result=[];for(var i in obj){if(obj.hasOwnProperty(i)){result.push(obj[i])}}return result};$.ig.util.getArrayOfProperties=function(obj){var result=[];for(var i in obj){if(obj.hasOwnProperty(i)){result.push(i)}}return result};$.ig.util.stringInsert=function(str,index,value){return str.substr(0,index)+value+str.substr(index)};$.ig.util.b64toUint8Array=function(b64Data,nBlocksSize){function b64ToUint6(nChr){return nChr>64&&nChr<91?nChr-65:nChr>96&&nChr<123?nChr-71:nChr>47&&nChr<58?nChr+4:nChr===43?62:nChr===47?63:0}var sB64Enc=b64Data.replace(/[^A-Za-z0-9\+\/]/g,""),nInLen=sB64Enc.length,nOutLen=nBlocksSize?Math.ceil((nInLen*3+1>>2)/nBlocksSize)*nBlocksSize:nInLen*3+1>>2,taBytes;if(typeof window.Uint8Array==="function"){taBytes=new Uint8Array(nOutLen)}else{taBytes=new Array(nOutLen)}for(var nMod3,nMod4,nUint24=0,nOutIdx=0,nInIdx=0;nInIdx<nInLen;nInIdx++){nMod4=nInIdx&3;nUint24|=b64ToUint6(sB64Enc.charCodeAt(nInIdx))<<18-6*nMod4;if(nMod4===3||nInLen-nInIdx===1){for(nMod3=0;nMod3<3&&nOutIdx<nOutLen;nMod3++,nOutIdx++){taBytes[nOutIdx]=nUint24>>>(16>>>nMod3&24)&255}nUint24=0}}return taBytes};$.ig.util.uint8ArraytoB64=function(aBytes){function uint6ToB64(nUint6){return nUint6<26?nUint6+65:nUint6<52?nUint6+71:nUint6<62?nUint6-4:nUint6===62?43:nUint6===63?47:65}var nMod3=2,sB64Enc="";for(var nLen=aBytes.length,nUint24=0,nIdx=0;nIdx<nLen;nIdx++){nMod3=nIdx%3;if(nIdx>0&&nIdx*4/3%76===0){sB64Enc+="\r\n"}nUint24|=aBytes[nIdx]<<(16>>>nMod3&24);if(nMod3===2||aBytes.length-nIdx===1){sB64Enc+=String.fromCharCode(uint6ToB64(nUint24>>>18&63),uint6ToB64(nUint24>>>12&63),uint6ToB64(nUint24>>>6&63),uint6ToB64(nUint24&63));nUint24=0}}return sB64Enc.substr(0,sB64Enc.length-2+nMod3)+(nMod3===2?"":nMod3===1?"=":"==")};$.ig.util.stringSplit=function(value,separators,options){var r="",i;for(i=0;i<separators.length;i++){if(i!==0){r+="|"}r+=$.ig.util.escapeRegExp(separators[i])}var result=value.split(new RegExp(r));for(i=result.length-1;i>=0;i--){if(result[i].length===0&&options&$.ig.StringSplitOptions.prototype.removeEmptyEntries||separators.contains(result[i])){result.splice(i,1)}}return result};$.ig.util.stringJoin=function(sep,vals){return vals.join(sep)};$.ig.util.stringJoin1=function($t,sep,vals){var result;var en=vals.getEnumerator();while(en.moveNext()){var v=en.current().toString();if(result===undefined){result=v}else{result+=sep+v}}return result};$.ig.util.toString$1=function($t,v){if(v!==null&&$t){if($t.isNullable){$t=$t.typeArguments[0]}if($t.isEnumType){return $t.InstanceConstructor.prototype.$getName(v)}}return v.toString()};$.ig.util.castObjTo$t=function($t,v){var shouldWrap=false;if($t.isNullable){$t=$t.typeArguments[0];shouldWrap=true}if(v!==null&&$t.isEnumType){v=v.$value()}return shouldWrap?$.ig.util.toNullable($t,v):v};$.ig.util.getBoxIfEnum=function($t,v){if(v!==null&&$t){if($t.isNullable){$t=$t.typeArguments[0]}if($t.isEnumType){return $t.InstanceConstructor.prototype.getBox(v)}}return v};$.ig.util.getValue=function(v){if(v!==null&&v.$type&&v.$type.isEnum&&v.$type.isEnum()){return v.$value()}return v};$.ig.util.getEnumValue=function(v){if(v!==null){if(typeof v==="number"){return v}else{return v.$value()}}return 0};$.ig.util.timeSpanInit1=function(h,m,s){return h*36e5+m*6e4+s*1e3};$.ig.util.timeSpanInit2=function(d,h,m,s,ms){return d*864e5+h*36e5+m*6e4+s*1e3+ms};$.ig.util.timeSpanInit3=function(d,h,m,s){return d*864e5+h*36e5+m*6e4+s*1e3};$.ig.util.timeSpanTotalDays=function(t){return t/864e5};$.ig.util.timeSpanTotalHours=function(t){return t/36e5};$.ig.util.timeSpanTotalMilliseconds=function(t){return t};$.ig.util.timeSpanTotalMinutes=function(t){return t/6e4};$.ig.util.timeSpanTotalSeconds=function(t){return t/1e3};$.ig.util.timeSpanFromDays=function(v){return v*864e5};$.ig.util.timeSpanFromHours=function(v){return v*36e5};$.ig.util.timeSpanFromMilliseconds=function(v){return v};$.ig.util.timeSpanFromMinutes=function(v){return v*6e4};$.ig.util.timeSpanFromSeconds=function(v){return v*1e3};$.ig.util.timeSpanFromTicks=function(v){return v/1e4};$.ig.util.timeSpanDays=function(t){return $.ig.truncate(t/864e5)};$.ig.util.timeSpanHours=function(t){return $.ig.truncate(t/36e5%24)};$.ig.util.timeSpanMilliseconds=function(t){return t%1e3};$.ig.util.timeSpanMinutes=function(t){return $.ig.truncate(t/6e4%60)};$.ig.util.timeSpanSeconds=function(t){return $.ig.truncate(t/1e3%60)};$.ig.util.timeSpanTicks=function(t){return $.ig.truncate(t*1e4)};$.ig.util.timeSpanNegate=function(t){return-t};$.ig.util.dateAdd=function(d,t){return new Date(+d+t)};$.ig.util.dateSubtract=function(d,t){return new Date(+d-t)};$.ig.util.u32BitwiseAnd=function(a,b){var r=a&b;if(r<0){r+=4294967296}return r};$.ig.util.u32BitwiseOr=function(a,b){var r=a|b;if(r<0){r+=4294967296}return r};$.ig.util.u32BitwiseXor=function(a,b){var r=a^b;if(r<0){r+=4294967296}return r};$.ig.util.u32LS=function(a,b){var r=a<<b;if(r<0){r+=4294967296}return r};$.ig.util.defType("SystemException","Error",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.Error.prototype.init.call(this,0)},init1:function(initNumber,message){$.ig.Error.prototype.init1.call(this,1,message)},init2:function(initNumber,message,innerException){$.ig.Error.prototype.init2.call(this,2,message,innerException)},$type:new $.ig.Type("SystemException",$.ig.Error.prototype.$type)},true);$.ig.util.defType("FormatException","SystemException",{init:function(initNumber){if(initNumber>0){switch(initNumber){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.SystemException.prototype.init.call(this,0)},init1:function(initNumber,message){$.ig.SystemException.prototype.init1.call(this,1,message)},init2:function(initNumber,message,innerException){$.ig.SystemException.prototype.init2.call(this,2,message,innerException)},$type:new $.ig.Type("FormatException",$.ig.SystemException.prototype.$type)},true);$.ig.util.defEnum("NumberStyles",true,false,{None:0,AllowLeadingWhite:1,AllowTrailingWhite:2,AllowLeadingSign:4,Integer:7,AllowTrailingSign:8,AllowParentheses:16,AllowDecimalPoint:32,AllowThousands:64,Number:111,AllowExponent:128,"Float:floatNumber":167,AllowCurrencySymbol:256,Currency:383,Any:511,AllowHexSpecifier:512,HexNumber:515});$.ig.util.defEnum("CompareOptions",true,false,{None:0,IgnoreCase:1,IgnoreNonSpace:2,IgnoreSymbols:4,IgnoreKanaType:8,IgnoreWidth:16,OrdinalIgnoreCase:268435456,StringSort:536870912,Ordinal:1073741824});$.ig.util.defEnum("StringComparison",false,false,{CurrentCulture:0,CurrentCultureIgnoreCase:1,InvariantCulture:2,InvariantCultureIgnoreCase:3,Ordinal:4,OrdinalIgnoreCase:5});$.ig.util.defEnum("DateTimeKind",false,false,{Unspecified:0,Utc:1,Local:2});$.ig.util.defEnum("SeekOrigin",false,false,{Begin:0,Current:1,End:2});$.ig.util.defEnum("StringSplitOptions",false,false,{None:0,RemoveEmptyEntries:1});$.ig.util.defEnum("DayOfWeek",false,false,{Sunday:0,Monday:1,Tuesday:2,Wednesday:3,Thursday:4,Friday:5,Saturday:6});function decimalAdjust(type,value,exp){if(typeof exp==="undefined"||+exp===0){return Math[type](value)}value=+value;exp=+exp;if(isNaN(value)||!(typeof exp==="number"&&exp%1===0)){return NaN}value=value.toString().split("e");value=Math[type](+(value[0]+"e"+(value[1]?+value[1]-exp:-exp)));value=value.toString().split("e");return+(value[0]+"e"+(value[1]?+value[1]+exp:exp))}if(!Math.round10){Math.round10=function(value,exp){return decimalAdjust("round",value,exp)}}if(!Math.round10N){Math.round10N=function(value,exp){return decimalAdjust("round",value,-exp)}}if(!Math.floor10){Math.floor10=function(value,exp){return decimalAdjust("floor",value,exp)}}if(!Math.ceil10){Math.ceil10=function(value,exp){return decimalAdjust("ceil",value,exp)}}$.ig.util.isPoint=function(p){if(p==null){return false}if($.ig.util.cast($.ig.Point.prototype.$type,p)!=null){return true}if(typeof p.x==="number"&&typeof p.y==="number"){return true}return false};$.ig.util.pointFromLiteral=function(p){if(p==null){return new $.ig.Point(1,0,0)}var cast=$.ig.util.cast($.ig.Point.prototype.$type,p);if(cast!=null){return cast}return new $.ig.Point(1,p.x,p.y)};$.ig.util.pointToLiteral=function(p){var cast=$.ig.util.cast($.ig.Point.prototype.$type,p);if(cast==null){return null}return{x:cast.x(),y:cast.y()}};$.ig.util.isSize=function(s){if(s==null){return false}if($.ig.util.cast($.ig.Size.prototype.$type,s)!=null){return true}if(typeof s.width==="number"&&typeof s.height==="number"){return true}return false};$.ig.util.sizeFromLiteral=function(s){if(s==null){return new $.ig.Size(1,0,0)}var cast=$.ig.util.cast($.ig.Size.prototype.$type,s);if(cast!=null){return cast}return new $.ig.Size(1,s.width,s.height)};$.ig.util.sizeToLiteral=function(s){var cast=$.ig.util.cast($.ig.Size.prototype.$type,s);if(cast==null){return null}return{width:cast.width(),height:cast.height()}};$.ig.util.isRect=function(r){if(r==null){return false}if($.ig.util.cast($.ig.Rect.prototype.$type,r)!=null){return true}if(typeof r.x==="number"&&typeof r.y==="number"&&typeof r.width==="number"&&typeof r.height==="number"){return true}if(typeof r.left==="number"&&typeof r.top==="number"&&typeof r.right==="number"&&typeof r.bottom==="number"){return true}return false};$.ig.util.rectFromLiteral=function(r){if(r==null){return new $.ig.Rect(0,0,0,0,0)}var cast=$.ig.util.cast($.ig.Rect.prototype.$type,r);if(cast!=null){return cast}if(typeof r.x==="number"&&typeof r.y==="number"&&typeof r.width==="number"&&typeof r.height==="number"){return new $.ig.Rect(0,r.x,r.y,r.width,r.height)}return new $.ig.Rect(0,r.left,r.top,r.right-r.left,r.bottom-r.top)};$.ig.util.rectToLiteral=function(r){var cast=$.ig.util.cast($.ig.Rect.prototype.$type,r);if(cast==null){return null}return{x:cast.x(),y:cast.y(),width:cast.width(),height:cast.height(),left:cast.left(),top:cast.top(),right:cast.right(),
bottom:cast.bottom()}};/*! unicode_hack.js
	Copyright (C) 2010-2012,2014  Marcelo Gibson de Castro GonÃ§alves. All rights reserved.

	Copying and distribution of this file, with or without modification,
	are permitted in any medium without royalty provided the copyright
	notice and this notice are preserved.  This file is offered as-is,
	without any warranty.
	*/
var unicodeCategories={Cn:"[\u0378\u0379\u037f-\u0383\u038b\u038d\u03a2\u0528-\u0530\u0557\u0558\u0560\u0588\u058b-\u0590\u05c8-\u05cf\u05eb-\u05ef\u05f5-\u05ff\u0604\u0605\u061c\u061d\u070e\u074b\u074c\u07b2-\u07bf\u07fb-\u07ff\u082e\u082f\u083f\u085c\u085d\u085f-\u08ff\u0978\u0980\u0984\u098d\u098e\u0991\u0992\u09a9\u09b1\u09b3-\u09b5\u09ba\u09bb\u09c5\u09c6\u09c9\u09ca\u09cf-\u09d6\u09d8-\u09db\u09de\u09e4\u09e5\u09fc-\u0a00\u0a04\u0a0b-\u0a0e\u0a11\u0a12\u0a29\u0a31\u0a34\u0a37\u0a3a\u0a3b\u0a3d\u0a43-\u0a46\u0a49\u0a4a\u0a4e-\u0a50\u0a52-\u0a58\u0a5d\u0a5f-\u0a65\u0a76-\u0a80\u0a84\u0a8e\u0a92\u0aa9\u0ab1\u0ab4\u0aba\u0abb\u0ac6\u0aca\u0ace\u0acf\u0ad1-\u0adf\u0ae4\u0ae5\u0af0\u0af2-\u0b00\u0b04\u0b0d\u0b0e\u0b11\u0b12\u0b29\u0b31\u0b34\u0b3a\u0b3b\u0b45\u0b46\u0b49\u0b4a\u0b4e-\u0b55\u0b58-\u0b5b\u0b5e\u0b64\u0b65\u0b78-\u0b81\u0b84\u0b8b-\u0b8d\u0b91\u0b96-\u0b98\u0b9b\u0b9d\u0ba0-\u0ba2\u0ba5-\u0ba7\u0bab-\u0bad\u0bba-\u0bbd\u0bc3-\u0bc5\u0bc9\u0bce\u0bcf\u0bd1-\u0bd6\u0bd8-\u0be5\u0bfb-\u0c00\u0c04\u0c0d\u0c11\u0c29\u0c34\u0c3a-\u0c3c\u0c45\u0c49\u0c4e-\u0c54\u0c57\u0c5a-\u0c5f\u0c64\u0c65\u0c70-\u0c77\u0c80\u0c81\u0c84\u0c8d\u0c91\u0ca9\u0cb4\u0cba\u0cbb\u0cc5\u0cc9\u0cce-\u0cd4\u0cd7-\u0cdd\u0cdf\u0ce4\u0ce5\u0cf0\u0cf3-\u0d01\u0d04\u0d0d\u0d11\u0d3b\u0d3c\u0d45\u0d49\u0d4f-\u0d56\u0d58-\u0d5f\u0d64\u0d65\u0d76-\u0d78\u0d80\u0d81\u0d84\u0d97-\u0d99\u0db2\u0dbc\u0dbe\u0dbf\u0dc7-\u0dc9\u0dcb-\u0dce\u0dd5\u0dd7\u0de0-\u0df1\u0df5-\u0e00\u0e3b-\u0e3e\u0e5c-\u0e80\u0e83\u0e85\u0e86\u0e89\u0e8b\u0e8c\u0e8e-\u0e93\u0e98\u0ea0\u0ea4\u0ea6\u0ea8\u0ea9\u0eac\u0eba\u0ebe\u0ebf\u0ec5\u0ec7\u0ece\u0ecf\u0eda\u0edb\u0ede-\u0eff\u0f48\u0f6d-\u0f70\u0f98\u0fbd\u0fcd\u0fdb-\u0fff\u10c6-\u10cf\u10fd-\u10ff\u1249\u124e\u124f\u1257\u1259\u125e\u125f\u1289\u128e\u128f\u12b1\u12b6\u12b7\u12bf\u12c1\u12c6\u12c7\u12d7\u1311\u1316\u1317\u135b\u135c\u137d-\u137f\u139a-\u139f\u13f5-\u13ff\u169d-\u169f\u16f1-\u16ff\u170d\u1715-\u171f\u1737-\u173f\u1754-\u175f\u176d\u1771\u1774-\u177f\u17de\u17df\u17ea-\u17ef\u17fa-\u17ff\u180f\u181a-\u181f\u1878-\u187f\u18ab-\u18af\u18f6-\u18ff\u191d-\u191f\u192c-\u192f\u193c-\u193f\u1941-\u1943\u196e\u196f\u1975-\u197f\u19ac-\u19af\u19ca-\u19cf\u19db-\u19dd\u1a1c\u1a1d\u1a5f\u1a7d\u1a7e\u1a8a-\u1a8f\u1a9a-\u1a9f\u1aae-\u1aff\u1b4c-\u1b4f\u1b7d-\u1b7f\u1bab-\u1bad\u1bba-\u1bbf\u1bf4-\u1bfb\u1c38-\u1c3a\u1c4a-\u1c4c\u1c80-\u1ccf\u1cf3-\u1cff\u1de7-\u1dfb\u1f16\u1f17\u1f1e\u1f1f\u1f46\u1f47\u1f4e\u1f4f\u1f58\u1f5a\u1f5c\u1f5e\u1f7e\u1f7f\u1fb5\u1fc5\u1fd4\u1fd5\u1fdc\u1ff0\u1ff1\u1ff5\u1fff\u2065-\u2069\u2072\u2073\u208f\u209d-\u209f\u20ba-\u20cf\u20f1-\u20ff\u218a-\u218f\u23f4-\u23ff\u2427-\u243f\u244b-\u245f\u2700\u27cb\u27cd\u2b4d-\u2b4f\u2b5a-\u2bff\u2c2f\u2c5f\u2cf2-\u2cf8\u2d26-\u2d2f\u2d66-\u2d6e\u2d71-\u2d7e\u2d97-\u2d9f\u2da7\u2daf\u2db7\u2dbf\u2dc7\u2dcf\u2dd7\u2ddf\u2e32-\u2e7f\u2e9a\u2ef4-\u2eff\u2fd6-\u2fef\u2ffc-\u2fff\u3040\u3097\u3098\u3100-\u3104\u312e-\u3130\u318f\u31bb-\u31bf\u31e4-\u31ef\u321f\u32ff\u4db6-\u4dbf\u9fcc-\u9fff\ua48d-\ua48f\ua4c7-\ua4cf\ua62c-\ua63f\ua674-\ua67b\ua698-\ua69f\ua6f8-\ua6ff\ua78f\ua792-\ua79f\ua7aa-\ua7f9\ua82c-\ua82f\ua83a-\ua83f\ua878-\ua87f\ua8c5-\ua8cd\ua8da-\ua8df\ua8fc-\ua8ff\ua954-\ua95e\ua97d-\ua97f\ua9ce\ua9da-\ua9dd\ua9e0-\ua9ff\uaa37-\uaa3f\uaa4e\uaa4f\uaa5a\uaa5b\uaa7c-\uaa7f\uaac3-\uaada\uaae0-\uab00\uab07\uab08\uab0f\uab10\uab17-\uab1f\uab27\uab2f-\uabbf\uabee\uabef\uabfa-\uabff\ud7a4-\ud7af\ud7c7-\ud7ca\ud7fc-\ud7ff\ufa2e\ufa2f\ufa6e\ufa6f\ufada-\ufaff\ufb07-\ufb12\ufb18-\ufb1c\ufb37\ufb3d\ufb3f\ufb42\ufb45\ufbc2-\ufbd2\ufd40-\ufd4f\ufd90\ufd91\ufdc8-\ufdef\ufdfe\ufdff\ufe1a-\ufe1f\ufe27-\ufe2f\ufe53\ufe67\ufe6c-\ufe6f\ufe75\ufefd\ufefe\uff00\uffbf-\uffc1\uffc8\uffc9\uffd0\uffd1\uffd8\uffd9\uffdd-\uffdf\uffe7\uffef-\ufff8\ufffe\uffff]",Lu:"[A-Z\xc0-\xd6\xd8-\xde\u0100\u0102\u0104\u0106\u0108\u010a\u010c\u010e\u0110\u0112\u0114\u0116\u0118\u011a\u011c\u011e\u0120\u0122\u0124\u0126\u0128\u012a\u012c\u012e\u0130\u0132\u0134\u0136\u0139\u013b\u013d\u013f\u0141\u0143\u0145\u0147\u014a\u014c\u014e\u0150\u0152\u0154\u0156\u0158\u015a\u015c\u015e\u0160\u0162\u0164\u0166\u0168\u016a\u016c\u016e\u0170\u0172\u0174\u0176\u0178\u0179\u017b\u017d\u0181\u0182\u0184\u0186\u0187\u0189-\u018b\u018e-\u0191\u0193\u0194\u0196-\u0198\u019c\u019d\u019f\u01a0\u01a2\u01a4\u01a6\u01a7\u01a9\u01ac\u01ae\u01af\u01b1-\u01b3\u01b5\u01b7\u01b8\u01bc\u01c4\u01c7\u01ca\u01cd\u01cf\u01d1\u01d3\u01d5\u01d7\u01d9\u01db\u01de\u01e0\u01e2\u01e4\u01e6\u01e8\u01ea\u01ec\u01ee\u01f1\u01f4\u01f6-\u01f8\u01fa\u01fc\u01fe\u0200\u0202\u0204\u0206\u0208\u020a\u020c\u020e\u0210\u0212\u0214\u0216\u0218\u021a\u021c\u021e\u0220\u0222\u0224\u0226\u0228\u022a\u022c\u022e\u0230\u0232\u023a\u023b\u023d\u023e\u0241\u0243-\u0246\u0248\u024a\u024c\u024e\u0370\u0372\u0376\u0386\u0388-\u038a\u038c\u038e\u038f\u0391-\u03a1\u03a3-\u03ab\u03cf\u03d2-\u03d4\u03d8\u03da\u03dc\u03de\u03e0\u03e2\u03e4\u03e6\u03e8\u03ea\u03ec\u03ee\u03f4\u03f7\u03f9\u03fa\u03fd-\u042f\u0460\u0462\u0464\u0466\u0468\u046a\u046c\u046e\u0470\u0472\u0474\u0476\u0478\u047a\u047c\u047e\u0480\u048a\u048c\u048e\u0490\u0492\u0494\u0496\u0498\u049a\u049c\u049e\u04a0\u04a2\u04a4\u04a6\u04a8\u04aa\u04ac\u04ae\u04b0\u04b2\u04b4\u04b6\u04b8\u04ba\u04bc\u04be\u04c0\u04c1\u04c3\u04c5\u04c7\u04c9\u04cb\u04cd\u04d0\u04d2\u04d4\u04d6\u04d8\u04da\u04dc\u04de\u04e0\u04e2\u04e4\u04e6\u04e8\u04ea\u04ec\u04ee\u04f0\u04f2\u04f4\u04f6\u04f8\u04fa\u04fc\u04fe\u0500\u0502\u0504\u0506\u0508\u050a\u050c\u050e\u0510\u0512\u0514\u0516\u0518\u051a\u051c\u051e\u0520\u0522\u0524\u0526\u0531-\u0556\u10a0-\u10c5\u1e00\u1e02\u1e04\u1e06\u1e08\u1e0a\u1e0c\u1e0e\u1e10\u1e12\u1e14\u1e16\u1e18\u1e1a\u1e1c\u1e1e\u1e20\u1e22\u1e24\u1e26\u1e28\u1e2a\u1e2c\u1e2e\u1e30\u1e32\u1e34\u1e36\u1e38\u1e3a\u1e3c\u1e3e\u1e40\u1e42\u1e44\u1e46\u1e48\u1e4a\u1e4c\u1e4e\u1e50\u1e52\u1e54\u1e56\u1e58\u1e5a\u1e5c\u1e5e\u1e60\u1e62\u1e64\u1e66\u1e68\u1e6a\u1e6c\u1e6e\u1e70\u1e72\u1e74\u1e76\u1e78\u1e7a\u1e7c\u1e7e\u1e80\u1e82\u1e84\u1e86\u1e88\u1e8a\u1e8c\u1e8e\u1e90\u1e92\u1e94\u1e9e\u1ea0\u1ea2\u1ea4\u1ea6\u1ea8\u1eaa\u1eac\u1eae\u1eb0\u1eb2\u1eb4\u1eb6\u1eb8\u1eba\u1ebc\u1ebe\u1ec0\u1ec2\u1ec4\u1ec6\u1ec8\u1eca\u1ecc\u1ece\u1ed0\u1ed2\u1ed4\u1ed6\u1ed8\u1eda\u1edc\u1ede\u1ee0\u1ee2\u1ee4\u1ee6\u1ee8\u1eea\u1eec\u1eee\u1ef0\u1ef2\u1ef4\u1ef6\u1ef8\u1efa\u1efc\u1efe\u1f08-\u1f0f\u1f18-\u1f1d\u1f28-\u1f2f\u1f38-\u1f3f\u1f48-\u1f4d\u1f59\u1f5b\u1f5d\u1f5f\u1f68-\u1f6f\u1fb8-\u1fbb\u1fc8-\u1fcb\u1fd8-\u1fdb\u1fe8-\u1fec\u1ff8-\u1ffb\u2102\u2107\u210b-\u210d\u2110-\u2112\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u2130-\u2133\u213e\u213f\u2145\u2183\u2c00-\u2c2e\u2c60\u2c62-\u2c64\u2c67\u2c69\u2c6b\u2c6d-\u2c70\u2c72\u2c75\u2c7e-\u2c80\u2c82\u2c84\u2c86\u2c88\u2c8a\u2c8c\u2c8e\u2c90\u2c92\u2c94\u2c96\u2c98\u2c9a\u2c9c\u2c9e\u2ca0\u2ca2\u2ca4\u2ca6\u2ca8\u2caa\u2cac\u2cae\u2cb0\u2cb2\u2cb4\u2cb6\u2cb8\u2cba\u2cbc\u2cbe\u2cc0\u2cc2\u2cc4\u2cc6\u2cc8\u2cca\u2ccc\u2cce\u2cd0\u2cd2\u2cd4\u2cd6\u2cd8\u2cda\u2cdc\u2cde\u2ce0\u2ce2\u2ceb\u2ced\ua640\ua642\ua644\ua646\ua648\ua64a\ua64c\ua64e\ua650\ua652\ua654\ua656\ua658\ua65a\ua65c\ua65e\ua660\ua662\ua664\ua666\ua668\ua66a\ua66c\ua680\ua682\ua684\ua686\ua688\ua68a\ua68c\ua68e\ua690\ua692\ua694\ua696\ua722\ua724\ua726\ua728\ua72a\ua72c\ua72e\ua732\ua734\ua736\ua738\ua73a\ua73c\ua73e\ua740\ua742\ua744\ua746\ua748\ua74a\ua74c\ua74e\ua750\ua752\ua754\ua756\ua758\ua75a\ua75c\ua75e\ua760\ua762\ua764\ua766\ua768\ua76a\ua76c\ua76e\ua779\ua77b\ua77d\ua77e\ua780\ua782\ua784\ua786\ua78b\ua78d\ua790\ua7a0\ua7a2\ua7a4\ua7a6\ua7a8\uff21-\uff3a]",Ll:"[a-z\xaa\xb5\xba\xdf-\xf6\xf8-\xff\u0101\u0103\u0105\u0107\u0109\u010b\u010d\u010f\u0111\u0113\u0115\u0117\u0119\u011b\u011d\u011f\u0121\u0123\u0125\u0127\u0129\u012b\u012d\u012f\u0131\u0133\u0135\u0137\u0138\u013a\u013c\u013e\u0140\u0142\u0144\u0146\u0148\u0149\u014b\u014d\u014f\u0151\u0153\u0155\u0157\u0159\u015b\u015d\u015f\u0161\u0163\u0165\u0167\u0169\u016b\u016d\u016f\u0171\u0173\u0175\u0177\u017a\u017c\u017e-\u0180\u0183\u0185\u0188\u018c\u018d\u0192\u0195\u0199-\u019b\u019e\u01a1\u01a3\u01a5\u01a8\u01aa\u01ab\u01ad\u01b0\u01b4\u01b6\u01b9\u01ba\u01bd-\u01bf\u01c6\u01c9\u01cc\u01ce\u01d0\u01d2\u01d4\u01d6\u01d8\u01da\u01dc\u01dd\u01df\u01e1\u01e3\u01e5\u01e7\u01e9\u01eb\u01ed\u01ef\u01f0\u01f3\u01f5\u01f9\u01fb\u01fd\u01ff\u0201\u0203\u0205\u0207\u0209\u020b\u020d\u020f\u0211\u0213\u0215\u0217\u0219\u021b\u021d\u021f\u0221\u0223\u0225\u0227\u0229\u022b\u022d\u022f\u0231\u0233-\u0239\u023c\u023f\u0240\u0242\u0247\u0249\u024b\u024d\u024f-\u0293\u0295-\u02af\u0371\u0373\u0377\u037b-\u037d\u0390\u03ac-\u03ce\u03d0\u03d1\u03d5-\u03d7\u03d9\u03db\u03dd\u03df\u03e1\u03e3\u03e5\u03e7\u03e9\u03eb\u03ed\u03ef-\u03f3\u03f5\u03f8\u03fb\u03fc\u0430-\u045f\u0461\u0463\u0465\u0467\u0469\u046b\u046d\u046f\u0471\u0473\u0475\u0477\u0479\u047b\u047d\u047f\u0481\u048b\u048d\u048f\u0491\u0493\u0495\u0497\u0499\u049b\u049d\u049f\u04a1\u04a3\u04a5\u04a7\u04a9\u04ab\u04ad\u04af\u04b1\u04b3\u04b5\u04b7\u04b9\u04bb\u04bd\u04bf\u04c2\u04c4\u04c6\u04c8\u04ca\u04cc\u04ce\u04cf\u04d1\u04d3\u04d5\u04d7\u04d9\u04db\u04dd\u04df\u04e1\u04e3\u04e5\u04e7\u04e9\u04eb\u04ed\u04ef\u04f1\u04f3\u04f5\u04f7\u04f9\u04fb\u04fd\u04ff\u0501\u0503\u0505\u0507\u0509\u050b\u050d\u050f\u0511\u0513\u0515\u0517\u0519\u051b\u051d\u051f\u0521\u0523\u0525\u0527\u0561-\u0587\u1d00-\u1d2b\u1d62-\u1d77\u1d79-\u1d9a\u1e01\u1e03\u1e05\u1e07\u1e09\u1e0b\u1e0d\u1e0f\u1e11\u1e13\u1e15\u1e17\u1e19\u1e1b\u1e1d\u1e1f\u1e21\u1e23\u1e25\u1e27\u1e29\u1e2b\u1e2d\u1e2f\u1e31\u1e33\u1e35\u1e37\u1e39\u1e3b\u1e3d\u1e3f\u1e41\u1e43\u1e45\u1e47\u1e49\u1e4b\u1e4d\u1e4f\u1e51\u1e53\u1e55\u1e57\u1e59\u1e5b\u1e5d\u1e5f\u1e61\u1e63\u1e65\u1e67\u1e69\u1e6b\u1e6d\u1e6f\u1e71\u1e73\u1e75\u1e77\u1e79\u1e7b\u1e7d\u1e7f\u1e81\u1e83\u1e85\u1e87\u1e89\u1e8b\u1e8d\u1e8f\u1e91\u1e93\u1e95-\u1e9d\u1e9f\u1ea1\u1ea3\u1ea5\u1ea7\u1ea9\u1eab\u1ead\u1eaf\u1eb1\u1eb3\u1eb5\u1eb7\u1eb9\u1ebb\u1ebd\u1ebf\u1ec1\u1ec3\u1ec5\u1ec7\u1ec9\u1ecb\u1ecd\u1ecf\u1ed1\u1ed3\u1ed5\u1ed7\u1ed9\u1edb\u1edd\u1edf\u1ee1\u1ee3\u1ee5\u1ee7\u1ee9\u1eeb\u1eed\u1eef\u1ef1\u1ef3\u1ef5\u1ef7\u1ef9\u1efb\u1efd\u1eff-\u1f07\u1f10-\u1f15\u1f20-\u1f27\u1f30-\u1f37\u1f40-\u1f45\u1f50-\u1f57\u1f60-\u1f67\u1f70-\u1f7d\u1f80-\u1f87\u1f90-\u1f97\u1fa0-\u1fa7\u1fb0-\u1fb4\u1fb6\u1fb7\u1fbe\u1fc2-\u1fc4\u1fc6\u1fc7\u1fd0-\u1fd3\u1fd6\u1fd7\u1fe0-\u1fe7\u1ff2-\u1ff4\u1ff6\u1ff7\u210a\u210e\u210f\u2113\u212f\u2134\u2139\u213c\u213d\u2146-\u2149\u214e\u2184\u2c30-\u2c5e\u2c61\u2c65\u2c66\u2c68\u2c6a\u2c6c\u2c71\u2c73\u2c74\u2c76-\u2c7c\u2c81\u2c83\u2c85\u2c87\u2c89\u2c8b\u2c8d\u2c8f\u2c91\u2c93\u2c95\u2c97\u2c99\u2c9b\u2c9d\u2c9f\u2ca1\u2ca3\u2ca5\u2ca7\u2ca9\u2cab\u2cad\u2caf\u2cb1\u2cb3\u2cb5\u2cb7\u2cb9\u2cbb\u2cbd\u2cbf\u2cc1\u2cc3\u2cc5\u2cc7\u2cc9\u2ccb\u2ccd\u2ccf\u2cd1\u2cd3\u2cd5\u2cd7\u2cd9\u2cdb\u2cdd\u2cdf\u2ce1\u2ce3\u2ce4\u2cec\u2cee\u2d00-\u2d25\ua641\ua643\ua645\ua647\ua649\ua64b\ua64d\ua64f\ua651\ua653\ua655\ua657\ua659\ua65b\ua65d\ua65f\ua661\ua663\ua665\ua667\ua669\ua66b\ua66d\ua681\ua683\ua685\ua687\ua689\ua68b\ua68d\ua68f\ua691\ua693\ua695\ua697\ua723\ua725\ua727\ua729\ua72b\ua72d\ua72f-\ua731\ua733\ua735\ua737\ua739\ua73b\ua73d\ua73f\ua741\ua743\ua745\ua747\ua749\ua74b\ua74d\ua74f\ua751\ua753\ua755\ua757\ua759\ua75b\ua75d\ua75f\ua761\ua763\ua765\ua767\ua769\ua76b\ua76d\ua76f\ua771-\ua778\ua77a\ua77c\ua77f\ua781\ua783\ua785\ua787\ua78c\ua78e\ua791\ua7a1\ua7a3\ua7a5\ua7a7\ua7a9\ua7fa\ufb00-\ufb06\ufb13-\ufb17\uff41-\uff5a]",Lt:"[\u01c5\u01c8\u01cb\u01f2\u1f88-\u1f8f\u1f98-\u1f9f\u1fa8-\u1faf\u1fbc\u1fcc\u1ffc]",Lm:"[\u02b0-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0374\u037a\u0559\u0640\u06e5\u06e6\u07f4\u07f5\u07fa\u081a\u0824\u0828\u0971\u0e46\u0ec6\u10fc\u17d7\u1843\u1aa7\u1c78-\u1c7d\u1d2c-\u1d61\u1d78\u1d9b-\u1dbf\u2071\u207f\u2090-\u209c\u2c7d\u2d6f\u2e2f\u3005\u3031-\u3035\u303b\u309d\u309e\u30fc-\u30fe\ua015\ua4f8-\ua4fd\ua60c\ua67f\ua717-\ua71f\ua770\ua788\ua9cf\uaa70\uaadd\uff70\uff9e\uff9f]",Lo:"[\u01bb\u01c0-\u01c3\u0294\u05d0-\u05ea\u05f0-\u05f2\u0620-\u063f\u0641-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u0800-\u0815\u0840-\u0858\u0904-\u0939\u093d\u0950\u0958-\u0961\u0972-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e45\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0edc\u0edd\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10d0-\u10fa\u1100-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17dc\u1820-\u1842\u1844-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bc0-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c77\u1ce9-\u1cec\u1cee-\u1cf1\u2135-\u2138\u2d30-\u2d65\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u3006\u303c\u3041-\u3096\u309f\u30a1-\u30fa\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcb\ua000-\ua014\ua016-\ua48c\ua4d0-\ua4f7\ua500-\ua60b\ua610-\ua61f\ua62a\ua62b\ua66e\ua6a0-\ua6e5\ua7fb-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa6f\uaa71-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb\uaadc\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa2d\ufa30-\ufa6d\ufa70-\ufad9\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff66-\uff6f\uff71-\uff9d\uffa0-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]",Mn:"[\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u064b-\u065f\u0670\u06d6-\u06dc\u06df-\u06e4\u06e7\u06e8\u06ea-\u06ed\u0711\u0730-\u074a\u07a6-\u07b0\u07eb-\u07f3\u0816-\u0819\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0859-\u085b\u0900-\u0902\u093a\u093c\u0941-\u0948\u094d\u0951-\u0957\u0962\u0963\u0981\u09bc\u09c1-\u09c4\u09cd\u09e2\u09e3\u0a01\u0a02\u0a3c\u0a41\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a70\u0a71\u0a75\u0a81\u0a82\u0abc\u0ac1-\u0ac5\u0ac7\u0ac8\u0acd\u0ae2\u0ae3\u0b01\u0b3c\u0b3f\u0b41-\u0b44\u0b4d\u0b56\u0b62\u0b63\u0b82\u0bc0\u0bcd\u0c3e-\u0c40\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62\u0c63\u0cbc\u0cbf\u0cc6\u0ccc\u0ccd\u0ce2\u0ce3\u0d41-\u0d44\u0d4d\u0d62\u0d63\u0dca\u0dd2-\u0dd4\u0dd6\u0e31\u0e34-\u0e3a\u0e47-\u0e4e\u0eb1\u0eb4-\u0eb9\u0ebb\u0ebc\u0ec8-\u0ecd\u0f18\u0f19\u0f35\u0f37\u0f39\u0f71-\u0f7e\u0f80-\u0f84\u0f86\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u102d-\u1030\u1032-\u1037\u1039\u103a\u103d\u103e\u1058\u1059\u105e-\u1060\u1071-\u1074\u1082\u1085\u1086\u108d\u109d\u135d-\u135f\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17b7-\u17bd\u17c6\u17c9-\u17d3\u17dd\u180b-\u180d\u18a9\u1920-\u1922\u1927\u1928\u1932\u1939-\u193b\u1a17\u1a18\u1a56\u1a58-\u1a5e\u1a60\u1a62\u1a65-\u1a6c\u1a73-\u1a7c\u1a7f\u1b00-\u1b03\u1b34\u1b36-\u1b3a\u1b3c\u1b42\u1b6b-\u1b73\u1b80\u1b81\u1ba2-\u1ba5\u1ba8\u1ba9\u1be6\u1be8\u1be9\u1bed\u1bef-\u1bf1\u1c2c-\u1c33\u1c36\u1c37\u1cd0-\u1cd2\u1cd4-\u1ce0\u1ce2-\u1ce8\u1ced\u1dc0-\u1de6\u1dfc-\u1dff\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2cef-\u2cf1\u2d7f\u2de0-\u2dff\u302a-\u302f\u3099\u309a\ua66f\ua67c\ua67d\ua6f0\ua6f1\ua802\ua806\ua80b\ua825\ua826\ua8c4\ua8e0-\ua8f1\ua926-\ua92d\ua947-\ua951\ua980-\ua982\ua9b3\ua9b6-\ua9b9\ua9bc\uaa29-\uaa2e\uaa31\uaa32\uaa35\uaa36\uaa43\uaa4c\uaab0\uaab2-\uaab4\uaab7\uaab8\uaabe\uaabf\uaac1\uabe5\uabe8\uabed\ufb1e\ufe00-\ufe0f\ufe20-\ufe26]",Me:"[\u0488\u0489\u20dd-\u20e0\u20e2-\u20e4\ua670-\ua672]",Mc:"[\u0903\u093b\u093e-\u0940\u0949-\u094c\u094e\u094f\u0982\u0983\u09be-\u09c0\u09c7\u09c8\u09cb\u09cc\u09d7\u0a03\u0a3e-\u0a40\u0a83\u0abe-\u0ac0\u0ac9\u0acb\u0acc\u0b02\u0b03\u0b3e\u0b40\u0b47\u0b48\u0b4b\u0b4c\u0b57\u0bbe\u0bbf\u0bc1\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcc\u0bd7\u0c01-\u0c03\u0c41-\u0c44\u0c82\u0c83\u0cbe\u0cc0-\u0cc4\u0cc7\u0cc8\u0cca\u0ccb\u0cd5\u0cd6\u0d02\u0d03\u0d3e-\u0d40\u0d46-\u0d48\u0d4a-\u0d4c\u0d57\u0d82\u0d83\u0dcf-\u0dd1\u0dd8-\u0ddf\u0df2\u0df3\u0f3e\u0f3f\u0f7f\u102b\u102c\u1031\u1038\u103b\u103c\u1056\u1057\u1062-\u1064\u1067-\u106d\u1083\u1084\u1087-\u108c\u108f\u109a-\u109c\u17b6\u17be-\u17c5\u17c7\u17c8\u1923-\u1926\u1929-\u192b\u1930\u1931\u1933-\u1938\u19b0-\u19c0\u19c8\u19c9\u1a19-\u1a1b\u1a55\u1a57\u1a61\u1a63\u1a64\u1a6d-\u1a72\u1b04\u1b35\u1b3b\u1b3d-\u1b41\u1b43\u1b44\u1b82\u1ba1\u1ba6\u1ba7\u1baa\u1be7\u1bea-\u1bec\u1bee\u1bf2\u1bf3\u1c24-\u1c2b\u1c34\u1c35\u1ce1\u1cf2\ua823\ua824\ua827\ua880\ua881\ua8b4-\ua8c3\ua952\ua953\ua983\ua9b4\ua9b5\ua9ba\ua9bb\ua9bd-\ua9c0\uaa2f\uaa30\uaa33\uaa34\uaa4d\uaa7b\uabe3\uabe4\uabe6\uabe7\uabe9\uabea\uabec]",Nd:"[0-9\u0660-\u0669\u06f0-\u06f9\u07c0-\u07c9\u0966-\u096f\u09e6-\u09ef\u0a66-\u0a6f\u0ae6-\u0aef\u0b66-\u0b6f\u0be6-\u0bef\u0c66-\u0c6f\u0ce6-\u0cef\u0d66-\u0d6f\u0e50-\u0e59\u0ed0-\u0ed9\u0f20-\u0f29\u1040-\u1049\u1090-\u1099\u17e0-\u17e9\u1810-\u1819\u1946-\u194f\u19d0-\u19d9\u1a80-\u1a89\u1a90-\u1a99\u1b50-\u1b59\u1bb0-\u1bb9\u1c40-\u1c49\u1c50-\u1c59\ua620-\ua629\ua8d0-\ua8d9\ua900-\ua909\ua9d0-\ua9d9\uaa50-\uaa59\uabf0-\uabf9\uff10-\uff19]",Nl:"[\u16ee-\u16f0\u2160-\u2182\u2185-\u2188\u3007\u3021-\u3029\u3038-\u303a\ua6e6-\ua6ef]",No:"[\xb2\xb3\xb9\xbc-\xbe\u09f4-\u09f9\u0b72-\u0b77\u0bf0-\u0bf2\u0c78-\u0c7e\u0d70-\u0d75\u0f2a-\u0f33\u1369-\u137c\u17f0-\u17f9\u19da\u2070\u2074-\u2079\u2080-\u2089\u2150-\u215f\u2189\u2460-\u249b\u24ea-\u24ff\u2776-\u2793\u2cfd\u3192-\u3195\u3220-\u3229\u3251-\u325f\u3280-\u3289\u32b1-\u32bf\ua830-\ua835]",Zs:"[ \xa0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000]",Zl:"[\u2028]",Zp:"[\u2029]",Cc:"[\0-\x1f\x7f-\x9f]",Cf:"[\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u202a-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb]",Cs:"[\ud800-\udfff]",Co:"[\ue000-\uf8ff]",Ps:"[([{\u0f3a\u0f3c\u169b\u201a\u201e\u2045\u207d\u208d\u2329\u2768\u276a\u276c\u276e\u2770\u2772\u2774\u27c5\u27e6\u27e8\u27ea\u27ec\u27ee\u2983\u2985\u2987\u2989\u298b\u298d\u298f\u2991\u2993\u2995\u2997\u29d8\u29da\u29fc\u2e22\u2e24\u2e26\u2e28\u3008\u300a\u300c\u300e\u3010\u3014\u3016\u3018\u301a\u301d\ufd3e\ufe17\ufe35\ufe37\ufe39\ufe3b\ufe3d\ufe3f\ufe41\ufe43\ufe47\ufe59\ufe5b\ufe5d\uff08\uff3b\uff5b\uff5f\uff62]",Pd:"[-\u058a\u05be\u1400\u1806\u2010-\u2015\u2e17\u2e1a\u301c\u3030\u30a0\ufe31\ufe32\ufe58\ufe63\uff0d]",Pc:"[_\u203f\u2040\u2054\ufe33\ufe34\ufe4d-\ufe4f\uff3f]",Pe:"[)\\]}\u0f3b\u0f3d\u169c\u2046\u207e\u208e\u232a\u2769\u276b\u276d\u276f\u2771\u2773\u2775\u27c6\u27e7\u27e9\u27eb\u27ed\u27ef\u2984\u2986\u2988\u298a\u298c\u298e\u2990\u2992\u2994\u2996\u2998\u29d9\u29db\u29fd\u2e23\u2e25\u2e27\u2e29\u3009\u300b\u300d\u300f\u3011\u3015\u3017\u3019\u301b\u301e\u301f\ufd3f\ufe18\ufe36\ufe38\ufe3a\ufe3c\ufe3e\ufe40\ufe42\ufe44\ufe48\ufe5a\ufe5c\ufe5e\uff09\uff3d\uff5d\uff60\uff63]",Sm:"[+<->|~\xac\xb1\xd7\xf7\u03f6\u0606-\u0608\u2044\u2052\u207a-\u207c\u208a-\u208c\u2118\u2140-\u2144\u214b\u2190-\u2194\u219a\u219b\u21a0\u21a3\u21a6\u21ae\u21ce\u21cf\u21d2\u21d4\u21f4-\u22ff\u2308-\u230b\u2320\u2321\u237c\u239b-\u23b3\u23dc-\u23e1\u25b7\u25c1\u25f8-\u25ff\u266f\u27c0-\u27c4\u27c7-\u27ca\u27cc\u27ce-\u27e5\u27f0-\u27ff\u2900-\u2982\u2999-\u29d7\u29dc-\u29fb\u29fe-\u2aff\u2b30-\u2b44\u2b47-\u2b4c\ufb29\ufe62\ufe64-\ufe66\uff0b\uff1c-\uff1e\uff5c\uff5e\uffe2\uffe9-\uffec]",Po:"[!-#%-'*,./:;?@\\\xa1\xb7\xbf\u037e\u0387\u055a-\u055f\u0589\u05c0\u05c3\u05c6\u05f3\u05f4\u0609\u060a\u060c\u060d\u061b\u061e\u061f\u066a-\u066d\u06d4\u0700-\u070d\u07f7-\u07f9\u0830-\u083e\u085e\u0964\u0965\u0970\u0df4\u0e4f\u0e5a\u0e5b\u0f04-\u0f12\u0f85\u0fd0-\u0fd4\u0fd9\u0fda\u104a-\u104f\u10fb\u1361-\u1368\u166d\u166e\u16eb-\u16ed\u1735\u1736\u17d4-\u17d6\u17d8-\u17da\u1800-\u1805\u1807-\u180a\u1944\u1945\u1a1e\u1a1f\u1aa0-\u1aa6\u1aa8-\u1aad\u1b5a-\u1b60\u1bfc-\u1bff\u1c3b-\u1c3f\u1c7e\u1c7f\u1cd3\u2016\u2017\u2020-\u2027\u2030-\u2038\u203b-\u203e\u2041-\u2043\u2047-\u2051\u2053\u2055-\u205e\u2cf9-\u2cfc\u2cfe\u2cff\u2d70\u2e00\u2e01\u2e06-\u2e08\u2e0b\u2e0e-\u2e16\u2e18\u2e19\u2e1b\u2e1e\u2e1f\u2e2a-\u2e2e\u2e30\u2e31\u3001-\u3003\u303d\u30fb\ua4fe\ua4ff\ua60d-\ua60f\ua673\ua67e\ua6f2-\ua6f7\ua874-\ua877\ua8ce\ua8cf\ua8f8-\ua8fa\ua92e\ua92f\ua95f\ua9c1-\ua9cd\ua9de\ua9df\uaa5c-\uaa5f\uaade\uaadf\uabeb\ufe10-\ufe16\ufe19\ufe30\ufe45\ufe46\ufe49-\ufe4c\ufe50-\ufe52\ufe54-\ufe57\ufe5f-\ufe61\ufe68\ufe6a\ufe6b\uff01-\uff03\uff05-\uff07\uff0a\uff0c\uff0e\uff0f\uff1a\uff1b\uff1f\uff20\uff3c\uff61\uff64\uff65]",Sk:"[^`\xa8\xaf\xb4\xb8\u02c2-\u02c5\u02d2-\u02df\u02e5-\u02eb\u02ed\u02ef-\u02ff\u0375\u0384\u0385\u1fbd\u1fbf-\u1fc1\u1fcd-\u1fcf\u1fdd-\u1fdf\u1fed-\u1fef\u1ffd\u1ffe\u309b\u309c\ua700-\ua716\ua720\ua721\ua789\ua78a\ufbb2-\ufbc1\uff3e\uff40\uffe3]",Sc:"[$\xa2-\xa5\u060b\u09f2\u09f3\u09fb\u0af1\u0bf9\u0e3f\u17db\u20a0-\u20b9\ua838\ufdfc\ufe69\uff04\uffe0\uffe1\uffe5\uffe6]",Pi:"[\xab\u2018\u201b\u201c\u201f\u2039\u2e02\u2e04\u2e09\u2e0c\u2e1c\u2e20]",So:"[\xa6\xa7\xa9\xae\xb0\xb6\u0482\u060e\u060f\u06de\u06e9\u06fd\u06fe\u07f6\u09fa\u0b70\u0bf3-\u0bf8\u0bfa\u0c7f\u0d79\u0f01-\u0f03\u0f13-\u0f17\u0f1a-\u0f1f\u0f34\u0f36\u0f38\u0fbe-\u0fc5\u0fc7-\u0fcc\u0fce\u0fcf\u0fd5-\u0fd8\u109e\u109f\u1360\u1390-\u1399\u1940\u19de-\u19ff\u1b61-\u1b6a\u1b74-\u1b7c\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116\u2117\u211e-\u2123\u2125\u2127\u2129\u212e\u213a\u213b\u214a\u214c\u214d\u214f\u2195-\u2199\u219c-\u219f\u21a1\u21a2\u21a4\u21a5\u21a7-\u21ad\u21af-\u21cd\u21d0\u21d1\u21d3\u21d5-\u21f3\u2300-\u2307\u230c-\u231f\u2322-\u2328\u232b-\u237b\u237d-\u239a\u23b4-\u23db\u23e2-\u23f3\u2400-\u2426\u2440-\u244a\u249c-\u24e9\u2500-\u25b6\u25b8-\u25c0\u25c2-\u25f7\u2600-\u266e\u2670-\u26ff\u2701-\u2767\u2794-\u27bf\u2800-\u28ff\u2b00-\u2b2f\u2b45\u2b46\u2b50-\u2b59\u2ce5-\u2cea\u2e80-\u2e99\u2e9b-\u2ef3\u2f00-\u2fd5\u2ff0-\u2ffb\u3004\u3012\u3013\u3020\u3036\u3037\u303e\u303f\u3190\u3191\u3196-\u319f\u31c0-\u31e3\u3200-\u321e\u322a-\u3250\u3260-\u327f\u328a-\u32b0\u32c0-\u32fe\u3300-\u33ff\u4dc0-\u4dff\ua490-\ua4c6\ua828-\ua82b\ua836\ua837\ua839\uaa77-\uaa79\ufdfd\uffe4\uffe8\uffed\uffee\ufffc\ufffd]",Pf:"[\xbb\u2019\u201d\u203a\u2e03\u2e05\u2e0a\u2e0d\u2e1d\u2e21]"};$.ig.util.defType("DomRenderer","Object",{$type:new $.ig.Type("DomRenderer",null)},true);$.ig.util.defType("DomWrapper","Object",{$type:new $.ig.Type("DomWrapper",null)},true);$.ig.unicode_hack=function(){var firstLetters={},p;for(p in unicodeCategories){if(firstLetters[p[0]]){firstLetters[p[0]]=unicodeCategories[p].substring(0,unicodeCategories[p].length-1)+firstLetters[p[0]].substring(1)}else{firstLetters[p[0]]=unicodeCategories[p]}}for(p in firstLetters){unicodeCategories[p]=firstLetters[p]}return function(regexpString){var modifiers="";if(regexpString instanceof RegExp){modifiers=(regexpString.global?"g":"")+(regexpString.ignoreCase?"i":"")+(regexpString.multiline?"m":"");regexpString=regexpString.source}regexpString=regexpString.replace(/\\p\{(..?)\}/g,function(match,group){return unicodeCategories[group]||match});return new RegExp(regexpString,modifiers)}}();$.ig.util.appendToQueryString=function(url,str){if(url.indexOf("?")!==-1){url+="&"}else{url+="?"}url+=str;return url};$.ig.util.prependToQueryString=function(url,str){var mainUrl=url.substring(0,url.indexOf("?")),queryStr=url.substring(url.indexOf("?"),url.length);return mainUrl+str+queryStr};$.ig.util.netRegexToJS=function(netPattern){var jsPattern="";var nextNETGroupIndex=1;var nextJSGroupIndex=1;var namedGroups=[];var nameToJSGroupIndexMap={};var netToJSGroupIndexMap=[[0]];var matchMustStartAtCurrentPosition=false;var name;var i=0;if(netPattern.startsWith("\\G")){i+=2;matchMustStartAtCurrentPosition=true}var isInClass=false;for(;i<netPattern.length;i++){var current=netPattern.charAt(i);switch(current){case"\\":switch(netPattern.charAt(i+1)){case"A":jsPattern=jsPattern.concat("^");i++;break;case"z":case"Z":jsPattern=jsPattern.concat("$");i++;break;case"G":throw new Error("\\G .NET Regex escape is only supported at the start of the pattern.");case"p":if(netPattern.charAt(i+2)!=="{"){throw new Error("\\p should be followed by braces.")}var endBraceIndex=netPattern.indexOf("}",i+3);if(endBraceIndex<0){throw new Error("Could not find the close brace of the \\p pattern.")}var pattern=netPattern.substring(i+3,endBraceIndex);i=endBraceIndex;var content=unicodeCategories[pattern];if(content===void 0){throw new Error("Unknown \\p pattern: "+pattern)}if(isInClass){jsPattern=jsPattern.concat(content.substr(1,content.length-2))}else{jsPattern=jsPattern.concat(content)}break;default:jsPattern=jsPattern.concat(netPattern.substr(i,2));i++;break}break;case"/":jsPattern=jsPattern.concat("\\/");break;case"[":isInClass=true;jsPattern=jsPattern.concat("[");break;case"]":isInClass=false;jsPattern=jsPattern.concat("]");break;case"(":jsPattern=jsPattern.concat("(");var next=netPattern[i+1];name="";if(next==="?"){i++;next=netPattern[i+1];if(next==="<"||next==='"'){if(netPattern[i+2]==="="||netPattern[i+2]==="!"){throw new Error("Lookbehind assertions are not supported in JavaScript.")}i++;var end=next==="<"?">":'"';var start=++i;for(;i<netPattern.length&&netPattern[i]!=end;i++){}name=netPattern.slice(start,i)}else{jsPattern=jsPattern.concat("?");if(next===":"){continue}}}var currentJSGroupIndex=nextJSGroupIndex++;if(name.length!==0){if(!namedGroups.contains(name)){namedGroups.push(name)}var jsGroups=nameToJSGroupIndexMap[name];if(!jsGroups){nameToJSGroupIndexMap[name]=jsGroups=[]}jsGroups.push(currentJSGroupIndex)}else{netToJSGroupIndexMap[nextNETGroupIndex++]=[currentJSGroupIndex]}break;default:jsPattern=jsPattern.concat(netPattern.substr(i,1));break}}var nameToNetGroupIndexMap={};for(i=0;i<namedGroups.length;i++){var currentNETGroupIndex=nextNETGroupIndex++;name=namedGroups[i];netToJSGroupIndexMap[currentNETGroupIndex]=nameToJSGroupIndexMap[name];nameToNetGroupIndexMap[name]=currentNETGroupIndex}return{pattern:jsPattern,nameToNetGroupIndexMap:nameToNetGroupIndexMap,netToJSGroupIndexMap:netToJSGroupIndexMap,matchMustStartAtCurrentPosition:matchMustStartAtCurrentPosition}};$.ig.util.summaries=$.ig.util.summaries||{};$.ig.util.summaries.min=function(data,dataType,fullData){if(data.length===0){if(dataType==="date"){return null}return 0}return Math.min.apply(Math,data)};$.ig.util.summaries.max=function(data,dataType,fullData){if(data.length===0){if(dataType==="date"){return null}return 0}return Math.max.apply(Math,data)};$.ig.util.summaries.sum=function(data,dataType,fullData){var sum=0,i;for(i=0;i<data.length;i++){sum+=data[i]}return sum};$.ig.util.summaries.avg=function(data,dataType,fullData){if(data.length===0){return 0}return $.ig.util.summaries.sum(data)/data.length};$.ig.util.summaries.count=function(data,dataType,fullData){return data.length};$.ig.calcSummaries=function(summaryFunction,data,caller,dataType,fullData){summaryFunction=summaryFunction.toLowerCase();if(summaryFunction.startsWith("custom")){summaryFunction="custom"}switch(summaryFunction){case"min":return $.ig.util.summaries.min(data,dataType,fullData);case"max":return $.ig.util.summaries.max(data,dataType,fullData);case"sum":return $.ig.util.summaries.sum(data,dataType,fullData);case"avg":return $.ig.util.summaries.avg(data,dataType,fullData);case"count":return $.ig.util.summaries.count(data,dataType,fullData);case"custom":if(caller!==undefined&&caller!==null){if(typeof caller==="string"&&typeof window[caller]==="function"){caller=window[caller]}if(typeof caller==="function"){return caller(data,dataType,fullData)}}else{return null}break}};$.ig.util.defaultSummaryMethods=[{label:$.ig.util.locale?$.ig.util.getLocaleValue("util","defaultSummaryMethodLabelCount"):"Count = ",name:"count",summaryFunction:$.ig.util.summaries.count,dataType:"any",active:true,order:0,applyFormat:false},{label:$.ig.util.locale?$.ig.util.getLocaleValue("util","defaultSummaryMethodLabelMin"):"Min = ",name:"min",summaryFunction:$.ig.util.summaries.min,dataType:["number","date","time","numeric"],active:true,order:1,applyFormat:true},{label:$.ig.util.locale?$.ig.util.getLocaleValue("util","defaultSummaryMethodLabelMax"):"Max = ",name:"max",summaryFunction:$.ig.util.summaries.max,dataType:["number","date","time","numeric"],active:true,order:2,applyFormat:true},{label:$.ig.util.locale?$.ig.util.getLocaleValue("util","defaultSummaryMethodLabelSum"):"Sum = ",name:"sum",summaryFunction:$.ig.util.summaries.sum,dataType:["number","numeric"],active:true,order:3,applyFormat:true},{label:$.ig.util.locale?$.ig.util.getLocaleValue("util","defaultSummaryMethodLabelAvg"):"Avg = ",name:"avg",summaryFunction:$.ig.util.summaries.avg,dataType:["number","numeric"],active:true,order:4,applyFormat:true}];return igRoot})($);/*!@license
 * Infragistics.Web.ClientUI Util functions 21.2.12
 *
 * Copyright (c) 2011-2022 Infragistics Inc.
 *
 * util functions that extend the jQuery  namespace
 * if something is not already available in jQuery, please add it here.
 *
 * http://www.infragistics.com/
 *
 * Depends on:
 * jquery.js
 * modernizr.js (Optional)
 * infragistics.util.js
 *
 */
(function($){$.ig=window.jQuery&&window.jQuery.ig||$.ig||{_isNamespace:true};window.$ig=window.$ig||$.ig;$.ig.getWindow=function(elem){return $.isWindow(elem)?elem:elem.nodeType===9&&elem.defaultView};$.fn.startsWith=function(str){return this[0].innerHTML.indexOf(str)===0};$.ig.extendNativePrototype(Array.prototype,"clone",function(){return $.extend(true,[],this)});$.ajaxQueue=function(queueName,options){var callback;if(typeof document.ajaxQueue==="undefined"){document.ajaxQueue={queue:{}}}if(typeof document.ajaxQueue.queue[queueName]==="undefined"){document.ajaxQueue.queue[queueName]=[]}if(typeof options==="undefined"){return}callback=options.complete;options.complete=function(request,status){document.ajaxQueue.queue[queueName].shift();if(typeof callback!=="undefined"){callback(request,status)}if(document.ajaxQueue.queue[queueName].length>0){$.ajax(document.ajaxQueue.queue[queueName][0])}};document.ajaxQueue.queue[queueName].push(options);if(document.ajaxQueue.queue[queueName].length===1){$.ajax(document.ajaxQueue.queue[queueName][0])}};if(!Object.keys){Object.keys=function(){var hasOwnProperty=Object.prototype.hasOwnProperty,hasDontEnumBug=!{toString:null}.propertyIsEnumerable("toString"),dontEnums=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],dontEnumsLength=dontEnums.length;return function(obj){if(typeof obj!=="object"&&(typeof obj!=="function"||obj===null)){throw new TypeError("Object.keys called on non-object")}var result=[],prop,i;for(prop in obj){if(hasOwnProperty.call(obj,prop)){result.push(prop)}}if(hasDontEnumBug){for(i=0;i<dontEnumsLength;i++){if(hasOwnProperty.call(obj,dontEnums[i])){result.push(dontEnums[i])}}}return result}}()}$.ig.checkboxMarkupClasses="";$.ig.getRegionalOptions=function(reg){if(!reg){return $.ig.regional.defaults||{}}return($.type(reg)==="string"?$.ig.regional[reg]:reg)||{}};$.ig.getRegionalValue=function(key,reg){reg=$.ig.getRegionalOptions(reg);var value=reg[key];return value===undefined?$.ig.regional.defaults[key]:value};$.ig.encode=function(value){return value!==null&&value!==undefined?value.toString().replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/'/g,"&#39;").replace(/"/g,"&#34;"):""};$.fn.extend({igOffset:function(options){if(arguments.length){return options===undefined?this:this.each(function(i){$.offset.setOffset(this,options,i)})}var docElem,win,rect,doc,elem=this[0];if(!elem){return}if(!elem.getClientRects().length){return{top:0,left:0}}rect=elem.getBoundingClientRect();if(rect.width||rect.height){doc=elem.ownerDocument;win=$.ig.getWindow(doc);docElem=doc.documentElement;return{top:rect.top+win.pageYOffset-docElem.clientTop,left:rect.left+win.pageXOffset-docElem.clientLeft}}return rect},igPosition:function(){if(!this[0]){return}var offsetParent,offset,parentOffset={top:0,left:0},elem=this[0];if($.css(elem,"position")==="fixed"){offset=elem.getBoundingClientRect()}else{offsetParent=this.offsetParent();offset=this.igOffset();if(!$.nodeName(offsetParent[0],"html")){parentOffset=offsetParent.igOffset()}parentOffset.top+=$.css(offsetParent[0],"borderTopWidth",true);parentOffset.left+=$.css(offsetParent[0],"borderLeftWidth",true)}return{top:offset.top-parentOffset.top-$.css(elem,"marginTop",true),left:offset.left-parentOffset.left-$.css(elem,"marginLeft",true)}}});$.ig.millisecondsToString=function(milliseconds,flag){var result=parseInt(milliseconds/Math.pow(10,flag.length-1)).toString();if(flag==="ff"){if(result.length!==2){while(result.length<2){result="0"+result}}}else if(flag==="f"){if(result.length!==3){while(result.length<3){result="0"+result}}}return result};$.ig.secondsToString=function(seconds,flag){var result;if(flag==="ss"&&seconds<10){result="0"+seconds.toString()}else{result=seconds.toString()}return result};$.ig.minutesToString=function(minutes,flag){var result;if(flag==="mm"&&minutes<10){result="0"+minutes.toString()}else{result=minutes.toString()}return result};$.ig.amPmToString=function(hours,flag,regional){var result;if(hours>=12){result=$.ig.getRegionalValue("pm",regional)}else{result=$.ig.getRegionalValue("am",regional)}if(flag==="t"){result=result.charAt(0)}return result};$.ig.hoursToString=function(hours,flag){var result;switch(flag){case"h":if(hours>12){hours-=12}if(hours===0){hours=12}result=hours.toString();break;case"hh":if(hours>12){hours-=12}if(hours===0){hours=12}if(hours<10){result="0"+hours.toString()}else{result=hours.toString()}break;case"H":result=hours.toString();break;case"HH":default:if(hours<10){result="0"+hours.toString()}else{result=hours.toString()}break}return result};$.ig.dateToString=function(date,flag){var result;switch(flag){case"dd":if(date<10){result="0"+date.toString()}else{result=date}break;case"d":default:result=date.toString();break}return result};$.ig.dayToString=function(day,flag,regional){var result;switch(flag){case"dddd":result=$.ig.getRegionalValue("dayNames",regional)[day];break;case"ddd":default:result=$.ig.getRegionalValue("dayNamesShort",regional)[day];break}return result};$.ig.monthToString=function(month,flag,regional){var result;switch(flag){case"MMMM":result=$.ig.getRegionalValue("monthNames",regional)[month];break;case"MMM":result=$.ig.getRegionalValue("monthNamesShort",regional)[month];break;case"M":month++;result=month.toString();break;case"MM":default:month++;if(month<10){result="0"+month.toString()}else{result=month}break}return result};$.ig.yearToString=function(year,flag){var result;if(flag==="yy"){result=year.toString().substring(2)}else if(flag==="y"){result=parseInt(year.toString().substring(2)).toString()}else{result=year.toString()}return result};$.ig.formatCheckboxes=function(display,val,labelText,tabIndex){var s;labelText=$.ig.encode(labelText);s="<span class='ui-igcheckbox-container' style='display:"+display+";' role='checkbox' aria-disabled='true' aria-checked='"+val+"' aria-label='"+labelText+"' tabindex='"+tabIndex+"'>";s+="<span class='"+$.ig.checkboxMarkupClasses+"' style='display:inline-block'>";s+="<span style='display:block' class='"+(val?"":"ui-igcheckbox-small-off ");return s+"ui-icon ui-icon-check ui-igcheckbox-small-on'></span></span></span>"};$.ig.formatDate=function(mask,date,regional){mask=mask.replace(/\x08/g," ").replace(/\x09/g," ");mask=mask.replace(/\\f/g,"\x01").replace(/\\d/g,"\x02").replace(/\\s/g,"\x03").replace(/\\m/g,"\x04").replace(/\\t/g,"\x05").replace(/\\H/g,"\x06").replace(/\\h/g,"\x07").replace(/\\M/g,"\b").replace(/\\y/g,"\t");mask=mask.replace(/fff/g,"\x10030").replace(/ff/g,"\x10031").replace(/f/g,"\x10032");mask=mask.replace(/dddd/g,"\x10033").replace(/ddd/g,"\x10034").replace(/dd/g,"\x10035").replace(/d/g,"\x10036").replace(/ss/g,"\x10037").replace(/s/g,"\x10038").replace(/mm/g,"\x10039").replace(/m/g,"\x10040");mask=mask.replace(/tt/g,"\x10041").replace(/t/g,"\x10042").replace(/HH/g,"\x10043").replace(/H/g,"\x10044").replace(/hh/g,"\x10045").replace(/h/g,"\x10046");mask=mask.replace(/MMMM/g,"\x10047").replace(/MMM/g,"\x10048").replace(/MM/g,"\x10049").replace(/M/g,"\x10050");mask=mask.replace(/yyyy/g,"\x10051").replace(/yy/g,"\x10052").replace(/y/g,"\x10053");mask=mask.replace(/\x10030/g,$.ig.millisecondsToString(date.getMilliseconds(),"f")).replace(/\x10031/g,$.ig.millisecondsToString(date.getMilliseconds(),"ff")).replace(/\x10032/g,$.ig.millisecondsToString(date.getMilliseconds(),"fff"));mask=mask.replace(/\x10033/g,$.ig.dayToString(date.getDay(),"dddd",regional)).replace(/\x10034/g,$.ig.dayToString(date.getDay(),"ddd",regional)).replace(/\x10035/g,$.ig.dateToString(date.getDate(),"dd")).replace(/\x10036/g,$.ig.dateToString(date.getDate(),"d")).replace(/\x10037/g,$.ig.secondsToString(date.getSeconds(),"ss")).replace(/\x10038/g,$.ig.secondsToString(date.getSeconds(),"s")).replace(/\x10039/g,$.ig.minutesToString(date.getMinutes(),"mm")).replace(/\x10040/g,$.ig.minutesToString(date.getMinutes(),"m")).replace(/\x10041/g,$.ig.amPmToString(date.getHours(),"tt",regional)).replace(/\x10042/g,$.ig.amPmToString(date.getHours(),"t",regional)).replace(/\x10043/g,$.ig.hoursToString(date.getHours(),"HH")).replace(/\x10044/g,$.ig.hoursToString(date.getHours(),"H")).replace(/\x10045/g,$.ig.hoursToString(date.getHours(),"hh")).replace(/\x10046/g,$.ig.hoursToString(date.getHours(),"h"));mask=mask.replace(/\x10047/g,$.ig.monthToString(date.getMonth(),"MMMM",regional)).replace(/\x10048/g,$.ig.monthToString(date.getMonth(),"MMM",regional)).replace(/\x10049/g,$.ig.monthToString(date.getMonth(),"MM",regional)).replace(/\x10050/g,$.ig.monthToString(date.getMonth(),"M",regional));mask=mask.replace(/\x10051/g,$.ig.yearToString(date.getFullYear(),"yyyy")).replace(/\x10052/g,$.ig.yearToString(date.getFullYear(),"yy")).replace(/\x10053/g,$.ig.yearToString(date.getFullYear(),"y"));mask=mask.replace(/\x01/g,"g").replace(/\x02/g,"d").replace(/\x03/g,"s").replace(/\x04/g,"m").replace(/\x05/g,"t").replace(/\x06/g,"H").replace(/\x07/g,"h").replace(/\x08/g,"M").replace(/\x09/g,"y");return mask};$.ig.formatDates=function(val,d,format,enableUTCDates,dateOffset,reg){var min,y,h,m,s,ms,am,day,pattern;if(!val){return"&nbsp;"}if(!d){return val}pattern=$.ig.getRegionalValue(format&&format!=="null"&&format!=="undefined"?format+"Pattern":"datePattern",reg)||format;if(dateOffset!==undefined&&dateOffset!==null){val=new Date(val.getTime()+dateOffset)}if(enableUTCDates||dateOffset!==undefined&&dateOffset!==null){y=val.getUTCFullYear();m=val.getUTCMonth()+1;d=val.getUTCDate();h=val.getUTCHours();min=val.getUTCMinutes();s=val.getUTCSeconds();ms=val.getUTCMilliseconds();day=val.getUTCDay()}else{y=val.getFullYear();m=val.getMonth()+1;d=val.getDate();h=val.getHours();min=val.getMinutes();s=val.getSeconds();ms=val.getMilliseconds();day=val.getDay()}pattern=pattern.replace(/\\d/g,"\x06").replace(/\\y/g,"\x07").replace(/\\M/g,"\b").replace(/\\m/g,"\t").replace(/\\t/g,"\n").replace(/\\s/g,"\x0B").replace(/\\f/g,"\f").replace(/\\h/g,"\r").replace(/\\H/g,"\x0e");pattern=pattern.replace("MMMM","\x01").replace("MMM","\x02").replace("dddd","\x03").replace("ddd","\x04");if(pattern.indexOf("t")>=0){am=h>=12?$.ig.getRegionalValue("pm",reg):$.ig.getRegionalValue("am",reg);am=am||" ";if(pattern.indexOf("tt")>=0){pattern=pattern.replace("tt","t")}else if(am.length>1){am=am.substring(0,1)}pattern=pattern.replace("t","\x05")}if(pattern.indexOf("h")>=0){if(h>12){h-=12}if(h===0){h=12}}pattern=pattern.replace(/H/g,"h");pattern=pattern.replace("yyyy",y<10?"000"+y:y<100?"00"+y:y<1e3?"0"+y:y).replace("yy",(y=y%100)<10?"0"+y:y).replace("y",y%100).replace("MM",m<10?"0"+m:m).replace("M",m);pattern=pattern.replace("dd",d<10?"0"+d:d).replace("d",d);pattern=pattern.replace("hh",h<10?"0"+h:h).replace("h",h).replace("mm",min<10?"0"+min:min).replace("m",min).replace("ss",s<10?"0"+s:s).replace("s",s);pattern=pattern.replace("fff",ms<10?"00"+ms:ms<100?"0"+ms:ms).replace("ff",(ms=Math.round(ms/10))<10?"0"+ms:ms).replace("f",Math.round(ms/100));pattern=pattern.replace("\x01",$.ig.getRegionalValue("monthNames",reg)[m-1]).replace("\x02",$.ig.getRegionalValue("monthNamesShort",reg)[m-1]).replace("\x05",am);pattern=pattern.replace("\x03",$.ig.getRegionalValue("dayNames",reg)[day]).replace("\x04",$.ig.getRegionalValue("dayNamesShort",reg)[day]);pattern=pattern.replace(/\x06/g,"d").replace(/\x07/g,"y").replace(/\x08/g,"M").replace(/\x09/g,"m").replace(/\x0A/g,"t").replace(/\x0B/g,"s").replace(/\x0C/g,"f").replace("\r","h").replace("\x0e","H");return pattern};$.ig.formatNumbers=function(n,val,reg,perc,percS,cur,curS,format,i,d){var prefix,pattern,len,s,min,dot,m,pow,e,gr,gr0,grps;if(!n){val=parseFloat(val.replace("(","-").replace(new RegExp("[^0-9\\-eE\\"+$.ig.getRegionalValue("numericDecimalSeparator",reg)+"\\+]","gm"),"").replace($.ig.getRegionalValue("numericDecimalSeparator",reg),"."))}if(isNaN(val)){return"&nbsp;"}if(perc){val*=100}prefix=cur?curS:perc?percS:"numeric";pattern=$.ig.getRegionalValue(prefix+(val<0?"Negative":"Positive")+"Pattern",reg)||"n";len=format?format.length:0;if(len>0&&((s=format.charAt(0))==="0"||s==="#")){min=m=0;dot=format.indexOf(".");if(dot>0){m=len-1-dot;while(++dot<len){if(format.charAt(dot)!=="0"){break}min++}}}else{min=$.ig.getRegionalValue(prefix+"MinDecimals",reg)||0;if(d){m=999}else{m=$.ig.getRegionalValue(prefix+"MaxDecimals",reg);m=m&&!i?m:0}}if(val<0){val=-val}if(m===999){val=val.toString(10)}else{if($.ig.util.isIE&&$.ig.util.browserVersion<=8){pow=Math.pow(10,m);val=(Math.round(pow*val)/pow).toFixed(m)}else{val=val.toFixed(m)}}if((i=val.indexOf("E"))<0){i=val.indexOf("e")}e="";if(i>0){e=val.substring(i);val=val.substring(0,i)}dot=val.indexOf(".");len=val.length;i=0;while(dot>0&&m>min+i&&val.charAt(len-1-i)==="0"){i++}if(i>0){val=val.substring(0,len-=i)}if(dot===len-1){val=val.substring(0,dot)}if(dot>0){len=dot}s=$.ig.getRegionalValue(prefix+"DecimalSeparator",reg);if(s){val=val.replace(".",s)}s=$.ig.getRegionalValue(prefix+"GroupSeparator",reg);grps=s?$.ig.getRegionalValue(prefix+"Groups",reg):"";gr=gr0=grps.length>0?grps[i=0]:0;while(gr>0&&--len>0){if(--gr===0){val=val.substring(0,len)+s+val.substring(len);gr=grps[++i];if(!gr||gr<1){gr=gr0}else{gr0=gr}}}s=$.ig.getRegionalValue(prefix+"Symbol",reg)||"";return pattern.replace("-",$.ig.getRegionalValue("negativeSign",reg)).replace("n",val+e).replace("$",s)};$.ig.formatter=function(val,type,format,notTemplate,enableUTCDates,dateOffset,displayStyle,labelText,tabIndex,reg){var formatterArgs=arguments[0];if(typeof formatterArgs==="object"&&formatterArgs!==null&&formatterArgs.hasOwnProperty("val")){val=formatterArgs.val;type=formatterArgs.type;format=formatterArgs.format;notTemplate=formatterArgs.notTemplate;enableUTCDates=formatterArgs.enableUTCDates;dateOffset=formatterArgs.dateOffset;displayStyle=formatterArgs.displayStyle;labelText=formatterArgs.labelText;tabIndex=formatterArgs.tabIndex;reg=formatterArgs.reg}var n,curS,percS,cur,perc,i,d=val&&val.getTime,s,display=displayStyle||"inline-block";if(format==="checkbox"&&notTemplate){return $.ig.formatCheckboxes(display,val,labelText,tabIndex)}if(!val&&val!==0&&val!==false){return"&nbsp;"}if(type==="date"||type==="time"||d){return $.ig.formatDates(val,d,format,enableUTCDates,dateOffset,reg)}d=format==="double";if(!d){cur=format===(curS="currency");if(!cur){perc=format===(percS="percent");if(!perc){i=format==="int"}}}n=typeof val==="number";if(d||n||i||cur||perc||type==="number"){return $.ig.formatNumbers(n,val,reg,perc,percS,cur,curS,format,i,d)}if(format){if(format.indexOf(s="{0}")>=0){return format.replace(s,val)}if(format.indexOf(s="[0]")>=0){return format.replace(s,val)}}return val||val===0?val:"&nbsp;"};$.ig.getMaxZIndex=function(id){var maxZ=1e4,thisZ;$(".ui-dialog").each(function(){if(!id||$(this)[0].id!==id){thisZ=$(this).css("z-index");if(!isNaN(thisZ)){maxZ=Math.max(maxZ,thisZ)}}});return maxZ};$.ig.getZIndex=function(elem){var position,value;while(elem.length&&elem[0]!==document){position=elem.css("position");if(position==="absolute"||position==="relative"||position==="fixed"){value=parseInt(elem.css("zIndex"),10);if(!isNaN(value)&&value!==0){return value}}elem=elem.parent()}return 0};$.ig.uid=function(){return((1+Math.random())*parseInt("10000",16)).toString(16).substring(1,5)};$.ig.getColType=function(o){var t=typeof o;if(t==="undefined"){return"string"}else if(o&&o.getTime&&!isNaN(o.getTime())&&Object.prototype.toString.call(o)==="[object Date]"){return"date"}else if(t==="boolean"){return"bool"}else if(t==="number"){return t}else if(t==="object"){return"object"}else{return"string"}};$.ig.toLocalISOString=function(date){var tzo=-date.getTimezoneOffset(),dif=tzo>=0?"+":"-",pad=function(num){var norm=Math.abs(Math.floor(num));return(norm<10?"0":"")+norm};return date.getFullYear()+"-"+pad(date.getMonth()+1)+"-"+pad(date.getDate())+"T"+pad(date.getHours())+":"+pad(date.getMinutes())+":"+pad(date.getSeconds())+dif+pad(tzo/60)+":"+pad(tzo%60)};(function($){$.ig.util.profiler={};var methods={};$.ig.util.profiler.recordTime=function(methodName,time){var key="meth: "+methodName;if(!methods[key]){methods[key]=[]}methods[key][methods[key].length]=time};$.ig.util.profiler.reset=function(){methods={}};$.ig.util.profiler.logReport=function(){var meths=[];var j=0;var sum=0;var avg=0;for(var prop in methods){if(prop.indexOf("meth:")===0){var meth={};meth.name=prop.substr(5);sum=0;for(var i=0;i<methods[prop].length;i++){sum=sum+methods[prop][i]}avg=sum/methods[prop].length;meth.avg=avg;meth.callCount=methods[prop].length;meths[j]=meth;j++}}meths.sort(function(m1,m2){if(m1.avg<m2.avg){return 1}if(m1.avg>m2.avg){return-1}if(m1.avg==m2.avg){return 0}});for(var k=0;k<Math.min(200,meths.length);k++){console.log(meths[k].name+" avg: "+meths[k].avg+" callCount: "+meths[k].callCount)}}})($);$.ig.util.jQueryUIMainVersion=$.ui&&$.ui.version&&$.ui.version.length>0?parseInt($.ui.version.split(".",1)[0],10):null;$.ig.util.jQueryUISubVersion=$.ui&&$.ui.version&&$.ui.version.length>0?parseInt($.ui.version.split(".",2)[1],10):null;$.ig.util.jQueryMainVersion=$.fn.jquery&&$.fn.jquery.length?parseInt($.fn.jquery.split(".",1)[0],10):null;$.ig.util.jQuerySubVersion=$.fn.jquery&&$.fn.jquery.length?parseInt($.fn.jquery.split(".",2)[1],10):null;$.ig.util.offset=function(e,xy){var doc=e?e[0].ownerDocument:document,windowBorderWidth=8,zoom=(window.outerWidth-windowBorderWidth*2)/window.innerWidth;xy=xy||e.igOffset();if(zoom&&zoom>1&&($.ig.util.isIE10||$.ig.util.isIE11||$.ig.util.isEdge)){if($.ig.util.isIE){xy.documentScrollLeft=doc.documentElement.scrollLeft;xy.documentScrollTop=doc.documentElement.scrollTop}else if($.ig.util.isEdge){xy.documentScrollLeft=doc.body.scrollLeft;xy.documentScrollTop=doc.body.scrollTop}xy.left+=xy.documentScrollLeft-window.pageXOffset;xy.top+=xy.documentScrollTop-window.pageYOffset}return xy};$.ig.util.getRelativeOffset=function(e){var elem=e.parent(),o={left:0,top:0},position,windowBorderWidth=8,zoom=(window.outerWidth-windowBorderWidth*2)/window.innerWidth,documentScrollLeft,documentScrollTop,doc=e.length>0?e[0].ownerDocument:document;while(elem[0]!==null&&elem[0]!==undefined&&elem[0].nodeName!=="#document"){position=elem.css("position");if(position!=="static"&&position!==""){if(zoom&&zoom>1&&($.ig.util.isIE10||$.ig.util.isIE11||$.ig.util.isEdge)){if($.ig.util.isIE){documentScrollLeft=doc.documentElement.scrollLeft;documentScrollTop=doc.documentElement.scrollTop}else if($.ig.util.isEdge){documentScrollLeft=doc.body.scrollLeft;documentScrollTop=doc.body.scrollTop}o.left=elem.igOffset().left;o.top=elem.igOffset().top;o.left+=documentScrollLeft-window.pageXOffset;o.top+=documentScrollTop-window.pageYOffset}else{o.left=elem.igOffset().left-elem.scrollLeft();o.top=elem.igOffset().top-elem.scrollTop()}break}elem=elem.parent()}return o};$.fn.animateRotate=function(startAngle,endAngle,duration,easing,complete){return this.each(function(){var elem=$(this);$({deg:startAngle}).animate({deg:endAngle},{duration:duration,easing:easing,step:function(now){elem.css({"-moz-transform":"rotate("+now+"deg)","-webkit-transform":"rotate("+now+"deg)","-o-transform":"rotate("+now+"deg)","-ms-transform":"rotate("+now+"deg)",transform:"rotate("+now+"deg)"})},complete:complete||$.noop})})};$.ig.util.makeCRCTable=function(){var c,n,k,crcTable=[];for(n=0;n<256;n++){c=n;for(k=0;k<8;k++){c=c&1?3988292384^c>>>1:c>>>1}crcTable[n]=c}return crcTable};$.ig.util.crc32=function(str){var crcTable=$.ig.util.crcTable||($.ig.util.crcTable=$.ig.util.makeCRCTable()),crc=0^-1,i;str=unescape(encodeURIComponent(str));for(i=0;i<str.length;i++){crc=crc>>>8^crcTable[(crc^str.charCodeAt(i))&255]}return(crc^-1)>>>0};$.ig.util.getCheckSumForObject=function(obj){var str="",key;for(key in obj){if(obj.hasOwnProperty(key)&&typeof obj[key]!=="object"){str+=obj[key]}}return $.ig.util.crc32(str)};$.ig.util.invokeCallback=function(callback,args){if(callback){if($.type(callback)==="string"&&window[callback]&&$.type(window[callback])==="function"){callback=window[callback]}if($.type(callback)==="function"){callback.apply(window,args)}}};$.ig.util.IMEtoENNumbersMapping=function(){return{"\uff11":"1","\uff12":"2","\uff13":"3","\uff14":"4","\uff15":"5","\uff16":"6","\uff17":"7","\uff18":"8","\uff19":"9","\uff10":"0"}};$.ig.util.IMEtoNumberString=function(stringValue,mapping){if(mapping===undefined){return stringValue}if(stringValue){stringValue=stringValue.toString();$.each(mapping,function(jpVal,engVal){stringValue=stringValue.replace(new RegExp(jpVal,"g"),engVal)})}return stringValue};if($.Widget){(function(createWidget){$.Widget.prototype._createWidget=function(options,element){var el=$(element||this.defaultElement||this)[0];if(el!==this){$.data(el,this.widgetName,this)}return createWidget.apply(this,arguments)}})($.Widget.prototype._createWidget);(function(destroy){$.Widget.prototype.destroy=function(){var ret=destroy.apply(this,arguments);if(this.widgetName&&this.element){this.element.removeData(this.widgetName)}return ret}})($.Widget.prototype.destroy)}$.ig.util.hasVerticalScroll=function(elem){var overflow=$(elem).css("overflow-y");return overflow==="scroll"||overflow==="auto"&&elem[0].scrollHeight>elem[0].clientHeight};$.ig.util.hasHorizontalScroll=function(elem){var overflow=$(elem).css("overflow-x");return overflow==="scroll"||overflow==="auto"&&elem[0].scrollWidth>elem[0].clientWidth};$.ig.util.getScrollWidth=function(){var el=$('<div style="width: 100px; height: 100px; position: absolute; '+'top: -10000px; left: -10000px; overflow: scroll"></div>').appendTo($(document.body)),scrollWidth;scrollWidth=el[0].offsetWidth-el[0].clientWidth;el.remove();return scrollWidth};$.ig.util.getScrollHeight=function(){var el=$('<div style="width: 100px; height: 100px; position: absolute; '+'top: -10000px; left: -10000px; overflow: scroll"></div>').appendTo($(document.body)),scrollHeight;scrollHeight=el[0].offsetHeight-el[0].clientHeight;el.remove();return scrollHeight};$.ig.util.ajax=function(url,contentType,data,method,requestOptions){var deferred=$.Deferred();var isCrossDomain;if(requestOptions&&"isCrossDomain"in requestOptions){isCrossDomain=requestOptions.isCrossDomain}else{isCrossDomain=$.support.cors}var xhrObj=function(rOptions){var xhr=new XMLHttpRequest;if(isCrossDomain&&!("withCredentials"in xhr||rOptions&&"withCredentials"in rOptions&&rOptions.withCredentials)&&typeof XDomainRequest!==undefined){xhr=new XDomainRequest;xhr.getResponseHeader=function(){return null};xhr.setRequestHeader=function(){xhr.status=200};xhr.getAllResponseHeaders=function(){return null};xhr.onload=function(){xhr.readyState=4;xhr.status=200;xhr.statusText="success";xhr.getAllResponseHeaders=function(){};xhr.onreadystatechange()};xhr.onerror=function(){xhr.readyState=4;xhr.status=0;xhr.statusText="error";xhr.getAllResponseHeaders=function(){};xhr.onreadystatechange()};xhr.ontimeout=function(){xhr.readyState=4;xhr.status=0;xhr.statusText="timeout";xhr.getAllResponseHeaders=function(){};xhr.onreadystatechange()};xhr.onprogress=function(){}}return xhr}(requestOptions);var xhrFields;if("withCredentials"in xhrObj&&requestOptions&&"withCredentials"in requestOptions&&requestOptions.withCredentials){xhrFields={withCredentials:true}}var beforeSend=function(jqXHR,options){if(requestOptions){if($.isFunction(requestOptions.beforeSend)){jqXHR.setRequestHeader("Content-Type",contentType);requestOptions.beforeSend.call(this,jqXHR,options,requestOptions)}}};$.ajax({crossDomain:isCrossDomain?true:false,isLocal:false,url:url,contentType:contentType,data:data,type:method,dataType:"text",xhrFields:xhrFields,beforeSend:beforeSend,xhr:function(){return xhrObj},success:function(responce){deferred.resolve(responce)},error:function(jqXHR,textStatus,errorThrown){deferred.reject(errorThrown)}});return deferred.promise()};$.ig.util._renderUnsupportedBrowser=function(widget,locale){if(!widget.events||!widget.events.browserNotSupported||widget._trigger(widget.events.browserNotSupported)){var elem=widget.element,o=widget.options,container=$("<div></div>").attr({"data-not-supported-browser":true}).css("overflow","auto").addClass(widget.css.unsupportedBrowserClass).appendTo(elem),ul,browserUnsupported;locale=locale||$.ig.util.locale;if($.ig.util.isIE){browserUnsupported="Internet Explorer "+$.ig.util.browserVersion}else if($.ig.util.isOpera){browserUnsupported="Opera "+$.ig.util.browserVersion}else if($.ig.util.isWebKit){browserUnsupported="Webkit "+$.ig.util.browserVersion}else if($.ig.util.isFF){browserUnsupported="Mozilla Firefox "+$.ig.util.browserVersion}else{browserUnsupported=$.ig.util.browserVersion}$("<div></div>").addClass("ui-html5-current-browser-label").attr("data-localeid","currentBrowser").html(locale.currentBrowser.replace("{0}",browserUnsupported)).appendTo(container);$("<div></div>").addClass("ui-html5-non-html5-text").attr("data-localeid","unsupportedBrowser").html(locale.unsupportedBrowser).appendTo(container);ul=$("<ul></ul>").addClass("ui-html5-browsers-list").appendTo(container);$("<a></a>").attr("href",locale.chromeDownload).attr("target","_blank").addClass("ui-html5-chrome-icon").html(locale.chrome8).appendTo($("<li></li>").addClass("ui-corner-all").appendTo(ul));$("<a></a>").attr("href",locale.firefoxDownload).attr("target","_blank").addClass("ui-html5-firefox-icon").html(locale.firefox36).appendTo($("<li></li>").addClass("ui-corner-all").appendTo(ul));$("<a></a>").attr("href",locale.operaDownload).attr("target","_blank").addClass("ui-html5-Opera-icon").html(locale.opera11).appendTo($("<li></li>").addClass("ui-corner-all").appendTo(ul));$("<a></a>").attr("href",locale.safariDownload).attr("target","_blank").addClass("ui-html5-safari-icon").html(locale.safari5).appendTo($("<li></li>").addClass("ui-corner-all").appendTo(ul));$("<a></a>").attr("href",locale.ieDownload).attr("target","_blank").addClass("ui-html5-ie-icon").html(locale.ie9).appendTo($("<li></li>").addClass("ui-corner-all").appendTo(ul));if(widget.css.unsupportedBrowserClass.indexOf(" ui-html5-non-html5")===-1){elem.addClass("ui-html5-non-html5")}if(o.width){elem.css("width",o.width)}if(o.height){elem.css("height",o.height)}}};$.ig.util.defType("jQueryDomRenderer","Object",{init:function(){},$type:new $.ig.Type("jQueryDomRenderer",$.ig.Object.prototype.$type)},true)})($);/*!@license
 * Infragistics.Web.ClientUI Data Binding Plugin 21.2.12
 *
 * Copyright (c) 2011-2022 Infragistics Inc.
 *
 * igDataSource provides the following functionality:
 * - read and parse local XML , JSON , and HTML data
 * - normalize / transform the above data according to a schema
 * - data type conversion (date, string, number, etc.)
 * - define relationships between two and more flat data sources - with primary/foreign keys, etc
 * - build URL params for requests that get remote data
 * - in case of scenarios such as paging, understand and prase the response - expect that it's in a predefined format that can be additionall configured by the developer
 * - get data from WCF services
 * - ability to combine local with remote functionality
 * - queueing AJAX requests
 *	paging,filtering (searching), and sorting functionality that are control-independent are also implemented here
 *	the idea of this code is to serve as a data-source abstraction layer (client-side data source control)
 *	that may well be used by all other client-side controls , such as dropdown, tree, menu, etc.
 *
 * http://www.infragistics.com/
 *
 * Depends on:
 *	jquery.js
 *	infragistics.util.js
 *  infragistics.util.jquery.js
 *
 */
(function($){$.ig=$.ig||{};if(!window.Infragistics){window.Infragistics=$.ig}$.ig.DataSource=$.ig.DataSource||Class.extend({settings:{id:"ds",outputResultsName:null,callback:null,callee:null,data:[],dataSource:null,dataBinding:null,dataBound:null,requestType:"GET",type:"unknown",schema:null,primaryKey:null,responseTotalRecCountKey:null,responseDataKey:null,responseDataType:null,responseContentType:null,localSchemaTransform:true,urlParamsEncoding:null,urlParamsEncoded:null,paging:{enabled:false,type:"remote",pageSize:5,pageSizeUrlKey:null,pageIndexUrlKey:null,pageIndex:0,appendPage:false},filtering:{type:"remote",caseSensitive:false,applyToAllData:true,customFunc:null,filterExprUrlKey:null,filterLogicUrlKey:"filterLogic",defaultFields:[],expressions:[],exprString:"",customConditions:null},sorting:{defaultDirection:"none",defaultFields:[],applyToAllData:true,customFunc:null,compareFunc:null,customConvertFunc:null,type:"remote",caseSensitive:false,sortUrlKey:null,sortUrlAscValueKey:null,sortUrlDescValueKey:null,expressions:[],exprString:""},groupby:{defaultCollapseState:false,groupRecordKey:"__gbRecord",groupSummaryRecordKey:"__gbSummaryRecord",summaries:[],summariesPosition:"bottom",pagingMode:"allRecords"},summaries:{type:"remote",summaryExprUrlKey:"summaries",summariesResponseKey:"summaries",summaryExecution:"afterfilteringandpaging",columnSettings:[]},fields:[],serializeTransactionLog:true,aggregateTransactions:false,autoCommit:false,updateUrl:null,rowAdded:null,rowUpdated:null,rowInserted:null,rowDeleted:null},init:function(options){var tempSource,tempCallee,arrayAlready=false,metadata;if(options){tempSource=options.dataSource;if(tempSource&&($.type(tempSource)==="array"||$.type(tempSource)==="object")){if($.type(tempSource)==="object"&&options.responseDataKey&&options.type!=="json"){metadata=tempSource.Metadata;options.dataSource=$.ig.findPath(tempSource,options.responseDataKey);if(metadata&&options.dataSource.Metadata===undefined){options.dataSource.Metadata=metadata}arrayAlready=true}else{options.dataSource=null}}if(options.callee){tempCallee=options.callee;options.callee=null}this.settings=$.extend(true,{},$.ig.DataSource.prototype.settings,options);if(arrayAlready){this.settings.type="array"}else if(tempSource&&($.type(tempSource)==="array"||$.type(tempSource)==="object")){options.dataSource=tempSource;this.settings.dataSource=tempSource}if(tempCallee){this.settings.callee=tempCallee;tempCallee=null}}this.settings.paging.pageIndex=0;this._isBound=false;this._url=null;this._dsCallback=null;this._data=[];this._dataView=[];if(this.settings.type==="unknown"){this._runtimeType=this.analyzeDataSource()}else{this._runtimeType=this.settings.type}this._parser=new $.ig.TypeParser;this._schema=null;this._isSortingReq=false;this._isFilteringReq=false;this._isPagingReq=false;this._isSummariesReq=false;this._dataSummaries=[];this._recCount=0;this._hasCount=false;this._initSchema();this._transactionLog=[];this._accumulatedTransactionLog=[];return this},_initSchema:function(){var i;if(this.settings.schema){if(this.settings.schema instanceof $.ig.DataSchema){this._schema=this.settings.schema}else{if(this.settings.type!=="unknown"){this._schema=new $.ig.DataSchema(this.settings.type,this.settings.schema)}else{this._schema=new $.ig.DataSchema(this._runtimeType,this.settings.schema)}this._schema._pk=this.settings.primaryKey}this._fields={};for(i=0;i<this._schema.fields().length;i++){if(typeof this._schema.fields()[i].mapper==="string"&&typeof window[this._schema.fields()[i].mapper]==="function"){this._schema.fields()[i].mapper=window[this._schema.fields()[i].mapper]}if(typeof this._schema.fields()[i].mapper==="function"){this._hasMapper=true}this._fields[this._schema.fields()[i].name]=this._schema.fields()[i]}}},fields:function(fields){if(fields===undefined||fields===null){return this.settings.fields}this.settings.fields=fields;return this},analyzeDataSource:function(){var ds=this.dataSource(),dc,$dsObj;if(ds===undefined||ds===null){return"empty"}if($.type(ds)==="function"){return"function"}if($.type(ds)==="array"){return"array"}if($.type(ds)==="number"||$.type(ds)==="boolean"||$.type(ds)==="date"){return"invalid"}if($.type(ds)==="string"){ds=$.trim(ds);if(ds.startsWith("/")){return"remoteUrl"}if($("#"+this.settings.id).length>0&&ds.toLowerCase().startsWith("<table")){return"htmlTableString"}if(ds.toLowerCase().startsWith("<table")){dc="<div id='"+this.settings.id+"' style='display:none;visibility:hidden;'>"+ds+"</div>";$(dc).appendTo($("body"));return"htmlTableString"}if(!ds.startsWith("[")&&!ds.startsWith("{")&&!ds.startsWith("<")){if(!ds.startsWith("http://")&&!ds.startsWith("https://")){try{$dsObj=$("#"+ds);if($dsObj.length>0&&$dsObj[0].nodeName.toLowerCase()==="table"){return"htmlTableId"}}catch(e){}}this._url=ds;return"remoteUrl"}return"unknown"}if(ds.nodeName&&ds.nodeName.toLowerCase()==="table"){return"htmlTableDom"}if(ds.nodeName&&(ds.nodeName.toLowerCase()==="ul"||ds.nodeName.toLowerCase()==="ol")){return"htmlListDom"}if(ds.nodeName&&ds.nodeName.toLowerCase()==="select"){return"htmlSelectDom"}return"unknown"},dataView:function(){return this._dataView},data:function(){return this._data},transformedData:function(transformedExecution){var data;switch(transformedExecution){case"priortofilteringandpaging":data=this._data;break;case"afterfilteringbeforepaging":if(this._transformedData!==undefined){data=this._transformedData}else{data=this._data}break;case"afterfilteringandpaging":data=this.dataView();break;default:data=this._dataView;break}return data},dataSummaries:function(){var s=this.settings.summaries,type=s.type;if(type==="local"){this._dataSummaries=this.transformedData(s.summaryExecution)}return this._dataSummaries},schema:function(s,t){if(s===undefined||s===null){return this._schema}if(s instanceof $.ig.DataSchema){this._schema=s}else{if(t===null||t===undefined){this._schema=new $.ig.DataSchema(s.type,s)}else{this._schema=new $.ig.DataSchema(t,s)}this._schema._pk=this.settings.primaryKey}return this},pagingSettings:function(p){if(p===undefined||p===null){return this.settings.paging}this.settings.paging=p;return this},filterSettings:function(f){if(f===undefined||f===null){return this.settings.filtering}this.settings.filtering=f;return this},sortSettings:function(s){if(s===undefined||s===null){return this.settings.sorting}this.settings.sorting=s;return this},summariesSettings:function(s){if(s===undefined||s===null){return this.settings.summaries}this.settings.summaries=s;return this},dataSource:function(ds){if(ds===undefined||ds===null){return this.settings.dataSource}this.settings.dataSource=ds;this.analyzeDataSource();return this},type:function(t){if(t===undefined||t===null){return this._runtimeType}this.settings.type=t;return this},findRecordByKey:function(key,ds,objPath){var i,data=ds||this._data,len=data?data.length:0,search=len>0&&$.isArray(data[0])?this._lookupPkIndex():this.settings.primaryKey;for(i=0;i<len;i++){if(data[i][search]===key){return data[i]}}return null},removeRecordByKey:function(key,origDs){var i,len,data,count=0,all=[this._data],prime=this.settings.primaryKey,primeIdx=this._lookupPkIndex(),search;this._addOnlyUniqueToCollection(all,this._dataView);this._addOnlyUniqueToCollection(all,this._filteredData);this._addOnlyUniqueToCollection(all,origDs);while(count<all.length){data=all[count++];len=data?data.length:0;search=len>0&&$.isArray(data[0])?primeIdx:prime;for(i=0;i<len;i++){if(data[i]&&data[i][search]===key){$.ig.removeFromArray(data,i);break}}}},removeRecordByIndex:function(index,origDs){var i,len,record,data=this._data,view=this._dataView,filter=this._filteredData;if(!data||isNaN(index)||index<0||index>=data.length){return}record=data[index];$.ig.removeFromArray(data,index);if(origDs){$.ig.removeFromArray(origDs,index)}data=data===view?filter:view;while(record){len=data?data.length:0;for(i=0;i<len;i++){if(data[i]===record){$.ig.removeFromArray(data,i);break}}if(data===filter){return}data=filter}},setCellValue:function(rowId,colId,val,autoCommit){var t=this._createCellTransaction(rowId,colId,val);this._addTransaction(t);if(autoCommit===true){this.commit(rowId)}return t},updateRow:function(rowId,rowObject,autoCommit){var t=this._createRowTransaction(rowId,rowObject),oldRow=this.settings.primaryKey===null?this._data[parseInt(rowId,10)]:this.findRecordByKey(rowId),rowIndex=this.settings.primaryKey===null?rowId:$.ig.indexInArray(this._data,oldRow);this._addTransaction(t);if(autoCommit===true){this.commit(rowId)}if($.type(this.settings.rowUpdated)==="function"){if(this.settings.callee){this.settings.rowUpdated.apply(this.settings.callee,[{rowIndex:rowIndex,newRow:rowObject,oldRow:oldRow},this])}else{this.settings.rowUpdated({rowIndex:rowIndex,newRow:rowObject,oldRow:oldRow},this)}}return t},addRow:function(rowId,rowObject,autoCommit){var t=this._createNewRowTransaction(rowId,rowObject);this._addTransaction(t);if(autoCommit===true){this.commit(rowId)}if($.type(this.settings.rowAdded)==="function"){if(this.settings.callee){this.settings.rowAdded.apply(this.settings.callee,[{rowId:rowId,row:rowObject},this])}else{this.settings.rowAdded({rowId:rowId,row:rowObject},this)}}return t},insertRow:function(rowId,rowObject,rowIndex,autoCommit,parentRowId){var t=this._createInsertRowTransaction(rowId,rowObject,rowIndex);this._addTransaction(t);if(autoCommit===true){this.commit(rowId)}if($.type(this.settings.rowInserted)==="function"){if(this.settings.callee){this.settings.rowInserted.apply(this.settings.callee,[{rowId:rowId,row:rowObject,rowIndex:rowIndex},this])}else{this.settings.rowInserted({rowId:rowId,row:rowObject,rowIndex:rowIndex},this)}}return t},deleteRow:function(rowId,autoCommit){var t=this._createDeleteRowTransaction(rowId),row=this.settings.primaryKey===null?this._data[parseInt(rowId,10)]:this.findRecordByKey(rowId),rowIndex=this.settings.primaryKey===null?rowId:$.ig.indexInArray(this._data,row),isNewRow=false,i,j;for(i=0;this.settings.aggregateTransactions&&i<this._transactionLog.length;i++){if(this._transactionLog[i].type==="newrow"&&this._transactionLog[i].rowId===rowId){isNewRow=true;rowId=this._transactionLog[i].rowId;this._removeTransactionByTransactionId(this._transactionLog[i].tid);for(j=0;j<this._accumulatedTransactionLog.length;j++){if(this._accumulatedTransactionLog[j].rowId===rowId){$.ig.removeFromArray(this._accumulatedTransactionLog,j)}}break}}if(!(this.settings.aggregateTransactions&&isNewRow)){this._addTransaction(t);if(autoCommit===true){this.commit(rowId)}if($.type(this.settings.rowDeleted)==="function"){if(this.settings.callee){this.settings.rowDeleted.apply(this.settings.callee,[{rowId:rowId,row:row,rowIndex:rowIndex},this])}else{this.settings.rowDeleted({rowId:rowId,row:row,rowIndex:rowIndex},this)}}}return t},addNode:function(data){var t=this._createAddNodeTransaction(data);this._addTransaction(t)},removeNode:function(data){var t=this._createRemoveNodeTransaction(data);this._addTransaction(t)},getDetachedRecord:function(t){var o=$.type(this._data[0])==="array"?[]:{},i,originalRec;if(this.settings.primaryKey===null){originalRec=this._data[parseInt(t.rowId,10)]}else{originalRec=this.findRecordByKey(t.rowId)}if($.type(this._data[0])!=="array"){for(i in originalRec){if(originalRec.hasOwnProperty(i)){o[i]=originalRec[i]}}}else{for(i=0;i<originalRec.length;i++){o[i]=originalRec[i]}}if(t.type==="cell"){o[t.col]=t.value;return o}if($.type(o)!=="array"){for(i in t.row){if(t.row.hasOwnProperty(i)){o[i]=t.row[i]}}}else{for(i=0;i<t.row.length;i++){o[i]=t.row[i]}}return o},commit:function(id){if(id!==null&&id!==undefined){this._commitTransactionsByRowId(id)}else{this._transactionLog.reverse();while(this._transactionLog.length>0){this._commitTransaction(this._transactionLog.pop())}}if(this._getFieldsWithFormatter().length){this._generateFormattedRecords()}},rollback:function(id){var i,trans;if(id!==null&&id!==undefined){trans=this._rollbackTransactionsByRowId(id)}else{i=this._transactionLog.length;while(i-- >0){this._rollbackTransaction(this._transactionLog[i])}}return trans},pendingTransactions:function(){return this._transactionLog},allTransactions:function(){return this._accumulatedTransactionLog},_createCellTransaction:function(rowId,colId,val){return{type:"cell",rowId:rowId,tid:this._generateTransactionId(),col:colId,value:val}},_createRowTransaction:function(rowId,rowObject){return{type:"row",tid:this._generateTransactionId(),row:rowObject,rowId:rowId}},_createNewRowTransaction:function(rowId,rowObject){return{type:"newrow",tid:this._generateTransactionId(),row:rowObject,rowId:rowId}},_createInsertRowTransaction:function(rowId,rowObject,rowIndex){return{type:"insertrow",tid:this._generateTransactionId(),row:rowObject,rowId:rowId,rowIndex:rowIndex}},_createDeleteRowTransaction:function(rowId){return{type:"deleterow",tid:this._generateTransactionId(),rowId:rowId}},_createAddNodeTransaction:function(data){return{type:"addnode",tid:this._generateTransactionId(),tdata:data}},_createRemoveNodeTransaction:function(data){return{type:"removenode",tid:this._generateTransactionId(),tdata:data}},_addTransaction:function(t){var exists=false,i=0,prop,globalt,j,dirty=true,k,shouldAggregateTransactions=this.settings.autoCommit===false&&this.settings.aggregateTransactions===true,isSameAsOrigValue=false,rec=shouldAggregateTransactions?this.findRecordByKey(t.rowId):null;if(t.type==="cell"){for(i=0;i<this._transactionLog.length;i++){if(this._transactionLog[i].rowId===t.rowId&&this._transactionLog[i].col===t.col){exists=true;if(shouldAggregateTransactions){if(rec&&rec[t.col]===t.value){for(k=0;k<this._accumulatedTransactionLog.length;k++){if(this._accumulatedTransactionLog[k].rowId===this._transactionLog[i].rowId){$.ig.removeFromArray(this._accumulatedTransactionLog,k)}}this._removeTransactionByTransactionId(this._transactionLog[i].tid);dirty=false}}if(dirty){this._transactionLog[i].value=t.value;this._syncGlobalTransaction(this._transactionLog[i])}}if(shouldAggregateTransactions&&rec&&rec[t.col]===t.value){isSameAsOrigValue=true}}for(j=0;j<this._transactionLog.length;j++){if(this._transactionLog[j].type==="newrow"&&this._transactionLog[j].rowId===t.rowId){if(t.type==="row"){this._transactionLog[j].value=t.value}else{this._transactionLog[j].row[t.col]=t.value}this._syncGlobalTransaction(this._transactionLog[j]);return}}}else if(t.type==="row"){for(i=0;i<this._transactionLog.length;i++){if(this._transactionLog[i].rowId===t.rowId&&this._transactionLog[i].type!=="cell"){exists=true;if(shouldAggregateTransactions){dirty=false;for(prop in t.row){if(rec&&t.row.hasOwnProperty(prop)&&t.row[prop]!==rec[prop]){dirty=true;break}}for(j=0,!dirty;j<this._transactionLog.length;j++){if(this._transactionLog[j].type==="newrow"&&this._transactionLog[j].rowId===t.rowId){this._transactionLog[j].row=t.row;this._syncGlobalTransaction(this._transactionLog[j]);return}}}if(dirty){this._transactionLog[i].row=t.row;this._syncGlobalTransaction(this._transactionLog[i])}else{for(k=0;k<this._accumulatedTransactionLog.length;k++){if(this._accumulatedTransactionLog[k].rowId===this._transactionLog[i].rowId){$.ig.removeFromArray(this._accumulatedTransactionLog,k)}}this._removeTransactionByTransactionId(this._transactionLog[i].tid)}}}if(shouldAggregateTransactions){for(prop in t.row){isSameAsOrigValue=true;if(!(t.row.hasOwnProperty(prop)&&rec&&t.row[prop]===rec[prop])){isSameAsOrigValue=false;break}}}}else if(t.type==="addnode"||t.type==="removenode"){this._transactionLog.push(t);this._accumulatedTransactionLog.push(t);return}if(!exists&&!isSameAsOrigValue){this._transactionLog.push(t);globalt=$.extend(true,{},t);this._accumulatedTransactionLog.push(globalt)}},_syncGlobalTransaction:function(t){var i,prop;if(!t){return}if(t.type==="cell"){for(i=0;i<this._accumulatedTransactionLog.length;i++){if(this._accumulatedTransactionLog[i].rowId===t.rowId&&this._accumulatedTransactionLog[i].col===t.col){this._accumulatedTransactionLog[i].value=t.value;break}}}else if(t.type==="row"||t.type==="insertrow"||t.type==="newrow"){for(i=0;i<this._accumulatedTransactionLog.length;i++){if(this._accumulatedTransactionLog[i].rowId===t.rowId&&this._accumulatedTransactionLog[i].type!=="cell"){for(prop in t.row){if(t.row.hasOwnProperty(prop)){this._accumulatedTransactionLog[i].row[prop]=t.row[prop]}}}}}},_serializeDate:function(date){if($.type(date)!=="date"){return date}if(this.settings.enableUTCDates){date=date.toISOString()}else{date=$.ig.toLocalISOString(date)}return date},_removeTransactionByTransactionId:function(tid,removeFromAll){var i;for(i=0;i<this._transactionLog.length;i++){if(this._transactionLog[i].tid===tid){$.ig.removeFromArray(this._transactionLog,i);break}}if(removeFromAll===true){for(i=0;i<this._accumulatedTransactionLog.length;i++){if(this._accumulatedTransactionLog[i].tid===tid){$.ig.removeFromArray(this._accumulatedTransactionLog,i);break}}}},_removeTransactionsByRecordId:function(id){var i;for(i=0;i<this._transactionLog.length;i++){if(this._transactionLog[i].rowId===id){$.ig.removeFromArray(this._transactionLog,i);break}}},_addRow:function(row,index,origDs){var data,key,i,count=0,schema=this.settings.schema,layouts=schema?schema.layouts:null,lo,pdata,all=[this._data],newRow,collectionProcessedData=[];this._addOnlyUniqueToCollection(all,this._dataView);this._addOnlyUniqueToCollection(all,origDs);if(this._filter&&this._filteredData&&this.settings.paging.enabled&&this.settings.paging.type==="local"){this._addOnlyUniqueToCollection(all,this._filteredData)}if(this._vgbData&&this.isGroupByApplied(this.settings.sorting.expressions)){this._addOnlyUniqueToCollection(all,this._vgbData)}if(layouts){for(key in layouts){if(layouts.hasOwnProperty(key)){if((key.match(/\//g)||[]).length!==1){continue}if(layouts[key].key&&!row.hasOwnProperty(layouts[key].key)){if(layouts[key].responseDataKey){lo={};lo[layouts[key].responseDataKey]=[]}else{lo=[]}row[layouts[key].key]=lo}}}}while(count<all.length){data=all[count++];if(this._preprocessAddRow){pdata=this._preprocessAddRow.apply(this,Array.prototype.slice.call(arguments).concat([data]));data=(pdata||{}).layoutData;if(data){for(i=0;i<collectionProcessedData.length;i++){if(collectionProcessedData[i]===data){data=null;break}}if(data){collectionProcessedData.push(data)}}}if(data){newRow=row;if(origDs&&data!==origDs&&$.type(row)==="object"){newRow=$.extend(true,{},row)}if(index>=0&&index<data.length){data.splice(index,0,newRow)}else{data.push(newRow)}if(this._postprocessAddRow&&pdata){pdata.newData=data;this._postprocessAddRow.apply(this,Array.prototype.slice.call(arguments).concat(pdata));data=pdata.cashedData}}}},_updateRecOnCommit:function(t,records){var i,j,rec,prop;if(t.type==="cell"){for(j=0;j<records.length;j++){rec=records[j];if(rec){rec[t.col]=t.value}}}else if(t.type==="row"){if($.type(t.row)==="array"){for(j=0;j<records.length;j++){rec=records[j];if(rec){for(i=0;i<t.row.length;i++){rec[i]=t.row[i]}}}}else{for(j=0;j<records.length;j++){rec=records[j];if(rec){for(prop in t.row){if(t.row.hasOwnProperty(prop)){rec[prop]=t.row[prop]}}}}}}},_commitTransaction:function(t){var rec,origRec,origDs=this.settings.localSchemaTransform?this._origDs:null;if(origDs===this._data){origDs=null}if(this.settings.primaryKey===null){rec=this._data[parseInt(t.rowId,10)];if(origDs){origRec=origDs[parseInt(t.rowId,10)]}}else{rec=this.findRecordByKey(t.rowId);if(origDs){origRec=this.findRecordByKey(t.rowId,origDs)}}if(t.type==="cell"||t.type==="row"){this._updateRecOnCommit(t,[rec,origRec])}else if(t.type==="deleterow"){if(this.settings.primaryKey===null){this.removeRecordByIndex(parseInt(t.rowId,10),origDs)}else{this.removeRecordByKey(t.rowId,origDs)}if(this.isGroupByApplied(this.settings.sorting.expressions)){this._generateGroupByData(this._filter?this._filteredData:this._data,this.settings.sorting.expressions)}}else if(t.type==="newrow"){this._addRow(t.row,-1,origDs)}else if(t.type==="insertrow"){this._addRow(t.row,t.rowIndex,origDs)}this._removeTransactionByTransactionId(t.tid)},_rollbackTransaction:function(t){this._removeTransactionByTransactionId(t.tid,true)},_commitTransactionsByRowId:function(id){var i;for(i=0;i<this._transactionLog.length;i++){if(this._transactionLog[i].rowId===id){this._commitTransaction(this._transactionLog[i])}}},_rollbackTransactionsByRowId:function(id){var i,trans=[];i=this._transactionLog.length;while(i-- >0){if(this._transactionLog[i].rowId===id){trans.push(this._transactionLog[i]);this._rollbackTransaction(this._transactionLog[i])}}return trans},_addOnlyUniqueToCollection:function(collection,item){var i;for(i=0;i<collection.length;i++){if(collection[i]===item){return}}collection.push(item)},transactionsAsString:function(){return JSON.stringify(this._accumulatedTransactionLog)},_generateTransactionId:function(){return((1+Math.random())*parseInt("10000",16)).toString(16).substring(1,5)},_lookupPkIndex:function(){var i;if(this._pkIndex!==undefined){return this._pkIndex}if(typeof this.settings.primaryKey==="string"){if(this.schema()&&this.schema().fields()&&this.schema().fields().length>0){for(i=0;i<this.schema().fields().length;i++){if(this.schema().fields()[i].name===this.settings.primaryKey){this._pkIndex=i;return i}}}}this._pkIndex=this.settings.primaryKey;return this.settings.primaryKey},saveChanges:function(success,error){if(this.settings.updateUrl!==null){var me=this,opts,i,prop,t,serializedTransactionLog=[];for(i=0;i<this._accumulatedTransactionLog.length;i++){t=$.extend(true,{},this._accumulatedTransactionLog[i]);if(t.type==="cell"){t.value=this._serializeDate(t.value)}else if(t.type==="row"||t.type==="insertrow"||t.type==="newrow"){for(prop in t.row){if(t.row.hasOwnProperty(prop)){if($.type(t.row[prop])==="date"){t.row[prop]=this._serializeDate(t.row[prop])}else{t.row[prop]=t.row[prop]}}}}serializedTransactionLog.push(t)}opts={type:"POST",url:this.settings.updateUrl,data:{ig_transactions:JSON.stringify(serializedTransactionLog)},success:function(data,textStatus,jqXHR){if(data.Success){me._saveChangesSuccess(data,textStatus,jqXHR);if(success){success(data,textStatus,jqXHR)}}else{me._saveChangesError(jqXHR,textStatus,$.ig.util.getLocaleValue("DataSourceLocale","noSaveChanges"));if(error){error(jqXHR,textStatus,$.ig.util.getLocaleValue("DataSourceLocale","noSaveChanges"))}}},error:function(jqXHR,textStatus,errorThrown){me._saveChangesError(jqXHR,textStatus,errorThrown);if(error){error(jqXHR,textStatus,errorThrown)}}};this._ajaxRequest=$.ajax(opts)}},_saveChangesSuccess:function(data,textStatus,jqXHR){var schs,sche,i;if(data.Success){this.commit();this._transactionLog=[];this._accumulatedTransactionLog=[];schs=this._saveChangesHandlers;i=schs?schs.length:0;while(i-- >0){schs[i](data,textStatus,jqXHR)}}else{sche=this._saveChangesErrorHandlers;i=sche?sche.length:0;while(i-- >0){sche[i](jqXHR,textStatus,$.ig.util.getLocaleValue("DataSourceLocale","noSaveChanges"))}}},_saveChangesError:function(jqXHR,textStatus,errorThrown){var sche=this._saveChangesErrorHandlers,i=sche?sche.length:0;while(i-- >0){sche[i](jqXHR,textStatus,errorThrown)}},_addChangesSuccessHandler:function(functionDelegate){if(this._saveChangesHandlers===undefined){this._saveChangesHandlers=[]}this._saveChangesHandlers[this._saveChangesHandlers.length]=functionDelegate},_removeChangesSuccessHandler:function(functionDelegate){if(this._saveChangesHandlers!==undefined){var index=$.ig.indexInArray(this._saveChangesHandlers,functionDelegate);if(index>-1){this._saveChangesHandlers=this._saveChangesHandlers.slice(0,index).concat(this._saveChangesHandlers.slice(index+1,this._saveChangesHandlers.length))}}},_addChangesErrorHandler:function(functionDelegate){if(this._saveChangesErrorHandlers===undefined){this._saveChangesErrorHandlers=[]}this._saveChangesErrorHandlers[this._saveChangesErrorHandlers.length]=functionDelegate},_removeChangesErrorHandler:function(functionDelegate){if(this._saveChangesErrorHandlers!==undefined){var index=$.ig.indexInArray(this._saveChangesErrorHandlers,functionDelegate);if(index>-1){this._saveChangesErrorHandlers=this._saveChangesErrorHandlers.slice(0,index).concat(this._saveChangesErrorHandlers.slice(index+1,this._saveChangesErrorHandlers.length))}}},dataBind:function(callback,callee){var table,tableObj,dsObj,ds,s,p=this.settings,args,resKey,noCancel=true,callDataBound=true,f,fApplied;this._transactionLog=[];this._accumulatedTransactionLog=[];if(!callback){callback=p.callback}args={cancel:false};if($.isFunction(p.dataBinding)){noCancel=p.dataBinding(this,args);if(noCancel===undefined){noCancel=true}}if(noCancel){if(this.settings.type==="unknown"&&(this._runtimeType===null||this._runtimeType===undefined)){this._runtimeType=this.analyzeDataSource()}else if(this._runtimeType==="json"){ds=this.dataSource();if($.type(ds)==="string"){ds=$.trim(ds);if(ds.startsWith("/")||ds.startsWith("http://")||ds.startsWith("https://")){this._runtimeType="remoteUrl"}}}switch(this._runtimeType){case"function":this._data=p.dataSource();if(this.schema()&&this.settings.localSchemaTransform){this._data=this.schema().transform(this._data)}break;case"array":if(this.schema()&&this.settings.localSchemaTransform){this._data=this.schema().transform(this.dataSource());if(this.dataSource().Metadata){this._metadata=this.dataSource().Metadata;this.summariesResponse(this.settings.summaries.summariesResponseKey,this.dataSource())}this._origDs=this.dataSource()}else{this._data=this.dataSource()}break;case"htmlTableDom":case"htmlTableId":case"htmlTableString":if(this._tableBound){break}this._runtimeType=this.analyzeDataSource();if(this._runtimeType==="htmlTableId"){tableObj=$("#"+this.dataSource());table=this._validateTable(tableObj)}else if(this._runtimeType==="htmlTableString"){tableObj=$("#"+this.settings.id+" > table");table=this._validateTable(tableObj)}else{table=this.dataSource()}if(this.schema()&&this.settings.localSchemaTransform){this._data=this.schema().transform(table)}else{this._data=this.tableToObject(table)}this._tableBound=true;break;case"htmlListDom":this._data=this.schema().transform(this.dataSource());break;case"htmlSelectDom":this._data=this.schema().transform(this.dataSource());break;case"invalid":throw new Error($.ig.util.getLocaleValue("DataSourceLocale","invalidDataSource"));case"unknown":case"json":case"xml":if(this.settings.type!=="json"&&p.type!=="xml"){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","unknownDataSource"))}else{resKey=this.settings.responseDataKey;if($.type(this.dataSource())==="string"){if(p.type==="json"){dsObj=this.stringToJSONObject(this.dataSource())}else{dsObj=this.stringToXmlObject(this.dataSource())}}else{dsObj=this.dataSource()}if(this.schema()&&this.settings.localSchemaTransform===true){this._data=this.schema().transform(dsObj);if(resKey!==null&&resKey!==undefined){this._origDs=$.ig.findPath(dsObj,resKey)}else{this._origDs=dsObj}}else if((!this.schema()||this.settings.localSchemaTransform===false)&&p.type==="json"){if(resKey!==null&&resKey!==undefined){this._data=this._origDs=$.ig.findPath(dsObj,resKey)}else{this._data=dsObj}this._origDs=dsObj}else if(!this.schema()&&p.type==="xml"){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorXmlSourceWithoutSchema"))}this.totalRecordsCount(null,this.settings.responseTotalRecCountKey,dsObj,this);if(dsObj&&dsObj.Metadata){this._metadata=dsObj.Metadata}this.summariesResponse(this.settings.summaries.summariesResponseKey,dsObj)}break;case"remoteUrl":callDataBound=false;this._remoteData(callback,callee);break;case"empty":this._data=[];this._dataView=[];this._dataSummaries=[];break;default:break}this._dataView=this._data;this._filter=false;f=p.filtering;s=p.sorting;fApplied=false;if(f.type==="local"&&this._runtimeType!=="remoteUrl"&&f.defaultFields.length>0){this.filter(f.defaultFields);fApplied=true}if(s.type==="local"&&this._runtimeType!=="remoteUrl"&&s.defaultFields.length>0&&(!fApplied||s.defaultFields!==s.expressions)){this.sort(s.defaultFields,s.defaultDirection)}if(!this._gbDataView&&this.isGroupByApplied(this.settings.sorting.expressions)){this._generateGroupByData(this._filter?this._filteredData:this._data,this.settings.sorting.expressions)}if(p.paging.enabled&&p.paging.type==="local"&&this._runtimeType!=="remoteUrl"){this._page()}if(!this._filter||!this._transformedData){this._populateTransformedData()}if(this._runtimeType!=="remoteUrl"){this._invokeCallback(callee,callback)}this._internalDataBound(!args.cancel&&callDataBound)}return this},getCellValue:function(fieldName,record){var field,result;if(!this._hasMapper||!this._fields||this._fields[fieldName]===undefined||this._fields[fieldName].type!=="object"||!record[fieldName]){return record[fieldName]}field=this._fields[fieldName];if(field&&typeof field.mapper==="function"){result=field.mapper(record)}else{result=record[fieldName]}return result},_getFieldTypeFromSchema:function(fieldName){var field,type,ds=this.dataSource();field=this._fields?this._fields[fieldName]:null;if(!field){return undefined}if(this.type()==="remoteUrl"){ds=this.data()}else if(this.type()==="json"&&ds!==null&&ds!==undefined&&this.settings.responseDataKey!==null){ds=$.ig.findPath(ds,this.settings.responseDataKey)}if(typeof field.mapper==="function"&&$.type(ds)==="array"&&ds.length>0){type=$.type(field.mapper(ds[0]))}else{type=field.type}return type},_internalDataBound:function(callDatabound){if(callDatabound&&$.isFunction(this.settings.dataBound)){this.settings.dataBound(this)}},summariesResponse:function(key,dsObj){if(!dsObj||!key){this._dataSummaries=this._dataSummaries||[];return this.dataSummaries()}var rec,resPath,i,schema,func,offsets,offset,obj;if(key.length>0){rec=dsObj;resPath=key.split(".");for(i=0;i<resPath.length;i++){if(rec===null||rec===undefined){break}rec=rec[resPath[i]]}this._dataSummaries=rec}else{this._dataSummaries=dsObj}this._dataSummaries=this._dataSummaries||[];if(this.settings.localSchemaTransform===true&&this.schema()&&dsObj&&dsObj.Metadata&&dsObj.Metadata.timezoneOffsetsSummaries){offsets=dsObj.Metadata.timezoneOffsetsSummaries;this._dataSummaries._serverOffsetsSummaries=offsets;schema=this.schema().schema;if(schema&&schema.fields){for(i=0;i<schema.fields.length;i++){if((schema.fields[i].type==="date"||schema.fields[i].type==="time")&&offsets[schema.fields[i].name]!==undefined){key=schema.fields[i].name;for(func in offsets[key]){if(offsets[key].hasOwnProperty(func)){offset=offsets[key][func];obj=this._dataSummaries[key][func];if($.type(obj)==="string"){this._dataSummaries[key][func]=new Date(obj)}}}}}}}return this._dataSummaries},_applySchema:function(forceApply){var schema=this.schema(),ds,s=this.settings.sorting,p=this.settings.paging,filtering=this.settings.filtering;if(schema&&schema.fields&&schema.fields().length>0&&(this.settings.localSchemaTransform||forceApply)){this._origDs=this._data;schema._type=$.type(this._data);ds=schema.transform(this._data);this._data=ds;this._dataView=this._data;if(s.type==="local"&&s.defaultFields.length>0){this.sort(s.defaultFields,s.defaultDirection)}else if(this.isGroupByApplied(s.expressions)){this._generateGroupByData(this._filter?this._filteredData:this._data,s.expressions)}if(filtering.type==="local"&&filtering.defaultFields.length>0){this.filter(filtering.defaultFields)}if(p.enabled&&p.type==="local"){this._page()}}},_populateTransformedData:function(data){if(data!==null&&data!==undefined){this._transformedData=data}else{this._transformedData=this._data}},_invokeCallback:function(callee,callback){var cbResolved,calleeResolved;cbResolved=callback||this.settings.callback;calleeResolved=callee||this.settings.callee;if(cbResolved){if(calleeResolved){cbResolved.apply(calleeResolved,[true,"",this])}else{cbResolved(true,"",this)}}},_remoteData:function(callback,callee){var params,url=this.settings.dataSource,dataType=this.settings.responseDataType,contentType=this.settings.responseContentType,options,verb=this.settings.requestType;params=this._encodeUrl();if(callback){this._customCallback=callback}else{this._customCallback=null}this._callee=callee;options={url:url,data:verb==="GET"?params:JSON.stringify(params),type:verb,
dataType:dataType,async:true,context:this,contentType:contentType,cache:false,dataFilter:this._dataFilter,success:this._successCallback,complete:this._completeCallback,converters:{"text json":function(value){return value}},error:this._errorCallback};this._processRequest(options)},_dataFilter:function(data,type){var ds,schema=this.context.schema(),rawData,t=this.context.settings.type,ver,returnString=false;if(type===undefined||type===null){if(typeof data==="object"&&data&&typeof data.charAt!=="function"){if($.isXMLDoc(data)){type="xml"}else{type="json"}}else{type="text"}}if(type==="xml"){schema._type="xml";ds=this.context._processXmlResponse(data,true,this.context)}else if(type==="json"){if(schema){schema._type="json"}if($.type(data)==="string"){rawData=JSON.parse(data)}else{rawData=data}returnString=true;ds=this.context._processJsonResponse(rawData,this.context)}else{if($.fn.jquery){ver=$.fn.jquery.split(".")}if(ver&&ver.length>=2){if(parseInt(ver[1],10)>4||parseInt(ver[0],10)>1){this.dataTypes=[];this.dataTypes.push("text");returnString=true}}data=$.type(data)==="string"?$.trim(data):data;if(data&&$.type(data)==="string"&&(data.startsWith("<?xml")||data.startsWith("<"))||t==="xml"){if(schema){schema._type="xml"}ds=this.context._processXmlResponse(this.context.stringToXmlObject(data),false,this.context)}else if(data&&$.type(data)==="string"&&data.startsWith("[")||(t==="json"||t==="array")){if(schema){schema._type="json"}ds=this.context._processJsonResponse(JSON.parse(data),this.context)}else if(data&&$.type(data)==="string"&&data.startsWith("{")||t==="json"){if(schema){schema._type="json"}ds=this.context._processJsonResponse(JSON.parse(data),this.context)}else if($.isXMLDoc(data)){if(schema){schema._type="xml"}ds=this.context._processXmlResponse(data,true,this.context)}else if(data!==""&&data!==null){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorUnrecognizedResponseType"))}}if(returnString){if(!(this.context.settings.paging&&this.context.settings.paging.enabled&&this.context.settings.paging.appendPage)){this.context._data=ds}this.context._alreadySet=true}return ds},_successCallback:function(data){var x,len=data?data.length:0;if((data===undefined||data===null)&&!this._alreadySet){this._data=[];this._dataView=[]}else{if(this._data.length>=0&&this.settings.paging&&this.settings.paging.enabled&&this.settings.paging.appendPage){for(x=0;x<len;++x){this._data[this._data.length]=data[x]}}else{if(this._alreadySet){this._dataView=this._data}else{this._data=data;this._dataView=data}}}this._alreadySet=false;this._populateTransformedData();this._isPagingReq=false;this._isFilteringReq=false;this._isSortingReq=false;this._isSummariesReq=false},_errorCallback:function(req,status,error){var f=this._customCallback||this.settings.callback,errmsg,statusMsg;this._isPagingReq=false;this._isFilteringReq=false;this._isSortingReq=false;this._isSummariesReq=false;if(req&&req.status&&req.statusText){statusMsg=" ( "+req.status+" "+req.statusText+" ) ";if(req.status===200&&error!==undefined){statusMsg=" ( "+(error.message||error)+" ) "}}else if(status!==null){statusMsg=" ( "+status+" ) "}else if(error!==undefined){statusMsg=" ( "+(error.message||error)+" ) "}errmsg=$.ig.util.getLocaleValue("DataSourceLocale","errorRemoteRequest")+statusMsg;if(f&&this._callee){f.apply(this._callee,[false,errmsg,req,this])}else if(f){f(false,errmsg,req,this)}},_completeCallback:function(){var f,callee,s=this.settings.sorting,p=this.settings.paging,filtering=this.settings.filtering;if(filtering.type==="local"&&filtering.defaultFields.length>0){this.filter(filtering.defaultFields)}if(s.type==="local"&&s.defaultFields.length>0){this.sort(s.defaultFields,s.defaultDirection)}else if(this.isGroupByApplied(s.expressions)){this._generateGroupByData(this._filter?this._filteredData:this._data,s.expressions)}if(p.enabled&&p.type==="local"){this._page()}this._internalDataBound(true);f=this._customCallback||this.settings.callback;callee=this._callee||this.settings.callee;if(f&&callee){f.apply(callee,[true,"",this])}else if(f){f(true,"",this)}},_processRequest:function(options){var o,s;if(this.settings.responseDataType==="jsonp"){o={dataType:"jsonp",type:"GET",url:options.url,data:options.data,success:$.proxy(this._jsonpFilter,this),error:$.proxy(this._errorCallback,this)};s=this.settings;if(s.jsonp!==undefined&&s.jsonp!==null){o.jsonp=this.settings.jsonp}if(s.jsonpCallback!==undefined){o.jsonpCallback=this.settings.jsonpCallback}this._ajaxRequest=$.ajax(o)}else{this._ajaxRequest=$.ajax(options)}},_jsonpFilter:function(data){var resp,x;this.context=this;resp=this._dataFilter(data,"json");if(!resp.length&&$.type(resp)==="object"){resp=[resp]}if(this._data.length>=0&&this.settings.paging&&this.settings.paging.enabled&&this.settings.paging.appendPage){for(x=0;x<resp.length;++x){this._data[this._data.length]=resp[x]}}else{this._data=resp;this._dataView=resp}this._populateTransformedData();this._completeCallback()},_processJsonResponse:function(data,context){var ds,schema=context.schema(),resKey,resPath,i;if(this._responseData){this._responseData(data)}if(data.Metadata){this._metadata=data.Metadata}if(schema&&schema.fields&&schema.fields().length>0&&this.settings.localSchemaTransform){ds=schema.transform(data)}else{resKey=context.settings.responseDataKey;if(resKey!==null&&resKey!==undefined){resPath=resKey.split(".");if(resPath.length>0){ds=data;for(i=0;i<resPath.length;i++){ds=ds[resPath[i]]}if(typeof ds==="string"){ds=JSON.parse(ds)}}else{ds=data}}else{ds=data}}if(context._isPagingReq||context._isFilteringReq){this.totalRecordsCount(null,this.settings.responseTotalRecCountKey,data,context)}this.summariesResponse(this.settings.summaries.summariesResponseKey,data);return ds},_processXmlResponse:function(data,isParsed,context){var ds,schema=context.schema(),tmpSchema,resKey;if(schema&&schema.fields&&schema.fields().length>0){ds=this.settings.localSchemaTransform?schema.transform(data):data}else{resKey=context.settings.responseDataKey;if(resKey&&resKey!==""){tmpSchema=new $.ig.DataSchema;ds=context._xmlToArray(tmpSchema._findXmlRecordsRoot(data,resKey))}else{ds=context._xmlToArray(data)}}return ds},_xmlToArray:function(data){var ds=[],root=data,i,r,j,name,val,o;o=window.ActiveXObject;if(data&&data.childNodes&&data.childNodes.length===1){root=data.childNodes[0]}for(i=0;i<root.childNodes.length;i++){r=root.childNodes[i];ds[i]=[];for(j=0;j<r.childNodes.length;j++){name=o===undefined?r.childNodes[j].localName:r.childNodes[j].baseName;val=o===undefined?r.childNodes[j].textContent:r.childNodes[j].text;ds[i][name]=val}}return ds},_encodeUrl:function(){var props=this.settings,sParams={},fParams={},pParams={},params,selParams={},sumParams={},extraParams={},pkParams={},noCancel=true;params={sortingParams:sParams,filteringParams:fParams,pagingParams:pParams,selectParams:selParams,summariesParams:sumParams,extraParams:extraParams,pkParams:pkParams};if($.isFunction(props.urlParamsEncoding)){noCancel=props.urlParamsEncoding(this,params)}if(noCancel){this._encodeSelectParams(params);this._encodeSortingParams(params);this._encodeFilteringParams(params);this._encodePagingParams(params);this._encodeSummariesParams(params);this._encodePkParams(params);if($.isFunction(this.settings.encodeExtraParams)){this.settings.encodeExtraParams(this,params)}if($.isFunction(props.urlParamsEncoded)){props.urlParamsEncoded(this,params)}}return $.extend(true,{},params.sortingParams,params.filteringParams,params.pagingParams,params.selectParams,params.summariesParams,params.extraParams,params.pkParams)},_encodePkParams:function(params){var p=this.settings.paging,s=this.settings.sorting,f=this.settings.filtering,sm=this.settings.summaries,pk=this._schema?this._schema._pk:null;if(pk&&(p.enabled&&p.type==="remote"||(s.type==="remote"||f.type==="remote"||sm.type==="remote"))){params.pkParams.pk=pk}},_encodeSelectParams:function(params){var selParams=params.selectParams,i;if(!this.settings.localSchemaTransform&&this.schema()&&this.schema().fields().length>0){selParams.$select="";for(i=0;i<this.schema().fields().length;i++){if(i!==0){selParams.$select+=","}selParams.$select+=this.schema().fields()[i].name}}else if(!this.settings.localSchemaTransform&&this.schema()&&this.schema().fields().length===0){selParams.$select="*"}},_encodePagingParams:function(params){var p=this.settings.paging;if(p.enabled&&p.type==="remote"){this._isPagingReq=true;if(p.pageIndexUrlKey!==null&&p.pageSizeUrlKey!==null){params.pagingParams[p.pageIndexUrlKey]=this.pageIndex();params.pagingParams[p.pageSizeUrlKey]=this.pageSize()}else{params.pagingParams.$skip=this.pageIndex()*this.pageSize();params.pagingParams.$top=this.pageSize();params.pagingParams.$inlinecount="allpages";if(this.settings.responseTotalRecCountKey===null){this.settings.responseTotalRecCountKey="d.__count"}}}},_encodeSortingParams:function(params){var s=this.settings.sorting,tmpdir,i,sfields,fieldName,field,url,urlQS,key,hlayout=null;if(s.type==="remote"){if(s.exprString){sfields=this._parseSortExpressions(s.exprString)}else{sfields=s.expressions}this._isSortingReq=true;for(i=0;i<sfields.length;i++){if(sfields[i].layout){hlayout=sfields[i].layout}fieldName=sfields[i].fieldName;if(s.sortUrlAscValueKey!==null&&s.sortUrlDescValueKey!==null&&s.sortUrlKey!==null){tmpdir=sfields[i].dir&&sfields[i].dir.toLowerCase().startsWith("asc")?s.sortUrlAscValueKey:s.sortUrlDescValueKey;field=this._getSchemaField(fieldName);if(field&&field.type){key=s.sortUrlKey+"("+fieldName+":"+field.type+")"}else{key=s.sortUrlKey+"("+fieldName+")"}params.sortingParams[key]=tmpdir}else{if(params.sortingParams.$orderby===undefined){params.sortingParams.$orderby=""}params.sortingParams.$orderby=params.sortingParams.$orderby+fieldName+" "+sfields[i].dir.toLowerCase();if(i<sfields.length-1){params.sortingParams.$orderby+=","}}}if(hlayout){url=this.settings.dataSource;if(url&&$.type(url)==="string"&&url.indexOf("layout="+hlayout)>=0){url=url.substr(url.indexOf("?")+1);urlQS=url.split("&");for(i=0;i<urlQS.length;i++){if(urlQS[i].indexOf("layout=")>=0){if(urlQS[i].replace("layout=","")===hlayout){hlayout=null}break}}}if(hlayout){params.sortingParams.layout=hlayout}}}},_encodeFilteringParams:function(params){var f=this.settings.filtering,ffields,i,key,exprNotReq,cond,d,day,month,year,curDate,expr,fieldName,field,logic="and";if(f.type==="remote"){if(f.exprString){ffields=this._parseFilterExprString(f.exprString)}else{ffields=f.expressions}for(i=0;i<ffields.length;i++){this._isFilteringReq=true;cond=ffields[i].cond;fieldName=ffields[i].fieldName;exprNotReq=this._isFilteringExprNotReq(cond);if(f.filterExprUrlKey!==null){field=this._getSchemaField(fieldName);if(field&&field.type){key=f.filterExprUrlKey+"("+fieldName+":"+field.type+")"}else{key=f.filterExprUrlKey+"("+fieldName+")"}if($.type(ffields[i].expr)==="date"){d=Date.UTC(ffields[i].expr.getFullYear(),ffields[i].expr.getMonth(),ffields[i].expr.getDate(),ffields[i].expr.getHours(),ffields[i].expr.getMinutes())}else{d=encodeURIComponent(ffields[i].expr)}if(params.filteringParams[key]===undefined){params.filteringParams[key]=ffields[i].cond+"("+(exprNotReq?"":d)+")"}else{params.filteringParams[key]=params.filteringParams[key]+","+ffields[i].cond+"("+(exprNotReq?"":d)+")"}}else{if(params.filteringParams.$filter===undefined){params.filteringParams.$filter=""}expr=ffields[i].expr;if($.type(expr)==="string"){if(!f.caseSensitive){fieldName="tolower("+fieldName+")";expr=expr.toLowerCase()}expr=expr.replace(/\'/g,"''")}if(ffields[i].cond==="startsWith"){params.filteringParams.$filter+="startswith("+fieldName+","+"'"+expr+"') eq true"}else if(ffields[i].cond==="endsWith"){params.filteringParams.$filter+="endswith("+fieldName+","+"'"+expr+"') eq true"}else if(ffields[i].cond==="contains"){params.filteringParams.$filter+="indexof("+fieldName+","+"'"+expr+"') ge 0"}else if(ffields[i].cond==="doesNotContain"){params.filteringParams.$filter+="indexof("+fieldName+","+"'"+expr+"') eq -1"}else if(ffields[i].cond==="equals"){if($.type(ffields[i].expr)==="string"){params.filteringParams.$filter+=fieldName+" eq "+"'"+expr+"'"}else{params.filteringParams.$filter+=ffields[i].fieldName+" eq "+ffields[i].expr}}else if(ffields[i].cond==="true"){params.filteringParams.$filter+=ffields[i].fieldName+" eq true"}else if(ffields[i].cond==="false"){params.filteringParams.$filter+=ffields[i].fieldName+" eq false"}else if(ffields[i].cond==="doesNotEqual"){if($.type(ffields[i].expr)==="string"){params.filteringParams.$filter+=fieldName+" ne "+"'"+expr+"'"}else{params.filteringParams.$filter+=ffields[i].fieldName+" ne "+ffields[i].expr}}else if(ffields[i].cond==="greaterThan"){params.filteringParams.$filter+=ffields[i].fieldName+" gt "+ffields[i].expr}else if(ffields[i].cond==="lessThan"){params.filteringParams.$filter+=ffields[i].fieldName+" lt "+ffields[i].expr}else if(ffields[i].cond==="greaterThanOrEqualTo"){params.filteringParams.$filter+=ffields[i].fieldName+" ge "+ffields[i].expr}else if(ffields[i].cond==="lessThanOrEqualTo"){params.filteringParams.$filter+=ffields[i].fieldName+" le "+ffields[i].expr}else if(ffields[i].cond==="null"){params.filteringParams.$filter+=ffields[i].fieldName+" eq null"}else if(ffields[i].cond==="notNull"){params.filteringParams.$filter+=ffields[i].fieldName+" ne null"}else if(ffields[i].cond==="empty"){params.filteringParams.$filter+="length("+ffields[i].fieldName+") eq 0"}else if(ffields[i].cond==="notEmpty"){params.filteringParams.$filter+="length("+ffields[i].fieldName+") gt 0"}else if(ffields[i].cond==="on"){expr=this._parser.toDate(ffields[i].expr);year=expr.getFullYear();month=expr.getMonth()+1;day=expr.getDate();params.filteringParams.$filter+="day("+ffields[i].fieldName+") eq "+day+" and ";params.filteringParams.$filter+="month("+ffields[i].fieldName+") eq "+month+" and ";params.filteringParams.$filter+="year("+ffields[i].fieldName+") eq "+year}else if(ffields[i].cond==="notOn"){expr=this._parser.toDate(ffields[i].expr);year=expr.getFullYear();month=expr.getMonth()+1;day=expr.getDate();params.filteringParams.$filter+="day("+ffields[i].fieldName+") ne "+day+" or ";params.filteringParams.$filter+="month("+ffields[i].fieldName+") ne "+month+" or ";params.filteringParams.$filter+="year("+ffields[i].fieldName+") ne "+year}else if(ffields[i].cond==="after"){expr=this._parser.toDate(ffields[i].expr);params.filteringParams.$filter+=ffields[i].fieldName+" gt DateTime'"+$.ig.formatter(expr,"date","yyyy-MM-ddT23:59:59")+"'"}else if(ffields[i].cond==="before"){expr=this._parser.toDate(ffields[i].expr);params.filteringParams.$filter+=ffields[i].fieldName+" lt DateTime'"+$.ig.formatter(expr,"date","yyyy-MM-dd")+"'"}else if(ffields[i].cond==="today"){expr=this._parser.toDate(ffields[i].expr);year=expr.getFullYear();month=expr.getMonth()+1;day=expr.getDate();params.filteringParams.$filter+="day("+ffields[i].fieldName+") eq "+day+" and ";params.filteringParams.$filter+="month("+ffields[i].fieldName+") eq "+month+" and ";params.filteringParams.$filter+="year("+ffields[i].fieldName+") eq "+year}else if(ffields[i].cond==="yesterday"){expr=this._parser.toDate(ffields[i].expr);year=expr.getFullYear();month=expr.getMonth()+1;day=expr.getDate();params.filteringParams.$filter+="day("+ffields[i].fieldName+") eq "+day+" and ";params.filteringParams.$filter+="month("+ffields[i].fieldName+") eq "+month+" and ";params.filteringParams.$filter+="year("+ffields[i].fieldName+") eq "+year}else if(ffields[i].cond==="thisMonth"){curDate=new Date;month=curDate.getMonth()+1;year=curDate.getFullYear();params.filteringParams.$filter+="month("+ffields[i].fieldName+") eq "+month+" and ";params.filteringParams.$filter+="year("+ffields[i].fieldName+") eq "+year}else if(ffields[i].cond==="lastMonth"){curDate=new Date;month=curDate.getMonth()+1;year=curDate.getFullYear();if(month===1){month=12;year--}else{month--}params.filteringParams.$filter+="month("+ffields[i].fieldName+") eq "+month+" and ";params.filteringParams.$filter+="year("+ffields[i].fieldName+") eq "+year}else if(ffields[i].cond==="nextMonth"){curDate=new Date;month=curDate.getMonth()+1;year=curDate.getFullYear();if(month===12){month=1;year++}else{month++}params.filteringParams.$filter+="month("+ffields[i].fieldName+") eq "+month+" and ";params.filteringParams.$filter+="year("+ffields[i].fieldName+") eq "+year}else if(ffields[i].cond==="thisYear"){curDate=new Date;year=curDate.getFullYear();params.filteringParams.$filter+="year("+ffields[i].fieldName+") eq "+year}else if(ffields[i].cond==="lastYear"){curDate=new Date;year=curDate.getFullYear()-1;params.filteringParams.$filter+="year("+ffields[i].fieldName+") eq "+year}else if(ffields[i].cond==="nextYear"){curDate=new Date;year=curDate.getFullYear()+1;params.filteringParams.$filter+="year("+ffields[i].fieldName+") eq "+year}logic="and";if(ffields[i].logic&&ffields[i].logic.toLowerCase()==="or"){logic="or"}if(i<ffields.length-1){params.filteringParams.$filter+=" "+logic+" "}}}if(f.filterLogicUrlKey!==null&&ffields.length>0){params.filteringParams[f.filterLogicUrlKey]=ffields[0].logic}}},_encodeSummariesParams:function(params){var i,j,s=this.settings.summaries,cs=s.columnSettings,methodsStr,field,key,fieldName,csLength=cs.length;if(s.type==="remote"){if(!csLength&&s.calculateAll){params.summariesParams[s.summaryExprUrlKey+"(all)"]="*"}for(i=0;i<csLength;i++){methodsStr="";if(cs[i].summaryOperands===undefined||cs[i].summaryOperands===null){continue}for(j=0;j<cs[i].summaryOperands.length;j++){if(cs[i].summaryOperands[j].active===true||cs[i].summaryOperands[j].active===1){methodsStr+=cs[i].summaryOperands[j].type+","}}if(methodsStr!==""){fieldName=cs[i].columnKey;field=this._getSchemaField(fieldName);if(field&&field.type){key=s.summaryExprUrlKey+"("+fieldName+":"+field.type+")"}else{key=s.summaryExprUrlKey+"("+fieldName+")"}params.summariesParams[key]=methodsStr.slice(0,-1)}}}},_getSchemaField:function(fieldName){var i,field;if(this.settings.schema){for(i=0;i<this.settings.schema.fields.length;i++){field=this.settings.schema.fields[i];if(field.name===fieldName){return field}}}return null},filteredData:function(){return this._filteredData},_page:function(keepRecords){var count=0,data;if(keepRecords===undefined){keepRecords=false}if(keepRecords){count=this._dataView.length}else{this._dataView=[]}data=this._filter?this._filteredData:this._data;this._generatePageData(data,count)},_getPageStartEndIndex:function(data){var startIndex=this.pageIndex()*this.pageSize(),endIndex;if(startIndex>=data.length){this.settings.paging.pageIndex=0;startIndex=this.pageIndex()*this.pageSize()}endIndex=startIndex+this.pageSize()>=data.length?data.length:startIndex+this.pageSize();return{startIndex:startIndex,endIndex:endIndex}},_generateGroupByPageDataForAllRecords:function(){var i,data=this.visibleGroupByData(),sgb=this.settings.groupby||{},metadata=this._getPageStartEndIndex(data),startIndex=metadata.startIndex,endIndex=metadata.endIndex;for(i=startIndex;i<endIndex;i++){this._gbDataView.push(data[i]);if(!data[i][sgb.groupRecordKey]&&!data[i][sgb.groupSummaryRecordKey]){this._dataView.push(data[i])}}},_generateGroupByPageDataForDataRecordsOnly:function(data){var i,rec,startIndex=0,parents=[],sgb=this.settings.groupby||{},visible=true,level=100,levelCollapsed,gbData=this.groupByData(),len=gbData.length,metadata=this._getPageStartEndIndex(data),startDataRec=data[metadata.startIndex],endDataRec=data[metadata.endIndex-1];for(i=0;i<len;i++){if(gbData[i]===startDataRec){startIndex=i;break}}for(i=startIndex-1;i>=0;i--){rec=gbData[i];if(rec[sgb.groupRecordKey]){if(level>rec.level){level=rec.level;parents.unshift(rec);this._gbDataView.unshift(rec);if(rec.collapsed){this._gbDataView=[rec];visible=false;levelCollapsed=level}if(!level){break}}}}for(i=startIndex;i<len;i++){rec=gbData[i];if(rec[sgb.groupRecordKey]){if(rec.level<=levelCollapsed||visible){levelCollapsed=rec.level;visible=!rec.collapsed;this._gbDataView.push(rec)}}else{this._dataView.push(rec);if(visible){this._gbDataView.push(rec)}if(rec===endDataRec){while(i++<len){rec=gbData[i];if(rec&&rec[sgb.groupSummaryRecordKey]){if(rec.level<=levelCollapsed||visible){this._gbDataView.push(rec)}}else{break}}break}}}},_generateGroupByPageData:function(data){this._dataView=[];this._gbDataView=[];return this.settings.groupby.pagingMode==="allRecords"?this._generateGroupByPageDataForAllRecords(data):this._generateGroupByPageDataForDataRecordsOnly(data)},_generatePageData:function(data,count){if(this.isGroupByApplied()){return this._generateGroupByPageData(data,count)}var i,metadata=this._getPageStartEndIndex(data),startIndex=metadata.startIndex,endIndex=metadata.endIndex;for(i=startIndex;i<endIndex;i++){this._dataView[count++]=data[i]}},_compareValues:function(x,y){if((x===null||x===undefined)&&(y===null||y===undefined)){return 0}if((x===null||x===undefined)&&y!==null&&y!==undefined){return-1}if(x!==null&&x!==undefined&&(y===null||y===undefined)){return 1}return x>y?1:x<y?-1:0},_sortByFieldExpression:function(data,f,direction,convertf){var arr=[],i,dataLen=data.length,reverse,sortF,caseSensitive=this.settings.sorting.caseSensitive,compareValFunc=f.compareFunc,rec,val,formatter=f.formatter,self=this,mapper=this._hasMapper,fieldType;if(f.dir!==undefined&&f.dir!==null){reverse=f.dir.toLowerCase().startsWith("desc");reverse=reverse?-1:1}else if(direction!==undefined&&direction!==null&&direction!==""){reverse=direction.toLowerCase().startsWith("desc");reverse=reverse?-1:1}fieldType=this._getFieldTypeFromSchema(f.fieldName);for(i=0;i<dataLen;i++){rec=data[i];val=mapper?self.getCellValue(f.fieldName,rec):rec[f.fieldName];if(formatter){val=formatter(val,f.fieldName)}if(convertf){val=convertf(val,f.fieldName)}if(caseSensitive===false&&val!==undefined&&val!==null&&val.toLowerCase){val=val.toLowerCase()}else if(val&&val.getTime){val=this._getDateAsNumber(val,fieldType)}arr.push({val:val,rec:rec})}sortF=function(){return function(obj1,obj2){var arr1,arr2,a=obj1.val,b=obj2.val,recordsData,recordsDataReverse;recordsData={fieldName:f.fieldName,recordX:obj1.rec,recordY:obj2.rec};recordsDataReverse={fieldName:f.fieldName,recordX:obj2.rec,recordY:obj1.rec};arr1=reverse*compareValFunc(a,b,recordsData);arr2=reverse*compareValFunc(b,a,recordsDataReverse);if(arr1<arr2){return-1}if(arr1>arr2){return 1}return 0}};arr=arr.sort(sortF());for(i=0;i<dataLen;i++){data[i]=arr[i].rec}return data},_getDateAsNumber:function(dateObject,fieldType){if(!dateObject||!dateObject.getTime){return dateObject}if(fieldType==="time"){return $.ig.Date.prototype.getTimeOfDay(dateObject)}return dateObject.getTime()},_resetDateObjectToCurrentDate:function(dateObject){if(!dateObject||!dateObject.getTime){return dateObject}var currentDate=new Date;var result=new Date(currentDate.getFullYear(),currentDate.getMonth(),currentDate.getDate(),dateObject.getHours(),dateObject.getMinutes(),dateObject.getSeconds(),dateObject.getMilliseconds());return result},_sortDataRecursive:function(data,fields,fieldIndex,defSortDir,convertFunc){var i,j,len=data.length,expr,gbExpr,gbData,gbDataLen,fieldsLen=fields.length;fieldIndex=fieldIndex||0;if(fieldIndex>fieldsLen-1||len<=1){return data}expr=fields[fieldIndex];data=this._sortByFieldExpression(data,expr,defSortDir,convertFunc);if(fieldIndex>=fieldsLen-1){return data}for(i=0;i<len;i++){gbExpr=fields[fieldIndex];gbData=this._groupedRecordsByExpr(data,i,expr);gbDataLen=gbData.length;if(gbDataLen>1&&fieldIndex+1<fieldsLen){gbData=this._sortDataRecursive(gbData,fields,fieldIndex+1,defSortDir,convertFunc)}for(j=0;j<gbDataLen;j++){data[i+j]=gbData[j]}i+=gbDataLen-1}return data},sort:function(fields,direction){var i,s=this.settings.sorting,convertFunc,isGb,p=this.settings.paging,data,resetPaging=false;if($.type(fields)==="string"){fields=this._parseSortExpressions(fields)}if(fields===undefined||fields===null){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","noSortingFields"))}fields=this._findSortingExpressionsForLayout(fields,this.settings.key);isGb=this.isGroupByApplied(fields);if(s.applyToAllData&&s.type==="local"){if(this._filter&&(p.type==="local"&&p.enabled===true||p.enabled===false||p.type==="remote"&&p.enabled===true&&this.settings.filtering.type==="local")){data=this._filteredData}else{data=this.data()}resetPaging=true}else{data=this.dataView()}if($.type(s.customFunc)==="function"){data=s.customFunc(data,fields,direction)}else{if(!direction){direction=""}if($.isFunction(s.customConvertFunc)){convertFunc=s.customConvertFunc}if($.type(fields)==="string"){fields=this._parseSortExpressions(fields)}if(fields.length>0){for(i=0;i<fields.length;i++){if(fields[i].compareFunc){if(typeof fields[i].compareFunc==="string"&&typeof window[fields[i].compareFunc]==="function"){fields[i].compareFunc=window[fields[i].compareFunc]}}if(typeof fields[i].compareFunc!=="function"){fields[i].compareFunc=this._compareValues}}this._allDataSorted=data===this.data();if(data.length>1){if($.type(s.compareFunc)==="function"){data.sort(s.compareFunc(fields,this.settings.schema,direction.toLowerCase().startsWith("asc")?false:true,convertFunc))}else{data=this._sortDataRecursive(data,fields,0,direction,convertFunc)}}}}if(isGb){this._generateGroupByData(data,fields)}if(resetPaging){if(!this._filter){this._data=data}else{this._filteredData=data}}if(resetPaging&&p.type==="local"){this._page()}else{this._dataView=data}this._populateTransformedData(data);return this},clearLocalSorting:function(){var s=this.settings.sorting,p=this.settings.paging,data,resetPaging=false;if(s.applyToAllData&&s.type==="local"){if(this._filter&&(p.type==="local"&&p.enabled===true||p.enabled===false)){data=this._filteredData}else{data=this.data()}resetPaging=true}else{data=this.dataView()}if(resetPaging&&p.type==="local"){if(!this._filter){this._data=data}else{this._filteredData=data}this._page()}else{this._dataView=data}this._populateTransformedData();return this},_parseSortExpressions:function(s){var fields=[],tmp,tmp2,i;tmp=s.split(",");for(i=0;i<tmp.length;i++){fields[i]={};tmp2=$.trim(tmp[i]).split(" ");fields[i].fieldName=tmp2[0];fields[i].dir=tmp2[1]}return fields},_splitFilterExpression:function(search){var matches=search.match(/\"[^\"]+\"/g)||[],res=[],i;for(i=0;i<matches.length;i++){search=search.replace(matches[i],"");res.push(matches[i].replace(/\"/g,""))}matches=search.split(/\s+/);res=res.concat(matches);return res},_filterAllFields:function(val,data,fields){fields=fields||this.schema().fields();if(!fields||!fields.length){return[]}var i,j,len=data.length,filteredData=[],count=0,curr,formattedRecords=(this.schema()||{})._formattedRecords||[],push,searchExprs=this._splitFilterExpression(val),se=[];for(i=0;i<searchExprs.length;i++){curr=searchExprs[i];if(curr){push=true;for(j=0;j<se.length;j++){if(se[j]===curr||se[j].indexOf(curr)!==-1){push=false;break}if(curr.indexOf(se[j])!==-1){se.splice(j,1);j=-1}}if(push){se.push(this.settings.filtering.caseSensitive?curr:curr.toLowerCase())}}}if(!se.length){return data}for(i=0;i<len;i++){if(this._findMatchByFields(se,data[i],fields,formattedRecords[i]||null)){filteredData[count++]=data[i]}}return filteredData},_findMatchByFields:function(searchTokens,rec,fields,formattedRecord){var j,fl=fields.length,dataVal,fieldName,i,ignoreCase=!this.settings.filtering.caseSensitive,s="";for(j=0;j<fl;j++){fieldName=fields[j].name;if(formattedRecord&&formattedRecord[fieldName]!==undefined){dataVal=formattedRecord[fieldName]}else{dataVal=this._hasMapper?this.getCellValue(fieldName,rec):rec[fieldName]}dataVal=dataVal===null||dataVal===undefined?"":dataVal;s+=dataVal+"||"}s=ignoreCase?s.toLowerCase():s;for(i=0;i<searchTokens.length;i++){if(s.indexOf(searchTokens[i])===-1){return false}}return true},_getFieldsWithFormatter:function(){var i,f,res=[];if(!this.schema()){return res}f=this.schema().fields();for(i=0;i<f.length;i++){if(f[i].formatter){res.push(f[i])}}return res},_generateFormattedRecords:function(data){var i,j,f,len,fr=[],schema=this.schema(),fields=this._getFieldsWithFormatter(),fieldsLen=fields.length;data=data||this._data;len=data.length;if(!len||!schema||!fieldsLen){return}for(i=0;i<len;i++){fr[i]={};for(j=0;j<fieldsLen;j++){f=fields[j];fr[i][f.name]=f.formatter(data[i][f.name],data[i],f)}}schema._formattedRecords=fr},filterByText:function(expression,fields){fields=fields||this.schema().fields();return this.filter([{filterAllFields:true,expr:expression,fields:fields}])},filter:function(fieldExpressions,boolLogic,keepFilterState,fieldExpressionsOnStrings){var i,j,expr=null,count=0,skipRec=false,data,t,k,schema,fields,field,tmpbool,resetPaging,allFieldsExpr,f=this.settings.filtering,p=this.settings.paging,s=this.settings.sorting;this._clearGroupByData();schema=this.schema();if(schema===null||schema===undefined){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","filteringNoSchema"))}if($.type(fieldExpressions)==="string"){expr=fieldExpressions}if($.type(fieldExpressionsOnStrings)==="string"){allFieldsExpr=fieldExpressionsOnStrings}else if($.type(fieldExpressionsOnStrings)==="undefined"){fieldExpressionsOnStrings=[]}if($.type(fieldExpressions)==="array"&&fieldExpressions.length===0&&$.type(fieldExpressionsOnStrings)==="array"&&fieldExpressionsOnStrings.length===0){return}if(f.applyToAllData&&f.type==="local"){data=this.data();resetPaging=true}else{if(this._cachedDataView&&this._cachedDataView.length>0){data=this._cachedDataView}else{this._cachedDataView=$.merge([],this.dataView());data=this._cachedDataView}}if($.type(f.customFunc)==="function"){data=f.customFunc(fieldExpressions,data);this._filteredData=data;this._dataView=[]}else if(fieldExpressions&&fieldExpressions.length&&fieldExpressions[0]&&fieldExpressions[0].filterAllFields){data=this._filterAllFields(fieldExpressions[0].expr,data,fieldExpressions[0].fields||schema.fields());this._filteredData=data;this._dataView=[]}else{this._dataView=[];this._filteredData=[];if(expr){fieldExpressions=this._parseFilterExprString(expr)}if(allFieldsExpr){fieldExpressionsOnStrings=this._parseFilterExprString(allFieldsExpr)}for(i=0;i<data.length;i++){skipRec=false;for(j=0;j<fieldExpressions.length;j++){fields=schema.fields();if(fieldExpressions[j].fieldIndex!==undefined&&fieldExpressions[j].fieldIndex<fields.length){field=fields[fieldExpressions[j].fieldIndex];t=field.type;skipRec=!this._findMatch(data[i][field.name],fieldExpressions[j].expr,t,!f.caseSensitive,fieldExpressions[j].cond,fieldExpressions[j].preciseDateFormat,field.name,data[i])}else{if(fieldExpressions[j].dataType!==undefined&&fieldExpressions[j].dataType!==null){t=fieldExpressions[j].dataType}else{t=this._getFieldTypeFromSchema(fieldExpressions[j].fieldName)}skipRec=!this._findMatch(data[i][fieldExpressions[j].fieldName],fieldExpressions[j].expr,t,!f.caseSensitive,fieldExpressions[j].cond,fieldExpressions[j].preciseDateFormat,fieldExpressions[j].fieldName,data[i])}tmpbool=fieldExpressions[j].logic!==null&&fieldExpressions[j].logic!==undefined&&(fieldExpressions[j].logic.toLowerCase()==="or"||fieldExpressions[j].logic.toLowerCase()==="and")?fieldExpressions[j].logic:boolLogic;if(tmpbool===undefined||tmpbool===null||$.type(tmpbool)!=="string"){tmpbool="and"}if(skipRec&&tmpbool.toLowerCase()==="and"){break}else if(!skipRec&&tmpbool.toLowerCase()==="or"){break}}if(!skipRec){for(j=0;j<fieldExpressionsOnStrings.length;j++){fields=schema.fields();t=undefined;if(fieldExpressionsOnStrings[j].fieldIndex){if(fieldExpressionsOnStrings[j].fieldIndex<fields.length){t=fields[fieldExpressionsOnStrings[j].fieldIndex].type}skipRec=!this._findMatch(data[i][fieldExpressionsOnStrings[j].fieldIndex],fieldExpressionsOnStrings[j].expr,"string",!f.caseSensitive,fieldExpressionsOnStrings[j].cond,fieldExpressionsOnStrings[j].preciseDateFormat,fieldExpressionsOnStrings[j].fieldName,data[i])}else{for(k=0;k<fields.length;k++){if(fields[k].name===fieldExpressionsOnStrings[j].fieldName){t=fields[k].type;break}}skipRec=!this._findMatch(data[i][fieldExpressionsOnStrings[j].fieldName],fieldExpressionsOnStrings[j].expr,"string",!f.caseSensitive,fieldExpressionsOnStrings[j].cond,fieldExpressionsOnStrings[j].preciseDateFormat,fieldExpressionsOnStrings[j].fieldName,data[i]);
}tmpbool=fieldExpressionsOnStrings[j].logic!==null&&fieldExpressionsOnStrings[j].logic!==undefined&&(fieldExpressionsOnStrings[j].logic.toLowerCase()==="or"||fieldExpressionsOnStrings[j].logic.toLowerCase()==="and")?fieldExpressionsOnStrings[j].logic:boolLogic;if(tmpbool===undefined||tmpbool===null||$.type(tmpbool)!=="string"){tmpbool="and"}if(skipRec&&tmpbool.toLowerCase()==="and"){break}else if(!skipRec&&tmpbool.toLowerCase()==="or"){break}}}if(!skipRec){this._filteredData[count++]=data[i]}}}this._filter=true;if(f.type==="local"&&s.type==="local"&&s.enabled&&s.expressions.length>0){this.sort(s.expressions)}if(resetPaging&&p.type==="local"&&p.enabled===true){if(this.persistedPageIndex()>0){this.settings.paging.pageIndex=this.persistedPageIndex()}else{this.settings.paging.pageIndex=0}this.pageSizeDirty(true);this._page();this.persistedPageIndex(null)}else if(!this._vgbData||!this._vgbData.length){if(this.isGroupByApplied()){this._generateGroupByData(this._filteredData,s.expressions)}for(i=0;i<this._filteredData.length;i++){this._dataView[i]=this._filteredData[i]}}this._populateTransformedData(this._filteredData);return this},clearLocalFilter:function(){var i,data,resetPaging,sa=false,f=this.settings.filtering,p=this.settings.paging,s=this.settings.sorting;this._clearGroupByData();if(f.applyToAllData&&f.type==="local"){data=this.data();resetPaging=true}else{if(this._cachedDataView&&this._cachedDataView.length>0){data=this._cachedDataView}else{this._cachedDataView=$.merge([],this.dataView());data=this._cachedDataView}}this._dataView=[];this._filteredData=data;if(s.type==="local"&&s.enabled&&s.expressions.length>0){this.sort(s.expressions);sa=true}if(resetPaging&&p.type==="local"&&p.enabled===true){this._filter=true;this.settings.paging.pageIndex=0;this.pageSizeDirty(true);this._page()}else{if(p.enabled===false){this._filter=true}if(!sa){if(this.isGroupByApplied()){this._generateGroupByData(this._filteredData,s.expressions)}for(i=0;i<this._filteredData.length;i++){this._dataView[i]=this._filteredData[i]}}}this._populateTransformedData(this._filteredData);return this},_parseFilterExprString:function(expr){var exprs=$.trim(expr).split(/(?=AND+)|(?=OR+)/i),i,j,fields=[],tmp,tmp2,isInvalid=true;for(i=0;i<exprs.length;i++){fields[i]={};tmp=$.trim(exprs[i]).split(/(?= \=+)|(?=<>+)|(?=>+)|(?=<+)|(?=LIKE+)|(?=NOT\WLIKE)+|(?=>\=+)|(?=<\=+)/);if($.trim(exprs[i]).toLowerCase().startsWith("and")){fields[i].logic="AND"}else if($.trim(exprs[i]).toLowerCase().startsWith("or")){fields[i].logic="OR"}if(i>0&&(fields[i].logic==="AND"||fields[i].logic==="OR")){fields[i-1].logic=fields[i].logic}if(tmp[0].toLowerCase().startsWith("and")||tmp[0].toLowerCase().startsWith("or")){fields[i].fieldName=$.trim(tmp[0].split(" ")[1])}else{fields[i].fieldName=$.trim(tmp[0])}tmp2=$.trim(tmp[1]).split(" ");if(exprs[i].indexOf("<>")!==-1){tmp2[0]="<>";tmp2[1]=tmp[2].replace(">","")}if(tmp2.length>2){for(j=2;j<tmp2.length;j++){tmp2[1]=tmp2[1]+" "+tmp2[j]}tmp2=[tmp2[0],tmp2[1]]}if(tmp[1].startsWith("NOT")){fields[i].expr=$.trim(tmp[2].replace("LIKE",""))}else{fields[i].expr=tmp2[1]}for(j=0;j<this.schema().schema.fields.length;j++){if(this.schema().schema.fields[j].name===fields[i].fieldName){isInvalid=false;break}}if(isInvalid){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","fieldMismatch")+fields[i].fieldName)}isInvalid=true;if(tmp2[0]===">"){fields[i].cond="greaterThan"}else if(tmp2[0]==="LIKE"){if(fields[i].expr.startsWith("%")&&fields[i].expr.endsWith("%")){fields[i].cond="contains"}else if(fields[i].expr.endsWith("%")){fields[i].cond="startsWith"}else if(fields[i].expr.startsWith("%")){fields[i].cond="endsWith"}else{fields[i].cond="equals"}fields[i].expr=fields[i].expr.replace(/%/g,"")}else if(tmp2[0]==="NOT LIKE"||tmp2[0]==="NOT"){if(fields[i].expr.startsWith("%")&&fields[i].expr.endsWith("%")){fields[i].cond="doesNotContain"}else{fields[i].cond="doesNotEqual"}fields[i].expr=fields[i].expr.replace(/%/g,"")}else if(tmp2[0]==="="){fields[i].cond="equals"}else if(tmp2[0]==="<>"){fields[i].cond="doesNotEqual"}else if(tmp2[0]==="<"){fields[i].cond="lessThan"}else if(tmp2[0]==="<="){fields[i].cond="lessThanOrEqualTo"}else if(tmp2[0]===">="){fields[i].cond="greaterThanOrEqualTo"}else{throw new Error($.ig.util.getLocaleValue("DataSourceLocale","unrecognizedCondition")+expr)}}return fields},_isFilteringExprNotReq:function(cond){return cond==="false"||cond==="true"||cond==="today"||cond==="yesterday"||cond==="thisMonth"||cond==="lastMonth"||cond==="nextMonth"||cond==="thisYear"||cond==="lastYear"||cond==="nextYear"||cond==="null"||cond==="notNull"||cond==="empty"||cond==="notEmpty"},_findMatch:function(val,expr,t,ignoreCase,cond,preciseDateFormat,colKey,rec){var tmpExpr,custConds=this.settings.filtering.customConditions,f,func,exprNotReq=this._isFilteringExprNotReq(cond);val=this.getCellValue(colKey,rec);if($.type(val)==="function"){val=val()}if(custConds&&(f=custConds[cond]||custConds[colKey+"_"+cond])){func=f.filterFunc;if($.type(func)==="function"){f=func}else if(window[func]&&typeof window[func]==="function"){f=window[func]}else{throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorUnexpectedCustomFilterFunction"))}return f(val,expr,t,ignoreCase,preciseDateFormat,colKey)}if(expr===""&&!exprNotReq){return true}tmpExpr=$.trim(expr);if(t==="regexp"||t==="string"&&tmpExpr.startsWith("/")&&tmpExpr.endsWith("/")){if(t==="regexp"){return this._findRegExpMatch(val,expr,false)}return this._findRegExpMatch(val,tmpExpr.substring(1,tmpExpr.length-1),true)}if($.type(val)==="date"&&(t===undefined||t===null)||t==="date"){try{expr=this._parser.toDate(expr)}catch(ignore){}return this._findDateMatch(val,expr,cond,preciseDateFormat)}if(t==="time"){try{expr=this._parser.toTime(expr)}catch(ignore){}return this._findTimeMatch(val,expr,cond)}if($.type(val)==="boolean"&&(t===undefined||t===null)||(t==="boolean"||t==="bool")){return this._findBoolMatch(val,cond)}if($.type(val)==="number"&&(t===undefined||t===null)||t==="number"){return this._findNumericMatch(val,expr,cond)}return this._findStringMatch(val,expr,ignoreCase,cond)},_findStringMatch:function(val,expr,ignoreCase,cond){var localVal;if(val!==null&&val!==undefined){localVal=ignoreCase?val.toString().toLowerCase():val||""}else{localVal=val}if(expr!==null&&expr!==undefined){expr=ignoreCase?expr.toString().toLowerCase():expr.toString()}if(cond==="startsWith"){return localVal!==null&&localVal!==undefined&&localVal.startsWith(expr)}if(cond==="endsWith"){return localVal!==null&&localVal!==undefined&&localVal.endsWith(expr)}if(cond==="contains"){return localVal!==null&&localVal!==undefined&&localVal.indexOf(expr)!==-1}if(cond==="doesNotContain"){return localVal!==null&&localVal!==undefined&&localVal.indexOf(expr)===-1}if(cond==="equals"){return localVal!==null&&localVal!==undefined&&localVal===expr}if(cond==="doesNotEqual"){return localVal!==null&&localVal!==undefined&&localVal!==expr}if(cond==="null"){return localVal===null}if(cond==="notNull"){return localVal!==null}if(cond==="empty"){return localVal===null||localVal===undefined||localVal.length===0}if(cond==="notEmpty"){return localVal===null||localVal===undefined||localVal.length!==0}throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorUnrecognizedFilterCondition")+cond)},_findRegExpMatch:function(val,expr,str){if(str){return new RegExp(expr).test(val)}return val.match(expr)},_findNumericMatch:function(val,expr,cond){if($.type(expr)!=="number"){expr=this._parser.toNumber(expr)}if(cond==="equals"){return val===expr}if(cond==="doesNotEqual"){return val!==expr}if(cond==="greaterThan"){return val>expr}if(cond==="lessThan"){return val<expr}if(cond==="greaterThanOrEqualTo"){return val>=expr}if(cond==="lessThanOrEqualTo"){return val<=expr}if(cond==="null"){return val===null}if(cond==="notNull"){return val!==null}if(cond==="empty"){return val===null||val===undefined||isNaN(val)}if(cond==="notEmpty"){return val!==null&&val!==undefined&&!isNaN(val)}throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorUnrecognizedFilterCondition")+cond)},_findBoolMatch:function(val,cond){if(cond==="true"){return val}if(cond==="false"){return!val}if(cond==="null"){return val===null}if(cond==="notNull"){return val!==null}if(cond==="empty"){return val===null||val===undefined}if(cond==="notEmpty"){return val!==null&&val!==undefined}throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorUnrecognizedFilterCondition")+cond)},_getDateParts:function(date){if(!date||$.type(date)!=="date"){return null}var yrs,day,mdate,mins,hrs,month;if(this.settings.enableUTCDates){yrs=date.getUTCFullYear();month=date.getUTCMonth();day=date.getUTCDay();mdate=date.getUTCDate();hrs=date.getUTCHours();mins=date.getUTCMinutes()}else{yrs=date.getFullYear();month=date.getMonth();day=date.getDay();mdate=date.getDate();hrs=date.getHours();mins=date.getMinutes()}return{year:yrs,month:month,day:day,mdate:mdate,hours:hrs,mins:mins}},_findDateMatch:function(val,expr,cond,preciseDateFormat){var day1,mins1,hs1,yrs1,day2,mins2,hs2,yrs2,month1,month2,eq,cur,yrs3,month3,mday1,mday2,mday3,yesterday,onEq,valDateParts,exprDateParts;if(val!==null&&val!==undefined){valDateParts=this._getDateParts(val);day1=valDateParts.day;mday1=valDateParts.mdate;mins1=valDateParts.mins;hs1=valDateParts.hours;yrs1=valDateParts.year;month1=valDateParts.month}if($.type(expr)==="date"){exprDateParts=this._getDateParts(expr);day2=exprDateParts.day;mday2=exprDateParts.mdate;mins2=exprDateParts.mins;hs2=exprDateParts.hours;yrs2=exprDateParts.year;month2=exprDateParts.month}else{expr=new Date(expr)}cur=new Date;yesterday=new Date(cur.getTime());yesterday.setDate(yesterday.getDate()-1);mday3=cur.getDate();yrs3=cur.getFullYear();month3=cur.getMonth();eq=day1===day2&&mins1===mins2&&hs1===hs2&&yrs1===yrs2&&month1===month2;if(cond==="equals"){return eq}if(cond==="doesNotEqual"){return!eq}if(cond==="before"){return val<expr}if(cond==="after"){return val>expr}if(cond==="today"){return mday1===mday3&&month1===month3&&yrs1===yrs3}if(cond==="yesterday"){return yesterday.getDate()===mday1&&yesterday.getMonth()===month1&&yesterday.getFullYear()===yrs1}if(cond==="thisMonth"){return month1===month3&&yrs1===yrs3}if(cond==="lastMonth"){if(month3===0){return month1===11&&yrs1===yrs3-1}return month1===month3-1&&yrs1===yrs3}if(cond==="nextMonth"){if(month3===11){return month1===0&&yrs1===yrs3+1}return month1===month3+1&&yrs1===yrs3}if(cond==="thisYear"){return yrs1===yrs3}if(cond==="lastYear"){return yrs1===yrs3-1}if(cond==="nextYear"){return yrs1===yrs3+1}if(cond==="on"||cond==="notOn"){onEq=yrs1===yrs2&&month1===month2&&mday1===mday2;if(preciseDateFormat){if(preciseDateFormat.indexOf("m")>=0){onEq=onEq&&mins1===mins2}if(preciseDateFormat.indexOf("h")>=0||preciseDateFormat.indexOf("H")>=0){onEq=onEq&&hs1===hs2}if(preciseDateFormat.indexOf("s")>=0){onEq=onEq&&val.getSeconds()===expr.getSeconds()}if(preciseDateFormat.indexOf("f")>=0){onEq=onEq&&val.getMilliseconds()===expr.getMilliseconds()}}if(cond==="on"){return onEq}return!onEq}if(cond==="null"){return val===null}if(cond==="notNull"){return val!==null}if(cond==="empty"){return val===null||val===undefined}if(cond==="notEmpty"){return val!==null&&val!==undefined}throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorUnrecognizedFilterCondition")+cond)},_findTimeMatch:function(val,expr,cond){var mins1,hs1,mins2,hs2,eq,valDateParts,exprDateParts;if(val!==null&&val!==undefined){valDateParts=this._getDateParts(val);hs1=valDateParts.hours;mins1=valDateParts.mins}if($.type(expr)==="date"){exprDateParts=this._getDateParts(expr);hs2=exprDateParts.hours;mins2=exprDateParts.mins}else{expr=new Date(expr)}eq=mins1===mins2&&hs1===hs2;if(cond==="at"){return eq}if(cond==="notAt"){return!eq}if(cond==="before"){return hs1<hs2||hs1===hs2&&mins1<mins2}if(cond==="after"){return hs1>hs2||hs1===hs2&&mins1>mins2}if(cond==="atBefore"){return hs1<hs2||hs1===hs2&&mins1<=mins2}if(cond==="atAfter"){return hs1>hs2||hs1===hs2&&mins1>=mins2}if(cond==="null"){return val===null}if(cond==="notNull"){return val!==null}if(cond==="empty"){return val===null||val===undefined}if(cond==="notEmpty"){return val!==null&&val!==undefined}throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorUnrecognizedFilterCondition")+cond)},totalRecordsCount:function(count,key,dsObj,context){var rec,totalRecPath,i;if(context!==undefined&&context!==null){if(key){rec=dsObj;if(rec.hasOwnProperty(key)){rec=rec[key]}else{totalRecPath=key.split(".");for(i=0;i<totalRecPath.length;i++){rec=rec[totalRecPath[i]]}}if(dsObj&&rec!==undefined&&rec!==null){if($.type(rec)==="number"){this._recCount=rec}else{this._recCount=parseInt(rec,10)}this.hasTotalRecordsCount(true)}else{this.hasTotalRecordsCount(false)}}else{this.hasTotalRecordsCount(false)}}else if(count!==undefined&&count!==null){this._recCount=count}return this._recCount},hasTotalRecordsCount:function(hasCount){if(hasCount===undefined||hasCount===null){return this._hasCount}this._hasCount=hasCount},metadata:function(key){if(key===null||key===undefined||key===""||this._metadata===null||this._metadata===undefined){return this._metadata}return this._metadata[key]},totalLocalRecordsCount:function(){if(this.isGroupByApplied()&&this._vgbData&&this.settings.groupby.pagingMode==="allRecords"){return this._vgbData.length}if(!this._filter){return this._data.length}return this._dataView.length},pageCount:function(){var c,realCount;if(this.isGroupByApplied()&&this._vgbData&&this.settings.groupby.pagingMode==="allRecords"){realCount=this._vgbData.length}else if(!this._filter){realCount=this.totalRecordsCount()>0?this.totalRecordsCount():this._data.length}else{realCount=this.totalRecordsCount()>0?this.totalRecordsCount():this._filteredData.length}c=Math.ceil(realCount/this.settings.paging.pageSize);return c===0?1:c},pageIndex:function(index){if(index===undefined||index===null){return this.settings.paging.pageIndex===undefined?0:this.settings.paging.pageIndex}this.settings.paging.pageIndex=parseInt(index,10);this._cachedDataView=null;if(this.settings.paging.type==="local"){this._page(this.settings.paging.appendPage);this._invokeCallback()}else{this.dataBind()}return this},persistedPageIndex:function(value){if(value===undefined){return this.settings.paging._persistedPageIndex}else{this.settings.paging._persistedPageIndex=value}},prevPage:function(){this.pageIndex(this.pageIndex()===0?0:this.pageIndex()-1);return this},nextPage:function(){if(this.pageIndex()>=this.pageCount()-1){return this}this.pageIndex(this.pageIndex()+1);return this},pageSize:function(s){if(s===undefined||s===null){return this.settings.paging.pageSize}this.settings.paging.pageSize=parseInt(s,10);if(this.settings.paging.appendPage){this.settings.paging.pageIndex=0;this._cachedDataView=null}if(this.settings.paging.type==="local"){this._page();this._invokeCallback()}else{this.dataBind()}return this},pageSizeDirty:function(dirty){if(dirty===undefined||dirty===null){return this._dirty}this._dirty=dirty},recordsForPage:function(p){var d=[],si,ps,ei,i,c=0;ps=this.pageSize();si=p*ps;ei=si+ps>=this._data.length?this._data.length:si+ps;for(i=si;i<ei;i++){d[c++]=this._data[i]}return d},tableToObject:function(tableDOM){try{var rows=$(tableDOM).children("tbody").children(),len,data,i,j;len=rows.length>0?rows[0].cells.length:0;data=[];for(i=0;i<rows.length;i++){data[i]=[];for(j=0;j<len;j++){data[i][j]=rows[i].cells[j].innerHTML}}return data}catch(e){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorParsingHtmlTableNoSchema")+e.message)}},_validateTable:function(obj){if(obj.length===0){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorTableWithIdNotFound")+this.dataSource())}else{return obj[0]}},stringToJSONObject:function(s){var data={};try{data=JSON.parse(s)}catch(e){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorParsingJsonNoSchema")+e.message)}return data},stringToXmlObject:function(s){var doc,parser;try{if(window.ActiveXObject){doc=new ActiveXObject("Microsoft.XMLDOM");doc.async="false";doc.loadXML(s)}else{parser=new DOMParser;doc=parser.parseFromString(s,"text/xml")}}catch(e){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorParsingXmlNoSchema")+e.message)}return doc},groupByData:function(){return this._gbData},visibleGroupByData:function(){return this._vgbData},groupByDataView:function(){return this._gbDataView},_groupedRecordsByExpr:function(data,startInd,gbExpr,gbRes){var i,res=[],cmpRes,groupval,currval,mapper=this._hasMapper,cmpFunc=gbExpr.compareFunc,key=gbExpr.fieldName,len=data.length,fieldType=this._getFieldTypeFromSchema(gbExpr.fieldName);gbRes=gbRes||{};if(!cmpFunc){cmpFunc=function(val1,val2){return val1===val2}}startInd=startInd||0;res.push(data[startInd]);groupval=mapper?this.getCellValue(key,data[startInd]):data[startInd][key];if(groupval&&groupval.getTime){gbRes.val=this._getDateAsNumber(groupval,fieldType)}else{gbRes.val=groupval}startInd++;for(i=startInd;i<len;i++){currval=mapper?this.getCellValue(key,data[i]):data[i][key];if(currval&&currval.getTime){currval=this._getDateAsNumber(currval,fieldType)}cmpRes=cmpFunc(currval,gbRes.val,{fieldName:key,recordX:data[startInd],recordY:data[i]});if(cmpRes===0||cmpRes===true){res.push(data[i])}else{break}}return res},toggleGroupByRecord:function(id,collapsed){var ds=this._gbData,i,len=ds.length,res=[],lvl,row,hidden,gbrow,p=this.settings.paging,gbSumRow,sgb=this.settings.groupby||{};this._gbCollapsed=this._gbCollapsed||{};this._gbCollapsed[id]=!!collapsed;for(i=0;i<len;i++){row=ds[i];gbrow=row[sgb.groupRecordKey];gbSumRow=row[sgb.groupSummaryRecordKey];if(gbrow&&row.id===id){row.collapsed=!!collapsed}if(hidden){if((gbrow||gbSumRow)&&row.level<=lvl){hidden=false}else{continue}}if(gbrow&&row.collapsed){hidden=true;lvl=row.level}else{lvl=null}res.push(row)}this._vgbData=res;this._gbDataView=this._vgbData;if(p.enabled&&p.type==="local"){this._page()}if(sgb.recordToggledCallback){$.ig.util.invokeCallback(sgb.recordToggledCallback,[id,collapsed])}},isGroupByRecordCollapsed:function(gbRec){var id=typeof gbRec==="string"||!gbRec?gbRec:gbRec.id,state;this._gbCollapsed=this._gbCollapsed||{};state=this._gbCollapsed[id];return state===undefined?this.settings.groupby.defaultCollapseState:state},_resetGroupByCollapseStates:function(){this._gbCollapsed={}},_processGroupsRecursive:function(data,gbExprs,gbInd,parentCollapsed,parentId){var i,j,hc,len=data.length,resLen,gbExpr,res,gbRec,groupRecordKey=this.settings.groupby.groupRecordKey,summaries=this.settings.groupby.summaries;gbInd=gbInd||0;parentId=parentId||"";if(!gbInd||!this._gbData){this._gbData=[];this._vgbData=[]}for(i=0;i<len;i++){gbExpr=gbExprs[gbInd];gbRec={gbExpr:gbExpr,level:gbInd,len:1,recs:[],val:undefined};gbRec[groupRecordKey]=true;this._gbData.push(gbRec);if(!parentCollapsed){this._vgbData.push(gbRec)}res=this._groupedRecordsByExpr(data,i,gbExpr,gbRec);gbRec.fieldName=gbExpr.fieldName;resLen=res.length;hc=gbRec.val?String(gbRec.val).getHashCode():"";gbRec.id=parentId+gbExpr.fieldName+":"+hc;gbRec.collapsed=this.isGroupByRecordCollapsed(gbRec);if(gbInd+1<gbExprs.length){this._processGroupsRecursive(res,gbExprs,gbInd+1,gbRec.collapsed||parentCollapsed,gbRec.id+":")}else{for(j=0;j<resLen;j++){this._gbData.push(res[j]);if(!gbRec.collapsed&&!parentCollapsed){this._vgbData.push(res[j])}}}gbRec.recs=res;gbRec.len=resLen;if(summaries&&summaries.length>0){this._calculateGroupBySummaries(gbRec,parentCollapsed)}i+=resLen-1}},_calculateGroupBySummaries:function(gbRec,parentCollapsed){var res=gbRec.recs,gbSummaryRec={summaries:{},level:gbRec.level+1,groupValue:gbRec.val,id:gbRec.id},fieldValues,i,j,sumFunc,summaries=this.settings.groupby.summaries,sumFuncName,summary,summaryVal,fieldType,getValuesPerField,self=this;gbSummaryRec[this.settings.groupby.groupSummaryRecordKey]=true;getValuesPerField=function(arr,fieldName,fieldType){if(fieldType==="time"){return arr.map(function(val){return self._resetDateObjectToCurrentDate(val[fieldName])})}return arr.map(function(val){return val[fieldName]})};for(i=0;i<summaries.length;i++){summary=summaries[i];fieldType=this._getFieldTypeFromSchema(summary.field);fieldValues=getValuesPerField(res,summary.field,fieldType);for(j=0;j<summary.summaryFunctions.length;j++){sumFunc=summary.summaryFunctions[j];sumFuncName=typeof sumFunc==="string"?sumFunc:"custom";summaryVal=$.ig.calcSummaries(sumFuncName,fieldValues,sumFunc,fieldType,res);if(!gbSummaryRec.summaries[summary.field]){gbSummaryRec.summaries[summary.field]=[]}gbSummaryRec.summaries[summary.field].push(summaryVal)}}this._addSummaryRecToArray(gbSummaryRec,gbRec,this._gbData);if(!gbRec.collapsed&&!parentCollapsed){this._addSummaryRecToArray(gbSummaryRec,gbRec,this._vgbData)}},_addSummaryRecToArray:function(gbSummaryRec,gbRec,array){var index;if(this.settings.groupby.summariesPosition==="bottom"||this.settings.groupby.summariesPosition==="both"){gbSummaryRec.position="bottom";array.push($.extend({},gbSummaryRec))}if(this.settings.groupby.summariesPosition==="top"||this.settings.groupby.summariesPosition==="both"){index=array.indexOf(gbRec);gbSummaryRec.position="top";array.splice(index+1,0,$.extend({},gbSummaryRec))}},_generateGroupByData:function(data,gbExprs,collapsedRows){var i,newgb=[],gbs=this.settings.groupby||{};data=data||this._data;gbExprs=this._findSortingExpressionsForLayout(gbExprs||[],this.settings.key);this._gbData=[];this._vgbData=[];this._gbDataView=[];this._gbCollapsed=collapsedRows||this._gbCollapsed;if($.type(gbExprs)!=="array"||!gbExprs.length){return data}for(i=0;i<gbExprs.length;i++){if(gbExprs[i].isGroupBy){newgb.push(gbExprs[i])}}gbExprs=newgb;if(!gbExprs.length){return data}this._processGroupsRecursive(data,gbExprs,0,false,"");this._gbDataView=this._vgbData;if(gbs.dataGeneratedCallback){$.ig.util.invokeCallback(gbs.dataGeneratedCallback)}return this.groupByData()},_clearGroupByData:function(){this._gbData=[];this._vgbData=[];this._gbDataView=[]},isGroupByApplied:function(exprs){exprs=this._findSortingExpressionsForLayout(exprs||this.settings.sorting.expressions,this.settings.key);return!!(exprs&&exprs.length&&exprs[0].isGroupBy)},_findSortingExpressionsForLayout:function(expressions,layout){return(expressions||[]).filter(function(expr){return!expr.layout&&!layout||expr.layout===layout})}});$.ig.TypeParser=$.ig.TypeParser||Class.extend({toStr:function(obj){return this.isNullOrUndefined(obj)?"":obj+this.empty()},toDate:function(obj){if(this.isNullOrUndefined(obj)||obj===""||$.type(obj)==="function"){return null}if($.type(obj)==="date"){return obj}var d;d=new Date(obj);if(isNaN(d)){d=$.ig.util.dateFromISO(obj)}return d},toTime:function(obj){if(this.isNullOrUndefined(obj)||obj===""||$.type(obj)==="function"){return null}if($.type(obj)==="date"){return obj}var d=new Date;var result=new Date(d.toDateString()+" "+obj);if(isNaN(result)){return null}return result},toNumber:function(obj){return this.isNullOrUndefined(obj)||$.type(obj)==="function"?null:obj*this.num()},toBool:function(obj){var typeObj=$.type(obj);if(typeObj==="boolean"){return obj}if(this.isNullOrUndefined(obj)||typeObj==="function"){return false}if(obj==="1"||obj===1||typeObj==="string"&&obj.toLowerCase()==="true"){return true}return false},isNullOrUndefined:function(obj){return obj===null||obj===undefined},empty:function(){return""},num:function(){return 1}});$.ig.DataSchema=$.ig.DataSchema||Class.extend({schema:{fields:[{name:undefined,type:undefined,xpath:undefined,mapper:undefined,formatter:undefined}],searchField:null,outputResultsName:null,childDataProperty:null},init:function(type,options){$.ig.DataSchema.prototype.schema.fields=[];if(options){this.schema=$.extend(true,{},$.ig.DataSchema.prototype.schema,options)}this._type=type;this._parser=new $.ig.TypeParser;this._parser._serverOffset=0},transform:function(data){var ndata=[];switch(this._type){case"array":ndata=this._arrays(data);break;case"json":ndata=this._json(data);break;case"xml":ndata=this._xml(data);break;case"htmlTableDom":ndata=this._table(data);break;case"htmlListDom":ndata=this._list(data);break;case"htmlSelectDom":ndata=this._select(data);break;case"singleRow":ndata=this._row(data);break;default:throw new Error("unknown data source type: "+this._type)}return ndata},_setResKey:function(resKey,out){if(!this.isEmpty(resKey)){out[resKey]=[];return out[resKey]}return out},_convertType:function(t,obj){if(t==="string"){return this._parser.toStr(obj)}if(t==="date"||t==="time"){return this._parser.toDate(obj)}if(t==="number"){return this._parser.toNumber(obj)}if(t==="boolean"||t==="bool"){return this._parser.toBool(obj)}return obj},_val:function(field,val,results,i,rec){var t=field.type,j=null;if(!this.isEmpty(t)){if(this.isEmpty(field.name)){results[i][j]=this._convertType(t,val)}else{results[i][field.name]=this._convertType(t,val);if(t==="date"||t==="time"){this._addOffset(results[i],field.name,i)}}}else{if(this.isEmpty(field.name)){if(rec){results[i][j]=rec[i][j]}else{results[i][j]=val}}else{if(rec){results[i][field.name]=rec[i][field.name]}else{results[i][field.name]=val}}}if(field.formatter){this._formattedRecords=this._formattedRecords||[];this._formattedRecords[i]=this._formattedRecords[i]||{};this._formattedRecords[i][field.name]=field.formatter(results[i][field.name],results[i],field)}},_addOffset:function(result,fieldName,i){var id=this._pk?result[this._pk]:i;if(this._serverOffsets&&this._serverOffsets[id]&&!this.isEmpty(this._serverOffsets[id][fieldName])){result["igoffset_"+fieldName]=this._serverOffsets[id][fieldName]}},isEmpty:function(o){return o===undefined||o===null||o===""},_row:function(dataRow,index){var t,j,f,tmp,schema=this.schema,fields=schema.fields,fLen=fields.length,fName,nDataRow={};for(j=0;j<fLen;j++){f=fields[j];fName=f.name;tmp=dataRow[fName];t=f.type;if(!this.isEmpty(t)){if(this.isEmpty(fName)){nDataRow[j]=this._convertType(t,tmp)}else{nDataRow[fName]=this._convertType(t,tmp);if(t==="date"||t==="time"){this._addOffset(nDataRow,fName,index)}}}else{if(this.isEmpty(fName)){nDataRow[j]=tmp}else{nDataRow[fName]=tmp}}}return nDataRow},_arrays:function(data){var i,j,tmp,hasArrays,resKey=this.schema.outputResultsName,out={},results;results=this._setResKey(resKey,out);if(this.isObjEmpty(results)&&$.type(results)!=="array"){results=[];out=results}try{if(data.length>0){hasArrays=$.type(data[0])==="array"}for(i=0;i<data.length;i++){if(data[i]===undefined){continue}results.push({});for(j=0;j<this.schema.fields.length;j++){if(hasArrays){tmp=data[i][j]}else{tmp=data[i][this.schema.fields[j].name]}this._val(this.schema.fields[j],tmp,results,results.length-1)}}}catch(e){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorParsingArrays")+e.message)}return out},_getDataBySearchField:function(data){var searchPath,i,token,root;if(!this.isEmpty(this.schema.searchField)){searchPath=this.schema.searchField.split(/[\[.\]]/);for(i=0;i<searchPath.length;i++){token=searchPath[i];if(token.length===0){continue}token=/^(0|[1-9]\d*)$/.test(token)?parseInt(token,10):token.replace(/^('|")|('|")$/g,"");root=root?root[token]:data[token];if(root===undefined||root===null){break}}if(!root&&$.type(data)==="array"){root=data}}return root},_processMetadata:function(data){if(data.Metadata&&data.Metadata.timezoneOffset!==undefined&&!isNaN(data.Metadata.timezoneOffset)){this._serverOffset=data.Metadata.timezoneOffset;this._parser._serverOffset=this._serverOffset;if(data.Metadata.timezoneOffsets){this._serverOffsets=data.Metadata.timezoneOffsets;this._parser._serverOffsets=data.Metadata.timezoneOffsets}}else{this._parser._serverOffset=0}},_json:function(data){var i,j,root,resKey=this.schema.outputResultsName,out={},results;results=this._setResKey(resKey,out);if(this.isObjEmpty(results)){results=[];out=results}try{this._processMetadata(data);root=this._getDataBySearchField(data);if(root===undefined||this.isEmpty(this.schema.searchField)){root=data}if(!root.length&&$.type(root)==="object"){root=[root]}if(root&&root.length&&root.length>0){for(i=0;i<root.length;i++){results[i]={};if(this._pk&&this._pk!=="ig_pk"){for(j=0;j<this.schema.fields.length;j++){if(this.schema.fields[j].name===this._pk){break}}if(j<this.schema.fields.length){if(root[i][this._pk]===undefined){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorSchemaMismatch")+this._pk)}this._val(this.schema.fields[j],root[i][this.schema.fields[j].name],results,i,root)}}for(j=0;j<this.schema.fields.length;j++){if(this.schema.fields[j].name!=="ig_pk"&&this.schema.fields[j].name!==this._pk){this._val(this.schema.fields[j],root[i][this.schema.fields[j].name],results,i,root)}}}}}catch(e){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorParsingJson")+e.message)}return out},_xml:function(data,recursiveSF){var i,j,root,resNode,item,resKey=this.schema.outputResultsName,out={},results,namespaced,sf,k,r,rc,len1,len2,o,carrysf,ireal=0,s;o=window.ActiveXObject;results=this._setResKey(resKey,out);if(this.isObjEmpty(results)){results=[];out=results}try{if(!this.isEmpty(this.schema.searchField)){namespaced=this._xmlHasNamespaces(data);if(!namespaced){if(window.ActiveXObject===undefined){if(!recursiveSF||recursiveSF.length<=0){root=data.evaluate(this.schema.searchField,data,null,XPathResult.ANY_TYPE,null)}else{root=data.evaluate(recursiveSF,data,null,XPathResult.ANY_TYPE,null)}}else{if(!(data instanceof ActiveXObject)){s=(new XMLSerializer).serializeToString(data);data=new window.ActiveXObject("Microsoft.XMLDOM");data.async=false;data.loadXML(s)}root=data.selectNodes(this.schema.searchField)}}else{if(this.schema.searchField.startsWith("//")){sf=this.schema.searchField.substring(2,this.schema.searchField.length)}else{sf=this.schema.searchField}root=this._findXmlRecordsRoot(data,sf)}}else{root=data}if(!namespaced){if(root&&window.ActiveXObject!==undefined){for(i=0;i<root.length;i++){item=root.item(i);results[i]={};for(j=0;j<this.schema.fields.length;j++){resNode=item.selectSingleNode(this.schema.fields[j].xpath);if(resNode){if(resNode.nodeType===1&&this.schema.childDataProperty&&resNode.nodeName===this.schema.childDataProperty){this.schema.searchField=this.schema.childDataProperty;results[i][resNode.nodeName]=this._xml(item)}else{this._val(this.schema.fields[j],resNode.text,results,i)}}else{results[i][this.schema.fields[j].name]=""}}}}else if(root){i=0;item=root.iterateNext();while(item){results[i]={};for(j=0;j<this.schema.fields.length;j++){resNode=data.evaluate(this.schema.fields[j].xpath,item,null,XPathResult.ANY_TYPE,null).iterateNext();if(resNode){if(resNode.nodeType===1&&this.schema.childDataProperty&&(resNode.nodeName===this.schema.childDataProperty||resNode.nodeName===this.schema.seachField)){if(!recursiveSF||recursiveSF.length<=0){carrysf=this.schema.searchField+"["+(i+1)+"]/"+this.schema.childDataProperty}else{carrysf=recursiveSF+"["+(i+1)+"]/"+this.schema.childDataProperty}results[i][this.schema.childDataProperty]=this._xml(data,carrysf)}else{this._val(this.schema.fields[j],resNode.textContent,results,i)}}else{results[i][this.schema.fields[j].name]=""}}i++;item=root.iterateNext()}}}else{len1=root.childNodes.length;ireal=0;for(i=0;i<len1;i++){r=root.childNodes[i];results.push({});for(j=0;j<this.schema.fields.length;j++){len2=r.childNodes.length;for(k=0;k<len2;k++){rc=r.childNodes[k];if(this.schema.fields[j].name===(o===undefined?rc.localName:rc.baseName)){this._val(this.schema.fields[j],o===undefined?rc.textContent:rc.text,results,ireal);break}}}if($.isEmptyObject(results[ireal])){results.pop()}else{ireal++}}}}catch(e){throw new Error($.ig.util.getLocaleValue("DataSourceLocale",".errorParsingXml")+e.message)}return out},_findXmlRecordsRoot:function(data,field){var i,len,r,o,ret;o=window.ActiveXObject;if((o===undefined?data.localName:data.baseName)===field){ret=data.parentNode}else if(data&&data.childNodes&&data.childNodes.length>0){len=data.childNodes.length;for(i=0;i<len;i++){r=data.childNodes[i];if(r.childNodes&&r.childNodes.length>0){ret=this._findXmlRecordsRoot(r,field)}}}return ret},_xmlHasNamespaces:function(data){var i,ns,r,len,fc;
if(data.childNodes&&data.childNodes.length&&data.childNodes.length>0){len=data.childNodes.length;for(i=0;i<len;i++){r=data.childNodes[i];if(!r){return false}ns=r.namespaceURI;if(ns!==""&&ns!==undefined&&ns!==null){return true}}if(r&&r.childNodes&&r.childNodes.length>0){fc=r.childNodes[0];if(!fc){return false}ns=fc.namespaceURI;return ns!==""&&ns!==undefined&&ns!==null}}return false},_table:function(data){var i,j,r,tbody,rows,resKey=this.schema.outputResultsName,out={},results;tbody=$(data).find("tbody")[0];results=this._setResKey(resKey,out);if(this.isObjEmpty(results)){results=[];out=results}try{if(tbody&&tbody.nodeName&&tbody.nodeName==="TBODY"){rows=tbody.rows;for(i=0;i<rows.length;i++){r=rows[i];results[i]={};for(j=0;j<this.schema.fields.length;j++){this._val(this.schema.fields[j],r.cells[j].innerHTML,results,i)}}}else{throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorExpectedTbodyParameter"))}}catch(e){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorParsingHtmlTable")+e.message)}return out},_list:function(data){var parsedData,img,anchor,id,li,ul,self=this,d=$(data),text,i,header,descriptions,counts,jqmNS="data-";if($.mobile&&$.mobile.ns){jqmNS+=$.mobile.ns}parsedData=[];if(d&&(d.is("ul")||d.is("ol"))&&d.children().length>0){d.children("li:not(["+jqmNS+'role="itemTemplate"], ['+jqmNS+'role="detailsTemplate"], ['+jqmNS+'role="dividerTemplate"])').each(function(index){li=$(this);img=li.children("img");parsedData[index]={};if(self.schema.hasOwnProperty("primaryKey")){self._val(self.schema.primaryKey,li.index(),parsedData,index)}if(self.schema.hasOwnProperty("isDivider")){self._val(self.schema.isDivider,li.attr(jqmNS+"role")==="list-divider",parsedData,index)}if(img.length>0&&img.attr("src")){if(self.schema.hasOwnProperty("imageUrl")){self._val(self.schema.imageUrl,img.attr("src"),parsedData,index)}}anchor=li.children("a");if(anchor.length>0){text=anchor.html();if(anchor.attr("href")){if(self.schema.hasOwnProperty("navigateUrl")){self._val(self.schema.navigateUrl,anchor.attr("href"),parsedData,index)}}if(anchor.attr("target")){if(self.schema.hasOwnProperty("target")){self._val(self.schema.target,anchor.attr("target"),parsedData,index)}}if(img.length===0){img=anchor.children("img");if(img.length>0){img.each(function(){if(this.outerHTML){text=text.replace(this.outerHTML,"")}else{text=text.replace($("<div>").append(this).html(),"")}})}if(img.length>0&&img.attr("src")){if(self.schema.hasOwnProperty("imageUrl")){self._val(self.schema.imageUrl,img.attr("src"),parsedData,index)}}}}else{text="";for(i=0;i<li[0].childNodes.length;i++){if(li[0].childNodes[i].nodeType===3&&li[0].childNodes[i].data){text+=$.trim(li[0].childNodes[i].data)}}}if(self.schema.hasOwnProperty("header")){header=li.children("h1, h2, h3, h4, h5, h6");if(header.length===0&&anchor.length>0){header=anchor.children("h1, h2, h3, h4, h5, h6")}if(header.length>0){self._val(self.schema.header,header.text(),parsedData,index);header.each(function(){if(this.outerHTML){text=text.replace(this.outerHTML,"")}else{text=text.replace($("<div>").append(this).html(),"")}})}}if(self.schema.hasOwnProperty("description")){descriptions=li.children("p, dd");if(descriptions.length===0&&anchor.length>0){descriptions=anchor.children("p, dd")}if(descriptions.length>0){self._val(self.schema.description,descriptions.text(),parsedData,index);descriptions.each(function(){if(this.outerHTML){text=text.replace(this.outerHTML,"")}else{text=text.replace($("<div>").append(this).html(),"")}})}}if(self.schema.hasOwnProperty("count")){counts=li.children("span.ui-li-count");if(counts.length===0&&anchor.length>0){counts=anchor.children("span.ui-li-count")}if(counts.length>0){self._val(self.schema.count,parseInt(counts.text(),10),parsedData,index);counts.each(function(){if(this.outerHTML){text=text.replace(this.outerHTML,"")}else{text=text.replace($("<div>").append(this).html(),"")}})}}if(self.schema.hasOwnProperty("text")){self._val(self.schema.text,text,parsedData,index)}id=li.attr("id");if(id){if(self.schema.hasOwnProperty("value")){self._val(self.schema.value,id,parsedData,index)}}ul=li.children("ul, ol");if(ul.length>0){if(self.schema.hasOwnProperty("childData")&&self.schema.childData.hasOwnProperty("name")){parsedData[index][self.schema.childData.name]=self._list(ul)}}})}return parsedData},_select:function(data){var parsedData=[],self=this;$(data).children().each(function(i){var $curOption=$(this);parsedData[i]={};if($curOption.is("optgroup")){parsedData[i].Group={groupName:this.label,groupItems:self._select(this)}}else{self._val(self.schema.fields[0],$curOption.val(),parsedData,i);self._val(self.schema.fields[1],$curOption.text(),parsedData,i)}});return parsedData},isObjEmpty:function(obj){var prop;for(prop in obj){if(obj.hasOwnProperty(prop)){return false}}return true},fields:function(){return this.schema.fields}});$.ig.RemoteDataSource=$.ig.RemoteDataSource||$.ig.DataSource.extend({init:function(options){if(!options){options={}}options.type="remoteUrl";this._super(options);return this}});$.ig.JSONDataSource=$.ig.JSONDataSource||$.ig.DataSource.extend({settings:{type:"json"},init:function(options){if(!options){options={}}options.type="json";this._super(options);return this}});$.ig.RESTDataSource=$.ig.RESTDataSource||$.ig.DataSource.extend({settings:{restSettings:{create:{url:null,template:null,batch:false},update:{url:null,template:null,batch:false},remove:{url:null,template:null,batch:false},encodeRemoveInRequestUri:true,contentSerializer:null,contentType:"application/json; charset=utf-8"}},init:function(options){if(!options){options={}}else{this._defaultTypeOverridden=options.restSettings&&options.restSettings.contentType&&options.restSettings.contentType!==this.settings.restSettings.contentType}options.restSettings=$.extend(true,this.settings.restSettings,options.restSettings);this._createHttpHandlers();this._createLogVerbMapping();this._setLazyUrls();this._super(options);return this},saveChanges:function(success,error){var log,verb,batchOps={POST:[],PUT:[],DELETE:[],CELL:[]},i;this._asyncCallbackCount=0;this._isc=success&&typeof success==="function"?success:null;this._iec=error&&typeof error==="function"?error:null;for(i=0;i<this._accumulatedTransactionLog.length;i++){log=this._accumulatedTransactionLog[i];verb=this._logVerbMap[log.type];if(log.type==="cell"){batchOps.CELL.push(log)}else if(this._isBatch(verb)===true){batchOps[verb].push(log)}else{this._asyncCallbackCount++;this._saveSingleChange(verb,log)}}if(batchOps.CELL.length>0){this._saveAllCellChanges(batchOps.CELL)}if(batchOps.POST.length>0){this._asyncCallbackCount++;this._saveAllCreateChanges(batchOps.POST)}if(batchOps.PUT.length>0){this._asyncCallbackCount++;this._saveAllUpdateChanges(batchOps.PUT)}if(batchOps.DELETE.length>0){this._asyncCallbackCount++;this._saveAllDeleteChanges(batchOps.DELETE)}},_saveSingleChange:function(verb,change){var data,url;data=verb==="POST"||verb==="PUT"?change.row:null;url=this._getProperUrl(verb,false,verb==="DELETE"||verb==="PUT"?change.rowId:undefined);this._call(verb,url,data)},_saveAllCellChanges:function(cellLogs){var i,combined={},rowLogs=[],cl;for(i=0;i<cellLogs.length;i++){cl=cellLogs[i];if(combined[cl.rowId]===undefined){combined[cl.rowId]={};combined[cl.rowId].row=this.findRecordByKey(cl.rowId)}combined[cl.rowId].row[cl.col]=cl.value}$.each(combined,function(key,value){value.rowId=key;rowLogs.push(value)});if(this._isBatch("PUT")===true){this._asyncCallbackCount++;this._saveAllUpdateChanges(rowLogs)}else{for(i=0;i<rowLogs.length;i++){this._asyncCallbackCount++;this._saveSingleChange("PUT",rowLogs[i])}}},_saveAllCreateChanges:function(createLogs){var data=[],i;for(i=0;i<createLogs.length;i++){data.push(createLogs[i].row)}this._call("POST",this._getProperUrl("POST",true),data)},_saveAllUpdateChanges:function(updateLogs){var data=[],urlParams="?",i;for(i=0;i<updateLogs.length;i++){data.push(updateLogs[i].row);urlParams+="index="+updateLogs[i].rowId+(i!==updateLogs.length-1?"&":"")}this._call("PUT",this._getProperUrl("PUT",true)+urlParams,data)},_saveAllDeleteChanges:function(deleteLogs){var urlParams="",i,data=null;if(this.settings.restSettings.encodeRemoveInRequestUri===true){urlParams="?";for(i=0;i<deleteLogs.length;i++){urlParams+="index="+deleteLogs[i].rowId+(i!==deleteLogs.length-1?"&":"")}}else{data=[];for(i=0;i<deleteLogs.length;i++){data.push(deleteLogs[i].rowId)}}this._call("DELETE",this._getProperUrl("DELETE",true)+urlParams,data)},_createHttpHandlers:function(){this._okHandler=$.proxy(this._responseOk,this);this._createdHandler=$.proxy(this._responseCreated,this);this._noContentHandler=$.proxy(this._responseNoContent,this);this._httpHandlers={POST:{201:this._createdHandler},PUT:{200:this._okHandler,201:this._createdHandler,204:this._noContentHandler},DELETE:{200:this._okHandler,204:this._noContentHandler}}},_createLogVerbMapping:function(){this._logVerbMap={newrow:"POST",row:"PUT",deleterow:"DELETE",cell:"PUT"}},_setLazyUrls:function(){var rs=this.settings.restSettings,tempUrl=null,tempTmpl=null;$.each(rs,function(key,value){if(value){if(value.url){tempUrl=value.url}if(value.template){tempTmpl=value.template}}});$.each(rs,function(key,value){if(value){if(value.url!==undefined&&value.url===null){value.url=tempUrl}if(value.template!==undefined&&value.template===null){value.template=tempTmpl}}});this._putUrl=rs.update.url;this._putTmpl=rs.update.template;this._postUrl=rs.create.url;this._postTmpl=rs.create.template;this._deleteUrl=rs.remove.url;this._deleteTmpl=rs.remove.template},_getProperUrl:function(verb,batch,id){var vL=verb.toLowerCase(),url=this["_"+vL+"Url"];if(url&&url.length>0&&url.substr(url.length-1)!=="/"){url+="/"}if(!batch||batch===false){if(this["_"+vL+"Tmpl"]!==null){url=this["_"+vL+"Tmpl"];if(id){url=url.replace("${id}",id)}}else{if(id){url+=id}}}return url},_responseOk:function(data,textStatus,jqXHR){this._asyncCallbackCount--;if(this._asyncCallbackCount===0){this._saveChangesSuccess({Success:textStatus==="success"},textStatus,jqXHR)}},_responseCreated:function(data,textStatus,jqXHR){this._asyncCallbackCount--;if(this._asyncCallbackCount===0){this._saveChangesSuccess({Success:textStatus==="success"},textStatus,jqXHR)}},_responseNoContent:function(data,textStatus,jqXHR){this._asyncCallbackCount--;if(this._asyncCallbackCount===0){this._saveChangesSuccess({Success:textStatus==="success"||textStatus==="nocontent"},textStatus,jqXHR)}},_isBatch:function(verb){switch(verb){case"POST":return this.settings.restSettings.create.batch;case"PUT":return this.settings.restSettings.update.batch;case"DELETE":return this.settings.restSettings.remove.batch;default:return false}},_call:function(verb,url,data){var dataString,ct=this.settings.restSettings.contentType,serializer=this.settings.restSettings.contentSerializer,self=this;if(serializer!==null){if(typeof serializer==="string"){serializer=window[serializer]}}if(data!==null){dataString=serializer!==null?serializer(data):JSON.stringify(data)}else{if(!this._defaultTypeOverridden){ct="text/plain"}dataString=""}this._ajaxRequest=$.ajax({type:verb,url:url,data:dataString,statusCode:this._httpHandlers[verb],contentType:ct,cache:false,success:function(data,textStatus,jqXHR){if(self._isc){self._isc(data,textStatus,jqXHR)}},error:function(jqXHR,textStatus,errorThrown){self._saveChangesError(jqXHR,textStatus,errorThrown);if(self._iec){self._iec(jqXHR,textStatus,errorThrown)}},processData:true})}});$.ig.JSONPDataSource=$.ig.JSONPDataSource||$.ig.DataSource.extend({settings:{jsonp:null,jsonpCallback:null,type:"json"},init:function(options){if(!options){options={}}options.responseDataType="jsonp";this._super(options);return this}});$.ig.XmlDataSource=$.ig.XmlDataSource||$.ig.DataSource.extend({init:function(options){if(!options){options={}}options.type="xml";this._super(options);return this}});$.ig.FunctionDataSource=$.ig.FunctionDataSource||$.ig.DataSource.extend({settings:{type:"function"},init:function(options){if(!options){options={}}options.type="function";this._super(options);return this}});$.ig.HtmlTableDataSource=$.ig.HtmlTableDataSource||$.ig.DataSource.extend({settings:{type:"htmlTableDom"},init:function(options){if(!options){options={}}options.type="htmlTableDom";this._super(options);return this}});$.ig.ArrayDataSource=$.ig.ArrayDataSource||$.ig.DataSource.extend({init:function(options){if(!options){options={}}options.type="array";this._super(options);return this}});$.ig.MashupDataSource=$.ig.MashupDataSource||$.ig.DataSource.extend({mashupSettings:{ignorePartialRecords:false,dataSource:[]},init:function(options){this._super(options);if(options){this.settings=$.extend(true,{},$.ig.DataSource.prototype.settings,options);this.settings=$.extend(true,{},$.ig.MashupDataSource.prototype.mashupSettings,this.settings)}this._sources=[];this._dataBindingComplete=false;this._sourcesStatus=[];this._hashedDataViews=[];return this},_checkDataBindingComplete:function(status,msg,ownerDs){var i,j,k,hasPrimaryKeys=true,hasForeignKeys=false,totalLength=0,data=[],merged=[],d,rindex=0,keyVal,prop,keyIndexHash,fkeyIndexHash,mergedData;this._dataBindingComplete=true;for(i=0;i<this._sources.length;i++){if(this._sources[i]===ownerDs){this._sourcesStatus[i]=1}if(this._sourcesStatus[i]===0){this._dataBindingComplete=false}}if(this._dataBindingComplete){for(i=0;i<this._sources.length;i++){if(this._sources[i].settings.primaryKey===""||this._sources[i].settings.primaryKey===null||this._sources[i].settings.primaryKey===undefined){hasPrimaryKeys=false;break}}for(i=0;i<this._sources.length;i++){if(this._sources[i].settings.foreignKey!==""&&this._sources[i].settings.foreignKey!==null&&this._sources[i].settings.foreignKey!==undefined){hasForeignKeys=true;break}}totalLength=this._sources[0].dataView().length;for(i=0;i<this._sources.length;i++){totalLength=this.settings.ignorePartialRecords?this._sources[i].dataView().length<totalLength?this._sources[i].dataView().length:totalLength:this._sources[i].dataView().length>totalLength?this._sources[i].dataView().length:totalLength}if(hasPrimaryKeys&&!hasForeignKeys){for(i=0;i<this._sources.length;i++){this._hashedDataViews[i]={};for(j=0;j<this._sources[i].dataView().length;j++){this._hashedDataViews[i][this._sources[i].dataView()[j][this._sources[i].settings.primaryKey]]=this._sources[i].dataView()[j]}}keyIndexHash={};j=0;for(i=0;i<this._hashedDataViews.length;i++){for(keyVal in this._hashedDataViews[i]){if(this._hashedDataViews[i].hasOwnProperty(keyVal)){if(keyIndexHash.hasOwnProperty(keyVal)){data[keyIndexHash[keyVal]]=$.extend(true,{},data[keyIndexHash[keyVal]],this._hashedDataViews[i][keyVal]);merged[keyIndexHash[keyVal]]++}else{data.push({});merged.push(1);data[j]=$.extend(true,{},data[j],this._hashedDataViews[i][keyVal]);keyIndexHash[keyVal]=j;j++}}}}if(this.settings.ignorePartialRecords){for(i=merged.length-1;i>=0;i--){if(merged[i]<this._sources.length){data.splice(i,1)}}}}else if(hasForeignKeys&&hasPrimaryKeys){for(i=0;i<this._sources.length;i++){this._hashedDataViews[i]={};for(j=0;j<this._sources[i].dataView().length;j++){this._hashedDataViews[i][this._sources[i].dataView()[j][this._sources[i].settings.primaryKey]]=this._sources[i].dataView()[j]}}keyIndexHash=[{}];fkeyIndexHash=[{}];for(i=0;i<this._hashedDataViews.length;i++){j=0;for(keyVal in this._hashedDataViews[0]){if(this._hashedDataViews[0].hasOwnProperty(keyVal)){if(!keyIndexHash[i]){keyIndexHash.push({})}if(!keyIndexHash[i].hasOwnProperty(keyVal)){keyIndexHash[i][keyVal]=j;j++;if(this._sources[i+1]&&this._sources[i+1].settings.foreignKey){if(!fkeyIndexHash[i]){fkeyIndexHash.push({})}fkeyIndexHash[i][keyVal]=this._hashedDataViews[0][keyVal][this._sources[i+1].settings.foreignKey]}}}}}mergedData=$.extend(true,{},data,this._hashedDataViews[0]);for(i=0;i<this._hashedDataViews.length;i++){if(this._sources[i].settings.foreignKey===null||this._sources[i].settings.foreignKey===undefined){continue}mergedData=this._mergeSources(this._hashedDataViews[i],this._sources[i].settings.foreignKey,fkeyIndexHash[i-1],mergedData)}j=0;for(var mergedRecKey in mergedData){data[j]=mergedData[mergedRecKey];j++}}else{for(i=0;i<totalLength;i++){data[i]={};rindex=0;for(j=0;j<this._sources.length;j++){d=this._sources[j];if(d.dataView()[0].length){for(k=0;k<d.dataView()[0].length;k++){data[i][rindex++]=i>=d.dataView().length?"":d.dataView()[i][k]}}else{for(prop in d.dataView()[i]){if(d.dataView()[i].hasOwnProperty(prop)){data[i][prop]=i>=d.dataView().length?"":d.dataView()[i][prop]}}}}}}this.settings.dataSource=data;this.settings.type="array";this._runtimeType=this.analyzeDataSource();this.dataBind()}},_mergeSources:function(dataView,fKey,fkeyIndex,data){var newObject={},fkValueCollection;for(var recID in data){if(Array.isArray(data[recID][fKey])){newObject={};fkValueCollection=data[recID][fKey];for(var fk in fkValueCollection){var currValue=dataView[fkValueCollection[fk]];for(var variable in currValue){if(variable!==fKey){if(newObject.hasOwnProperty(variable)){newObject[variable].push(currValue[variable])}else{newObject[variable]=[currValue[variable]]}}}}data[recID]=$.extend(true,{},data[recID],newObject)}else{data[recID]=$.extend(true,{},data[recID],dataView[fkeyIndex[recID]])}}return data},setCellValue:function(rowId,colId,val,autoCommit){var rowObject=this.findRecordByKey(rowId,this._data),t,rec,self=this,newObject,lookupRecord;$(this._sources).each(function(){if(this.settings.foreignKey&&this.settings.foreignKey===colId){if(Array.isArray(val)){newObject={};for(var value in val){lookupRecord=this.dataSource()[val[value]];for(var variable in lookupRecord){if(variable!==this.settings.foreignKey){if(newObject.hasOwnProperty(variable)){newObject[variable].push(lookupRecord[variable])}else{newObject[variable]=[lookupRecord[variable]]}}else{newObject[variable]=val}}}rowObject=$.extend(true,{},rowObject,newObject)}else if(this.settings.foreignKey===colId){rowObject=$.extend(true,{},rowObject,this.dataSource()[val])}if(this.settings.primaryKey===null){rec=self._data[parseInt(rowId,10)]}else{rec=self.findRecordByKey(rowId,self._data)}for(var prop in rec){rec[prop]=rowObject[prop]}}});t=this._createCellTransaction(rowId,colId,val);this._addTransaction(t);if(autoCommit===true){this.commit(rowId)}return t},updateRow:function(rowId,rowObject,autoCommit){var t,newObject,lookupRecord,oldRow=this.settings.primaryKey===null?this._data[parseInt(rowId,10)]:this.findRecordByKey(rowId),rowIndex=this.settings.primaryKey===null?rowId:$.ig.indexInArray(this._data,oldRow);$(this._sources).each(function(){if(this.settings.foreignKey){if(Array.isArray(rowObject[this.settings.foreignKey])){newObject={};for(var value in rowObject[this.settings.foreignKey]){lookupRecord=this.dataSource()[rowObject[this.settings.foreignKey][value]];for(var variable in lookupRecord){if(variable!==this.settings.foreignKey){if(newObject.hasOwnProperty(variable)){newObject[variable].push(lookupRecord[variable])}else{newObject[variable]=[lookupRecord[variable]]}}}}rowObject=$.extend(true,{},rowObject,newObject)}else if(rowObject[this.settings.foreignKey]!==oldRow[this.settings.foreignKey]){rowObject=$.extend(true,{},rowObject,this.dataSource()[rowObject[this.settings.foreignKey]])}}});t=this._createRowTransaction(rowId,rowObject);this._addTransaction(t);if(autoCommit===true){this.commit(rowId)}if($.type(this.settings.rowUpdated)==="function"){if(this.settings.callee){this.settings.rowUpdated.apply(this.settings.callee,[{rowIndex:rowIndex,newRow:rowObject,oldRow:oldRow},this])}else{this.settings.rowUpdated({rowIndex:rowIndex,newRow:rowObject,oldRow:oldRow},this)}}return t},addRow:function(rowId,rowObject,autoCommit){var t,newObject,lookupRecord;$(this._sources).each(function(){if(this.settings.foreignKey){if(Array.isArray(rowObject[this.settings.foreignKey])){newObject={};for(var value in rowObject[this.settings.foreignKey]){lookupRecord=this.dataSource()[rowObject[this.settings.foreignKey][value]];for(var variable in lookupRecord){if(variable!==this.settings.foreignKey){if(newObject.hasOwnProperty(variable)){newObject[variable].push(lookupRecord[variable])}else{newObject[variable]=[lookupRecord[variable]]}}}}rowObject=$.extend(true,{},rowObject,newObject)}else{rowObject=$.extend(true,{},rowObject,this.dataSource()[rowObject[this.settings.foreignKey]])}}});t=this._createNewRowTransaction(rowId,rowObject);this._addTransaction(t);if(autoCommit===true){this.commit(rowId)}if($.type(this.settings.rowAdded)==="function"){if(this.settings.callee){this.settings.rowAdded.apply(this.settings.callee,[{rowId:rowId,row:rowObject},this])}else{this.settings.rowAdded({rowId:rowId,row:rowObject},this)}}return t},insertRow:function(rowId,rowObject,rowIndex,autoCommit,parentRowId){var t,newObject,lookupRecord,oldRow;$(this._sources).each(function(){if(this.settings.foreignKey){if(Array.isArray(rowObject[this.settings.foreignKey])){newObject={};for(var value in rowObject[this.settings.foreignKey]){lookupRecord=this.dataSource()[rowObject[this.settings.foreignKey][value]];for(var variable in lookupRecord){if(variable!==this.settings.foreignKey){if(newObject.hasOwnProperty(variable)){newObject[variable].push(lookupRecord[variable])}else{newObject[variable]=[lookupRecord[variable]]}}}}rowObject=$.extend(true,{},rowObject,newObject)}else{rowObject=$.extend(true,{},rowObject,this.dataSource()[rowObject[this.settings.foreignKey]])}}});t=this._createInsertRowTransaction(rowId,rowObject,rowIndex);this._addTransaction(t);if(autoCommit===true){this.commit(rowId)}if($.type(this.settings.rowInserted)==="function"){if(this.settings.callee){this.settings.rowInserted.apply(this.settings.callee,[{rowId:rowId,row:rowObject,rowIndex:rowIndex},this])}else{this.settings.rowInserted({rowId:rowId,row:rowObject,rowIndex:rowIndex},this)}}return t},dataBind:function(){var i,ds=this.settings.dataSource;if(this._dataBindingComplete||this._sources.length>0){this._dataBindingComplete=false;this._super()}else{this._dataBindingComplete=false;for(i=0;i<ds.length;i++){if(ds[i]instanceof $.ig.DataSource){this._sources[i]=ds[i]}else if(ds[i].hasOwnProperty("dataSource")&&ds[i].dataSource instanceof $.ig.DataSource){this._sources[i]=ds[i].dataSource}else{this._sources[i]=new $.ig.DataSource(ds[i])}this._sources[i].settings.callee=this;this._sources[i].settings.callback=this._checkDataBindingComplete;this._sourcesStatus[i]=0}for(i=0;i<ds.length;i++){this._sources[i].dataBind()}}return this}});$.ig.HierarchicalDataSource=$.ig.HierarchicalDataSource||Class.extend({settings:{autogenerate:false,initialDataBindDepth:0,maxDataBindDepth:-1,defaultChildrenDataProperty:"children",callback:null,callee:null,data:[],dataSource:null,dataBinding:null,dataBound:null,type:"unknown",responseDataType:null,responseContentType:null,localSchemaTransform:true,urlParamsEncoding:null,urlParamsEncoded:null,requestType:"GET",odata:false,paging:{},sorting:{},filtering:{},schema:[]},init:function(options){if(options){this.__ds=options.dataSource;options.dataSource=null;this.settings=$.extend(true,{},$.ig.HierarchicalDataSource.prototype.settings,options);this.settings.dataSource=this.__ds}this._rootopts=this.settings;this._rootopts.urlParamsEncoded=$.proxy(this._encodeHierarchicalUrlParams,this);if(this._rootopts.dataSource&&typeof this._rootopts.dataSource._xmlToArray==="function"&&typeof this._rootopts.dataSource._encodePkParams==="function"){this._rootds=this._rootopts.dataSource;this._rootds.settings.urlParamsEncoded=this.settings.urlParamsEncoded;this._rootds.settings.odata=this.settings.odata;if(!this._rootds.settings.schema){this._rootds.settings.schema={}}this._rootds.settings.schema.layouts=this.settings.schema.layouts}else{if($.type(this._rootopts.dataSource)==="string"&&this._rootopts.dataSource.indexOf("$callback=?")!==-1){this._rootds=new $.ig.JSONPDataSource(this._rootopts)}else if(this._rootopts.restSettings&&(this._rootopts.restSettings.update.url!==null||this._rootopts.restSettings.update.template!==null||this._rootopts.restSettings.create.url!==null||this._rootopts.restSettings.create.template!==null||this._rootopts.restSettings.remove.url!==null||this._rootopts.restSettings.remove.template!==null)){this._rootds=new $.ig.RESTDataSource(this._rootopts)}else{this._rootds=new $.ig.DataSource(this._rootopts)}}},dataBind:function(callback,callee){this._rootds.dataBind(callback,callee)},root:function(){if(!this._rootds){this._rootds=new $.ig.DataSource(this._rootopts)}return this._rootds},dataAt:function(path,keyspath){var data=this.root().data(),paths=path.split("/"),kp=keyspath.split("/"),k,i,searchField="Records",j,cd=null,ckey=this.settings.primaryKey,ckeyval="",ckeys=[],ckeyvals=[],match=false;for(i=0;i<paths.length;i++){ckey=paths[i].split(":")[0];ckeyval=paths[i].split(":")[1];if(paths[i]!==""){for(j=0;data&&j<data.length;j++){if(data[j][ckey]!==undefined&&!data[j][ckey].charAt&&ckeyval.charAt){ckeyval=parseInt(ckeyval,10)}match=data[j][ckey]===ckeyval;if(match){cd=data[j][kp[i]];searchField=this.root().schema&&this.root().schema()&&this.root().schema().schema?this.root().schema().schema.searchField:searchField;if(cd&&paths.length>1&&i<paths.length-1&&$.type(cd)!=="array"&&cd[searchField]){cd=cd[searchField]}break}}data=cd}}return cd},_encodeUrlPath:function(rowid,name){return"path="+rowid+"&layout="+name},_encodeHierarchicalUrlParams:function(owner,args){var expand="",layouts=this.settings.schema.layouts,i,j,tmp,name,lc=0;if(this.settings.odata&&this.settings.initialDataBindDepth!==0){i=j=0;for(name in layouts){if(layouts.hasOwnProperty(name)){lc++}}lc++;for(name in layouts){if(layouts.hasOwnProperty(name)){if($.type(layouts[name])!=="function"){if(name.startsWith("/")){name=name.substring(1,name.length-1)}tmp=name.split("/");for(i=0;i<tmp.length;i++){tmp[i]=tmp[i].substring(0,tmp[i].indexOf(":"))}tmp=tmp.join("/");if(j!==0&&j!==lc-1){expand+=","}expand+=tmp;j++}}}args.selectParams.$expand=expand}else{args.selectParams.dbdepth=this.settings.initialDataBindDepth}}});$.ig.TreeHierarchicalDataSource=$.ig.TreeHierarchicalDataSource||$.ig.DataSource.extend({settings:{treeDS:{childDataKey:null,foreignKey:null,initialExpandDepth:-1,enableRemoteLoadOnDemand:false,dataSourceUrl:null,requestDataCallback:null,requestDataSuccessCallback:null,requestDataErrorCallback:null,propertyExpanded:null,propertyDataLevel:null,expandedKey:"__ig_options.expanded",dataLevelKey:"__ig_options.dataLevel",initialFlatDataView:false,customEncodeUrlFunc:null,persistExpansionStates:false,filtering:{fromLevel:0,toLevel:-1,displayMode:"showWithAncestors",matchFiltering:"__matchFiltering"},sorting:{fromLevel:0,toLevel:-1},paging:{mode:"rootLevelOnly",contextRowMode:"none"}}},_isHierarchicalDataSource:true,init:function(options){if(!options){options={}}this._totalRecordsCount=0;options.treeDS=$.extend(true,{},this.settings.treeDS,options.treeDS);this._flatVisibleData=[];options.treeDS.expandedKey=options.treeDS.propertyExpanded||options.treeDS.expandedKey;options.treeDS.dataLevelKey=options.treeDS.propertyDataLevel||options.treeDS.dataLevelKey;this._super(options);this._isHierarchicalDataSource=options.treeDS.foreignKey===null?true:false;return this},_checkGeneratedSchema:function(){var s=this.settings.treeDS,fs=this.settings.filtering,propertyExp=s.expandedKey,propertyMatchFiltering=s.filtering.matchFiltering;this._checkGeneratedSchemaByKey(s.childDataKey);if(!this._isHierarchicalDataSource){this._checkGeneratedSchemaByKey(s.foreignKey)}if(propertyExp!==null&&propertyExp!==undefined){this._addSchemaField(propertyExp,"boolean")}if(fs&&fs.enabled&&fs.type==="remote"&&propertyMatchFiltering){this._addSchemaField(propertyMatchFiltering,"boolean")}if(s.initialFlatDataView&&s.dataLevelKey){this._addSchemaField(s.dataLevelKey,"number")}},_addSchemaField:function(propName,propType){if(!this.schema()||!this.schema().schema){return}var i,schema=this.schema().schema,fields=schema.fields;if($.type(fields)!=="array"){return}for(i=0;i<fields.length;i++){if(fields[i].name===propName){return}}schema.fields.push({name:propName,type:propType})},_checkGeneratedSchemaByKey:function(key){if(key===null||key===undefined){return}var schema=this.schema(),i,fields=schema.fields(),fL=fields.length;for(i=0;i<fL;i++){if(fields[i].name===key){if(fields[i].name===this.settings.treeDS.childDataKey&&fields[i].type){delete fields[i].type}break}}if(i===fL){fields.push({name:key})}},_applySchema:function(forceApply){var s=this.schema();s.transform=$.proxy(this._transformSchema,this);this._checkGeneratedSchema();this._super(forceApply);this.generateFlatDataView()},dataBind:function(callback,callee){this._totalRecordsCount=0;this._dataBinding=true;this._isHierarchicalDataSource=this.settings.treeDS.foreignKey===null?true:false;var s=this.schema();this.isTransformedToHierarchicalData(false);if(s){if(this.schema().schema.fields.length!==0||this.settings.treeDS.enableRemoteLoadOnDemand){this._checkGeneratedSchema()}if(!this._transformCallback){this._transformCallback=$.proxy(s.transform,s);s.transform=$.proxy(this._transformSchema,this)}}this._flatDataView=[];this._generatedFlatData=false;this._dataBoundDepth=null;this._super(callback,callee)},getParentRowsForRow:function(dataRow,ds){var key,data=ds||this._data,search,propL,i,res,objPath={},rec,prows;if(dataRow===undefined||dataRow===null){return[]}if($.type(dataRow)==="object"){search=data&&$.isArray(data[0])?this._lookupPkIndex():this.settings.primaryKey;key=dataRow[search];if(key===undefined||key===null){return[]}}else{key=dataRow}if(this._metadata&&$.type(this._metadata.ancestors)==="array"){prows=this._metadata.ancestors;propL=this.settings.treeDS.dataLevelKey;res=[];for(i=0;i<prows.length;i++){res.push({row:this.schema()._row(prows[i]),level:prows[i][propL]})}return res}rec=this.findRecordByKey(key,data,objPath);if(!rec){return[]}return objPath.parentRows},_internalDataBound:function(callDatabound){this._dataBinding=false;this._super(callDatabound)},_completeCallback:function(){if(this.settings.localSchemaTransform){this.generateFlatDataView()}this._super()},getDataBoundDepth:function(){if(this._dataBoundDepth===null||this._dataBoundDepth===undefined){this._dataBoundDepth=0;this._getDataBoundDepthRecursive()}return this._dataBoundDepth},_getDataBoundDepthRecursive:function(data,level){var i,layoutKey=this.settings.treeDS.childDataKey,dataLen,dataRow;if(!this._dataBoundDepth){this._dataBoundDepth=0}if(!level){level=0}if(data===undefined){data=this.data()}if(level>this._dataBoundDepth){this._dataBoundDepth=level}if($.type(data)==="array"){dataLen=data.length;for(i=0;i<dataLen;i++){dataRow=data[i];if(!dataRow){continue}if(dataRow&&$.type(dataRow[layoutKey])==="array"&&dataRow[layoutKey].length){this._getDataBoundDepthRecursive(dataRow[layoutKey],level+1)}}}},_processJsonResponse:function(data,context){this.schema()._processMetadata(data);if(data&&data.Metadata&&data.Metadata.initialFlatDataView!==undefined){this.settings.treeDS.initialFlatDataView=data.Metadata.initialFlatDataView;this._checkGeneratedSchema()}return this._super(data,context)},isTransformedToHierarchicalData:function(isTransformed){if(isTransformed===undefined||isTransformed===null){return this._transformedHierarchicaData}this._transformedHierarchicaData=isTransformed},transformToHierarchicalData:function(data){if($.type(data)!=="array"){return data}var i,rowData,nData,parents=[],children=[],dataLen=data.length;for(i=0;i<dataLen;i++){rowData=$.extend(true,{},data[i]);if(this._hasRecordParent(rowData,data)){children.push(rowData)}else{parents.push(rowData)}}nData=this._getDataLayouts(parents,children);this.isTransformedToHierarchicalData(true);return nData},_getDataLayouts:function(parents,children){var i,pLen=parents.length,key=this.settings.primaryKey,layoutKey=this.settings.treeDS.childDataKey,res=[],parent,cp;for(i=0;i<pLen;i++){parent=parents[i];cp=this._getChildrenByKeyInFlatDS(parents[i][key],children);children=cp.others;if(cp.children.length>0){parent[layoutKey]=this._getDataLayouts(cp.children,children)}res.push(parent)}return res},_getChildrenByKeyInFlatDS:function(foreignKey,data){
var i,dr,len=data.length,fKey=this.settings.treeDS.foreignKey,others=[],children=[];for(i=0;i<len;i++){dr=data[i];if(dr[fKey]===foreignKey){children.push(dr)}else{others.push(dr)}}return{children:children,others:others}},_hasRecordParent:function(dataRecord,ds){var i,dataRecordKey,dataRecordPKey,dsRowKey,dsLen,s=this.settings.treeDS,rlv=s.foreignKeyRootValue,foreignKey=s.foreignKey,key=this.settings.primaryKey;dataRecordPKey=dataRecord[foreignKey];if(dataRecordPKey===null||dataRecordPKey===undefined){return false}if(rlv===false){dataRecordKey=dataRecord[key];if(dataRecordKey===null||dataRecordKey===undefined){return false}dsLen=ds.length;for(i=0;i<dsLen;i++){dsRowKey=ds[i][key];if(dsRowKey!==dataRecordKey&&dsRowKey===dataRecordPKey){return true}}return false}return dataRecordPKey!==rlv},_transformSchema:function(data){if(this.settings.treeDS.initialFlatDataView){return this._transformCallback(data)}return this.processDataPerLevel(data,0)},processDataPerLevel:function(data,level,suppressTransformation){var i,layoutKey=this.settings.treeDS.childDataKey,dataLen,dataRow,isRootLevel=false,expDepth=this.settings.treeDS.initialExpandDepth,exp,nData=[],s=this.schema(),layout,hasChildren,lLen,propertyExp=this.settings.treeDS.expandedKey,propertyDataLevel=this.settings.treeDS.dataLevelKey,applyPropertyDataLevel=propertyDataLevel!==null&&propertyDataLevel!==undefined,applyPropertyExp=propertyExp!==null&&propertyExp!==undefined;if(!data){data=this.data()}if($.type(data)==="object"){data=s._getDataBySearchField(data)}if(!level){if(!this._isHierarchicalDataSource&&!this.isTransformedToHierarchicalData()){if(this.metadata("flatToHierarchicalDataTransformed")){this.isTransformedToHierarchicalData(true)}else{data=this.transformToHierarchicalData(data)}}this._totalRecordsCount=0;this._flatData=[];isRootLevel=true;level=0}if(!data){return data}if($.type(data)==="array"){if(!this._dataBoundDepth){this._dataBoundDepth=0}if(level>this._dataBoundDepth){this._dataBoundDepth=level}dataLen=data.length;try{for(i=0;i<dataLen;i++){dataRow=data[i];if(!dataRow){continue}this._totalRecordsCount++;layout=dataRow[layoutKey];exp=dataRow[propertyExp];if(!suppressTransformation){dataRow=s._row(dataRow,i)}this._flatData.push(dataRow);nData.push(dataRow);hasChildren=$.type(layout)==="array";lLen=-1;if(hasChildren){lLen=layout.length}if(applyPropertyExp){if(exp===undefined||exp===null){exp=true;if(hasChildren&&lLen===0){exp=false}if(expDepth!==-1&&expDepth<=level){exp=false}}if(exp===0){exp=false}dataRow[propertyExp]=exp}if(applyPropertyDataLevel){dataRow[propertyDataLevel]=level}if(hasChildren&&lLen>0){dataRow[layoutKey]=this.processDataPerLevel(layout,level+1,suppressTransformation)}}}catch(e){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","errorParsingArrays")+e.message)}}else{nData=this._transformCallback(data)}if(isRootLevel){this._generatedFlatData=true}return nData},getFlatDataForRecord:function(record,level){if(!record){return}var layoutKey=this.settings.treeDS.childDataKey,propertyDataLevel=this.settings.treeDS.dataLevelKey,data=record[layoutKey];if(data){if(level===undefined||level===null){level=0;if(propertyDataLevel!==null&&propertyDataLevel!==undefined&&record[propertyDataLevel]){level=record[propertyDataLevel]}}return this.generateFlatData(data,level)}},generateFlatData:function(data,level){var obj,flatData=[],flatVisibleData=[];if(!level){level=0}obj={flatData:flatData,flatVisibleData:flatVisibleData,recordsCount:0,visibleRecordsCount:0};this._generateFlatDataRecursive(data,level,obj,false);return obj},_generateFlatDataRecursive:function(data,level,obj,parentCollapsed){var i,dataRow,dataLen,exp,expDepth=this.settings.treeDS.initialExpandDepth,propertyExp=this.settings.treeDS.expandedKey,propertyDataLevel=this.settings.treeDS.dataLevelKey,layoutKey=this.settings.treeDS.childDataKey,applyPropertyDataLevel=propertyDataLevel!==null&&propertyDataLevel!==undefined,applyPropertyExp=propertyExp!==null&&propertyExp!==undefined;if(!data){data=this.data()}if(!level){level=0}if($.type(data)==="array"){dataLen=data.length;for(i=0;i<dataLen;i++){dataRow=data[i];if(!dataRow){continue}obj.recordsCount++;obj.flatData.push(data[i]);if(applyPropertyExp){exp=dataRow[propertyExp];if(exp===undefined||exp===null){exp=true;if(expDepth!==-1&&expDepth<=level){exp=false}}if(exp===0){exp=false}dataRow[propertyExp]=exp}if(applyPropertyDataLevel){dataRow[propertyDataLevel]=level}if(!parentCollapsed){obj.flatVisibleData.push(dataRow);obj.visibleRecordsCount++}if(dataRow&&$.type(dataRow[layoutKey])==="array"&&dataRow[layoutKey].length){this._generateFlatDataRecursive(dataRow[layoutKey],level+1,obj,!exp||parentCollapsed)}}}},generateFlatDataView:function(){var data,resObj;if(this.settings.treeDS.initialFlatDataView){this._flatDataView=this._data;return}data=this.dataView();if(!this.shouldCallGenerateFlatDataView()&&!data.length){data=!this._filter?this.data():this._filteredData}resObj=this.generateFlatData(data);this._flatDataView=resObj.flatVisibleData},flatDataView:function(){if(this.settings.treeDS.initialFlatDataView){return this._data}return this._flatDataView},_generateFlatDataAndCountProperties:function(){var data=!this._filter?this.data():this._filteredData,resObj=this.generateFlatData(data);this._flatData=resObj.flatData;this._totalRecordsCount=resObj.recordsCount;this._flatVisibleData=resObj.flatVisibleData},getVisibleFlatData:function(){if(!this._flatVisibleData){this._generateFlatDataAndCountProperties()}return this._flatVisibleData},getFlatData:function(){if(!this._flatData||this._flatData.length!==this._totalRecordsCount){this._generateFlatDataAndCountProperties()}return this._flatData},getFlatDataCount:function(){return this._totalRecordsCount},_page:function(keepRecords){if(this.settings.treeDS.paging.mode==="rootLevelOnly"){return this._super(keepRecords)}var count=0,startIndex,endIndex,i=0;if(keepRecords===undefined){keepRecords=false}if(keepRecords){count=this._flatVisibleData.length}else{this._flatDataView=[]}this._generateFlatDataAndCountProperties();startIndex=this.pageIndex()*this.pageSize();endIndex=startIndex+this.pageSize()>=this._flatVisibleData.length?this._flatVisibleData.length:startIndex+this.pageSize();for(i=startIndex;i<endIndex;i++){this._flatDataView[count++]=this._flatVisibleData[i]}},setExpandedStateByRowIndex:function(index,expanded,callbackArgs){var rec=this.flatDataView()[index];return this._expandCollapseRecord(rec,expanded,callbackArgs)},setExpandedStateByPrimaryKey:function(rowId,expanded,callbackArgs){var rec=this.findRecordByKey(rowId,null);return this._expandCollapseRecord(rec,expanded,callbackArgs)},getExpandStateById:function(rowId){var rec=this.findRecordByKey(rowId),propertyExp=this.settings.treeDS.expandedKey,applyPropertyExp=propertyExp!==null&&propertyExp!==undefined;if(!rec||!applyPropertyExp){return}return rec[propertyExp]},toggleRow:function(rowId,callbackArgs){var rec=this.findRecordByKey(rowId),expanded,propertyExp=this.settings.treeDS.expandedKey,applyPropertyExp=propertyExp!==null&&propertyExp!==undefined;if(!rec||!applyPropertyExp){return}expanded=!rec[propertyExp];return this._expandCollapseRecord(rec,expanded,callbackArgs)},_encodeUrlPath:function(path,depth){var p="path="+path;if(depth!==undefined){p+="&depth="+depth}return p},_requestDataSuccess:function(requestArgs,data){var layoutKey=this.settings.treeDS.childDataKey,layoutData,level,record,callbackArgs,expand;if($.type(data)==="object"){record=requestArgs.record;callbackArgs=requestArgs.callbackArgs;expand=requestArgs.expand;level=record[this.settings.treeDS.dataLevelKey];layoutData=this.processDataPerLevel(data,level+1);record[layoutKey]=layoutData;this._onRecordToggled(record,expand,callbackArgs)}},_encodeUrl:function(){var params=this._super(),s=this.settings.treeDS,paramName;if(s.persistExpansionStates){params=this._encodeExpansionStates(params)}if(s.foreignKey){params.fk=s.foreignKey;if(s.foreignKeyRootValue!==undefined){params.fkRootValue=s.foreignKeyRootValue}}paramName=s.propertyDataLevel?"propertyDataLevel":"dataLevelKey";params[paramName]=s[paramName];paramName=s.propertyExpanded?"propertyExpanded":"expandedKey";params[paramName]=s[paramName];params.childDataKey=s.childDataKey;params.initialExpandDepth=s.initialExpandDepth;if(s.enableRemoteLoadOnDemand){params.loadOnDemand=true}return params},_encodePagingParams:function(params){var p=this.settings.paging;this._super(params);if(p.enabled&&p.type==="remote"){params.pagingParams["paging.mode"]=this.settings.treeDS.paging.mode;params.pagingParams["paging.contextRowMode"]=this.settings.treeDS.paging.contextRowMode}},_encodeSortingParams:function(params){var s=this.settings.sorting;this._super(params);if(s.enabled&&s.type==="remote"){params.sortingParams["sorting.fromLevel"]=this.settings.treeDS.sorting.fromLevel;params.sortingParams["sorting.toLevel"]=this.settings.treeDS.sorting.toLevel}},_encodeFilteringParams:function(params){var f=this.settings.filtering;this._super(params);if(f.enabled&&f.type==="remote"){params.filteringParams["filtering.fromLevel"]=this.settings.treeDS.filtering.fromLevel;params.filteringParams["filtering.toLevel"]=this.settings.treeDS.filtering.toLevel;params.filteringParams.__matchFiltering=this.settings.treeDS.filtering.matchFiltering;params.filteringParams["filtering.displayMode"]=this.settings.treeDS.filtering.displayMode}},_encodeExpansionStates:function(params){var key,listHasValues=false,list=this._listExpansionStates,newList;if(list){newList={};for(key in list){if(list.hasOwnProperty(key)){listHasValues=true;newList[key]=list[key].state}}if(listHasValues){params.listExpansionStates=newList}}return params},_requestData:function(record,expand,callbackArgs){if(!record){return}var opts,me=this,url,path,params,func,s=this.settings.treeDS,args={record:record,callbackArgs:callbackArgs,expand:expand};path=this.getPathBy(record);params=this._encodeUrl();params.expand=expand;url=s.dataSourceUrl+"?"+this._encodeUrlPath(path,record[s.dataLevelKey]);func=s.customEncodeUrlFunc;if(func){if($.type(func)!=="function"){if(window[func]&&typeof window[func]==="function"){func=window[func]}else{func=null}}if(func){url=func(record,expand)}}opts={type:"GET",url:url,data:params,success:function(data,textStatus,jqXHR){var func=s.requestDataErrorCallback,noCancel=true;if($.type(func)==="function"){noCancel=func(args,data,textStatus,jqXHR)}if(noCancel){me._requestDataSuccess(args,data,textStatus,jqXHR)}},error:function(jqXHR,textStatus,errorThrown){var func=s.requestDataErrorCallback;if($.type(func)==="function"){func(args,jqXHR,textStatus,errorThrown)}}};$.ajax(opts)},_applyToggleCallback:function(resObj,callbackArgs){if(!callbackArgs){return}var rec=resObj.record,res=resObj.result,expand=resObj.expand,callback=callbackArgs.callback,args=callbackArgs.args;if(!callback||$.type(callback)!=="function"){return}callback(rec,expand,res,args)},_saveExpansionStateByPKVal:function(pkVal,expand){if(this.settings.treeDS.persistExpansionStates){if(!this._listExpansionStates){this._listExpansionStates={}}if(pkVal!==null&&pkVal!==undefined){if(this._listExpansionStates[pkVal]&&this._listExpansionStates[pkVal].initState===expand){delete this._listExpansionStates[pkVal]}else{this._listExpansionStates[pkVal]={state:expand,initState:!expand}}}}},_onRecordToggled:function(record,expand,callbackArgs){var propertyExp=this.settings.treeDS.expandedKey,filteredRecord=null,res=record,resObj,paging=this.settings.paging,pkVal,applyPropertyExp=propertyExp!==null&&propertyExp!==undefined;resObj={result:false,record:res,expand:expand};if(!record){this._applyToggleCallback(resObj,callbackArgs);return}pkVal=record[this.settings.primaryKey];if(this._filter){if(pkVal!==null&&pkVal!==undefined){filteredRecord=this.findRecordByKey(pkVal,this._filteredData);if(filteredRecord){res=filteredRecord}}}if(applyPropertyExp){record[propertyExp]=expand;if(filteredRecord){filteredRecord[propertyExp]=expand}if(this.settings.treeDS.persistExpansionStates&&!this.settings.treeDS.enableRemoteLoadOnDemand){this.dataBind()}else{if(paging&&paging.enabled&&this.settings.treeDS.paging.mode!=="rootLevelOnly"){if(paging.type==="local"){this._page();this._invokeCallback()}}else{if(this.shouldCallGenerateFlatDataView()){this.generateFlatDataView()}}}}resObj.result=true;resObj.record=res;this._applyToggleCallback(resObj,callbackArgs)},_expandCollapseRecord:function(record,expand,callbackArgs){if(!record){return}var s=this.settings,treeSettings=s.treeDS,func,layout,layoutKey=treeSettings.childDataKey;this._saveExpansionStateByPKVal(record[this.settings.primaryKey],expand);if(s.paging.enabled&&s.paging.type==="remote"&&treeSettings.paging.mode==="allLevels"){this.dataBind();return}if(expand&&treeSettings.enableRemoteLoadOnDemand){layout=record[layoutKey];if(layout===true||$.type(layout)==="array"&&!layout.length){func=treeSettings.requestDataCallback;if($.type(func)==="string"){func=window[func]}if($.type(func)!=="function"){func=$.proxy(this._requestData,this)}func(record,expand,callbackArgs);return}}this._onRecordToggled(record,expand,callbackArgs)},sort:function(fields,direction){var s=this.settings.sorting,p=this.settings.paging,data,resetPaging=false;if(fields===undefined||fields===null){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","noSortingFields"))}this._generatedFlatData=false;if(s.applyToAllData&&s.type==="local"){if(this._filter&&(p.type==="local"&&p.enabled===true||p.enabled===false||p.type==="remote"&&p.enabled===true&&this.settings.filtering.type==="local")){data=this._filteredData}else{data=this.data()}resetPaging=true}else{data=this.dataView()}data=this.sortDataRecursive(data,0,fields,direction);if(resetPaging&&p.type==="local"){if(!this._filter){this._data=data}else{this._filteredData=data}this._page()}else{this._dataView=data}if(this.shouldCallGenerateFlatDataView()){this.generateFlatDataView()}this._populateTransformedData(data);return this},sortDataRecursive:function(data,level,fields,direction){var layoutKey=this.settings.treeDS.childDataKey,i,childDS,dataLen=data.length,s=this.settings.treeDS.sorting;if(s.toLevel===-1||s.toLevel>=level){for(i=0;i<dataLen;i++){childDS=data[i][layoutKey];if(childDS&&childDS.length>0){childDS=this.sortDataRecursive(childDS,level+1,fields,direction)}}}if((s.fromLevel<=level||s.fromLevel===-1)&&(s.toLevel>=level||s.toLevel===-1)){data=this.sortData(data,fields,direction)}return data},sortData:function(data,fields,direction){var s=this.settings.sorting,schema,sortF,convertFunc,settings=this.settings,self=this;if($.type(s.customFunc)==="function"){data=s.customFunc(data,fields,direction)}else{schema=this.settings.schema;if(!direction){direction=""}if($.type(s.compareFunc)==="function"){sortF=s.compareFunc}else{sortF=function(grid,fields,schema,reverse,convertf,caseSensitive){reverse=reverse?-1:1;function compareVals(format,enableUTCDates,rowTemplate,x,y){if(format){if($.type(x)==="date"&&$.type(y)==="date"){if(format==="time"||format==="timeLong"||format==="h:mm:ss tt"){x=new Date("January 01, 2000 "+$.ig.formatter(x,"date",format,rowTemplate,enableUTCDates));y=new Date("January 01, 2000 "+$.ig.formatter(y,"date",format,rowTemplate,enableUTCDates))}}}if((x===null||x===undefined)&&(y===null||y===undefined)){return 0}if((x===null||x===undefined)&&y!==null&&y!==undefined){return-1}if(x!==null&&x!==undefined&&(y===null||y===undefined)){return 1}return x>y?1:x<y?-1:0}return function(obj1,obj2){var i,f,arr1=[],arr2=[],a,b,key,col,format,o,enableUTCDates,rowTemplate;if(grid){o=grid.options;enableUTCDates=o.enableUTCDates;rowTemplate=!o.rowTemplate||o.rowTemplate.length<=0}for(i=0;i<fields.length;i++){key=fields[i].fieldName;if(grid&&grid.columnByKey){col=grid.columnByKey(key);if(col!==undefined&&col!==null){format=col.format}}if(fields[i].layout&&(settings.key&&settings.key!==fields[i].layout||!settings.key)){continue}f=fields[i];if(f.fieldIndex>=0){f.fieldName=f.fieldIndex}a=self.getCellValue(f.fieldName,obj1);b=self.getCellValue(f.fieldName,obj2);if(convertf!==undefined){a=convertf(a,f.fieldName);b=convertf(b,f.fieldName)}if(caseSensitive===false){if(a!==undefined&&a!==null&&a.toLowerCase){a=a.toLowerCase()}if(b!==undefined&&b!==null&&b.toLowerCase){b=b.toLowerCase()}}if(f.dir!==undefined&&f.dir!==null){reverse=f.dir.toLowerCase().startsWith("desc");reverse=reverse?-1:1}else if(direction!==undefined&&direction!==null&&direction!==""){reverse=direction.toLowerCase().startsWith("desc");reverse=reverse?-1:1}if(fields.length===1){arr1=reverse*compareVals(format,enableUTCDates,rowTemplate,a,b);arr2=reverse*compareVals(format,enableUTCDates,rowTemplate,b,a)}else{if(reverse===-1){arr1.push(-compareVals(format,enableUTCDates,rowTemplate,a,b));arr2.push(-compareVals(format,enableUTCDates,rowTemplate,b,a))}else{arr1.push(compareVals(format,enableUTCDates,rowTemplate,a,b));arr2.push(compareVals(format,enableUTCDates,rowTemplate,b,a))}}}if(arr1<arr2){return-1}if(arr1>arr2){return 1}return 0}}}if($.isFunction(s.customConvertFunc)){convertFunc=s.customConvertFunc}if($.type(fields)==="string"){fields=this._parseSortExpressions(fields)}if(fields.length>0){data=data.sort(sortF(this.settings.callee,fields,schema,direction.toLowerCase().startsWith("asc")?false:true,convertFunc,s.caseSensitive));this._allDataSorted=data===this.data()}}return data},totalLocalRecordsCount:function(){var fdv=this._flatVisibleData;if(fdv&&this.settings.paging.type!=="remote"&&this.settings.treeDS.paging.mode!=="rootLevelOnly"){return fdv.length}return this._super()},pageCount:function(){var p=this.settings.paging;if(p.enabled&&p.type==="local"&&this.settings.treeDS.paging.mode==="allLevels"){return Math.ceil(this.totalLocalRecordsCount()/p.pageSize)||1}return this._super.apply(this,arguments)},getFilteringMatchRecordsCount:function(){var count=this.metadata("filtering.countRecords");if(count!==undefined&&count!==null){return count}return this.totalRecordsCount()},filter:function(fieldExpressions,boolLogic,keepFilterState,fieldExpressionsOnStrings){var i,f=this.settings.filtering,p=this.settings.paging,data,resetPaging;if(f.applyToAllData&&f.type==="local"){data=this.data();resetPaging=true}else{if(this._cachedDataView&&this._cachedDataView.length>0){data=this._cachedDataView}else{this._cachedDataView=$.merge([],this.dataView());data=this._cachedDataView}}this._filteredRecordsCount=0;this._generatedFlatData=false;this._filteredData=this._filterDataRecursive(data,0,fieldExpressions,boolLogic,keepFilterState,fieldExpressionsOnStrings);this._dataView=[];this._filter=true;if(resetPaging&&p.type==="local"&&p.enabled===true){this.settings.paging.pageIndex=0;this.pageSizeDirty(true);this._page()}else{for(i=0;i<this._filteredData.length;i++){this._dataView[i]=this._filteredData[i]}}if(this.shouldCallGenerateFlatDataView()){this.generateFlatDataView()}this._populateTransformedData(this._filteredData);return this},_filterDataRecursive:function(data,level,fieldExpressions,boolLogic,keepFilterState,fieldExpressionsOnStrings){var i,j,expr=null,count=0,skipRec=false,f=this.settings.filtering,foundChildDS,subDS,t,k,schema,fields,tmpbool,allFieldsExpr,stringVal,fExprLen,fExprStrLen,propertyExp=this.settings.treeDS.expandedKey,filteredData=[],childDS,layoutKey=this.settings.treeDS.childDataKey,fts=this.settings.treeDS.filtering,matchFiltering=fts.matchFiltering;schema=this.schema();if(schema===null||schema===undefined){throw new Error($.ig.util.getLocaleValue("DataSourceLocale","filteringNoSchema"))}if($.type(fieldExpressions)==="string"){expr=fieldExpressions}if($.type(fieldExpressionsOnStrings)==="string"){allFieldsExpr=fieldExpressionsOnStrings}else if($.type(fieldExpressionsOnStrings)==="undefined"){fieldExpressionsOnStrings=[]}if($.type(fieldExpressions)==="array"&&fieldExpressions.length===0&&$.type(fieldExpressionsOnStrings)==="array"&&fieldExpressionsOnStrings.length===0){return}if($.type(f.customFunc)==="function"){filteredData=f.customFunc(fieldExpressions,data)}else{if(expr){fieldExpressions=this._parseFilterExprString(expr)}if(allFieldsExpr){fieldExpressionsOnStrings=this._parseFilterExprString(allFieldsExpr)}fExprLen=fieldExpressions.length;fExprStrLen=fieldExpressionsOnStrings.length;for(i=0;i<data.length;i++){if(matchFiltering){delete data[i][matchFiltering]}if(!((fts.fromLevel<=level||fts.fromLevel===-1)&&(fts.toLevel>=level||fts.toLevel===-1))){childDS=data[i][layoutKey];if(childDS&&childDS.length){childDS=this._filterDataRecursive(childDS,level+1,fieldExpressions,boolLogic,keepFilterState,fieldExpressionsOnStrings);if(childDS&&childDS.length>0){filteredData[count++]=$.extend(true,{},data[i]);filteredData[count-1][layoutKey]=childDS}}continue}skipRec=false;for(j=0;j<fExprLen;j++){fields=schema.fields();if(fieldExpressions[j].fieldIndex!==undefined){if(fieldExpressions[j].fieldIndex<fields.length){t=this._getFieldTypeFromSchema(fields[fieldExpressions[j].fieldIndex].name)}skipRec=!this._findMatch(data[i][fieldExpressions[j].fieldIndex],fieldExpressions[j].expr,t,!f.caseSensitive,fieldExpressions[j].cond,fieldExpressions[j].preciseDateFormat)}else{if(fieldExpressions[j].dataType!==undefined&&fieldExpressions[j].dataType!==null){t=fieldExpressions[j].dataType}else{for(k=0;k<fields.length;k++){if(fields[k].name===fieldExpressions[j].fieldName){t=this._getFieldTypeFromSchema(fields[k].name);break}}}skipRec=!this._findMatch(data[i][fieldExpressions[j].fieldName],fieldExpressions[j].expr,t,!f.caseSensitive,fieldExpressions[j].cond,fieldExpressions[j].preciseDateFormat,fieldExpressions[j].fieldName,data[i])}tmpbool=fieldExpressions[j].logic!==null&&fieldExpressions[j].logic!==undefined&&(fieldExpressions[j].logic.toLowerCase()==="or"||fieldExpressions[j].logic.toLowerCase()==="and")?fieldExpressions[j].logic:boolLogic;if(tmpbool===undefined||tmpbool===null||$.type(tmpbool)!=="string"){tmpbool="and"}if(skipRec&&tmpbool.toLowerCase()==="and"){break}if(!skipRec&&tmpbool.toLowerCase()==="or"){break}}if(!skipRec&&fExprStrLen){for(j=0;j<fExprStrLen;j++){fields=schema.fields();if(fieldExpressionsOnStrings[j].fieldIndex){if(fieldExpressionsOnStrings[j].fieldIndex<fields.length){t=this._getFieldTypeFromSchema(fields[fieldExpressionsOnStrings[j].fieldIndex].name)}stringVal=data[i][fieldExpressionsOnStrings[j].fieldIndex]?data[i][fieldExpressionsOnStrings[j].fieldIndex].toString():"";skipRec=!this._findMatch(stringVal,fieldExpressionsOnStrings[j].expr,"string",!f.caseSensitive,fieldExpressionsOnStrings[j].cond,fieldExpressionsOnStrings[j].preciseDateFormat,fieldExpressionsOnStrings[j].fieldName,data[i])}else{for(k=0;k<fields.length;k++){if(fields[k].name===fieldExpressionsOnStrings[j].fieldName){t=this._getFieldTypeFromSchema(fields[k].name);break}}stringVal=data[i][fieldExpressionsOnStrings[j].fieldName]!==null&&data[i][fieldExpressionsOnStrings[j].fieldName]!==undefined?data[i][fieldExpressionsOnStrings[j].fieldName].toString():"";skipRec=!this._findMatch(stringVal,fieldExpressionsOnStrings[j].expr,"string",!f.caseSensitive,fieldExpressionsOnStrings[j].cond,fieldExpressionsOnStrings[j].preciseDateFormat,fieldExpressionsOnStrings[j].fieldName,data[i])}tmpbool=fieldExpressionsOnStrings[j].logic!==null&&fieldExpressionsOnStrings[j].logic!==undefined&&(fieldExpressionsOnStrings[j].logic.toLowerCase()==="or"||fieldExpressionsOnStrings[j].logic.toLowerCase()==="and")?fieldExpressionsOnStrings[j].logic:boolLogic;if(tmpbool===undefined||tmpbool===null||$.type(tmpbool)!=="string"){tmpbool="and"}if(skipRec&&tmpbool.toLowerCase()==="and"){break}if(!skipRec&&tmpbool.toLowerCase()==="or"){break}}}foundChildDS=false;childDS=data[i][layoutKey];subDS=null;if(childDS&&childDS.length){childDS=this._filterDataRecursive(childDS,level+1,fieldExpressions,boolLogic,keepFilterState,fieldExpressionsOnStrings);if(childDS&&childDS.length>0){subDS=data[i][layoutKey];data[i][layoutKey]=null;filteredData[count++]=$.extend(true,{},data[i]);data[i][layoutKey]=subDS;filteredData[count-1][layoutKey]=childDS;foundChildDS=true;if(propertyExp){filteredData[count-1][propertyExp]=true}if(!skipRec&&matchFiltering){filteredData[count-1][matchFiltering]=true;this._filteredRecordsCount++}}}if(!skipRec&&!foundChildDS){if(fts.displayMode==="showWithAncestors"&&childDS){subDS=data[i][layoutKey];data[i][layoutKey]=null;filteredData[count]=$.extend(true,{},data[i]);data[i][layoutKey]=subDS;filteredData[count][layoutKey]=null;count++}else{if(childDS){subDS=data[i][layoutKey];data[i][layoutKey]=null}filteredData[count]=$.extend(true,{},data[i]);if(subDS){filteredData[count][layoutKey]=subDS;data[i][layoutKey]=subDS}count++}this._filteredRecordsCount++;if(matchFiltering){filteredData[count-1][matchFiltering]=true}if(childDS&&propertyExp){filteredData[count-1][propertyExp]=false}}}}return filteredData},getFilteredRecordsCountFromDataView:function(){var fdv=this.flatDataView(),i,count=0,propMatchFiltering=this.settings.treeDS.filtering.matchFiltering;if(this._filter){for(i=0;i<fdv.length;i++){if(fdv[i][propMatchFiltering]){count++}}}return count},getFilteredRecordsCount:function(){if(this._filter){return this._filteredRecordsCount}return 0},clearLocalFilter:function(){this.clearMatchFiltering();this._super();this._filter=false;if(this.shouldCallGenerateFlatDataView()){this.generateFlatDataView()}},shouldCallGenerateFlatDataView:function(){var s=this.settings,paging=s.paging;return!paging||!paging.enabled||paging.type!=="local"||this.settings.treeDS.paging.mode==="rootLevelOnly"},clearMatchFiltering:function(data){var i,fts=this.settings.treeDS.filtering,dataLen,layout,matchFiltering=fts.matchFiltering,layoutKey=this.settings.treeDS.childDataKey;if(!matchFiltering){return}if(!data){data=this._filteredData;if(!data){return}}dataLen=data.length;for(i=0;i<dataLen;i++){delete data[i][matchFiltering];layout=data[i][layoutKey];if(layout){this.clearMatchFiltering(layout)}}},getPathBy:function(record){if(record===null||record===undefined){return null}var data=this._data,resRecord,search,key,objPath={path:""},path,len=data?data.length:0;search=len>0&&$.isArray(data[0])?this._lookupPkIndex():this.settings.primaryKey;if($.type(record)!=="object"){key=record}else{key=record[search]}resRecord=this.findRecordByKey(key,null,objPath);if(!resRecord){return null}path=objPath.path;if(path!==""){path+="/"}return path+key},_findIndexInFlatDS:function(ds,foreignKeyValue,targetInd){var i,dr,fKey=this.settings.treeDS.foreignKey,len=ds.length,lastInd,layoutInd=0,foundLayout=false;for(i=0;i<len;i++){dr=ds[i];if(dr[fKey]===foreignKeyValue){foundLayout=true;lastInd=i;if(targetInd===layoutInd){return i}layoutInd++}}if(foundLayout){return++lastInd}return-1},findRecordByKey:function(key,ds,objPath){var i,d,layouts=[],res,path,data=ds||this._data,len=data?data.length:0,dsLayoutKey=this.settings.treeDS.childDataKey,search=len>0&&$.isArray(data[0])?this._lookupPkIndex():this.settings.primaryKey;objPath=objPath||{path:"",parentRows:[]};objPath.parentRows=objPath.parentRows||[];objPath.path=objPath.path||"";for(i=0;i<len;i++){d=data[i];if(d[search]===key){objPath.parentRows.push({row:d,level:d[this.settings.treeDS.dataLevelKey]});return data[i]}if(d[dsLayoutKey]){path=objPath.path;if(path!==""){path+="/"}layouts.push({layout:d[dsLayoutKey],objPath:{path:path+d[search],parentRows:objPath.parentRows.concat({row:d,level:d[this.settings.treeDS.dataLevelKey]})}})}}len=layouts.length;for(i=0;i<len;i++){res=this.findRecordByKey(key,layouts[i].layout,layouts[i].objPath);objPath.path=layouts[i].objPath.path;objPath.parentRows=layouts[i].objPath.parentRows;if(res){return res}}return null},_invokeCallback:function(callee,callback){if(!this.schema()&&this._dataBinding){this._data=this.processDataPerLevel(this._data,0,true)}if(this.shouldCallGenerateFlatDataView()){this.generateFlatDataView()}this._super(callee,callback)},removeRecordByKey:function(key,origDs){var data,count=0,all=[this._data];this._addOnlyUniqueToCollection(all,this._dataView);this._addOnlyUniqueToCollection(all,this._filteredData);if(!this._isHierarchicalDataSource){this._removeRecordInFlatDs(origDs,key)}else{this._addOnlyUniqueToCollection(all,origDs)}while(count<all.length){data=all[count++];this._removeRecordByKeyForData(key,data)}},_removeRecordInFlatDs:function(data,key,fk){if(!data||!$.isArray(data)||!data.length||key===undefined&&fk===undefined){return}var i,prime=this.settings.primaryKey,tmp,pkSearch=$.isArray(data[0])?this._lookupPkIndex():prime,fkSearch=this.settings.treeDS.foreignKey;for(i=0;i<data.length;i++){if(data[i]){if(key!==undefined&&data[i][pkSearch]===key){$.ig.removeFromArray(data,i);this._removeRecordInFlatDs(data,undefined,key);break}else if(fk!==undefined&&data[i][fkSearch]===fk){tmp=data[i][pkSearch];$.ig.removeFromArray(data,i);this._removeRecordInFlatDs(data,undefined,tmp);i=0}}}},_removeRecordByKeyForData:function(key,data){if(!data){return false}var i,prime=this.settings.primaryKey,len=data?data.length:0,search=len>0&&$.isArray(data[0])?this._lookupPkIndex():prime,layoutKey=this.settings.treeDS.childDataKey,layoutData=[],found=false;for(i=0;i<len;i++){if(data[i]){if(data[i][search]===key){$.ig.removeFromArray(data,i);found=true;break}if(data[i][layoutKey]){layoutData.push(data[i][layoutKey])}}}if(!found){len=layoutData.length;for(i=0;i<len;i++){found=this._removeRecordByKeyForData(key,layoutData[i]);if(found){return true}}}else{return true}return false},deleteRow:function(rowId,autoCommit){var ret=this._super.call(this,rowId,autoCommit);this._dataBoundDepth=null;this.getDataBoundDepth();return ret},getChildrenByKey:function(key,ds){var childKey=this.settings.treeDS.childDataKey,rec=this.findRecordByKey(key,ds);if(rec&&rec[childKey]){return rec[childKey]}return null},insertRow:function(rowId,rowObject,rowIndex,autoCommit,parentRowId){if(parentRowId===null||parentRowId===undefined){return this._super(rowId,rowObject,rowIndex,autoCommit)}var t=this._createInsertNodeTransaction(rowId,rowObject,rowIndex,parentRowId);this._addTransaction(t);if(autoCommit===true){this.commit(rowId)}if($.type(this.settings.rowInserted)==="function"){if(this.settings.callee){this.settings.rowInserted.apply(this.settings.callee,[{rowId:rowId,row:rowObject,parentRowId:parentRowId,rowIndex:rowIndex},this])}else{this.settings.rowInserted({rowId:rowId,row:rowObject,parentRowId:parentRowId,rowIndex:rowIndex},this)}}return t},_createInsertNodeTransaction:function(rowId,rowObject,rowIndex,parentRowId){return{type:"insertnode",tid:this._generateTransactionId(),row:rowObject,rowId:rowId,rowIndex:rowIndex,parentRowId:parentRowId}},_commitTransaction:function(t){var origDs,dv,rec;if(t.type==="insertnode"){origDs=this.settings.localSchemaTransform?this._origDs:null;if(origDs===this._data){origDs=null}this._addRow(t.row,t.rowIndex,origDs,t.parentRowId);this._removeTransactionByTransactionId(t.tid)}else{this._super(t);if(this._filter&&(t.type==="cell"||t.type==="row")){dv=this.dataView();rec=this.findRecordByKey(t.rowId,dv);if(rec){this._updateRecOnCommit(t,[rec])}}}if(!this.settings.paging.enabled||!(t.type==="cell"||t.type==="row")){if(this.settings.paging.type!=="remote"){this._generateFlatDataAndCountProperties()}this.generateFlatDataView()}},_preprocessAddRow:function(row,index,origDs,at,data){var newRow,recAt,res={parentRec:null,cashedData:data,layoutData:null},childKey=this.settings.treeDS.childDataKey;if(at===undefined||at===null||!data){res.layoutData=data;return res}if(!this._isHierarchicalDataSource&&data===origDs){if($.type(row)==="object"){newRow=$.extend(true,{},row)}if(this.settings.treeDS.foreignKey!==null){newRow[this.settings.treeDS.foreignKey]=at}data.push(newRow);return res}recAt=this.findRecordByKey(at,data);if(!recAt){return res}recAt[childKey]=recAt[childKey]||[];res.parentRec=recAt;res.layoutData=recAt[childKey];return res},_postprocessAddRow:function(row,index,origDs,at,pdata){var parentRec=pdata?pdata.parentRec:null,childKey=this.settings.treeDS.childDataKey;if(parentRec&&pdata.newData&&childKey!==null){parentRec[childKey]=pdata.newData;if(parentRec[this.settings.treeDS.dataLevelKey]===this.getDataBoundDepth()){this._dataBoundDepth++;
}}},_addRow:function(row,index,origDs,at){var ret=this._super.call(this,row,index,origDs,at);if(at!==undefined&&at!==null&&!this.settings.treeDS.dataLevelKey){this._dataBoundDepth=null;this.getDataBoundDepth()}return ret}})})($);/*!@license
 * Infragistics.Web.ClientUI Templating Engine 21.2.12
 *
 * Copyright (c) 2011-2022 Infragistics Inc.
 *
 * Engine used for data templating
 *
 * http://www.infragistics.com/
 *
 * Depends on:
 *	jquery.js
 *  infragistics.util.jquery.js
 */
(function($){$.ig=$.ig||{};$.extend($.ig,{tmpl:function(template,data,args){var tmpl=template,cacheConst;if(tmpl){tmpl=tmpl.replace(this.regExp.lineBreak,"");tmpl=tmpl.replace(this.regExp.comment,"");if(typeof data==="function"){if(args){data=data.apply(this,args)}else{data=data.call()}}if(this._internalTmplCache&&this._internalTmplCache.hasOwnProperty(tmpl)){this.tokens=this._internalTmplCache[tmpl].tokens;this.args=this._internalTmplCache[tmpl].args;this.i=this._internalTmplCache[tmpl].i;this._hasBlock=this._internalTmplCache[tmpl]._hasBlock;tmpl=this._internalTmplCache[tmpl].tmpl}else{this.tokens=[];this.args=[];this.i=0;this._tokenizeTemplate(tmpl);cacheConst=tmpl;this._internalTmplCache[cacheConst]={};this._internalTmplCache[cacheConst].tokens=this.tokens;if(this.regExp.block.test(tmpl)){this._hasBlock=true;tmpl=this._tokenizeDirectives(tmpl)}else{this._hasBlock=false}this._internalTmplCache[cacheConst].args=this.args;this._internalTmplCache[cacheConst].i=this.i;this._internalTmplCache[cacheConst]._hasBlock=this._hasBlock;this._internalTmplCache[cacheConst].tmpl=tmpl}if(!this.tokens.length){return tmpl}if(this._hasBlock){tmpl=this._compileTemplate(tmpl,data)}else{tmpl=this._populateTemplate(tmpl,data)}delete this.args;delete this.tokens;delete this._hasBlock;delete this.i}return tmpl},clearTmplCache:function(){delete this._internalTmplCache;this._internalTmplCache={}},regExp:{comment:/\s#[^#]*#/g,sub:/\$\{(([\w\$\-]+(\.|\s)?[\w\$\-]*)+)\}/,nonEncodeSub:/\{\{html\s+([\w\$\-]+(\.|\s)?[\w\$\-]*)+\}\}/,forSub:/\$\{(([\w\$]+\.[\w\$]*)+)\}/,arg:/args\[\d+\](?!.*\+)/,block:/\{\{(\w+).*?\}\}+(.*)(\{\{\/\1\}\})/,blockCont:/\{\{(?!\/)(\S+)(.*)\}\}(.*)/,blockDirective:/\{\{\S+.*?\}\}/,index:/\$i/g,lineBreak:/(\r\n|\n|\r)/gm,lt:/</g,gt:/>/g,ap:/'/g,ic:/"/g,amp:/&/g},_directives:{"if":{start:"if (",close:") {",end:" }"},elseif:{start:" } else if (",close:") {",end:""},"else":{start:" } else {",close:"",end:""},each:{start:"for (var i = 0; i < $data.length; i++) {",close:"",end:" }"}},_internalTmplCache:{},_tokenizeTemplate:function(template){var tempToken,splitName;if(this.regExp.sub.test(template)){tempToken=this.regExp.sub.exec(template);while(tempToken!==null){splitName=tempToken[1].split(".");template=template.replace(new RegExp("\\$\\{"+tempToken[1].replace(/\$/g,"\\$")+"\\}","g"),"");tempToken[3]=new RegExp("\\$\\{"+tempToken[1].replace(/\$/g,"\\$")+"\\}","g");tempToken[1]=splitName;tempToken[2]=true;this.tokens.push(tempToken);tempToken=this.regExp.sub.exec(template)}}if(this.regExp.nonEncodeSub.test(template)){tempToken=this.regExp.nonEncodeSub.exec(template);while(tempToken!==null){splitName=tempToken[1].split(".");template=template.replace(new RegExp("\\{\\{html\\s+"+tempToken[1].replace(/\$/g,"\\$")+"\\}\\}","g"),"");tempToken[3]=new RegExp("\\{\\{html\\s+"+tempToken[1].replace(/\$/g,"\\$")+"\\}\\}","g");tempToken[1]=splitName;tempToken[2]=false;this.tokens.push(tempToken);tempToken=this.regExp.nonEncodeSub.exec(template)}}},_tokenizeDirectives:function(template){var tmpl='var result = "";',tokens=this.regExp.block.exec(template),temp;if(template.indexOf(tokens[0])>0||template.length!==tokens[0].length){temp=template.split(tokens[0]);if(temp[0]&&temp[0].length>0){this.args.push(temp[0]);tmpl+="result += args["+this.i++ +"];"}}tmpl+=this._handleCompleteBlock(tokens);if(temp&&temp.length>0&&temp[1].length>0){this.args.push(temp[1]);tmpl+="result += args["+this.i++ +"];"}tmpl+="return result;";return tmpl},_handleCompleteBlock:function(tokens){var tmpl=tokens[0],template="",blocks=[],i,temp;tmpl=tmpl.replace("{{"+tokens[1],this._directives[tokens[1]].start);if(tokens[1]==="each"){blocks.push(tokens[0].split(tokens[3]));blocks.push(tokens[2].split(tokens[3]));for(i=0;i<blocks[1].length;i++){if(blocks[0][i].indexOf("{{each")>0){temp=blocks[0][i].split("{{each")[0];this.args.push(temp);template+="result += args["+this.i++ +"];";blocks[0][i]=blocks[0][i].substr(blocks[0][i].indexOf("{{each"));temp=this.regExp.blockDirective.exec(blocks[1][i]);blocks[1][i]=blocks[1][i].substr(blocks[1][i].indexOf(temp[0])+temp[0].length)}blocks[0][i]=blocks[0][i].replace("{{"+tokens[1],this._directives[tokens[1]].start);template+=this._handleEach(blocks[0][i]+"{{/each}}",[blocks[0][i]+"{{/each}}","each",blocks[1][i],"{{/each}}"])}}else if(tokens[1]==="if"){template+=this._handleIfElse(tmpl,tokens)}return template},_handleEach:function(template,tokens){var tmpl=template,eachVar,body,forSub,sub,expr;eachVar=this.regExp.sub.exec(tmpl);tmpl=tmpl.replace(eachVar[0],"");tmpl=tmpl.replace("$data",eachVar[0]);body=tokens[2];if(/\$data/.test(body)){body=body.replace(/\$data/g,'" + '+eachVar[0]+'[ i ] + "');this.args.push(eachVar[0]);this.i++}forSub=this.regExp.forSub.exec(body);while(forSub){body=body.replace(new RegExp("\\$\\{"+forSub[1]+"\\}","g"),'" + '+eachVar[0]+"[ i ]"+forSub[1].substr(forSub[1].indexOf("."))+' + "');forSub=this.regExp.forSub.exec(body)}body=body.replace(/\$index/g,'" + i + "');tmpl=tmpl.replace(tokens[2],'result += "'+body+'"');tmpl=tmpl.replace(/\}\}/,this._directives[tokens[1]].close);tmpl=tmpl.replace(tokens[3],this._directives[tokens[1]].end);sub=this.regExp.sub.exec(tmpl);while(sub){expr=new RegExp("\\$\\{"+sub[1]+"\\}","g");tmpl=tmpl.replace(expr,"args["+this.i++ +"]");this.args.push(sub[0]);sub=this.regExp.sub.exec(tmpl)}return tmpl},_handleIfElse:function(template,tokens){var tmpl=template,i=0,htmlStrings,sub,inner,index,tmplArr=[];tmpl=tmpl.replace(/\}\}/,this._directives[tokens[1]].close);index=tmpl.lastIndexOf(tokens[3]);tmpl=tmpl.substr(0,index)+tmpl.slice(index+tokens[3].length-1);if(this.regExp.block.test(tmpl)){inner=this.regExp.block.exec(tmpl);tmpl=tmpl.replace(inner[0],this._handleCompleteBlock(inner))}htmlStrings=tokens[2].split(this.regExp.blockDirective);tmplArr.push(tmpl.slice(0,tmpl.indexOf(") {")+3));tmplArr.push(tmpl.slice(tmpl.indexOf(") {")+3));for(i;i<htmlStrings.length;i++){if(htmlStrings[i]&&htmlStrings[i].length&&htmlStrings[i].length>0){tmplArr[1]=tmplArr[1].replace(htmlStrings[i],"result += args["+this.i++ +"];");this.args.push(htmlStrings[i])}}tmpl=tmplArr.join("");tokens=this.regExp.blockCont.exec(tmpl);while(tokens){tmpl=tmpl.replace("{{"+tokens[1],this._directives[tokens[1]].start);tmpl=tmpl.replace(/\}\}/,this._directives[tokens[1]].close);tokens=this.regExp.blockCont.exec(tmpl)}sub=this.regExp.sub.exec(tmpl);while(sub){tmpl=tmpl.replace(new RegExp("\\$\\{"+sub[1]+"\\}","g"),"args["+this.i++ +"]");this.args.push(sub[0]);sub=this.regExp.sub.exec(tmpl)}return tmpl},_populateTemplate:function(template,data){var i,j,result="",temp;if($.type(data)!=="array"){for(i=0;i<this.tokens.length;i++){template=this._populateArgumentValue(data,this.tokens[i],template)}result=template}else{for(j=0;j<data.length;j++){temp=template;for(i=0;i<this.tokens.length;i++){temp=this._populateArgumentValue(data[j],this.tokens[i],temp)}temp=temp.replace(this.regExp.index,j);result+=temp}}return result},_getUndefinedArgLocale:function(){return $.ig.util?$.ig.util.getLocaleValue("Templating","undefinedArgument"):$.ig.Templating.locale.undefinedArgument},_compileTemplate:function(template,data){var i,j,k,result="",temp,tempArgs=[],arg="",f;if($.type(data)!=="array"){for(j=0;j<this.args.length;j++){arg=this.args[j];for(i=0;i<this.tokens.length;i++){if(arg===this.tokens[i][0]){arg=this._getArgumentValue(data,this.tokens[i],arg);break}else if(typeof arg==="string"){arg=this._populateArgumentValue(data,this.tokens[i],arg)}}if(arg===undefined){throw new Error(this._getUndefinedArgLocale()+this.tokens[i][0])}if(typeof arg==="string"){arg=arg.replace(this.regExp.index,0)}tempArgs.push(arg)}template=template.replace(/\$i/g,0);result=new Function("args",template).call(this,tempArgs)||""}else{temp=template.replace(this.regExp.index,"args["+this.args.length+"]");f=new Function("args",temp);for(j=0;j<data.length;j++){tempArgs=[];for(k=0;k<this.args.length;k++){arg=this.args[k];for(i=0;i<this.tokens.length;i++){if(arg===this.tokens[i][0]){arg=this._getArgumentValue(data[j],this.tokens[i],arg);break}else if(typeof arg==="string"){arg=this._populateArgumentValue(data[j],this.tokens[i],arg)}}if(arg===undefined){throw new Error(this._getUndefinedArgLocale()+this.tokens[i][0])}if(typeof arg==="string"){arg=arg.replace(this.regExp.index,j)}tempArgs.push(arg)}tempArgs.push(j);result+=f.call(this,tempArgs)||""}}return result},_getArgumentValue:function(data,token,arg){var tempData,l;if(token[1].length&&token[1].length>1){tempData=data;for(l=0;l<token[1].length;l++){if(tempData&&tempData.hasOwnProperty(token[1][l])){tempData=tempData[token[1][l]]}else{tempData="";break}}if(token[2]&&typeof tempData==="string"){arg=this.encode(tempData)}else{arg=tempData}}else{if(token[2]&&typeof data[token[1]]==="string"){arg=this.encode(data[token[1]])}else{arg=data[token[1]]}}return arg},_populateArgumentValue:function(data,token,arg){var tempData,l,self=this;if(token[1].length&&token[1].length>1){tempData=data;for(l=0;l<token[1].length;l++){if(tempData&&tempData.hasOwnProperty(token[1][l])){tempData=typeof tempData[token[1][l]]==="function"?tempData[token[1][l]]():tempData[token[1][l]]}else{tempData="";break}}if(token[2]&&typeof tempData==="string"){arg=arg.replace(token[3],function(){return self.encode(tempData)})}else{arg=arg.replace(token[3],function(){return tempData===null?"":tempData})}}else{if(token[2]){arg=arg.replace(token[3],function(){return self.encode(typeof data[token[1]]==="function"?data[token[1]]():data[token[1]])})}else{arg=arg.replace(token[3],function(){return data[token[1]]===null?"":typeof data[token[1]]==="function"?data[token[1]]():data[token[1]]})}}return arg}})})($);/*!@license
 * Infragistics.Web.ClientUI Base Widget 21.2.12
 *
 * Copyright (c) 2011-2022 Infragistics Inc.
 * <Licensing info>
 *
 * http://www.infragistics.com/
 *
 * Depends on:
 *   jquery.js
 *   jquery.ui.core.js
 *   jquery.ui.widget.js
 *   infragistics.util.js
 *   infragistics.util.jquery.js
 */
(function($){$.widget("ui.igWidget",{localeWidgetName:null,localeContainer:null,options:{locale:null,language:"en",regional:"defaults"},_createWidget:function(options){this._userPreset=options;this._registerWidget();if(!options||!options.language){this.options.language=$.ig.util.language}this._superApply(arguments)},_setOption:function(option,value){if(option==="language"&&this.options.language===value){return}this._super(option,value);switch(option){case"language":case"locale":this.changeLocale();break;case"regional":this.changeRegional();break;default:break}},_registerWidget:function(){$.ig.util.widgetStack.push(this)},_unregisterWidget:function(){$.ig.util.widgetStack.splice($.ig.util.widgetStack.indexOf(this),1)},_getRegionalValue:function(key){var regional=this.options.regional;if(this.options[key]){return this.options[key]}if(typeof regional==="string"){regional=$.ig.regional[regional]}if(regional&&regional[key]){return regional[key]}else{return $.ig.regional.defaults[key]}},_getLocaleValueFromCollection:function(key,collection){return!collection?"":collection[key]||""},_getLocaleDictionary:function(){var language=this.options.language,widgetName=this.localeWidgetName||this.widgetName.replace("ig",""),localeObj=$.ig.locale[language]&&$.ig.locale[language][widgetName]||$.ig[widgetName]&&$.ig[widgetName].locale||$.ig[widgetName.toLowerCase()]&&$.ig[widgetName.toLowerCase()].locale;return localeObj},_getLocaleValue:function(key){var locale=$.extend({},this._getLocaleDictionary());locale=$.extend(locale,this.options.locale);return this._getLocaleValueFromCollection(key,locale)},_changeLocaleForElement:function($element){var key=$element.attr("data-localeid");if(key){this._changeLocaleByKey(key,$element)}},_changeLocaleByKey:function(key,$element){var attr=$element.attr("data-localeattr");if(attr){$element.attr(attr,this._getLocaleValue(key))}else{$element.text(this._getLocaleValue(key))}},changeRegional:$.noop,changeLocale:function($container){var self=this;$container=$container||this.localeContainer||this.element;$container.find("[data-localeid]").addBack("[data-localeid]").each(function(){self._changeLocaleForElement($(this))})},changeGlobalLanguage:function(){if(!this._userPreset||!this._userPreset.language){this._setOption("language",$.ig.util.language)}},changeGlobalRegional:function(){if(!this._userPreset||!this._userPreset.regional){this._setOption("regional",$.ig.util.regional)}},destroy:function(){this._unregisterWidget();this._super()}});$.extend($.ui.igWidget,{version:"21.2.12"})})($);/*!@license
 * Infragistics.Web.ClientUI jQuery Shared 21.2.12
 *
 * Copyright (c) 2011-2022 Infragistics Inc.
 *
 * http://www.infragistics.com/
 *
 * Depends on:
 *	jquery.js
 *	jquery.ui.core.js
 *	jquery.ui.widget.js
 *	infragistics.util.js
 *  infragistics.util.jquery.js
 */
(function($){$.widget("ui.igLoading",{options:{cssClass:null,includeVerticalOffset:true},_indicator:null,_create:function(){var offset,css;css=this.options.cssClass===null?"ui-igloadingmsg":this.options.cssClass;this._hgrid=this.element.closest(".ui-iggrid-root").closest(".ui-iggrid");if(this.element.children("."+css).length===0){this._indicator=$("<span></span>").appendTo(this.element).attr("id",this.element[0].id+"_loading").addClass(css);offset=this.element.igOffset();this.refreshPos()}this._yShift=this._indicator?Math.round(this._indicator.height()/2):0},indicatorElement:function(){return this._indicator},indicator:function(){return this},show:function(refresh){if(refresh!==false){this.refreshPos()}if(this._resId){clearInterval(this._resId)}this._resId=setInterval($.proxy(this._resizeContainer,this),300);this._indicator.css("display","").css("visibility","visible")},hide:function(){this._indicator.css("display","none").css("visibility","hidden");clearInterval(this._resId);this._resId=null},_resizeContainer:function(){var offset=this.element.igOffset();if(offset.top+this.element.innerHeight()/2-this._yShift!==this._indicator.css("top")){this.refreshPos()}},refreshPos:function(){var offset=this.element.igOffset(),top=offset.top+this.element.innerHeight()/2-this._yShift,left=offset.left+this.element.innerWidth()/2,verticalOffset,relativeOffset;if(this._hgrid.length>0&&top>this._hgrid.igOffset().top+this._hgrid.height()){return}if(this._hgrid.length>0&&left>this._hgrid.igOffset().left+this._hgrid.width()){return}if(this.options.includeVerticalOffset&&top>$(window).height()){verticalOffset=($(window).height()-offset.top-$(window).scrollTop())/2;top=$(window).height()-verticalOffset<offset.top?offset.top+verticalOffset:$(window).height()-verticalOffset}relativeOffset=$.ig.util.getRelativeOffset(this._indicator);top-=relativeOffset.top;left-=relativeOffset.left;this._indicator.css("left",left).css("top",top)},destroy:function(){clearInterval(this._resId);this._indicator.remove()}});$.extend($.ui.igLoading,{version:"21.2.12"});$.widget("ui.igSlider",$.ui.mouse,{options:{animate:false,max:100,min:0,orientation:"horizontal",step:1,value:0,bookmarks:[{value:0,title:"",disabled:false,css:""}],showBookmarkTitle:true,syncHandleWithBookmark:true},css:{baseClasses:"ui-igslider ui-widget ui-widget-content ui-corner-all",horizontalOrientationClass:"ui-igslider-horizontal",verticalOrientationClass:"ui-igslider-vertical",sliderDisabledClass:"ui-igslider-disabled ui-disabled",handleClass:"ui-igslider-handle",bookmarkClass:"ui-igslider-bookmark",bookmarkDisabledClass:"ui-igslider-bookmark-disabled",bookmarkTooltipClass:"ui-igslider-bookmark-tooltip"},events:{start:"start",slide:"slide",stop:"stop",change:"change",bookmarkHit:"bookmarkhit",bookmarkClick:"bookmarkclick"},_numpages:5,widget:function(){return this.element},_createWidget:function(){this.options.bookmarks=[];$.Widget.prototype._createWidget.apply(this,arguments)},_create:function(){var o=this.options,self=this,css=this.css;this._keySliding=false;this._mouseSliding=false;this._animateOff=true;this._handleIndex=null;this._detectOrientation();this._mouseInit();this.element.addClass(css.baseClasses);if(o.disabled){this.element.addClass(css.sliderDisabledClass)}if($(".ui-igslider-handle",this.element).length===0){$("<a href='#'></a>").appendTo(this.element).addClass(css.handleClass)}this.handles=$(".ui-igslider-handle",this.element).addClass("ui-state-default"+" ui-corner-all").bind({click:function(event){event.preventDefault()},mouseover:function(){if(!o.disabled){$(this).addClass("ui-state-hover")}},mouseout:function(){$(this).removeClass("ui-state-hover")},focus:function(){if(!o.disabled){$(".ui-igslider .ui-state-focus").removeClass("ui-state-focus");$(this).addClass("ui-state-focus")}else{$(this).blur()}},blur:function(){$(this).removeClass("ui-state-focus")},keydown:function(event){var ret=true,index=$(this).data("index.ui-igslider-handle"),allowed,curVal,newVal,step;if(self.options.disabled){return}switch(event.keyCode){case $.ui.keyCode.HOME:case $.ui.keyCode.END:case $.ui.keyCode.PAGE_UP:case $.ui.keyCode.PAGE_DOWN:case $.ui.keyCode.UP:case $.ui.keyCode.RIGHT:case $.ui.keyCode.DOWN:case $.ui.keyCode.LEFT:ret=false;if(!self._keySliding){self._keySliding=true;$(this).addClass("ui-state-active");allowed=self._start(event,index);if(allowed===false){return}}break}step=self.options.step;curVal=newVal=self.value();switch(event.keyCode){case $.ui.keyCode.HOME:newVal=self.options.min;break;case $.ui.keyCode.END:newVal=self.options.max;break;case $.ui.keyCode.PAGE_UP:newVal=self._trimValue(curVal+(self.options.max-self.options.min)/this._numpages);break;case $.ui.keyCode.PAGE_DOWN:newVal=self._trimValue(curVal-(self.options.max-self.options.min)/this._numpages);break;case $.ui.keyCode.UP:case $.ui.keyCode.RIGHT:if(curVal===self.options.max){return}newVal=self._trimValue(curVal+step);break;case $.ui.keyCode.DOWN:case $.ui.keyCode.LEFT:if(curVal===self.options.min){return}newVal=self._trimValue(curVal-step);break}self._slide(event,index,newVal);return ret},keyup:function(event){var index=$(this).data("index.ui-igslider-handle");if(self._keySliding){self._keySliding=false;self._stop(event,index);self._change(event,index);$(this).removeClass("ui-state-active")}}}).each(function(i){$(this).data("index.ui-igslider-handle",i)});this.handle=this.handles.eq(0);this._renderBookmarks();this._refreshValue();this._animateOff=false},_renderBookmarks:function(){if(this.options.bookmarks&&this.options.bookmarks.length>0){var len=this.options.bookmarks.length,i=0,o=this.options,css=this.css,mark,self=this;for(i;i<len;i++){mark=o.bookmarks[i];$("<a href='#'></a>").appendTo(this.element).data("index.ui-igslider-bookmark",i).addClass(mark.disabled?css.bookmarkDisabledClass:css.bookmarkClass).addClass(mark.css&&mark.css.length>0?mark.css:"").css("left",o.min!==o.max?(mark.value-o.min)/(o.max-o.min)*100+"%":"0%")}this.bookmarks=$(".ui-igslider-bookmark",this.element).addClass("ui-state-default").bind({mousedown:function(event){var noCancel=true,bookmarkIndex=$(this).data("index.ui-igslider-bookmark");event.preventDefault();event.stopPropagation();noCancel=self._bookmarkClicked(event,bookmarkIndex);if(self.options.syncHandleWithBookmark&&noCancel){self._slide(event,0,self.options.bookmarks[bookmarkIndex].value)}},mouseover:function(event){if(!o.disabled){$(this).addClass("ui-state-hover");if(self.options.showBookmarkTitle){self._showBookmarkTitle($(this),event)}}},mouseout:function(){if(!o.disabled){$(this).removeClass("ui-state-hover");if(self.options.showBookmarkTitle){self._hideBookmarkTitle($(this))}}},click:function(event){event.preventDefault()}});this._createBookmarkTooltip();this._buildBookmarkHit()}},destroy:function(){this.handles.remove();this.clearBookmarks();this.element.removeClass(this.css.baseClasses+" ui-igslider-horizontal"+" ui-igslider-vertical"+" ui-igslider-disabled").removeData("slider").unbind(".slider");this._mouseDestroy();return this},_id:function(suffix){return this.element[0].id+suffix},_showBookmarkTitle:function(bookmark,browserEvent){var tooltip=$("#"+this._id("_tooltip")),title=this.options.bookmarks[bookmark.data("index.ui-igslider-bookmark")].title;if(title&&title.length>0){tooltip.igTooltip("option","text",title);tooltip.css("top",browserEvent.pageY-tooltip.outerHeight()-5).css("left",browserEvent.pageX-tooltip.width()/2+bookmark.width()/2).show()}},_hideBookmarkTitle:function(){$("#"+this._id("_tooltip")).hide()},_createBookmarkTooltip:function(){var html='<div id="'+this._id("_tooltip")+'" class="'+this.css.bookmarkTooltipClass+'"></div>';$(html).appendTo($(document.body)).igTooltip({arrowLocation:"bottom"}).hide()},clearBookmarks:function(){if(this.bookmarks){$("#"+this._id("_tooltip")).remove();this.bookmarks.remove()}},_mouseCapture:function(event){var o=this.options,position,normValue,index=0,handle=this.handles.eq(index),self=this,offset,mouseOverHandle;if(o.disabled){return false}this.elementSize={width:this.element.outerWidth(),height:this.element.outerHeight()};this.elementOffset=this.element.igOffset();position={x:event.pageX,y:event.pageY};normValue=this._normValueFromMouse(position);this._mouseSliding=true;self._handleIndex=index;handle.addClass("ui-state-active");if(!$.ig.util.isOpera){handle.focus()}offset=handle.offset();mouseOverHandle=!$(event.target).addBack().is(".ui-igslider-handle");this._clickOffset=mouseOverHandle?{left:0,top:0}:{left:event.pageX-offset.left-handle.width()/2,top:event.pageY-offset.top-handle.height()/2-(parseInt(handle.css("borderTopWidth"),10)||0)-(parseInt(handle.css("borderBottomWidth"),10)||0)+(parseInt(handle.css("marginTop"),10)||0)};this._slide(event,index,normValue);this._animateOff=true;this._mouseUpHandler=function(event){return self._mouseStop(event)};$(document).bind("mouseup."+this.widgetName,this._mouseUpHandler);return true},_mouseStart:function(event){$(document).unbind("mouseup."+this.widgetName,this._mouseUpHandler);return this._start(event,this._handleIndex)},_mouseDrag:function(event){var position={x:event.pageX,y:event.pageY},normValue=this._normValueFromMouse(position);this._slide(event,this._handleIndex,normValue);return false},_mouseStop:function(event){var self=this;this.handles.removeClass("ui-state-active");setTimeout(function(){self._mouseSliding=false},1e3);this._stop(event,this._handleIndex);this._change(event,this._handleIndex);this._handleIndex=null;this._clickOffset=null;this._animateOff=false;return false},_detectOrientation:function(){var o=this.options,css=this.css;if(o.orientation==="vertical"){this.orientation="vertical";this.element.removeClass(css.horizontalOrientationClass).addClass(css.verticalOrientationClass)}else{this.orientation="horizontal";this.element.removeClass(css.verticalOrientationClass).addClass(css.horizontalOrientationClass)}},_normValueFromMouse:function(position){var pixelTotal,pixelMouse,percentMouse,valueTotal,valueMouse;if(this.orientation==="horizontal"){pixelTotal=this.elementSize.width;pixelMouse=position.x-this.elementOffset.left-(this._clickOffset?this._clickOffset.left:0)}else{pixelTotal=this.elementSize.height;pixelMouse=position.y-this.elementOffset.top-(this._clickOffset?this._clickOffset.top:0)}percentMouse=pixelMouse/pixelTotal;if(percentMouse>1){percentMouse=1}if(percentMouse<0){percentMouse=0}if(this.orientation==="vertical"){percentMouse=1-percentMouse}valueTotal=this.options.max-this.options.min;valueMouse=this.options.min+percentMouse*valueTotal;return this._trimValue(valueMouse)},_start:function(event,index){var uiHash={handle:this.handles[index],value:this.value()};return this._trigger(this.events.start,event,uiHash)},_slide:function(event,index,newVal){var allowed;if(newVal!==this.value()){allowed=this._trigger(this.events.slide,event,{handle:this.handles[index],value:newVal});if(allowed!==false){this.value(newVal)}}},_stop:function(event,index){var uiHash={handle:this.handles[index],value:this.value()};this._trigger(this.events.stop,event,uiHash)},_change:function(event,index){if(!this._keySliding&&!this._mouseSliding){var uiHash={handle:this.handles[index],value:this.value()};this._trigger(this.events.change,event,uiHash);this._checkBookmarkHit(uiHash.value,event);if(uiHash.value===this.options.max&&this._marksHit&&this._marksHit.length===0){this._buildBookmarkHit()}}},_checkBookmarkHit:function(currentValue,event){if(this._marksHit&&this._marksHit.length>0&&currentValue>=this._marksHit[0].value){var index=this._marksHit[0].index;this._marksHit.shift();this._bookmarkHit(event,index)}},_buildBookmarkHit:function(){var b=this.options.bookmarks||[],i=b.length-1;this._marksHit=[];for(i;i>=0;i--){if(!b[i].disabled){this._marksHit.push({value:b[i].value,index:i})}}this._marksHit.sort($.proxy(this._sortBookmarksJSON,this));this._marksHit=$.extend(true,[],$.proxy(this._marksHit,this))},_sortBookmarksJSON:function(a,b){return a.value-b.value},_bookmarkClicked:function(event,index){var uiHash={bookmarkElement:this.bookmarks[index],bookmark:this.options.bookmarks[index]};return this._trigger(this.events.bookmarkClick,event,uiHash)},_bookmarkHit:function(event,index){var uiHash={bookmarkElement:this.bookmarks[index],bookmark:this.options.bookmarks[index]};if(uiHash.bookmarkElement){this._trigger(this.events.bookmarkHit,event,uiHash)}},value:function(newValue){if(arguments.length){this.options.value=this._trimValue(newValue);this._refreshValue();this._change(null,0)}return this._value()},_setOption:function(key,value){$.Widget.prototype._setOption.apply(this,arguments);switch(key){case"disabled":if(value){this.handles.filter(".ui-state-focus").blur();this.handles.removeClass("ui-state-hover");this.handles.attr("disabled","disabled");this.element.addClass("ui-disabled")}else{this.handles.removeAttr("disabled");this.element.removeClass("ui-disabled")}break;case"orientation":this._detectOrientation();this._refreshValue();break;case"value":if(this._mouseSliding===true){return}this._animateOff=true;this._refreshValue();this._change(null,0);this._animateOff=false;break;case"bookmarks":this.clearBookmarks();this._renderBookmarks();break}},_value:function(){return this._trimValue(this.options.value)},_trimValue:function(val){if(val<this.options.min){return this.options.min}if(val>this.options.max){return this.options.max}var step=this.options.step>0?this.options.step:1,valModStep=val%step,alignValue=val-valModStep;if(Math.abs(valModStep)*2>=step){alignValue+=valModStep>0?step:-step}return parseFloat(alignValue.toFixed(5))},_normPercentValue:function(val){var decrease=0,retVal=val;if(this.orientation==="vertical"){decrease=(this.handle.outerHeight()/this.element.outerHeight()).toFixed(2)*100}if(val-decrease>0){retVal=val-decrease}return retVal},_refreshValue:function(){var o=this.options,control=this,animate=!this._animateOff?o.animate:false,_set={},value=this.value(),valueMin=this.options.min,valueMax=this.options.max,valPercent=valueMax!==valueMin?(value-valueMin)/(valueMax-valueMin)*100:0;_set[control.orientation==="horizontal"?"left":"bottom"]=this._normPercentValue(valPercent)+"%";this.handle.stop(1,1)[animate?"animate":"css"](_set,o.animate)}});$.extend($.ui.igSlider,{version:"21.2.12"});$.widget("ui.igProgressBar",{options:{animate:false,animateTimeout:100,max:100,min:0,orientation:"horizontal",value:0,width:"0px",height:"0px",range:false,queue:true,endValue:100},css:{baseClasses:"ui-igprogressbar ui-widget ui-widget-content ui-corner-all",horizontalOrientationClass:"ui-igprogressbar-horizontal",verticalOrientationClass:"ui-igprogressbar-vertical",disabledClass:"ui-igprogressbar-disabled ui-disabled",progressRangeClass:"ui-igprogressbar-range ui-widget-header ui-corner-all"},events:{change:"change"},_animationOff:true,widget:function(){return this.element},_detectOrientation:function(){var css=this.css;if(this.options.orientation==="vertical"){this.orientation="vertical";this.element.removeClass(css.horizontalOrientationClass).addClass(css.verticalOrientationClass)}else{this.orientation="horizontal";this.element.removeClass(css.verticalOrientationClass).addClass(css.horizontalOrientationClass)}},_id:function(suffix){return this.element[0].id+suffix},_create:function(){var o=this.options,css=this.css;this._detectOrientation();this.element.addClass(css.baseClasses);if(o.disabled){this.element.addClass(css.disabledClass)}if(o.width!=="0px"){this.element.css("width",o.width)}if(o.height!=="0px"){this.element.css("height",o.height)}if(o.orientation==="horizontal"){$('<div id="'+this._id("_progress")+'" class="'+css.progressRangeClass+'" style="height:100%; top:0px; left:0%; width:0%;"></div>').appendTo(this.element)}else{$('<div id="'+this._id("_progress")+'" class="'+css.progressRangeClass+'" style="height:0%; bottom:0%; left:0px; width:100%;"></div>').appendTo(this.element)}this._refreshValue()},destroy:function(){this.element.removeClass("ui-igprogressbar"+" ui-igprogressbar-horizontal"+" ui-igprogressbar-vertical"+" ui-igprogressbar-disabled"+" ui-widget"+" ui-widget-content"+" ui-corner-all").removeData("igProgressBar").unbind(".igProgressBar");$("#"+this._id("_progress")).remove();return this},_change:function(event){var uiHash={value:this.value()};this._trigger(this.events.change,event,uiHash)},value:function(newValue){if(arguments.length){this.options.value=this._trimValue(newValue);this._refreshValue();this._change(null)}return this.options.value},_setOption:function(key,value){$.Widget.prototype._setOption.apply(this,arguments);var o=this.options;switch(key){case"disabled":if(value){this.element.addClass(this.css.disabledClass)}else{this.element.removeClass(this.css.disabledClass)}break;case"orientation":this._detectOrientation();this._refreshValue();break;case"value":this._animationOff=true;o.value=this._trimValue(value);this._refreshValue();this._change(null);this._animationOff=false;break;case"endValue":o.endValue=this._trimValue(value);this._refreshValue();break;case"max":if(o.endValue>o.max){o.endValue=o.max;this._refreshValue()}break;case"width":this.element.css("width",value);break;case"height":this.element.css("height",value);break;case"animate":o.animate=value;break;case"animateTimeout":o.animateTimeout=value;break;default:break}},_trimValue:function(val){if(val<this.options.min){return this.options.min}if(val>this.options.max){return this.options.max}return parseInt(val,10)},_refreshValue:function(){var o=this.options,additionalOptions={duration:o.animateTimeout,queue:o.queue},value=o.value,valueMin=o.min,valueMax=o.max,valueEnd=o.endValue,valPercent=valueMax!==valueMin?(value-valueMin)/(valueMax-valueMin)*100:0,valueEndPercent=value!==valueEnd?(valueEnd-value)/(valueMax-valueMin)*100:0,progressBar=$("#"+this._id("_progress"));if(o.range){if(o.orientation==="horizontal"){progressBar.css("left",valPercent+"%").css("width",valueEndPercent+"%")}else{progressBar.css("bottom",valPercent+"%").css("height",valueEndPercent+"%")}}else{if(o.animate===true){if(o.orientation==="horizontal"){if(progressBar[0].style.width==="0%"){progressBar.css({width:"0px"})}if(progressBar.is(":hidden")===false){progressBar.animate({width:valPercent+"%"},additionalOptions)}else{progressBar.css("width",valPercent+"%")}}else{if(progressBar[0].style.height==="0%"){progressBar.css({height:"0px"})}if(progressBar.is(":hidden")===false){progressBar.animate({height:valPercent+"%"},o.animateTimeout)}else{progressBar.animate({height:valPercent+"%"},o.animateTimeout)}}}else{if(o.orientation==="horizontal"){progressBar.css("width",valPercent+"%")}else{progressBar.css("height",valPercent+"%")}}}}});$.extend($.ui.igProgressBar,{version:"21.2.12"});$.widget("ui.igButton",{options:{width:null,height:null,link:{href:null,target:null,title:null},labelText:"",centerLabel:false,css:null,onlyIcons:false,icons:{primary:null,secondary:null},title:false},_id:function(suffix){return this.element[0].id+suffix},_create:function(){var self=this,o=self.options,e=this.element,inputType,css={buttonClassIE6:"ui-ie6",buttonClasses:"ui-button ui-igbutton ui-widget "+"ui-widget-content ui-corner-all ui-state-default",buttonHoverClasses:"ui-state-hover",buttonActiveClasses:"ui-state-active",buttonFocusClasses:"ui-state-focus",buttonLabelClass:"ui-button-text",buttonDisabledClass:"ui-state-disabled",buttonPrimaryIconClass:"ui-button-icon-primary ui-icon",buttonMainElementPrimaryIconClass:" ui-button-text-icon-primary",buttonMainElementSecondaryIconClass:" ui-button-text-icon-secondary",buttonSecondaryIconClass:"ui-button-icon-secondary ui-icon",buttonIconsOnly:"ui-button-icons-only",buttonIconOnly:"ui-button-icon-only",buttonIcons:"ui-button-text-icons",buttonTextOnlyClass:"ui-button-text-only"};this._attached=false;o.css=$.extend(css,o.css);self._getInitValues();if(e.is("div")){self._renderDivButton()}else if(e.is("a")){self._renderAHref()}else if(e.is("input")){inputType=e.attr("type").toUpperCase();if(inputType==="BUTTON"||inputType==="SUBMIT"||inputType==="RESET"){self._renderInput()}else{return}}else if(e.is("button")){self._renderButton()}else{return}if(o.width!==null){self._setWidth(o.width)}if(o.height!==null){self._setHeight(o.height)}e.addClass(o.css.buttonClasses).addClass(o.css.buttonDefaultClasses);if(o.centerLabel===true){self._centerLabel()}if(o.disabled){self._disableButton()}else{self._enableButton()}self._setOnlyIcons();e.attr("role","button");e.attr("aria-disabled","false");self._attachButtonEvents();self.setTitle(o.title);return this},setTitle:function(title){var e=this.element;if(title===false){e.removeAttr("title")}else{e.attr("title",title)}},widget:function(){return this.element},_isRedirect:function(){return this.options.link.href!==null},_renderDivButton:function(){this._setLabel()},_renderAHref:function(){this._setLabel()},_renderInput:function(){var e=this.element;e.attr("value",this.options.labelText)},_renderButton:function(){this._setLabel()},_disableButton:function(){var self=this,e=self.element;e.addClass(self.options.css.buttonDisabledClass);if(e.is("a")===true){e.removeAttr("href");e.removeAttr("target");e.removeAttr("title")}else{e.attr("disabled","true")}},_enableButton:function(){var self=this,e=self.element,o=this.options;if(e.hasClass(o.css.buttonDisabledClass)){e.removeClass(o.css.buttonDisabledClass)}e.removeAttr("disabled");if(e.is("a")===true){self._setLinkOptions(true)}},_setLabel:function(){var e=this.element,o=this.options,icons=o.icons,css=o.css,html="",isSetPrimary=this._isSetPrimaryIcon(),isSetSecondary=this._isSetSecondaryIcon(),labelText=o.labelText===null||o.labelText===""?e.text():o.labelText;e.attr("title",o.labelText);if(e.is("input")){e.attr("value",o.labelText);return}if(isSetPrimary){html+='<span class="'+css.buttonPrimaryIconClass+" "+icons.primary+'" id="'+this._id("_picn")+'"></span>'}html+='<span class="'+o.css.buttonLabelClass+'" id="'+this._id("_lbl")+'">'+labelText+"</span>";if(isSetSecondary){html+='<span class="'+css.buttonSecondaryIconClass+" "+icons.secondary+'" id="'+this._id("_sicn'")+'"></span>'}if(isSetPrimary&&isSetSecondary&&!o.onlyIcons){e.addClass(css.buttonIcons)}else if(o.onlyIcons){this._setOnlyIcons()}else if(isSetPrimary){e.addClass(css.buttonMainElementPrimaryIconClass)}else if(isSetSecondary){e.addClass(css.buttonMainElementSecondaryIconClass)}else{e.addClass(css.buttonTextOnlyClass)}e.html(html)},_setOnlyIcons:function(){var e=this.element,css=this.options.css;if(this.options.onlyIcons===false){if(e.hasClass(css.buttonIconsOnly)){e.removeClass(css.buttonIconsOnly)}if(e.hasClass(css.buttonIconOnly)){e.removeClass(css.buttonIconOnly)}if(this._isSetPrimaryIcon()&&this._isSetSecondaryIcon()){e.addClass(css.buttonIcons)}}else{if(this._isSetPrimaryIcon()&&this._isSetSecondaryIcon()){e.addClass(css.buttonIconsOnly)}else{e.addClass(css.buttonIconOnly)}}},_setLinkOptions:function(isAHref){var self=this,e=self.element,o=this.options;if(isAHref){if(o.link!==null&&o.link.href!==null){e.attr("href",o.link.href)}else if(e.attr("href")!==undefined){e.removeAttr("href")}if(o.link!==null&&o.link.target!==null){e.attr("target",o.link.target)}else if(e.attr("target")!==undefined){e.removeAttr("target")}if(o.link!==null&&o.link.title!==null){e.attr("title",o.link.title)}else if(e.attr("title")!==undefined){e.removeAttr("title")}}},_setWidth:function(value){var e=this.element;if(value===null){e.css("width","")}else{e.css("width",value)}},_setHeight:function(value){var e=this.element;if(value===null){e.css("height","")}else{e.css("height",value)}},_setOption:function(key,val){var e=this.element,self=this;$.Widget.prototype._setOption.apply(this,[key,val]);switch(key){case"width":self._setWidth(val);break;case"height":self._setHeight(val);break;case"link":self._setLinkOptions(e.is("a")===true);break;case"disabled":val=Boolean(val);if(val===true){self._disableButton()}else{self._enableButton()}break;case"labelText":self._setLabel();break;case"centerLabel":val=Boolean(val);if(val){self._centerLabel()}else{self._removeCenterLabel()}break;case"onlyIcons":val=Boolean(val);self._setOnlyIcons();break;case"icons":self._setLabel();break;case"title":self.setTitle(val);break;default:break}},_centerLabel:function(){var self=this,e=self.element,l=$("#"+self._id("_lbl")),left=(e.width()-l.width())/2,top=(e.height()-l.height())/2;l.css({position:"relative",top:top+"px",left:left+"px"})},_removeCenterLabel:function(){var self=this,l=$("#"+self._id("_lbl"));if(l.length>0){l.css({position:"",top:"",left:""})}},_dettachEvents:function(){this._attached=false;this.element.unbind(this._events)},_onMouseOver:function(event){var noCancel;if(this.options.disabled===true){return}noCancel=this._trigger("mouseover",event);if(noCancel){this.element.addClass(this.options.css.buttonHoverClasses)}},_onMouseOut:function(event){var self=this,e=self.element,o=this.options,noCancel;if(o.disabled===true){return}noCancel=self._trigger("mouseout",event);if(noCancel){e.removeClass(o.css.buttonHoverClasses)}},_onClick:function(event){var e=this.element,self=this,o=this.options,noCancel;if(o.disabled===true){return}noCancel=self._trigger("click",event);if(noCancel){this.element.removeClass(o.css.buttonHoverClasses);if(self._isRedirect()===true&&e.is("a")===false){if(o.link.target==="_blank"){window.open(o.link.href)}else{window.location=o.link.href}}}},_onMouseDown:function(event){var e=this.element,o=this.options,noCancel;if(o.disabled===true){return}noCancel=this._trigger("mousedown",event);if(noCancel){e.removeClass(o.css.buttonHoverClasses);e.addClass(o.css.buttonActiveClasses)}},_onMouseUp:function(event){var o=this.options,noCancel;if(o.disabled===true){return}noCancel=this._trigger("mouseup",event);if(noCancel){this.element.removeClass(o.css.buttonHoverClasses);this.element.removeClass(o.css.buttonActiveClasses)}},_onFocus:function(event){var o=this.options,noCancel;if(o.disabled===true){return}noCancel=this._trigger("focus",event);if(noCancel){this.element.addClass(o.css.buttonFocusClasses)}},_onBlur:function(event){var o=this.options,noCancel;if(o.disabled===true){return}noCancel=this._trigger("blur",event);if(noCancel){this.element.removeClass(o.css.buttonActiveClasses);this.element.removeClass(o.css.buttonFocusClasses)}},_onKeyDown:function(event){var o=this.options;if(o.disabled===true){return}this._trigger("keydown",event)},_attachButtonEvents:function(){var self=this,e=self.element;if(this._attached===true){return}this._attached=true;this._events={mouseover:function(e){self._onMouseOver(e,self)},click:function(e){self._onClick(e)},mouseout:function(e){self._onMouseOut(e)},mousedown:function(e){self._onMouseDown(e)},mouseup:function(e){self._onMouseUp(e)},focus:function(e){self._onFocus(e)},blur:function(e){self._onBlur(e)},keydown:function(e){self._onKeyDown(e)}};e.bind(this._events)},_isSetPrimaryIcon:function(){var primary=this.options.icons.primary,isSet=false;if(primary!==undefined&&primary!==null){isSet=true}return isSet},_isSetSecondaryIcon:function(){var secondary=this.options.icons.secondary,isSet=false;if(secondary!==undefined&&secondary!==null){isSet=true}return isSet},destroy:function(){this._dettachEvents();this._rollbackInitValues();this._events=null;this._innerHTML=null;this._initialAttributes=null;$.Widget.prototype.destroy.apply(this,arguments)},_getInitValues:function(){var e=this.element,attr,i;this._innerHTML=e.html();this._initialAttributes=[];attr=e[0].attributes;for(i=0;i<attr.length;i++){if(attr[i].name!=="id"&&attr[i].name!=="type"){this._initialAttributes.push({name:attr[i].name,value:attr[i].value})}}},_rollbackInitValues:function(){var e=this.element,attr,a,i;if(this._innerHTML!==undefined){e.html(this._innerHTML)}attr=e[0].attributes;a=[];for(i=0;i<attr.length;i++){if(attr[i].name!=="id"&&attr[i].name!=="type"){a.push(attr[i].name)}}for(i=0;i<a.length;i++){e.removeAttr(a[i])}if(this._initialAttributes){for(i=0;i<this._initialAttributes.length;i++){if(this._initialAttributes[i].name!=="id"){e.attr(this._initialAttributes[i].name,this._initialAttributes[i].value)}}}}});$.extend($.ui.igButton,{version:"21.2.12"});$.widget("ui.igTooltip",{css:{baseClasses:"ui-widget ui-igpopover ui-igplayer-tooltip",arrowImageBaseClass:"ui-igpopover-arrow-"},options:{text:"",arrowLocation:"top"},_setOption:function(key,value){$.Widget.prototype._setOption.apply(this,arguments);switch(key){case"text":$("div.ui-widget-content",this.element).html(value);break;case"arrowLocation":$("div",this.element).remove();this._renderTooltip();break}},_create:function(){if(this.element.is("div")){this._renderTooltip();this.element.addClass(this.css.baseClasses)}},_renderTooltip:function(){switch(this.options.arrowLocation){case"top":this._createArrowDiv();this._createContentDiv();break;case"bottom":this._createContentDiv();this._createArrowDiv();break;case"left":break;case"right":break}},_createContentDiv:function(){var t=this.options.text&&this.options.text.length>0?this.options.text:"";$('<div class="ui-widget-content ui-corner-all">'+t+"</div>").appendTo(this.element)},_createArrowDiv:function(){$('<div class="'+this.css.arrowImageBaseClass+this.options.arrowLocation+'"></div>').appendTo(this.element)},destroy:function(){this.element.children().remove();this.element.removeClass(this.css.baseClasses)}});$.extend($.ui.igTooltip,{version:"21.2.12"});$.widget("ui.mouseWrapper",$.ui.mouse,{options:{cancel:":input,option",distance:1,delay:0},events:{start:"start",drag:"drag",stop:"stop",capture:"capture"},_create:function(){var self=this,originalMouseDown=this._mouseDown;if($.ig.util.isIE9){this._mouseDown=function(event){var originalPreventDefault=event.preventDefault,result;event.preventDefault=function(){};result=originalMouseDown.apply(self,[event]);event.preventDefault=originalPreventDefault;return result}}this._mouseInit()},destroy:function(){this._mouseDestroy();return this},_mouseStart:function(event){return this._trigger(this.events.start,event)},_mouseDrag:function(event){return this._trigger(this.events.drag,event)},_mouseStop:function(event){return this._trigger(this.events.stop,event)},_mouseCapture:function(event){return this._trigger(this.events.capture,event)}});$.widget("ui.igResponsiveContainer",{options:{pollingInterval:500},_createWidget:function(options,element){this._callbacks=[];this._element=element;this._pollerHandler=$.proxy(this._pollerTick,this);this._startPoller();this._width=this._getCurrentWidth();this._height=this._getCurrentHeight();$.Widget.prototype._createWidget.apply(this,arguments)},destroy:function(){this._stopPoller();this._callbacks=[];$.Widget.prototype.destroy.call(this);return this},startPoller:function(){this._startPoller()},stopPoller:function(){this._stopPoller()},removeCallback:function(callbackId){if(callbackId>=0&&callbackId<this._callbacks.length){this._callbacks.splice(callbackId,1)}},addCallback:function(callback,owner,reactionStep,reactionDirection){return this._callbacks.push({callback:callback,owner:owner,step:reactionStep,left:reactionDirection==="xy"||reactionDirection==="x",top:reactionDirection==="xy"||reactionDirection==="y",cWidth:this._getCurrentWidth(),cHeight:this._getCurrentHeight()})-1},_startPoller:function(){this._intervalId=setInterval(this._pollerHandler,this.options.pollingInterval)},_stopPoller:function(){if(this._intervalId){clearInterval(this._intervalId);delete this._intervalId}},_pollerTick:function(){var nw=this._getCurrentWidth(),nh=this._getCurrentHeight(),cb,i,called=false;for(i=0;i<this._callbacks.length;i++){cb=this._callbacks[i];if(cb.left===true){if(Math.abs(cb.cWidth-nw)>cb.step){cb.callback.apply(cb.owner,[nw,nh]);cb.cWidth=nw;cb.cHeight=nh;called=true}}if(cb.top===true&&called===false){if(Math.abs(cb.cHeight-nh)>cb.step){cb.callback.apply(cb.owner,[nw,nh]);cb.cWidth=nw;cb.cHeight=nh}}}this._width=nw;this._height=nh},_getCurrentWidth:function(){return this._element.offsetWidth},_getCurrentHeight:function(){return this._element.offsetHeight}});$.extend($.ui.igResponsiveContainer,{version:"21.2.12"})})($);/*!@license
* Infragistics.Web.ClientUI Scroll 21.2.12
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends on:
* jquery.js
* jquery.ui-1.9.0.js
* jquery.ui.widget.js
* infragistics.util.js
* infragistics.util.jquery.js
* infragistics.ui.widget.js
*/
(function($){var setPointerCaptureFName=typeof Element.prototype.msSetPointerCapture==="function"?"msSetPointerCapture":"setPointerCapture",releasePointerCaptureFName=typeof Element.prototype.msReleasePointerCapture==="function"?"msReleasePointerCapture":"releasePointerCapture";$.widget("ui.igScroll",$.ui.igWidget,{options:{alwaysVisible:false,scrollbarType:"custom",minThumbSize:15,modifyDOM:true,scrollHeight:null,scrollWidth:null,scrollTop:0,scrollLeft:0,wheelStep:50,smallIncrementStep:40,bigIncrementStep:null,smoothing:false,smoothingStep:1,smoothingDuration:1,inertiaStep:1,inertiaDuration:1,swipeToleranceX:30,inertiaDeltaX:1.25,inertiaDeltaY:2,syncedElemsH:[],syncedElemsV:[],scrollbarH:null,scrollbarV:null,scrollOnlyHBar:false,scrollOnlyVBar:false,scrollbarHParent:null,scrollbarVParent:null},events:{rendered:null,scrolling:null,scrolled:null,thumbDragStart:null,thumbDragMove:null,thumbDragEnd:null,resizing:null,resized:null},css:{scrollableElem:"igscroll-scrollable",touchScrollableElem:"igscroll-touchscrollable",scrollContent:"igscroll-content",scrollContainer:"igscroll-container",nativeVScrollOuter:"igscroll-vnative-outer",nativeVScrollOuterSingle:"igscroll-vnative-outer-single",nativeVScrollInner:"igscroll-vnative-inner",nativeHScrollOuter:"igscroll-hnative-outer",nativeHScrollOuterSingle:"igscroll-hnative-outer-single",nativeHScrollInner:"igscroll-hnative-inner",nativeScrollFiller:"igscroll-filler",verticalScrollContainer:"igscroll-vcontainer",verticalScrollTrack:"igscroll-vtrack",verticalScrollTrackSingleScrollbar:"igscroll-vtrack-single",verticalScrollArrow:"igscroll-varrow",verticalScrollArrowHidden:"igscroll-varrow-hidden",verticalScrollArrowUp:"igscroll-uparrow",verticalScrollArrowDown:"igscroll-downarrow",verticalScrollArrowDownSingleScrollbar:"igscroll-downarrow-single",verticalScrollThumbDrag:"igscroll-vdrag",verticalScrollThumbDragThin:"igscroll-vdrag-thin",verticalScrollThumbDragHidden:"igscroll-vdrag-hidden",verticalScrollThumbDragBig:"igscroll-vdrag-big",horizontalScrollContainer:"igscroll-hcontainer",horizontalScrollTrack:"igscroll-htrack",horizontalScrollTrackSingleScrollbar:"igscroll-htrack-single",horizontalScrollArrow:"igscroll-harrow",horizontalScrollArrowHidden:"igscroll-harrow-hidden",horizontalScrollArrowLeft:"igscroll-leftarrow",horizontalScrollArrowRight:"igscroll-rightarrow",horizontalScrollArrowRightSingleScrollbar:"igscroll-rightarrow-single",horizontalScrollThumbDrag:"igscroll-hdrag",horizontalScrollThumbDragThin:"igscroll-hdrag-thin",horizontalScrollThumbDragHidden:"igscroll-hdrag-hidden",horizontalScrollThumbDragBig:"igscroll-hdrag-big",disabledSelection:"igscroll-select-disabled",syncedElemContentV:"igscroll-vsynced-content",syncedElemContentH:"igscroll-hsynced-content"},refresh:function(){this._elemWidth=this.element.width();this._elemHeight=this.element.height();if(this.options.modifyDOM){this._container.css({width:this._elemWidth+"px",height:this._elemHeight+"px"})}this._contentWidth=this._getContentWidth();this._percentInViewH=this._elemWidth/this._contentWidth;this._isScrollableH=this._percentInViewH<1;this._contentHeight=this._getContentHeight();this._percentInViewV=this._elemHeight/this._contentHeight;this._isScrollableV=this._percentInViewV<1;this._refreshScrollbars();return this.element},_create:function(){var elem=this.element;this._bKeyboardNavigation=true;this._renderVerticalScrollbar=true;this._renderHorizontalScrollbar=true;this._bMixedEnvironment=$.ig.util.getScrollWidth()>0||!$.ig.util.isTouchDevice();this._linkedHElems=[];this._linkedVElems=[];this._linkedHBar=null;this._linkedVBar=null;this._elemWidth=elem.width();this._elemHeight=elem.height();this._showScrollbarsAnimId=0;this._hideScrollbarID=0;this._toSimpleScrollbarsID=0;this._touchInertiaAnimID=0;this._mOverContainer=false;this._mOverScrollbars=false;this._scrollFromSyncContentH=false;this._scrollFromSyncContentV=false;this._bInternalScroll=false;this._cancelScrolling=false;this._cancelThumbDrag=false;this._numSmoothAnimation=0;elem.addClass(this.css.touchScrollableElem);if(this.options.modifyDOM){elem.addClass(this.css.scrollableElem);this._content=$("<div id='"+elem.attr("id")+"_content'/>").addClass(this.css.scrollContent).appendTo(elem).append(elem.contents());this._container=$("<div id='"+elem.attr("id")+"_container'/>").addClass(this.css.scrollContainer).css({width:this._elemWidth+"px",height:this._elemHeight+"px"}).insertBefore(this._content).append(this._content);this._container.data("containerName","scrollContainer");if(this.element.attr("tabindex")){this._container.attr("tabindex",this.element.attr("tabindex"))}}else{this._container=elem;this._content=$(elem.children()[0]);this._contentX=null}this._contentHeight=this._content[0].scrollHeight;this._contentWidth=this._content[0].scrollWidth;this._percentInViewH=this._elemWidth/this._contentWidth;this._percentInViewV=this._elemHeight/this._contentHeight;this._isScrollableV=this._percentInViewV<1;this._isScrollableH=this._percentInViewH<1;this._initOptions(this.options);this._startX=0;this._startY=0;this._touchStartX=0;this._touchStartY=0;this._moving=false;this._evts={scroll:$.proxy(this._onScrollContainer,this),wheel:$.proxy(this._onWheelContainer,this),DOMMouseScroll:$.proxy(this._onWheelContainer,this),pointerdown:$.proxy(this._onPointerDownContainer,this),pointerup:$.proxy(this._onPointerUpContainer,this),MSPointerDown:$.proxy(this._onPointerDownContainer,this),MSGestureStart:$.proxy(this._onMSGestureStartContainer,this),MSGestureChange:$.proxy(this._onMSGestureChangeContainer,this),MSGestureEnd:$.proxy(this._onMSGestureEndContainer,this),touchstart:$.proxy(this._onTouchStartContainer,this),touchmove:$.proxy(this._onTouchMoveContainer,this),touchend:$.proxy(this._onTouchEndContainer,this),mouseenter:$.proxy(this._onMouseEnterContainer,this),mouseleave:$.proxy(this._onMouseLeaveContainer,this),keydown:$.proxy(this._onKeyDown,this)};this._container.on(this._evts);$(window).on("resize.igscroll_"+this.element[0].id,$.proxy(this._onDimensionsChange,this));if(typeof MutationObserver==="function"){this._observer=new MutationObserver($.proxy(this._onElementMutation,this));this._observer.observe(this.element[0],{attributes:true})}this._updateScrollBarsVisibility();this._hideScrollbars();if(this.options.alwaysVisible){if($.ig.util.isTouchDevice()){this._showScrollbars(true)}else{this._showScrollbars(false)}}else{this._showScrollbars(true,2e3)}this._trigger("rendered",null,{owner:this})},_initOptions:function(scrollOptions){if(scrollOptions){if(typeof scrollOptions.syncedElemsH[0]!=="undefined"){this._linkElementsH(scrollOptions.syncedElemsH)}if(typeof scrollOptions.syncedElemsV[0]!=="undefined"){this._linkElementsV(scrollOptions.syncedElemsV)}if(scrollOptions.scrollbarH!==null){this._bindHScrollbar(scrollOptions.scrollbarH)}if(scrollOptions.scrollbarV!==null){this._bindVScrollbar(scrollOptions.scrollbarV)}if(scrollOptions.scrollHeight!==null){this._setScrollHeight(scrollOptions.scrollHeight)}if(scrollOptions.scrollWidth!==null){this._setScrollWidth(scrollOptions.scrollWidth)}if(scrollOptions.scrollTop!==0){this._scrollTop(scrollOptions.scrollTop,false)}if(scrollOptions.scrollLeft!==0){this._scrollLeft(scrollOptions.scrollLeft,false)}}},changeLocale:function(){},_setOption:function(key,value){this._super(key,value);if(key==="alwaysVisible"){if(value===true){if($.ig.util.isTouchDevice()){this._showScrollbars(true)}else{this._showScrollbars(false)}}}if(key==="scrollbarType"){this._removeScrollbars();if(value!=="none"){this._updateScrollBarsVisibility();this._updateScrollbarsPos(this._getContentPositionX(),this._getContentPositionY())}}if(key==="minThumbSize"&&this.options.scrollbarType==="custom"){this._refreshScrollbars()}if(key==="scrollTop"){this._scrollTop(value,true)}if(key==="scrollLeft"){this._scrollLeft(value,true)}if(key==="scrollHeight"){this._setScrollHeight(value);this._refreshScrollbars();this._updateScrollbarsPos(this._getContentPositionX(),this._getContentPositionY())}if(key==="scrollWidth"){this._setScrollWidth(value);this._refreshScrollbars();this._updateScrollbarsPos(this._getContentPositionX(),this._getContentPositionY())}if(key==="syncedElemsH"){this._linkElementsH(value)}if(key==="syncedElemsV"){this._linkElementsV(value)}if(key==="scrollbarH"){this._bindHScrollbar(value)}if(key==="scrollbarV"){this._bindVScrollbar(value)}},option:function(optionName,value){if(optionName==="scrollTop"&&value===undefined){return this._scrollTop(null,true)}if(optionName==="scrollLeft"&&value===undefined){return this._scrollLeft(null,true)}if(optionName==="scrollHeight"&&value===undefined){return this._getContentHeight()}if(optionName==="scrollWidth"&&value===undefined){return this._getContentWidth()}return this._super(optionName,value)},_getContainerHeight:function(){return Math.ceil(this._container.height())},_getContainerWidth:function(){return Math.ceil(this._container.width())},_getContentHeight:function(){var attached=!!this._content[0].parentNode;if(this.options.scrollHeight!==null){return this.options.scrollHeight}else{if($.ig.util.isIE&&attached){return Math.ceil(this._content[0].getBoundingClientRect().height)}else{return Math.ceil(this._content.outerHeight())}}},_getContentWidth:function(){var attached=!!this._content[0].parentNode;if(this.options.scrollWidth!==null){return this.options.scrollWidth}else{if($.ig.util.isIE&&attached){return Math.ceil(this._content[0].getBoundingClientRect().width)}else{return Math.ceil(this._content.outerWidth())}}},_getContentPositionX:function(){if($.ig.util.isTouchDevice()&&!this._bMixedEnvironment){var posX=0;if(this._contentX){posX=-this._getTransform3dValueX(this._contentX)}else{posX=-this._getTransform3dValueX(this._content)}return posX}else{return this._container.scrollLeft()}},_getContentPositionY:function(){if($.ig.util.isTouchDevice()&&!this._bMixedEnvironment){var posY=-this._getTransform3dValueY(this._content);return posY}else{return this._container.scrollTop()}},_getTransform3dValueX:function(jqElem){var matrix,values,posX;if(jqElem.css("-webkit-transform")){matrix=jqElem.css("-webkit-transform");values=matrix?matrix.match(/-?[\d\.]+/g):undefined;posX=values?Number(values[4]):0}else if(jqElem.css("-moz-transform")){matrix=jqElem.css("-moz-transform");values=matrix?matrix.match(/-?[\d\.]+/g):undefined;posX=values?Number(values[4]):0}else if(jqElem.css("-ms-transform")){matrix=jqElem.css("-ms-transform");values=matrix?matrix.match(/-?[\d\.]+/g):undefined;posX=values?Number(values[13]):0}return posX},_getTransform3dValueY:function(jqElem){var matrix,values,posY;if(jqElem.css("-webkit-transform")){matrix=jqElem.css("-webkit-transform");values=matrix?matrix.match(/-?[\d\.]+/g):undefined;posY=values?Number(values[5]):0}else if(jqElem.css("-moz-transform")){matrix=jqElem.css("-moz-transform");values=matrix?matrix.match(/-?[\d\.]+/g):undefined;posY=values?Number(values[5]):0}else if(jqElem.css("-ms-transform")){matrix=jqElem.css("-ms-transform");values=matrix?matrix.match(/-?[\d\.]+/g):undefined;posY=values?Number(values[14]):0}return posY},_getScrollbarVPosition:function(){if(this._linkedVBar){return this._linkedVBar.scrollTop()}else{return this._getContentPositionY()}},_getScrollbarHPosition:function(){if(this._linkedHBar){return this._linkedHBar.scrollLeft()}else{return this._getContentPositionX()}},_scrollLeft:function(val,triggerEvents,bSyncElems){if(val==="undefined"||val===null){return this._getContentPositionX()}cancelAnimationFrame(this._touchInertiaAnimID);if($.ig.util.isTouchDevice()&&!this._bMixedEnvironment){var posY=this._getContentPositionY();this._scrollTouchToXY(val,posY,triggerEvents,bSyncElems)}else{this._scrollToX(val,triggerEvents,bSyncElems)}if(triggerEvents){this._trigger("scrolled",null,{owner:this,smallIncrement:0,bigIncrement:0,horizontal:true})}return this},_scrollTop:function(val,triggerEvents,bSyncElems){if(val==="undefined"||val===null){return this._getContentPositionY()}cancelAnimationFrame(this._touchInertiaAnimID);if($.ig.util.isTouchDevice()&&!this._bMixedEnvironment){var posX=this._getContentPositionX();this._scrollTouchToXY(posX,val,triggerEvents,bSyncElems)}else{this._scrollToY(val,triggerEvents,bSyncElems)}if(triggerEvents&&!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:0,bigIncrement:0,horizontal:false})}return this},_setScrollWidth:function(inWidth){this._elemWidth=this._getContainerWidth();this._contentWidth=inWidth;this._percentInViewH=this._elemWidth/this._contentWidth;this._isScrollableH=this._percentInViewH<1;if(this.options.modifyDOM){this._content.css("width",inWidth+"px")}return this.element},_setScrollHeight:function(inHeight){this._elemHeight=this._container.innerHeight();this._contentHeight=inHeight;this._percentInViewV=this._elemHeight/this._contentHeight;this._isScrollableV=this._percentInViewV<1;if(this.options.modifyDOM){this._content.css("height",inHeight+"px")}return this.element},_refreshScrollbars:function(){var css=this.css,nativeScrollSize=$.ig.util.getScrollWidth();this._elemHeight=this.element.height();this._elemWidth=this.element.width();if(this.options.scrollbarType==="custom"&&this._vBarTrack&&this._vBarDrag){this._vDragHeight=this._calculateVDragHeight();this._vBarDrag.css("height",this._vDragHeight+"%");if(this._percentInViewH>=1){this._vBarTrack.addClass(css.verticalScrollTrackSingleScrollbar);this._vBarArrowDown.addClass(css.verticalScrollArrowDownSingleScrollbar)}else{this._vBarTrack.removeClass(css.verticalScrollTrackSingleScrollbar);this._vBarArrowDown.removeClass(css.verticalScrollArrowDownSingleScrollbar)}}else if(this.options.scrollbarType==="native"&&this._vBarContainer&&this._vBarDrag){this._vDragHeight=this._content.height();this._vBarDrag.css("height",this._vDragHeight+"px");if(this._percentInViewH>=1&&!this._vBarContainer.hasClass(css.nativeVScrollOuterSingle)){this._vBarContainer.css("bottom","");this._vBarContainer.addClass(this.css.nativeVScrollOuterSingle)}else if(this._percentInViewH<1&&this._vBarContainer.hasClass(css.nativeVScrollOuterSingle)){this._vBarContainer.removeClass(css.nativeVScrollOuterSingle);this._vBarContainer.css("bottom",nativeScrollSize+"px")}}if(this.options.scrollbarType==="custom"&&this._hBarTrack&&this._hBarDrag){this._hDragWidth=this._calculateHDragWidth();this._hBarDrag.css("width",this._hDragWidth+"%");if(this._percentInViewV>=1){this._hBarTrack.addClass(css.horizontalScrollTrackSingleScrollbar);this._hBarArrowRight.addClass(css.horizontalScrollArrowRightSingleScrollbar)}else{this._hBarTrack.removeClass(css.horizontalScrollTrackSingleScrollbar);this._hBarArrowRight.removeClass(css.horizontalScrollArrowRightSingleScrollbar)}}else if(this.options.scrollbarType==="native"&&this._hBarContainer&&this._hBarDrag){this._hDragWidth=this._content.width();this._hBarDrag.css("width",this._hDragWidth+"px");if(this._percentInViewV>=1&&!this._hBarContainer.hasClass(css.nativeHScrollOuterSingle)){this._hBarContainer.css("right","");this._hBarContainer.addClass(css.nativeHScrollOuterSingle)}else if(this._percentInViewV<1&&this._hBarContainer.hasClass(css.nativeHScrollOuterSingle)){this._hBarContainer.removeClass(css.nativeHScrollOuterSingle);this._hBarContainer.css("right",nativeScrollSize+"px")}}this._updateScrollBarsVisibility();this._updateScrollbarsPos(this._getContentPositionX(),this._getContentPositionY())},_linkElementsH:function(inElements){this._linkedHElems=[];if(inElements){for(var index=0;index<inElements.length;index++){var elemObject=$(inElements[index]);if(elemObject.length){if(this.options.modifyDOM&&elemObject.data("igScroll")===undefined){$("<div id='"+elemObject.attr("id")+"_content'/>").addClass(this.css.syncedElemContentH).appendTo(elemObject).append(elemObject.contents())}this._linkedHElems.push(elemObject)}else{throw new Error(this._getLocaleValue("errorNoElementLink"))}}}return this._linkedHElems},_linkElementsV:function(inElements){this._linkedVElems=[];if(inElements){for(var index=0;index<inElements.length;index++){var elemObject=$(inElements[index]);if(elemObject.length){if(this.options.modifyDOM&&elemObject.data("igScroll")===undefined){$("<div id='"+elemObject.attr("id")+"_content'/>").addClass(this.css.syncedElemContentV).appendTo(elemObject).append(elemObject.contents())}this._linkedVElems.push(elemObject)}else{throw new Error(this._getLocaleValue("errorNoElementLink"))}}}return this._linkedVElems},_bindHScrollbar:function(inElement){var self=this;if(inElement){var elemObject=$(inElement);if(elemObject.length){elemObject.on({scroll:function(e){var ignoreSync=self._ignoreHScrollBarEvents;self._ignoreHScrollBarEvents=false;if(ignoreSync||self.options.scrollOnlyHBar){return false}else{if(self._bMixedEnvironment){self._syncContentX(e.target,false);self._syncElemsX(e.target,false)}else{self._syncContentX(e.target,true);self._syncElemsX(e.target,true)}}}});if(this._linkedHBar&&this._linkedHBar[0]!==elemObject[0]){this._linkedHBar.off()}this._linkedHBar=elemObject}else{throw new Error(this._getLocaleValue("errorNoScrollbarLink"))}}return this._linkedHBar},_bindVScrollbar:function(inElement){var self=this;if(inElement){var elemObject=$(inElement);if(elemObject.length){elemObject.on({scroll:function(e){var ignoreSync=self._ignoreVScrollBarEvents;self._ignoreVScrollBarEvents=false;if(ignoreSync||self.options.scrollOnlyVBar){return false}else{if(self._bMixedEnvironment){self._syncContentY(e.target,false);self._syncElemsY(e.target,false)}else{self._syncContentY(e.target,true);self._syncElemsY(e.target,true)}}}});if(this._linkedVBar&&this._linkedVBar[0]!==elemObject[0]){this._linkedVBar.off()}this._linkedVBar=elemObject}else{throw new Error(this._getLocaleValue("errorNoScrollbarLink"))}}return this._linkedVBar},_clampAxisCoords:function(target,min,max){if(target===undefined||target<min){target=min}else if(target>max){target=max}return target},_scrollToXY:function(destX,destY,triggerEvents){var curPosX=this._getContentPositionX(),curPosY=this._getContentPositionY();destX=this._clampAxisCoords(destX,0,Math.max(this._getContentWidth()-this._getContainerWidth(),0));destY=this._clampAxisCoords(destY,0,Math.max(this._getContentHeight()-this._getContainerHeight(),0));if(triggerEvents){var bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:0,bigIncrement:0,horizontal:destX-curPosX!==0,stepX:destX-curPosX,stepY:destY-curPosY});if(!bNoCancel){this._cancelScrolling=true;return{x:0,y:0}}}var scrolledX,scrolledY;scrolledX=this._scrollToX(destX,false);scrolledY=this._scrollToY(destY,false);return{x:scrolledX,y:scrolledY}},_scrollToX:function(destX,triggerEvents,bSyncElems){if(!this._isScrollableH&&!this.options.scrollOnlyHBar){return 0}var curPosX;if(this.options.scrollOnlyHBar){curPosX=this._getScrollbarHPosition()}else{curPosX=this._getContentPositionX()}destX=this._clampAxisCoords(destX,0,this._getContentWidth()-this._getContainerWidth());if(triggerEvents){var bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:0,bigIncrement:0,horizontal:true,stepX:destX-curPosX,stepY:0});if(!bNoCancel){this._cancelScrolling=true;return 0}}this._bInternalScroll=true;if(this.options.scrollOnlyHBar){this._moveHBarX(destX)}else{this._container.scrollLeft(destX);if(bSyncElems===undefined||bSyncElems===true){this._syncElemsX(this._container[0],false)}}var curPosY;if(this.options.scrollOnlyVBar){curPosY=this._getScrollbarVPosition()}else{curPosY=this._getContentPositionY()}this._updateScrollbarsPos(destX,curPosY,true);return destX-curPosX},_scrollToY:function(destY,triggerEvents,bSyncElems){if(!this._isScrollableV&&!this.options.scrollOnlyVBar){return 0}var curPosY,endOffsetEdge=0;if(this.options.scrollOnlyVBar){curPosY=this._getScrollbarVPosition()}else{curPosY=this._getContentPositionY()}if($.ig.util.isEdge){if(destY<0){endOffsetEdge=-1}else{endOffsetEdge=destY>this._getContentHeight()-this._getContainerHeight()?1:0}}destY=this._clampAxisCoords(destY,0,this._getContentHeight()-this._getContainerHeight());if(triggerEvents){var bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:0,bigIncrement:0,horizontal:false,stepX:0,stepY:destY-curPosY});if(!bNoCancel){this._cancelScrolling=!bNoCancel;return 0}}this._bInternalScroll=true;if(this.options.scrollOnlyVBar){this._moveVBarY(destY)}else{if($.ig.util.isIE&&Math.abs(destY-curPosY)<=1){return 0}this._container.scrollTop(destY+endOffsetEdge);if(bSyncElems===undefined||bSyncElems===true){this._syncElemsY(this._container[0],false)}}var curPosX;if(this.options.scrollOnlyHBar){curPosX=this._getScrollbarHPosition()}else{curPosX=this._getContentPositionX()}this._updateScrollbarsPos(curPosX,destY,true);return destY-curPosY},_smoothWheelScrollY:function(deltaY){var self=this,smoothingStep=this.options.smoothingStep,smoothingDuration=this.options.smoothingDuration,animationId;var x=-1;if(this.options.scrollOnlyVBar){this._nextY=this._getScrollbarVPosition()}else{this._nextY=this._getContentPositionY()}function inertiaStep(){if(x>1){cancelAnimationFrame(animationId);self._numSmoothAnimation-=1;if(!self._numSmoothAnimation&&!self._cancelScrolling){self._trigger("scrolled",null,{owner:self,smallIncrement:0,bigIncrement:0,horizontal:false})}return}self._nextY+=(-3*x*x+3)*deltaY*2*smoothingStep;if(self._bMixedEnvironment){self._scrollToY(self._nextY,true)}else{var curPosX=0;if(self.options.scrollOnlyHBar){curPosX=self._getScrollbarVPosition()}else{curPosX=self._getContentPositionY()}self._scrollTouchToXY(curPosX,self._nextY,true)}x+=.08*(1/smoothingDuration);animationId=requestAnimationFrame(inertiaStep)}this._numSmoothAnimation+=1;animationId=requestAnimationFrame(inertiaStep)},_applyTransformOnScrollTop:function(){var startX=-this._container.scrollLeft(),startY=-this._container.scrollTop();if(startX===0&&startY===0){return}if(this._contentX){startX+=this._getTransform3dValueX(this._contentX)}else{startX+=this._getTransform3dValueX(this._content)}startY+=this._getTransform3dValueY(this._content);this._scrollToXY(0,0,false);this._scrollTouchToXY(-startX,-startY,false)},_scrollTouchToXY:function(destX,destY,triggerEvents,bSyncElems){var bNoCancel,curPosX=this._getContentPositionX(),curPosY=this._getContentPositionY();destX=this._clampAxisCoords(destX,0,Math.max(this._getContentWidth()-this._getContainerWidth(),0));destY=this._clampAxisCoords(destY,0,Math.max(this._getContentHeight()-this._getContainerHeight(),0));if(triggerEvents){bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:0,bigIncrement:0,horizontal:destX-curPosX!==0,stepX:destX-curPosX,stepY:destY-curPosY});if(!bNoCancel){this._cancelScrolling=true;return{x:0,y:0}}}if(this.options.scrollOnlyVBar){this._scrollToY(destY,false);if(this.options.scrollOnlyHBar){this._scrollToX(destX)}else{if(this._contentX){this._contentX.css({"-webkit-transform":"translate3d("+-destX+"px, 0px, 0px)"});this._syncElemsX(this._contentX,true,-destX,true)}else{this._content.css({"-webkit-transform":"translate3d("+-destX+"px, 0px, 0px)"});this._syncElemsX(this._content,true,-destX,true)}}destY=this._getScrollbarVPosition();this._updateScrollbarsPos(destX,destY);return{x:destX-curPosX,y:destY-curPosY}}var distanceLeftX=-destX;var distanceTopY=-destY;if(!this.options.scrollOnlyVBar&&!this.options.scrollOnlyHBar){this._content.css({"-webkit-transform":"translate3d("+distanceLeftX+"px,"+distanceTopY+"px, 0px)"})}if(bSyncElems===undefined||bSyncElems===true){this._syncElemsX(this._content,true);this._syncElemsY(this._content,true)}this._updateScrollbarsPos(destX,destY);this._syncHBar(this._content,true);this._syncVBar(this._content,true);return{x:destX-curPosX,y:destY-curPosY}},_inertiaInit:function(speedX,speedY,bDefaultScroll){var self=this,x=0,stepModifer=this.options.inertiaStep,inertiaDuration=this.options.inertiaDuration;if(this.options.scrollOnlyVBar){this._nextY=this._getScrollbarVPosition()}else{this._nextY=this._getContentPositionY()}if(this.options.scrollOnlyHBar){this._nextX=this._getScrollbarHPosition()}else{this._nextX=this._getContentPositionX()}function inertiaStep(){if(x>6){self._hideScrollbars();cancelAnimationFrame(self._touchInertiaAnimID);if(!self._cancelScrolling){self._trigger("scrolled",null,{owner:self,smallIncrement:0,bigIncrement:0,horizontal:null})}return}if(Math.abs(speedX)>Math.abs(speedY)){x+=.05/(1*inertiaDuration)}else{x+=.05/(1*inertiaDuration)}if(x<=1){if(Math.abs(speedY)<=Math.abs(speedX)*self.options.inertiaDeltaY){self._nextX+=1*speedX*15*stepModifer}if(Math.abs(speedY)>=Math.abs(speedX)*self.options.inertiaDeltaX){self._nextY+=1*speedY*15*stepModifer}}else{if(Math.abs(speedY)<=Math.abs(speedX)*self.options.inertiaDeltaY){self._nextX+=Math.abs(2/(x+.55)-.3)*speedX*15*stepModifer}if(Math.abs(speedY)>=Math.abs(speedX)*self.options.inertiaDeltaX){self._nextY+=Math.abs(2/(x+.55)-.3)*speedY*15*stepModifer}}if(bDefaultScroll){self._scrollToXY(self._nextX,self._nextY,true)}else{self._scrollTouchToXY(self._nextX,self._nextY,true)}self._touchInertiaAnimID=requestAnimationFrame(inertiaStep)}this._touchInertiaAnimID=requestAnimationFrame(inertiaStep)},_getSpeedSlope:function(inLastFiveSpeeds){if(inLastFiveSpeeds.length===0){return 1}if(inLastFiveSpeeds.length<5){return-1}var numPoints=inLastFiveSpeeds.length,sumXY=0,sumX=0,sumY=0,sumXX=0;for(var pointIndex=0;pointIndex<numPoints;pointIndex++){var pointX=pointIndex,pointY=Math.abs(inLastFiveSpeeds[pointIndex]);sumXY+=pointX*pointY;sumX+=pointX;sumY+=pointY;sumXX+=pointX*pointX}var slopeAngle=(numPoints*sumXY-sumX*sumY)/(numPoints*sumXX-sumX*sumX);return slopeAngle},_syncContentX:function(baseElem,useTransform){var destX;if(useTransform){destX=-baseElem.scrollLeft;var destY=-this._getContentPositionY();this._content.css({"-webkit-transform":"translate3d("+destX+"px,"+destY+"px, 0px)"})}else{destX=baseElem.scrollLeft;this._scrollFromSyncContentH=true;this._container.scrollLeft(destX)}},_syncContentY:function(baseElem,useTransform){var destY;if(useTransform){var destX=this._getContentPositionX();destY=-baseElem.scrollTop;this._content.css({"-webkit-transform":"translate3d("+destX+"px,"+destY+"px, 0px)"})}else{destY=baseElem.scrollTop;this._scrollFromSyncContentV=true;this._container.scrollTop(destY)}},_syncElemsX:function(baseElem,useTransform,inDestX,useDestination){var destX,index;if(!baseElem&&!useDestination){return}if(useTransform){if(!useDestination){var matrix=this._content.css("-webkit-transform");var values=matrix?matrix.match(/-?[\d\.]+/g):undefined;destX=values?Number(values[4]):-this._getContentPositionX()}else{destX=inDestX}if(this._linkedHElems.length>0){for(index=0;index<this._linkedHElems.length;index++){var matrixElem=this._linkedHElems[index].css("-webkit-transform");var valuesElem=matrixElem?matrixElem.match(/-?[\d\.]+/g):undefined;var destY=valuesElem?Number(valuesElem[5]):0;if(this._linkedHElems[index].data("igScroll")!==undefined&&this._linkedHElems[index].data("igScroll").options.modifyDOM){this._linkedHElems[index].data("igScroll")._scrollLeft(-destX,true,false)}else if(this.options.modifyDOM){this._linkedHElems[index].find(".igscroll-hsynced-content").css({"-webkit-transform":"translate3d("+destX+"px, "+destY+"px, 0px)"})}else{this._linkedHElems[index].css({"-webkit-transform":"translate3d("+destX+"px, "+destY+"px, 0px)"})}}}}else{destX=baseElem.scrollLeft;if(this._linkedHElems.length>0){for(index=0;index<this._linkedHElems.length;index++){if(this._linkedHElems[index].length){if(this._linkedHElems[index].data("igScroll")!==undefined&&this._linkedHElems[index].data("igScroll").options.modifyDOM){this._linkedHElems[index].find(".igscroll-container").scrollLeft(destX)}else if(this.options.modifyDOM){this._linkedHElems[index].scrollLeft(destX)}else{if(this._linkedHElems[index].parent().data("igScroll")!==undefined){this._linkedHElems[index].parent().data("igScroll")._scrollFromSyncContentH=true}this._linkedHElems[index][0].parentElement.scrollLeft=destX}}}}}},_syncElemsY:function(baseElem,useTransform,inDestY,useDestination){var destY,index;if(!baseElem&&!useDestination){return}if(useTransform){if(!useDestination){var matrix=this._content.css("-webkit-transform");var values=matrix?matrix.match(/-?[\d\.]+/g):undefined;destY=values?Number(values[5]):-this._getContentPositionY()}else{destY=inDestY}if(this._linkedVElems.length>0){for(index=0;index<this._linkedVElems.length;index++){var matrixElem=this._linkedVElems[index].css("-webkit-transform");var valuesElem=matrixElem?matrixElem.match(/-?[\d\.]+/g):undefined;var destX=valuesElem?Number(valuesElem[4]):0;if(this._linkedVElems[index].data("igScroll")!==undefined&&this._linkedVElems[index].data("igScroll").options.modifyDOM){this._linkedVElems[index].data("igScroll")._scrollTop(-destY,true,false)}else if(this.options.modifyDOM){this._linkedVElems[index].find(".igscroll-vsynced-content").css({"-webkit-transform":"translate3d("+destX+"px,"+destY+"px, 0px)"})}else{this._linkedVElems[index].css({"-webkit-transform":"translate3d("+destX+"px,"+destY+"px, 0px)"})}}}}else{destY=baseElem.scrollTop;if(this._linkedVElems.length>0){for(index=0;index<this._linkedVElems.length;index++){if(this._linkedVElems[index].length){if(this._linkedVElems[index].data("igScroll")!==undefined&&this._linkedVElems[index].data("igScroll").options.modifyDOM){this._linkedVElems[index].find(".igscroll-container").scrollTop(destY)}else if(this.options.modifyDOM){this._linkedVElems[index].scrollTop(destY)}else{if(this._linkedVElems[index].parent().data("igScroll")!==undefined){this._linkedVElems[index].parent().data("igScroll")._scrollFromSyncContentV=true}this._linkedVElems[index][0].parentElement.scrollTop=destY}}}}}},_syncHBar:function(baseElem,useTransform){var destX;if(useTransform){destX=this._getContentPositionX()}else{destX=baseElem.scrollLeft}if(this._linkedHBar){this._ignoreHScrollBarEvents=true;this._linkedHBar.scrollLeft(destX)}},_syncVBar:function(baseElem,useTransform){var destY;if(useTransform){destY=this._getContentPositionY()}else{destY=baseElem.scrollTop}if(this._linkedVBar){this._ignoreVScrollBarEvents=true;this._linkedVBar.scrollTop(destY)}},_moveHBarX:function(destX){if(this._linkedHBar){this._linkedHBar.scrollLeft(destX)}},_moveVBarY:function(destY){if(this._linkedVBar){this._linkedVBar.scrollTop(destY)}},_onKeyDown:function(event){if(this._bKeyboardNavigation){var keyCode=event.keyCode,curPosX,curPosY,scrollStep=0,horizontal=false,evtArgs={owner:this,smallIncrement:0,bigIncrement:0,horizontal:false,stepX:0,stepY:0};if(this.options.scrollOnlyHBar){curPosX=this._getScrollbarHPosition()}else{curPosX=this._getContentPositionX()}if(this.options.scrollOnlyVBar){curPosY=this._getScrollbarVPosition()}else{curPosY=this._getContentPositionY()}if(keyCode===$.ui.keyCode.DOWN){scrollStep=this.options.smallIncrementStep;evtArgs.stepY=scrollStep;evtArgs.smallIncrement=1}else if(keyCode===$.ui.keyCode.UP){scrollStep=-this.options.smallIncrementStep;evtArgs.stepY=scrollStep;evtArgs.smallIncrement=-1}else if(keyCode===$.ui.keyCode.RIGHT){horizontal=true;scrollStep=this.options.smallIncrementStep;evtArgs.stepX=scrollStep;evtArgs.smallIncrement=1}else if(keyCode===$.ui.keyCode.LEFT){horizontal=true;scrollStep=-this.options.smallIncrementStep;evtArgs.stepX=scrollStep;evtArgs.smallIncrement=-1}else if(keyCode===$.ui.keyCode.PAGE_UP){scrollStep=this.options.bigIncrementStep===null?-this._elemHeight:-this.options.bigIncrementStep;evtArgs.stepY=scrollStep;evtArgs.bigIncrement=-1}else if(keyCode===$.ui.keyCode.PAGE_DOWN){scrollStep=this.options.bigIncrementStep===null?this._elemHeight:this.options.bigIncrementStep;evtArgs.stepY=scrollStep;evtArgs.bigIncrement=1}else if(keyCode===$.ui.keyCode.SPACE&&!event.shiftKey){scrollStep=this.options.bigIncrementStep===null?this._elemHeight:this.options.bigIncrementStep;evtArgs.stepY=scrollStep;evtArgs.bigIncrement=1}else if(keyCode===$.ui.keyCode.SPACE&&event.shiftKey){scrollStep=this.options.bigIncrementStep===null?-this._elemHeight:-this.options.bigIncrementStep;evtArgs.stepY=scrollStep;evtArgs.bigIncrement=-1}var bNoCancel=this._trigger("scrolling",null,evtArgs);if(bNoCancel){if(horizontal){this._scrollLeft(curPosX+scrollStep,false);
}else{this._scrollTop(curPosY+scrollStep,false)}this._trigger("scrolled",null,{owner:this,smallIncrement:evtArgs.smallIncrement,bigIncrement:evtArgs.bigIncrement,horizontal:horizontal})}}},_onScrollContainer:function(){if(!this._bMixedEnvironment){this._applyTransformOnScrollTop()}if(!this._scrollFromSyncContentV){this._syncElemsY(this._container[0],!this._bMixedEnvironment);if(!this.options.scrollOnlyVBar){this._syncVBar(this._container[0],!this._bMixedEnvironment)}}else{this._scrollFromSyncContentV=false}if(!this._scrollFromSyncContentH){this._syncElemsX(this._container[0],!this._bMixedEnvironment);if(!this.options.scrollOnlyHBar){this._syncHBar(this._container[0],!this._bMixedEnvironment)}}else{this._scrollFromSyncContentH=false}if(!this._bInternalScroll){var posX,posY;if(this.options.scrollOnlyHBar){posX=this._getScrollbarHPosition()}else{posX=this._getContentPositionX()}if(this.options.scrollOnlyVBar){posY=this._getScrollbarVPosition()}else{posY=this._getContentPositionY()}this._updateScrollbarsPos(posX,posY)}else{this._bInternalScroll=false}return false},_onWheelContainer:function(event){if(event.ctrlKey===true){return true}var evt=event.originalEvent,scrollDeltaX=0,scrollDeltaY=0,scrollStep=this.options.wheelStep,minWheelStep=1/this.options.wheelStep,scrolledY;cancelAnimationFrame(this._touchInertiaAnimID);if(!this._bMixedEnvironment){this._applyTransformOnScrollTop()}if(this.options.scrollOnlyHBar){this._startX=this._getScrollbarHPosition()}else{this._startX=this._getContentPositionX()}if(this.options.scrollOnlyVBar){this._startY=this._getScrollbarVPosition()}else{this._startY=this._getContentPositionY()}if(evt.wheelDeltaX){scrollDeltaX=-evt.wheelDeltaX/120;if(-minWheelStep<scrollDeltaX&&scrollDeltaX<minWheelStep){scrollDeltaX=Math.sign(scrollDeltaX)*minWheelStep}}else if(evt.deltaX){scrollDeltaX=this._clampAxisCoords(evt.deltaX,-1,1)}if(evt.wheelDeltaY){scrollDeltaY=-evt.wheelDeltaY/120;if(-minWheelStep<scrollDeltaY&&scrollDeltaY<minWheelStep){scrollDeltaY=Math.sign(scrollDeltaY)*minWheelStep}}else if(evt.deltaY){scrollDeltaY=this._clampAxisCoords(evt.deltaY,-1,1)}if(this.options.smoothing){if(scrollDeltaX){this._scrollToX(this._startX+scrollDeltaX*scrollStep,true)}else{this._smoothWheelScrollY(scrollDeltaY)}}else{if(this._bMixedEnvironment){scrolledY=this._scrollToXY(this._startX+scrollDeltaX*scrollStep,this._startY+scrollDeltaY*scrollStep,true).y}else{scrolledY=this._scrollTouchToXY(this._startX,this._startY+scrollDeltaY*scrollStep,true).y}if(!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:0,bigIncrement:0,horizontal:false})}return!scrolledY}return false},_onPointerDownContainer:function(event){var evt=event.originalEvent;if(!evt||evt.pointerType!==2&&evt.pointerType!=="touch"||typeof MSGesture!=="function"){return true}event.target[setPointerCaptureFName](this._pointer=evt.pointerId);if(!this._gestureObject){this._gestureObject=new MSGesture;this._gestureObject.target=this._container[0]}this._gestureObject.addPointer(this._pointer)},_onPointerUpContainer:function(event){if(!this._pointer){return true}event.target[releasePointerCaptureFName](this._pointer);delete this._pointer},_onMSGestureStartContainer:function(event){if(this.options.scrollOnlyVBar){this._startX=this._getScrollbarHPosition();this._startY=this._getScrollbarVPosition()}else{this._startX=this._getContentPositionX();this._startY=this._getContentPositionY()}this._touchStartX=event.originalEvent.screenX;this._touchStartY=event.originalEvent.screenY;this._moving=true;this._totalMovedX=0;this._offsetRecorded=false;this._offsetDirection=0},_onMSGestureChangeContainer:function(event){var touchPos=event.originalEvent,destX=this._startX+this._touchStartX-touchPos.screenX,destY=this._startY+this._touchStartY-touchPos.screenY;this._totalMovedX=this._touchStartX-touchPos.screenX;if(Math.abs(this._totalMovedX)<this.options.swipeToleranceX&&!this._offsetRecorded){if(this._bMixedEnvironment){this._scrollToXY(this._startX,destY,true)}else{this._scrollTouchToXY(this._startX,destY,true)}}else{if(!this._offsetRecorded){this._offsetDirection=Math.sign(destX-this._startX);this._offsetRecorded=true}if(this._bMixedEnvironment){this._scrollToXY(destX-this._offsetDirection*this.options.swipeToleranceX,destY,true)}else{this._scrollTouchToXY(destX-this._offsetDirection*this.options.swipeToleranceX,destY,true)}}this._moving=true},_onMSGestureEndContainer:function(){this._moving=false},_onTouchStartContainer:function(event){if(event.isDefaultPrevented()||typeof MSGesture==="function"){return}cancelAnimationFrame(this._touchInertiaAnimID);var touch=event.originalEvent.touches[0];if(this.options.scrollOnlyHBar){this._startX=this._getScrollbarHPosition()}else{this._startX=this._getContentPositionX()}if(this.options.scrollOnlyVBar){this._startY=this._getScrollbarVPosition()}else{this._startY=this._getContentPositionY()}this._touchStartX=touch.pageX;this._touchStartY=touch.pageY;this._speedDecreasing=false;this._lastTouchEnd=(new Date).getTime();this._lastTouchX=touch.pageX;this._lastTouchY=touch.pageY;this._savedSpeedsX=[];this._savedSpeedsY=[];this._totalMovedX=0;this._offsetRecorded=false;this._offsetDirection=0;this._igScollTouchPrevented=false},_onTouchMoveContainer:function(event){if(event.isDefaultPrevented()||this._igScollTouchPrevented||typeof MSGesture==="function"){this._igScollTouchPrevented=false;return}var touch=event.originalEvent.touches[0];var destX=this._startX+(this._touchStartX-touch.pageX)*Math.sign(this.options.inertiaStep);var destY=this._startY+(this._touchStartY-touch.pageY)*Math.sign(this.options.inertiaStep);var speedSlopeX=this._getSpeedSlope(this._savedSpeedsX);var speedSlopeY=this._getSpeedSlope(this._savedSpeedsY);if(speedSlopeY>-.1||speedSlopeX>-.1){this._speedDecreasing=true}else{this._speedDecreasing=false}var timeFromLastTouch=(new Date).getTime()-this._lastTouchEnd;if(timeFromLastTouch!==0&&timeFromLastTouch<100){var speedX=(this._lastTouchX-touch.pageX)/timeFromLastTouch;var speedY=(this._lastTouchY-touch.pageY)/timeFromLastTouch;if(this._savedSpeedsX.length<5){this._savedSpeedsX.push(speedX)}else{this._savedSpeedsX.shift();this._savedSpeedsX.push(speedX)}if(this._savedSpeedsY.length<5){this._savedSpeedsY.push(speedY)}else{this._savedSpeedsY.shift();this._savedSpeedsY.push(speedY)}}this._lastTouchEnd=(new Date).getTime();this._lastMovedX=this._lastTouchX-touch.pageX;this._lastMovedY=this._lastTouchY-touch.pageY;this._lastTouchX=touch.pageX;this._lastTouchY=touch.pageY;this._totalMovedX+=this._lastMovedX;var scrolledXY;if(Math.abs(this._totalMovedX)<this.options.swipeToleranceX&&!this._offsetRecorded){if(navigator.userAgent.indexOf("Firefox")>-1||this._bMixedEnvironment){scrolledXY=this._scrollToXY(this._startX,destY,true)}else{scrolledXY=this._scrollTouchToXY(this._startX,destY,true)}}else{if(!this._offsetRecorded){this._offsetDirection=Math.sign(destX-this._startX);this._offsetRecorded=true}if(navigator.userAgent.indexOf("Firefox")>-1||this._bMixedEnvironment){scrolledXY=this._scrollToXY(destX-this._offsetDirection*this.options.swipeToleranceX,destY,true)}else{scrolledXY=this._scrollTouchToXY(destX-this._offsetDirection*this.options.swipeToleranceX,destY,true)}}if(scrolledXY.x===0&&scrolledXY.y===0){this._igScollTouchPrevented=true}if(!this._igScollTouchPrevented&&event.cancelable){this._showScrollbars(true);event.preventDefault()}},_onTouchEndContainer:function(event){if(event.isDefaultPrevented()||typeof MSGesture==="function"){return}var speedX=0;var speedY=0;for(var i=0;i<this._savedSpeedsX.length;i++){speedX+=this._savedSpeedsX[i];speedY+=this._savedSpeedsY[i]}speedX=this._savedSpeedsX.length?speedX/this._savedSpeedsX.length:0;speedY=this._savedSpeedsX.length?speedY/this._savedSpeedsY.length:0;if((Math.abs(speedX)>.1||Math.abs(speedY)>.1)&&(Math.abs(this._lastMovedX)>2||Math.abs(this._lastMovedY)>2)){this._showScrollbars(true);this._inertiaInit(speedX,speedY,this._bMixedEnvironment)}else{this._hideScrollbars();if(!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:0,bigIncrement:0,horizontal:null})}}},_onMouseEnterContainer:function(){this._mOverContainer=true;cancelAnimationFrame(this._showScrollbarsAnimId);clearTimeout(this._hideScrollbarID);if(!this._toSimpleScrollbarsID&&!this._bMouseDownH&&!this._bMouseDownV){this._showScrollbars(true)}},_onMouseLeaveContainer:function(){var self=this;this._mOverContainer=false;if(!this._bMouseDownV&&!this._bMouseDownH){clearTimeout(this._toSimpleScrollbarsID);this._toSimpleScrollbarsID=0;this._hideScrollbarID=setTimeout(function(){self._hideScrollbars()},2e3)}},_onDimensionsChange:function(){var bNoCancel,evtArgs={owner:this};bNoCancel=this._trigger("resizing",null,evtArgs);if(bNoCancel){this.refresh();this._trigger("resized",null,evtArgs)}},_onElementMutation:function(mutations){for(var index=0;index<mutations.length;index++){if(mutations[index].attributeName==="style"&&(this._elemWidth!==this.element.width()||this._elemHeight!==this.element.height())){this._onDimensionsChange()}}},_updateScrollBarsVisibility:function(){var bRenderScrollbarV=this._isScrollableV&&this._renderVerticalScrollbar,bRenderScrollbarH=this._isScrollableH&&this._renderHorizontalScrollbar,bRemoveScrollbarV=(!this._isScrollableV||!this._renderVerticalScrollbar)&&this._vBarContainer,bRemoveScrollbarH=(!this._isScrollableH||!this._renderHorizontalScrollbar)&&this._hBarContainer;if(this.options.scrollbarType==="none"){return}if(this.options.scrollbarType==="native"){if(bRenderScrollbarV&&!this._vBarContainer){this._initNativeScrollBarV(bRenderScrollbarH)}else if(bRemoveScrollbarV){this._removeVerticalScrollbar()}if(bRenderScrollbarH&&!this._hBarContainer){this._initNativeScrollBarH(bRenderScrollbarV)}else if(bRemoveScrollbarH){this._removeHorizontalScrollbar()}if((!this._vBarContainer||!this._hBarContainer)&&this._desktopFiller){this._desktopFiller.remove();this._desktopFiller=null}}else if(this.options.scrollbarType==="custom"){if(bRenderScrollbarV&&!this._vBarContainer){this._initCustomScrollBarV(bRenderScrollbarH)}else if(bRemoveScrollbarV){this._removeVerticalScrollbar()}if(bRenderScrollbarH&&!this._hBarContainer){this._initCustomScrollBarH(bRenderScrollbarV)}else if(bRemoveScrollbarH){this._removeHorizontalScrollbar()}if($.ig.util.isTouchDevice()){this._toSimpleScrollbars()}}},_initNativeScrollBarV:function(bRenderScrollbarH){var css=this.css,nativeScrollSize=$.ig.util.getScrollWidth();this._vBarContainer=$("<div id='"+this.element.attr("id")+"_vBar'></div>").addClass(css.nativeVScrollOuter);if(!bRenderScrollbarH){this._vBarContainer.addClass(css.nativeVScrollOuterSingle)}else{this._vBarContainer.css("bottom",nativeScrollSize+"px")}this._vDragHeight=this._content.height();this._vBarDrag=$("<div id='"+this.element.attr("id")+"_vBar_inner'></div>").addClass(css.nativeVScrollInner).css("height",this._vDragHeight+"px");if(this.options.scrollbarVParent){this._vBarContainer.append(this._vBarDrag).appendTo(this.options.scrollbarVParent)}else{this._vBarContainer.append(this._vBarDrag).appendTo(this._container[0].parentElement)}if($.ig.util.getScrollHeight()>0&&this.options.modifyDOM){this._content.css("padding-right",nativeScrollSize+"px")}if(bRenderScrollbarH&&this._bMixedEnvironment&&!this._desktopFiller){this._desktopFiller=$("<div id='"+this.element.attr("id")+"_scrollbarFiller'></div>").addClass(css.nativeScrollFiller).css("height",nativeScrollSize+"px").css("width",nativeScrollSize+"px");this._desktopFiller.appendTo(this._container[0].parentElement)}this._vBarContainer.scrollTop(this._getContentPositionY());this._setOption("scrollbarV",this._vBarContainer)},_initNativeScrollBarH:function(bRenderScrollbarV){var css=this.css,nativeScrollSize=$.ig.util.getScrollWidth();this._hBarContainer=$("<div id='"+this.element.attr("id")+"_hBar'></div>").addClass(css.nativeHScrollOuter);if(!bRenderScrollbarV){this._hBarContainer.addClass(css.nativeHScrollOuterSingle)}else{this._hBarContainer.css("right",nativeScrollSize+"px")}this._hDragWidth=this._content.width();this._hBarDrag=$("<div id='"+this.element.attr("id")+"_hBar_inner'></div>").addClass(css.nativeHScrollInner).css("width",this._hDragWidth+"px");if(this.options.scrollbarHParent){this._hBarContainer.append(this._hBarDrag).appendTo(this.options.scrollbarHParent)}else{this._hBarContainer.append(this._hBarDrag).appendTo(this._container[0].parentElement)}if(nativeScrollSize>0&&this.options.modifyDOM){this._content.css("padding-bottom",nativeScrollSize+"px")}if(bRenderScrollbarV&&this._bMixedEnvironment&&!this._desktopFiller){this._desktopFiller=$("<div id='"+this.element.attr("id")+"_scrollbarFiller'></div>").addClass(css.nativeScrollFiller).css("height",nativeScrollSize+"px").css("width",nativeScrollSize+"px");this._desktopFiller.appendTo(this._container[0].parentElement)}this._hBarContainer.scrollLeft(this._getContentPositionX());this._setOption("scrollbarH",this._hBarContainer)},_removeScrollbars:function(){this._removeVerticalScrollbar();this._removeHorizontalScrollbar();if(this._desktopFiller){this._desktopFiller.remove();this._desktopFiller=null;this._content.css("padding-right","0px").css("padding-bottom","0px")}},_removeVerticalScrollbar:function(){if(this._vBarContainer){this._vBarContainer.remove();this._vBarContainer=null;this._vDragHeight=null;this._vBarDrag=null;this._vBarTrack=null;if(this.options.modifyDOM&&this.options.scrollbarType==="native"){this._content.css("padding-right","")}}if(this._onMouseMoveVDragHandler){$("body").off("mousemove.igscroll_"+this.element[0].id,this._onMouseMoveVDragHandler)}if(this._onMouseUpVScrollbarHandler){$(window).off("mouseup.igscroll_"+this.element[0].id,this._onMouseUpVScrollbarHandler)}},_removeHorizontalScrollbar:function(){if(this._hBarContainer){this._hBarContainer.remove();this._hBarContainer=null;this._hDragHeight=null;this._hBarDrag=null;this._hBarTrack=null;if(this.options.modifyDOM&&this.options.scrollbarType==="native"){this._content.css("padding-bottom","")}}if(this._onMouseMoveHDragHandler){$("body").off("mousemove.igscroll_"+this.element[0].id,this._onMouseMoveHDragHandler)}if(this._onMouseUpHScrollbarHandler){$(window).off("mouseup.igscroll_"+this.element[0].id,this._onMouseUpHScrollbarHandler)}},_initCustomScrollBarV:function(bRenderScrollbarH){var css=this.css;this._vBarContainer=$("<div id='"+this.element.attr("id")+"_vBar'></div>").addClass(css.verticalScrollContainer);this._vBarArrowUp=$("<div id='"+this.element.attr("id")+"_vBar_arrowUp'></div>").addClass(css.verticalScrollArrow).addClass(css.verticalScrollArrowUp);this._vBarTrack=$("<div id='"+this.element.attr("id")+"_vBar_track'></div>").addClass(css.verticalScrollTrack);this._vBarArrowDown=$("<div id='"+this.element.attr("id")+"_vBar_arrowDown'></div>").addClass(css.verticalScrollArrow).addClass(css.verticalScrollArrowDown);if(!bRenderScrollbarH){this._vBarTrack.addClass(css.verticalScrollTrackSingleScrollbar);this._vBarArrowDown.addClass(css.verticalScrollArrowDownSingleScrollbar)}if(this.options.scrollbarVParent){this._vBarContainer.append(this._vBarArrowUp).append(this._vBarTrack.append(this._vBarDrag)).append(this._vBarArrowDown).appendTo(this.options.scrollbarVParent)}else{this._vBarContainer.append(this._vBarArrowUp).append(this._vBarTrack.append(this._vBarDrag)).append(this._vBarArrowDown).appendTo(this._container[0].parentElement)}this._vDragHeight=this._calculateVDragHeight();this._vBarDrag=$("<span id='"+this.element.attr("id")+"_vBar_drag'></span>").addClass(css.verticalScrollThumbDrag+" "+css.verticalScrollThumbDragThin).css("height",this._vDragHeight+"%");if(this.options.scrollbarVParent){this._vBarTrack.append(this._vBarDrag)}else{this._vBarTrack.append(this._vBarDrag)}this._bindCustomScrollBarV()},_calculateVDragHeight:function(){var dragHeightPx,minSize=parseInt(this.options.minThumbSize,10);dragHeightPx=this._vBarTrack.height()/this._contentHeight*this._vBarTrack.height();dragHeightPx=dragHeightPx<minSize?minSize:dragHeightPx;return dragHeightPx/this._vBarTrack.height()*100},_bindCustomScrollBarV:function(){this._holdTimeoutID=0;this._bMouseDownV=false;this._bUseArrowUp=false;this._bUseArrowDown=false;this._mouseLastY=0;this._dragLastY=0;this._bUseVDrag=false;this._bUseVTrack=false;this._lastBigIncDirV=0;this._mTrackLastPosV=0;if(this._vBarArrowUp){this._vBarArrowUp.on({mousedown:$.proxy(this._onMouseDownArrowUp,this),mouseup:$.proxy(this._onMouseUpArrowUp,this),mouseover:$.proxy(this._onMouseOverArrowUp,this),mouseout:$.proxy(this._onMouseOutScrollbarArrow,this),touchstart:$.proxy(this._onTouchStartScrollbarElem,this)})}if(this._vBarArrowDown){this._vBarArrowDown.on({mousedown:$.proxy(this._onMouseDownArrowDown,this),mouseup:$.proxy(this._onMouseUpArrowDown,this),mouseover:$.proxy(this._onMouseOverArrowDown,this),mouseout:$.proxy(this._onMouseOutScrollbarArrow,this),touchstart:$.proxy(this._onTouchStartScrollbarElem,this)})}if(this._vBarDrag){this._vBarDrag.on({mousedown:$.proxy(this._onMouseDownVDrag,this),touchstart:$.proxy(this._onTouchStartScrollbarElem,this)})}if(this._vBarTrack){this._vBarTrack.on({mousedown:$.proxy(this._onMouseDownVTrack,this),mousemove:$.proxy(this._onMouseMoveVTrack,this),mouseup:$.proxy(this._onMouseUpVTrack,this),mouseout:$.proxy(this._onMouseOutVTrack,this),touchstart:$.proxy(this._onTouchStartScrollbarElem,this)})}if(this._vBarContainer){this._vBarContainer.on({dragstart:$.proxy(this._onDragStartElem,this),wheel:$.proxy(this._onWheelContainer,this),mouseenter:$.proxy(this._onMouseEnterScrollbarElem,this),mouseleave:$.proxy(this._onMouseLeaveScrollbarElem,this)})}this._onMouseMoveVDragHandler=$.proxy(this._onMouseMoveVDrag,this);this._onMouseUpVScrollbarHandler=$.proxy(this._onMouseUpVScrollbar,this);$("body").on("mousemove.igscroll_"+this.element[0].id,this._onMouseMoveVDragHandler);$(window).on("mouseup.igscroll_"+this.element[0].id,this._onMouseUpVScrollbarHandler)},_scrollTimeoutY:function(step,bSmallIncement){var curPosY=this._getContentPositionY();if(curPosY===0&&step<=0||curPosY===this._getContentHeight()-this._getContainerHeight()&&step>=0){return}var bNoCancel,eventArgs={owner:this,smallIncrement:0,bigIncrement:0,horizontal:false,stepX:0,stepY:step};if(bSmallIncement){eventArgs.smallIncrement=Math.sign(step)}else{var dragStartY=this._getTransform3dValueY(this._vBarDrag);if(this._mTrackLastPosV>dragStartY&&this._mTrackLastPosV<dragStartY+this._vDragHeight){return}eventArgs.bigIncrement=Math.sign(step);this._lastBigIncDirV=Math.sign(step)}bNoCancel=this._trigger("scrolling",null,eventArgs);this._cancelScrolling=!bNoCancel;if(bNoCancel){this._scrollTop(curPosY+step,false);var self=this;this._holdTimeoutID=setTimeout(function(){self._scrollTimeoutY(step,bSmallIncement)},50)}},_onMouseDownArrowUp:function(){var scrollStep=-this.options.smallIncrementStep,curPosY=this._getContentPositionY();if(curPosY===0){scrollStep=0}var bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:-1,bigIncrement:0,horizontal:false,stepX:0,stepY:scrollStep});this._cancelScrolling=!bNoCancel;if(bNoCancel){this._bMouseDownV=true;this._bUseArrowUp=true;this._scrollTop(curPosY+scrollStep,false);var self=this;this._holdTimeoutID=setTimeout(function(){self._scrollTimeoutY(scrollStep,true)},250)}},_onMouseUpArrowUp:function(){this._bMouseDownV=false;this._bUseArrowUp=true;clearTimeout(this._holdTimeoutID)},_onMouseOverArrowUp:function(){if(this._bMouseDownV&&this._bUseArrowUp){this._scrollTimeoutY(-40,true)}},_onMouseOutScrollbarArrow:function(){clearTimeout(this._holdTimeoutID)},_onMouseDownArrowDown:function(){var scrollStep=this.options.smallIncrementStep,curPosY=this._getContentPositionY();if(curPosY===this._getContentHeight()-this._getContainerHeight()){scrollStep=0}var bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:1,bigIncrement:0,horizontal:false,stepX:0,stepY:scrollStep});this._cancelScrolling=!bNoCancel;if(bNoCancel){this._bMouseDownV=true;this._bUseArrowDown=true;this._scrollTop(curPosY+scrollStep,false);var self=this;this._holdTimeoutID=setTimeout(function(){self._scrollTimeoutY(scrollStep,true)},250)}},_onMouseUpArrowDown:function(){this._bMouseDownV=false;this._bUseArrowDown=true;clearTimeout(this._holdTimeoutID)},_onMouseOverArrowDown:function(){if(this._bMouseDownV&&this._bUseArrowDown){this._scrollTimeoutY(40,true)}},_onMouseDownVDrag:function(event){this._bMouseDownV=true;this._mouseLastY=event.pageY;this._bUseVDrag=true;this._bUseHDrag=false;this._trigger("thumbDragStart",null,{owner:this,horizontal:false});this._disableContentSelection()},_onMouseDownVTrack:function(event){if(event.target.id===this._vBarDrag[0].id){return true}this._bUseVTrack=true;var self=this,dragStartY=this._getTransform3dValueY(this._vBarDrag),curPosY=this._getContentPositionY(),scrollStep=this.options.bigIncrementStep===null?this._elemHeight:this.options.bigIncrementStep,bNoCancel;this._mTrackLastPosV=event.offsetY;if(event.offsetY>dragStartY+this._vDragHeight){this._lastBigIncDirV=1;bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:0,bigIncrement:1,horizontal:false,stepX:0,stepY:scrollStep});this._cancelScrolling=!bNoCancel;if(bNoCancel){this._scrollTop(curPosY+scrollStep,false);this._holdTimeoutID=setTimeout(function(){self._scrollTimeoutY(scrollStep,false)},250)}}else if(event.offsetY<dragStartY){this._lastBigIncDirV=-1;bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:0,bigIncrement:-1,horizontal:false,stepX:0,stepY:-scrollStep});if(bNoCancel){this._scrollTop(curPosY-scrollStep,false);this._holdTimeoutID=setTimeout(function(){self._scrollTimeoutY(-scrollStep,false)},250)}}},_onMouseMoveVTrack:function(event){if(this._bUseVTrack){this._mTrackLastPosV=event.offsetY}},_onMouseUpVTrack:function(){clearTimeout(this._holdTimeoutID);if(this._bUseVTrack&&!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:0,bigIncrement:this._lastBigIncDirV,horizontal:false})}this._bUseVTrack=false},_onMouseOutVTrack:function(){clearTimeout(this._holdTimeoutID);if(this._bUseVTrack&&!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:0,bigIncrement:this._lastBigIncDirV,horizontal:false})}this._bUseVTrack=false},_onMouseMoveVDrag:function(event){if(!this._bMouseDownV||!this._bUseVDrag){return true}if(this._bUseVDrag){var curPosY=this._getContentPositionY(),offset=event.pageY-this._mouseLastY,dragbPosY=this._dragLastY,nextPosY;nextPosY=(dragbPosY+offset)/(this._vBarTrack.height()-this._vBarDrag.height())*(this._getContentHeight()-this.element.height());nextPosY=this._clampAxisCoords(nextPosY,0,Math.max(this._getContentHeight()-this._getContainerHeight(),0));var bNoCancel=this._trigger("thumbDragMove",null,{owner:this,horizontal:false,stepX:0,stepY:nextPosY-curPosY});this._cancelThumbDrag=!bNoCancel;if(bNoCancel){this._scrollToY(nextPosY,true);this._mouseLastY=event.pageY;this._dragLastY=dragbPosY+offset}}},_onMouseUpVScrollbar:function(){var self=this;if(this._bUseArrowUp){this._bUseArrowUp=false;if(!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:-1,bigIncrement:0,horizontal:false})}}if(this._bUseArrowDown){this._bUseArrowDown=false;if(!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:1,bigIncrement:0,horizontal:false})}}if(this._bMouseDownV&&!this._mOverScrollbars&&!this._mOverContainer){this._hideScrollbarID=setTimeout(function(){self._hideScrollbars()},2e3)}else if(this._bMouseDownV&&!this._mOverScrollbars&&this._mOverContainer){this._toSimpleScrollbarsID=setTimeout(function(){self._toSimpleScrollbars();self._toSimpleScrollbarsID=0},2e3)}this._bMouseDownV=false;if(this._bUseVDrag){this._dragLastY=this._getTransform3dValueY(this._vBarDrag);if(!this._cancelThumbDrag){this._trigger("thumbDragEnd",null,{owner:this,horizontal:false})}if(!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:0,bigIncrement:0,horizontal:true})}this._enableContentSelection()}this._bUseVDrag=false},_initCustomScrollBarH:function(bRenderScrollbarV){var css=this.css;this._hBarContainer=$("<div id='"+this.element.attr("id")+"_hBar'></div>").addClass(css.horizontalScrollContainer);this._hBarArrowLeft=$("<div id='"+this.element.attr("id")+"_hBar_arrowLeft'></div>").addClass(css.horizontalScrollArrow).addClass(css.horizontalScrollArrowLeft);this._hBarTrack=$("<div id='"+this.element.attr("id")+"_hBar_track'></div>").addClass(css.horizontalScrollTrack);this._hBarArrowRight=$("<div id='"+this.element.attr("id")+"_hBar_arrowRight'></div>").addClass(css.horizontalScrollArrow).addClass(css.horizontalScrollArrowRight);if(!bRenderScrollbarV){this._hBarTrack.addClass(css.horizontalScrollTrackSingleScrollbar);this._hBarArrowRight.addClass(css.horizontalScrollArrowRightSingleScrollbar)}if(this.options.scrollbarHParent){this._hBarContainer.append(this._hBarArrowLeft).append(this._hBarTrack.append(this._hBarDrag)).append(this._hBarArrowRight).appendTo(this.options.scrollbarHParent)}else{this._hBarContainer.append(this._hBarArrowLeft).append(this._hBarTrack.append(this._hBarDrag)).append(this._hBarArrowRight).appendTo(this._container[0].parentElement)}this._hDragWidth=this._calculateHDragWidth();this._hBarDrag=$("<span id='"+this.element.attr("id")+"_hBar_drag'></span>").addClass(css.horizontalScrollThumbDrag+" "+css.horizontalScrollThumbDragThin).css("width",this._hDragWidth+"%");if(this.options.scrollbarHParent){this._hBarTrack.append(this._hBarDrag)}else{this._hBarTrack.append(this._hBarDrag)}this._bindCustomScrollBarH()},_calculateHDragWidth:function(){var dragWidthPx,minSize=parseInt(this.options.minThumbSize,10);dragWidthPx=this._hBarTrack.width()/this._contentWidth*this._hBarTrack.width();dragWidthPx=dragWidthPx<minSize?minSize:dragWidthPx;return dragWidthPx/this._hBarTrack.width()*100},_bindCustomScrollBarH:function(){this._holdTimeoutID=0;this._bMouseDownH=false;this._bUseArrowLeft=false;this._bUseArrowRight=false;this._bUseHDrag=false;this._mouseLastX=0;this._dragLastX=0;this._bUseHTrack=false;this._lastBigIncDirH=0;this._mTrackLastPosH=0;if(this._hBarArrowLeft){this._hBarArrowLeft.on({mousedown:$.proxy(this._onMouseDownArrowLeft,this),mouseup:$.proxy(this._onMouseUpArrowLeft,this),mouseover:$.proxy(this._onMouseOverArrowLeft,this),mouseout:$.proxy(this._onMouseOutScrollbarArrow,this),touchstart:$.proxy(this._onTouchStartScrollbarElem,this)})}if(this._hBarArrowRight){this._hBarArrowRight.on({mousedown:$.proxy(this._onMouseDownArrowRight,this),mouseup:$.proxy(this._onMouseUpArrowRight,this),mouseover:$.proxy(this._onMouseOverArrowRight,this),mouseout:$.proxy(this._onMouseOutScrollbarArrow,this),touchstart:$.proxy(this._onTouchStartScrollbarElem,this)})}if(this._hBarDrag){this._hBarDrag.on({mousedown:$.proxy(this._onMouseDownHDrag,this),touchstart:$.proxy(this._onTouchStartScrollbarElem,this)})}if(this._hBarTrack){this._hBarTrack.on({mousedown:$.proxy(this._onMouseDownHTrack,this),mousemove:$.proxy(this._onMouseMoveHTrack,this),mouseup:$.proxy(this._onMouseUpHTrack,this),mouseout:$.proxy(this._onMouseOutHTrack,this),touchstart:$.proxy(this._onTouchStartScrollbarElem,this)})}if(this._hBarContainer){this._hBarContainer.on({dragstart:$.proxy(this._onDragStartElem,this),wheel:$.proxy(this._onWheelContainer,this),mouseenter:$.proxy(this._onMouseEnterScrollbarElem,this),mouseleave:$.proxy(this._onMouseLeaveScrollbarElem,this)})}this._onMouseMoveHDragHandler=$.proxy(this._onMouseMoveHDrag,this);this._onMouseUpHScrollbarHandler=$.proxy(this._onMouseUpHScrollbar,this);$("body").on("mousemove.igscroll_"+this.element[0].id,this._onMouseMoveHDragHandler);$(window).on("mouseup.igscroll_"+this.element[0].id,this._onMouseUpHScrollbarHandler)},_scrollTimeoutX:function(step,bSmallIncement){var curPosX=this._getContentPositionX();if(curPosX===0&&step<=0||curPosX===this._getContentWidth()-this._getContainerWidth()&&step>=0){return}var self=this,bNoCancel,eventArgs={owner:self,smallIncrement:0,bigIncrement:0,horizontal:true,stepX:step,stepY:0};if(bSmallIncement){eventArgs.smallIncrement=Math.sign(step)}else{var dragStartX=this._getTransform3dValueX(this._hBarDrag);if(this._mTrackLastPosH>dragStartX&&this._mTrackLastPosH<dragStartX+this._hDragWidth){return}eventArgs.bigIncrement=Math.sign(step);this._lastBigIncDirH=Math.sign(step)}bNoCancel=this._trigger("scrolling",null,eventArgs);this._cancelScrolling=!bNoCancel;if(bNoCancel){var curPosY=this._getContentPositionX();this._scrollLeft(curPosY+step,false);this._holdTimeoutID=setTimeout(function(){self._scrollTimeoutX(step,bSmallIncement)},50)}},_onMouseDownArrowLeft:function(){var scrollStep=-this.options.smallIncrementStep,curPosX=this._getContentPositionX();if(curPosX===0){scrollStep=0}var bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:-1,bigIncrement:0,horizontal:true,stepX:scrollStep,stepY:0});this._cancelScrolling=!bNoCancel;if(bNoCancel){this._bMouseDownH=true;this._bUseArrowLeft=true;this._scrollLeft(curPosX+scrollStep,false);var self=this;this._holdTimeoutID=setTimeout(function(){self._scrollTimeoutX(scrollStep,true)},250)}},_onMouseUpArrowLeft:function(){this._bMouseDownH=false;this._bUseArrowLeft=false;clearTimeout(this._holdTimeoutID);if(!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:-1,bigIncrement:0,horizontal:true})}},_onMouseOverArrowLeft:function(){if(this._bMouseDownH&&this._bUseArrowLeft){this._scrollTimeoutX(-40,true)}},_onMouseDownArrowRight:function(){var scrollStep=this.options.smallIncrementStep,curPosX=this._getContentPositionX();if(curPosX===this._getContentWidth()-this._getContainerWidth()){scrollStep=0}var bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:1,bigIncrement:0,horizontal:true,stepX:scrollStep,stepY:0});this._cancelScrolling=!bNoCancel;if(bNoCancel){this._bMouseDownH=true;this._bUseArrowRight=true;this._scrollLeft(curPosX+scrollStep,false);var self=this;this._holdTimeoutID=setTimeout(function(){self._scrollTimeoutX(scrollStep,true)},250)}},_onMouseUpArrowRight:function(){this._bMouseDownH=false;this._bUseArrowRight=false;clearTimeout(this._holdTimeoutID);if(!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:1,bigIncrement:0,horizontal:true})}},_onMouseOverArrowRight:function(){if(this._bMouseDownH&&this._bUseArrowRight){this._scrollTimeoutX(40,true)}},_onMouseDownHDrag:function(event){this._bMouseDownH=true;this._mouseLastX=event.pageX;this._bUseVDrag=false;this._bUseHDrag=true;this._trigger("thumbDragStart",null,{owner:this,horizontal:true});this._disableContentSelection()},_onMouseDownHTrack:function(event){if(event.target.id===this._hBarDrag[0].id){return true}this._bUseHTrack=true;var self=this,dragStartX=this._getTransform3dValueX(this._hBarDrag),curPosX=this._getContentPositionX(),scrollStep=this.options.bigIncrementStep===null?this._elemWidth:this.options.bigIncrementStep,bNoCancel;this._mTrackLastPosH=event.offsetX;if(event.offsetX>dragStartX+this._hDragWidth){this._lastBigIncDirH=1;bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:0,bigIncrement:1,horizontal:true,stepX:scrollStep,stepY:0});if(bNoCancel){this._scrollLeft(curPosX+scrollStep,false);this._holdTimeoutID=setTimeout(function(){self._scrollTimeoutX(scrollStep,false)},250)}}else if(event.offsetX<dragStartX){this._lastBigIncDirH=-1;bNoCancel=this._trigger("scrolling",null,{owner:this,smallIncrement:0,bigIncrement:-1,horizontal:true,stepX:-scrollStep,stepY:0});if(bNoCancel){this._scrollLeft(curPosX-scrollStep,false);this._holdTimeoutID=setTimeout(function(){self._scrollTimeoutX(-scrollStep,false)},250)}}this._cancelScrolling=!bNoCancel},_onMouseMoveHTrack:function(event){if(this._bUseVTrack){this._mTrackLastPosH=event.offsetX}},_onMouseUpHTrack:function(){clearTimeout(this._holdTimeoutID);if(this._bUseHTrack&&!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:0,bigIncrement:this._lastBigIncDirH,horizontal:true})}this._bUseHTrack=false},_onMouseOutHTrack:function(){clearTimeout(this._holdTimeoutID);if(this._bUseHTrack&&!this._cancelScrolling){
this._trigger("scrolled",null,{owner:this,smallIncrement:0,bigIncrement:this._lastBigIncDirH,horizontal:true})}this._bUseHTrack=false},_onMouseMoveHDrag:function(evt){if(!this._bMouseDownH||!this._bUseHDrag){return true}if(this._bUseHDrag){var curPosX=this._getContentPositionX(),offset=evt.pageX-this._mouseLastX,dragbPosX=this._dragLastX,nextPostX;nextPostX=(dragbPosX+offset)/(this._hBarTrack.width()-this._hBarDrag.width())*(this._getContentWidth()-this.element.width());nextPostX=this._clampAxisCoords(nextPostX,0,Math.max(this._getContentWidth()-this._getContainerWidth(),0));var bNoCancel=this._trigger("thumbDragMove",null,{owner:this,horizontal:true,stepX:nextPostX-curPosX,stepY:0});if(bNoCancel){this._scrollToX(nextPostX,true);this._mouseLastX=evt.pageX;this._dragLastX=dragbPosX+offset}}},_onMouseUpHScrollbar:function(){var self=this;if(this._bUseArrowLeft){this._bUseArrowLeft=false;if(!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:-1,bigIncrement:0,horizontal:true})}}if(this._bUseArrowRight){this._bUseArrowRight=false;if(!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:1,bigIncrement:0,horizontal:true})}}if(this._bMouseDownH&&!this._mOverScrollbars&&!this._mOverContainer){this._hideScrollbarID=setTimeout(function(){self._hideScrollbars()},2e3)}else if(this._bMouseDownH&&!this._mOverScrollbars&&this._mOverContainer){this._toSimpleScrollbarsID=setTimeout(function(){self._toSimpleScrollbars();self._toSimpleScrollbarsID=0},2e3)}this._bMouseDownH=false;if(this._bUseHDrag){this._dragLastX=this._getTransform3dValueX(this._hBarDrag);if(!this._cancelThumbDrag){this._trigger("thumbDragEnd",null,{owner:this,horizontal:true})}if(!this._cancelScrolling){this._trigger("scrolled",null,{owner:this,smallIncrement:0,bigIncrement:0,horizontal:true})}this._enableContentSelection()}this._bUseHDrag=false},_showScrollbars:function(bSimple,hideAfter){var self=this;if(this.options.scrollbarType!=="custom"){return}if(bSimple){this._hideScrollbarArrows();if(this._vBarDrag&&this._percentInViewV<1){this._vBarDrag.removeClass(this.css.verticalScrollThumbDragHidden).addClass(this.css.verticalScrollThumbDragThin)}if(this._hBarDrag&&this._percentInViewH<1){this._hBarDrag.removeClass(this.css.horizontalScrollThumbDragHidden).addClass(this.css.horizontalScrollThumbDragThin)}}else{this._showScrollbarArrows();if(this._vBarDrag&&this._percentInViewV<1){this._vBarDrag.removeClass(this.css.verticalScrollThumbDragHidden).removeClass(this.css.verticalScrollThumbDragThin).addClass(this.css.verticalScrollThumbDragBig)}if(this._hBarDrag&&this._percentInViewH<1){this._hBarDrag.removeClass(this.css.horizontalScrollThumbDragHidden).removeClass(this.css.horizontalScrollThumbDragThin).addClass(this.css.horizontalScrollThumbDragBig)}}if(hideAfter){this._hideScrollbarID=setTimeout(function(){self._hideScrollbars()},hideAfter)}},_updateScrollbarsPos:function(destX,destY){if(this.options.scrollbarType!=="custom"){return}var self=this,animationID,calculatedDest;function updateCSS(){if(self._hBarDrag){calculatedDest=destX/(self._contentWidth-self.element.width())*(self._hBarTrack.width()-self._hBarDrag.width());self._hBarDrag.css("-webkit-transform","translate3d("+calculatedDest+"px, 0px, 0px)").css("-moz-transform","translate3d("+calculatedDest+"px, 0px, 0px)").css("-ms-transform","translate3d("+calculatedDest+"px, 0px, 0px)");if(!self._bUseHDrag){self._dragLastX=calculatedDest}}if(self._vBarDrag){calculatedDest=destY/(self._contentHeight-self.element.height())*(self._vBarTrack.height()-self._vBarDrag.height());self._vBarDrag.css("-webkit-transform","translate3d(0px, "+calculatedDest+"px, 0px)").css("-moz-transform","translate3d(0px, "+calculatedDest+"px, 0px)").css("-ms-transform","translate3d(0px, "+calculatedDest+"px, 0px)");if(!self._bUseVDrag){self._dragLastY=calculatedDest}}}animationID=requestAnimationFrame(updateCSS)},_hideScrollbars:function(){if(this.options.scrollbarType!=="custom"||this.options.alwaysVisible||!this._vBarDrag&&!this._hBarDrag){return}if(this._vBarDrag&&this._percentInViewV<1){this._vBarDrag.removeClass(this.css.verticalScrollThumbDragThin).removeClass(this.css.verticalScrollThumbDragBig).addClass(this.css.verticalScrollThumbDragHidden)}if(this._hBarDrag&&this._percentInViewH<1){this._hBarDrag.removeClass(this.css.horizontalScrollThumbDragThin).removeClass(this.css.horizontalScrollThumbDragBig).addClass(this.css.horizontalScrollThumbDragHidden)}this._hideScrollbarArrows()},_toSimpleScrollbars:function(){if(this._vBarDrag&&this._percentInViewV<1){this._vBarDrag.removeClass(this.css.verticalScrollThumbDragBig).addClass(this.css.verticalScrollThumbDragThin)}if(this._hBarDrag&&this._percentInViewH<1){this._hBarDrag.removeClass(this.css.horizontalScrollThumbDragBig).addClass(this.css.horizontalScrollThumbDragThin)}this._hideScrollbarArrows()},_showScrollbarArrows:function(){if(this._vBarDrag&&this._percentInViewV<1){this._vBarArrowUp.removeClass(this.css.verticalScrollArrowHidden).addClass(this.css.verticalScrollArrow);this._vBarArrowDown.removeClass(this.css.verticalScrollArrowHidden).addClass(this.css.verticalScrollArrow)}if(this._hBarDrag&&this._percentInViewH<1){this._hBarArrowLeft.removeClass(this.css.horizontalScrollArrowHidden).addClass(this.css.horizontalScrollArrow);this._hBarArrowRight.removeClass(this.css.horizontalScrollArrowHidden).addClass(this.css.horizontalScrollArrow)}},_hideScrollbarArrows:function(){if(this._vBarDrag&&this._percentInViewV<1){this._vBarArrowUp.removeClass(this.css.verticalScrollArrow).addClass(this.css.verticalScrollArrowHidden);this._vBarArrowDown.removeClass(this.css.verticalScrollArrow).addClass(this.css.verticalScrollArrowHidden)}if(this._hBarDrag&&this._percentInViewH<1){this._hBarArrowLeft.removeClass(this.css.horizontalScrollArrow).addClass(this.css.horizontalScrollArrowHidden);this._hBarArrowRight.removeClass(this.css.horizontalScrollArrow).addClass(this.css.horizontalScrollArrowHidden)}},_onMouseEnterScrollbarElem:function(){this._mOverScrollbars=true;clearTimeout(this._hideScrollbarID);clearTimeout(this._toSimpleScrollbarsID);this._toSimpleScrollbarsID=0;this._showScrollbars(false)},_onMouseLeaveScrollbarElem:function(){var self=this;this._mOverScrollbars=false;if(!this._bMouseDownV&&!this._bMouseDownH){this._hideScrollbarID=setTimeout(function(){self._hideScrollbars()},2e3);this._toSimpleScrollbarsID=setTimeout(function(){self._toSimpleScrollbars();self._toSimpleScrollbarsID=0},2e3)}},_onTouchStartScrollbarElem:function(){return false},_disableContentSelection:function(){this._container.addClass(this.css.disabledSelection)},_enableContentSelection:function(){this._container.removeClass(this.css.disabledSelection)},_onDragStartElem:function(event){event.preventDefault()},destroy:function(){cancelAnimationFrame(this._touchInertiaAnimID);cancelAnimationFrame(this._showScrollbarsAnimId);clearTimeout(this._hideScrollbarID);clearTimeout(this._toSimpleScrollbarsID);clearTimeout(this._holdTimeoutID);if(typeof MutationObserver==="function"){this._observer.disconnect()}if(this._evts){this.element.off(this._evts);delete this._evts;if(this._hBarDrag){this._hBarDrag.remove()}if(this._hBarContainer){this._hBarContainer.remove()}if(this._vBarDrag){this._vBarDrag.remove()}if(this._vBarContainer){this._vBarContainer.remove()}$("body").off("mousemove.igscroll_"+this.element[0].id);$(window).off("mouseup.igscroll_"+this.element[0].id);$(window).off("resize.igscroll_"+this.element[0].id);this._superApply(arguments)}return this}});$.extend($.ui.igScroll,{version:"21.2.12"});$(document).on("iggridrendered igtreegridrendered",function(event,args){var container=args.owner.scrollContainer();if(container.length===0&&args.owner.container){container=args.owner.container().find("[data-scroll]").eq(0)}if(container.length!==0){container.igScroll({modifyDOM:false,scrollbarType:"none"});container.data("igScroll")._bKeyboardNavigation=false}})})($);/*!@license
* Infragistics.Web.ClientUI infragistics.ext_core.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$0=$$t;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["IComparable$1:a","IEquatable$1:b","Action:c","Action$1:d","Action$2:e","Action$3:f","Action$4:g","Action$5:h","Action$6:i","Action$7:j","Action$8:k","Action$9:l","Comparison$1:m","Error:n","FormatException:o","IConvertible:p","IFormatProvider:q","Error:r","Date:s","DateTimeKind:t","DayOfWeek:u","Number:v","EventArgs:w","EventHandler$1:x","Func$1:y","Func$2:z","Func$3:aa","Func$4:ab","Func$5:ac","Func$6:ad","Func$7:ae","Func$8:af","Func$9:ag","IComparable:ah","Nullable$1:ai","Nullable:aj","Number:ak","ParamArrayAttribute:al","Enum:am","Array:an","Attribute:ao","AttributeTargets:ap","Boolean:aq","Number:ar","String:as","Delegate:at","IDisposable:au","Number:av","Number:aw","Number:ax","IntPtr:ay","MulticastDelegate:az","Object:a0","ReflectionUtil:a1","RuntimeFieldHandle:a2","RuntimeTypeHandle:a3","SystemException:a4","TypeCode:a5","Number:a6","Script:a7","Number:a8","StringSplitOptions:a9","StringComparison:ba","Number:bb","Type:bc","Number:bd","Number:be","Number:bf","UIntPtr:bg","ValueType:bh","Void:bi","IEqualityComparer:bj","ICollection:bk","IDictionary:bl","IList:bm","JSDictionary:bn","Array:bo","Array:bp","Array:bq","CompareCallback:br","Dictionary:bs","IEnumerable:bt","IEnumerator:bu","ICollection$1:bv","IEnumerable$1:bw","IEnumerator$1:bx","IEqualityComparer$1:by","IList$1:bz","PlaceholderSystemCollectionsObjectModel:b0","PlaceholderSystemCollectionsSpecialized:b1","EditorBrowsableState:b2","ISupportInitialize:b3","ITypeDescriptorContext:b4","TypeConverter:b5","INotifyPropertyChanged:b6","PropertyChangedEventArgs:b7","PropertyChangedEventHandler:b8","Calendar:b9","CalendarWeekRule:ca","CompareInfo:cb","CompareOptions:cc","NumberStyles:cd","PlaceholderSystemGlobalization:ce","CultureInfo:cf","DateTimeFormat:cg","NumberFormatInfo:ch","ConstructorInfo:ci","MethodBase:cj","MemberInfo:ck","MethodInfo:cl","ParameterInfo:cm","PropertyInfo:cn","Assembly:co","PlaceholderSystemWindows:cp","PlaceholderSystemWindowsControls:cq","PlaceholderSystemWindowsControlsPrimitives:cr","PlaceholderSystemWindowsData:cs","PlaceholderSystemWindowsInput:ct","PlaceholderSystemWindowsMarkup:cu","PlaceholderSystemWindowsMediaImaging:cv","PlaceholderSystemWindowsMediaAnimation:cw","PlaceholderSystemWindowsMediaEffects:cx","PlaceholderSystemWindowsShapes:cy","PlaceholderSystemWindowsAutomation:cz","PlaceholderSystemWindowsAutomationPeers:c0","PlaceholderSystemWindowsDocuments:c1","PlaceholderSystemWindowsInk:c2","PlaceholderSystemWindowsThreading:c3","PlaceholderSystemText:c4","XMLHttpRequest:c5","RuntimeHelpers:c6","Interlocked:c7","Monitor:c8","Thread:c9","ThreadStart:da","SeekOrigin:db","Stream:dc","XmlAttribute:dd","XmlDocument:de","XmlDocumentParser:df","XmlElement:dg","XmlLinkedNode:dh","XmlNode:di","XmlNodeList:dj","XmlNamedNodeMap:dk","XmlNodeType:dl","XmlSchemaForm:dm","PlaceholderInfragisticsControlerChartsAutomationPeers:dn"]);$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$1=$$t;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["ButtonElement:a","DOMTokenList:b","ListItemElement:c","Node:d","SpanElement:e","TemplateElement:f","DomRenderer:g","DomPortal:h","DomWrapper:i","DomWrapperPosition:j","INormalizedEvent:k","CanvasElement:l","DivElement:m","Element:n","ElementAttribute:o","ElementAttributeCollection:p","ElementCollection:q","ElementEventHandler:r","ElementNodeType:s","EventListener:t","EventListener$1:u","IElementEventHandler:v","ImageElement:w","InputElement:x","MutationObserverInit:y","MutationRecord:z","OptionElement:aa","SelectElement:ab","OptionsCollection:ac","WebStyle:ad","TextAreaElement:ae","Callback:af","CanvasContext:ag","CanvasContext2D:ah","ImageData:ai","Gradient:aj","TextMetrics:ak","JQuery:al","JQueryObject:am","JQueryCallback:an","JQueryUICallback:ao","JQueryPosition:ap"]);$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$6=$$t;var $$0=$.ig.globalDefs.$$0;var $$1=$.ig.globalDefs.$$1;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["IFormattable:n","Predicate$1:r","IComparer:aa","Comparer$1:ab","DefaultComparer$1:ac","IComparer$1:ad","AsyncCompletedEventHandler:af"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compare,$x=$.ig.util.replace,$y=$.ig.util.stringFormat,$z=$.ig.util.stringFormat1,$0=$.ig.util.stringFormat2,$1=$.ig.util.stringCompare1,$2=$.ig.util.stringCompare2,$3=$.ig.util.stringCompare3,$4=$.ig.util.isDigit,$5=$.ig.util.isDigit1,$6=$.ig.util.isLetter,$7=$.ig.util.isNumber,$8=$.ig.util.isLetterOrDigit,$9=$.ig.util.isLower,$aa=$.ig.util.toLowerCase,$ab=$.ig.util.toUpperCase,$ac=$.ig.util.compareSimple,$ad=$.ig.util.tryParseNumber,$ae=$.ig.util.tryParseNumber1,$af=$.ig.util.numberToString,$ag=$.ig.util.numberToString1,$ah=$.ig.util.parseNumber,$ai=$.ig.util.equalsSimple,$aj=$.ig.util.tryParseInt32_1,$ak=$.ig.util.tryParseInt32_2,$al=$.ig.util.intToString1,$am=$.ig.util.parseInt32_1,$an=$.ig.util.parseInt32_2;$d("ListSortDirection:ah",false,false,{Ascending:0,Descending:1});$d("UriKind:y",false,false,{RelativeOrAbsolute:0,Absolute:1,Relative:2});$d("Guid_GuidStyles:m",true,false,{AllowBraces:2,AllowDashes:4,AllowHexPrefix:8,AllowParenthesis:1,Any:15,BraceFormat:96,DigitFormat:64,HexFormat:160,None:0,NumberFormat:0,ParenthesisFormat:80,RequireBraces:32,RequireDashes:64,RequireHexPrefix:128,RequireParenthesis:16});$d("Guid_GuidParseThrowStyle:l",false,false,{None:0,All:1,AllButOverflow:2});$d("Guid_ParseFailureKind:k",false,false,{None:0,ArgumentNull:1,Format:2,FormatWithParameter:3,NativeException:4,FormatWithInnerException:5});$c("Localization:ak","Object",{init:function(){$.ig.$op.init.call(this)},register:function(a,b){if($$t.$ak.c==null){$$t.$ak.c={}}$$t.$ak.c[a]=b},getString:function(a,b,c){var d;if($$t.$ak.b!=null){d=$$t.$ak.b(a,b)}else{d=$.ig.util.getLocaleValue(a,b)}if(String.isNullOrEmpty(d)){d=""}else if(c!=null&&c.length>0){d=$z(d,c)}return d},isRegistered:function(a){return $$t.$ak.c&&$$t.$ak.c[a]!==undefined},d:function(a){var b=navigator.language?navigator.language.toLowerCase():"";var c=a+"-";while(true){if($$t.$ak.isRegistered(c+b)){return b}var d=$$t.$ak.e(b);if(d!=null&&$$t.$ak.isRegistered(c+d)){return d}var e=b.lastIndexOf("-");if(e<=0){break}b=b.substr(0,e)}return"en"},e:function(a){switch(a){case"zh-hk":case"zh-tw":case"zh-mo":return"zh-Hant";case"zh-cn":case"zh-sg":case"zh":return"zh-Hans"}return null},$type:new $.ig.Type("Localization",$.ig.$ot)},true);$c("GC:a","Object",{init:function(){$.ig.$op.init.call(this)},$type:new $.ig.Type("GC",$.ig.$ot)},true);$c("Activator:b","Object",{init:function(){$.ig.$op.init.call(this)},b:function(a){return null},c:function(a,b){return null},a:function($t){return $f($t)},$type:new $.ig.Type("Activator",$.ig.$ot)},true);$c("AggregateException:c","Error",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$0.$n.init.call(this,0)},init1:function(a,b){$$0.$n.init1.call(this,1,b)},init2:function(a,b,c){$$0.$n.init2.call(this,2,b,c)},$type:new $.ig.Type("AggregateException",$$0.$n.$type)},true);$c("ArgumentException:d","Error",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break;case 3:this.init3.apply(this,arguments);break}return}$$0.$n.init.call(this,0)},init1:function(a,b){$$0.$n.init1.call(this,1,b)},init2:function(a,b,c){$$0.$n.init1.call(this,1,b)},init3:function(a,b,c){$$0.$n.init2.call(this,2,b,c)},$type:new $.ig.Type("ArgumentException",$$0.$n.$type)},true);$c("ArgumentNullException:e","Error",{init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$0.$n.init1.call(this,1,b+" cannot be null.")},init1:function(a){$$0.$n.init.call(this,0);throw new $$t.q(0)},init2:function(a,b,c){$$0.$n.init1.call(this,1,c);throw new $$t.q(0)},$type:new $.ig.Type("ArgumentNullException",$$0.$n.$type)},true);$c("ArgumentOutOfRangeException:f","ArgumentException",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break;case 3:this.init3.apply(this,arguments);break;case 4:this.init4.apply(this,arguments);break}return}$$t.$d.init.call(this,0)},init1:function(a,b){$$t.$d.init1.call(this,1,b+" is out of range.")},init2:function(a,b,c){$$t.$d.init1.call(this,1,c)},init3:function(a,b,c,d){$$t.$f.init2.call(this,2,d,b)},init4:function(a,b,c){$$t.$d.init3.call(this,3,b,c)},$type:new $.ig.Type("ArgumentOutOfRangeException",$$t.$d.$type)},true);$c("Convert:g","Object",{init:function(){$.ig.$op.init.call(this)},toDouble5:function(a){return a},toDouble1:function(a){return a},toDouble:function(a){return a},toDouble2:function(a){return a},toDecimal:function(a){return a},toDecimal3:function(a){return a},toDecimal1:function(a){return a},toInt32:function(a){if(a>=0){var b=$.ig.truncate(Math.floor(a));if(b!=a){var c=a-b;var d=Math.ceil(a)-a;if(c>d||c==d&&(b&1)>0){b++}}return b}else{var e=$.ig.truncate(Math.ceil(a));if(e!=a){var f=e-a;var g=a-Math.floor(a);if(f>g||f==g&&(e&1)>0){e--}}return e}},toInt322:function(a){return parseInt(a)},toDouble3:function(a){return $$t.$g.toDouble4(a,$$0.$cf.currentCulture())},toDouble4:function(a,b){var c=$.ig.util.getValue($.ig.util.unwrapNullable(a));if(c==null){return 0}var d=+c;if($.ig.util.isNaN(d)){return c.toDouble(b)}return d},toInt321:function(a){var b=$.ig.util.getValue($.ig.util.unwrapNullable(a));if(b==null){return 0}var c=+b;if($.ig.util.isNaN(c)){return b.toInt32($$0.$cf.currentCulture())}return c},toInt64:function(a){var b=$.ig.util.getValue($.ig.util.unwrapNullable(a));if(b==null){return 0}var c=+b;if($.ig.util.isNaN(c)){return b.toInt64($$0.$cf.currentCulture())}return c},toDecimal2:function(a){var b=$.ig.util.getValue($.ig.util.unwrapNullable(a));if(b==null){return 0}var c=+b;if($.ig.util.isNaN(c)){return b.toDecimal($$0.$cf.currentCulture())}return c},toByte:function(a){return a?1:0},toByte1:function(a){var b=$.ig.util.getValue($.ig.util.unwrapNullable(a));if(b==null){return 0}var c=+b;if($.ig.util.isNaN(c)){return b.toByte($$0.$cf.currentCulture())}return c},toBoolean:function(a){var b=$.ig.util.getValue($.ig.util.unwrapNullable(a));if(b==null){return false}return!!b},toDateTime:function(a){var b=$.ig.util.getValue($.ig.util.unwrapNullable(a));if(b==null){return $$0.$s.minValue()}if($b($$0.$s.$type,b)!==null){return b}var c=+b;if(!$.ig.util.isNaN(c)){return $.ig.Date.prototype.fromTicks(c)}return $$0.$s.parse(b.toString(),null)},toChar:function(a){return $u(a)},toChar1:function(a){return $u(a)},toDouble6:function(a,b){return $ah(a,b)},toUInt16:function(a){return a?1:0},toBoolean1:function(a){return a!=0},toUInt32:function(a){return a},fromBase64String:function(a){return $.ig.util.b64toUint8Array(a)},toBase64String:function(a){return $.ig.util.uint8ArraytoB64(a)},toByte2:function(a,b){throw new $$t.q(0)},$type:new $.ig.Type("Convert",$.ig.$ot)},true);$c("Environment:h","Object",{init:function(){$.ig.$op.init.call(this)},newLine:function(){return"\n"},b:function(){try{throw new Error}catch(a){return a.stack}return""},$type:new $.ig.Type("Environment",$.ig.$ot)},true);$c("IFormattable:n","Object",{$type:new $.ig.Type("IFormattable",null)},true);$c("Guid:i","ValueType",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break;case 3:this.init3.apply(this,arguments);break}return}$$0.$bh.init.call(this)},ae:0,ac:0,ad:0,r:0,s:0,t:0,u:0,v:0,w:0,x:0,y:0,init1:function(a,b){$$0.$bh.init.call(this);this.ae=b[3]<<24|b[2]<<16|b[1]<<8|b[0];this.ac=b[5]<<8|b[4];this.ad=b[7]<<8|b[6];this.r=b[8];this.s=b[9];this.t=b[10];this.u=b[11];this.v=b[12];this.w=b[13];this.x=b[14];this.y=b[15]},init2:function(a,b,c,d,e,f,g,h,i,j,k,l){$$0.$bh.init.call(this);this.ae=b;this.ac=c;this.ad=d;this.r=e;this.s=f;this.t=g;this.u=h;this.v=i;this.w=j;this.x=k;this.y=l},init3:function(a,b){$$0.$bh.init.call(this);if(b==null){throw new $$t.e(0,"g")}var c=new $$t.j;c.i(1);if(!function(){var d=$$t.$i.n(b,15,c);c=d.p2;return d.ret}()){throw c.a()}this.ae=c.c.ae;this.ac=c.c.ac;this.ad=c.c.ad;this.r=c.c.r;this.s=c.c.s;this.t=c.c.t;this.u=c.c.u;this.v=c.c.v;this.w=c.c.w;this.x=c.c.x;this.y=c.c.y},compareTo1:function(a){var b=this.ae-a.ae;if(b!=0){return b}b=this.ac-a.ac;if(b!=0){return b}b=this.ad-a.ad;if(b!=0){return b}b=this.r-a.r;if(b!=0){return b}b=this.s-a.s;if(b!=0){return b}b=this.t-a.t;if(b!=0){return b}b=this.u-a.u;if(b!=0){return b}b=this.v-a.v;if(b!=0){return b}b=this.w-a.w;if(b!=0){return b}b=this.x-a.x;if(b!=0){return b}b=this.y-a.y;return b},compareTo:function(a){if($b($$t.$i.$type,a)!==null){return this.compareTo1(a)}return 1},equals:function(a){return $$t.$i.l_op_Equality(this,a)},newGuid:function(){return new $$t.i(3,$.ig.util.createGuid())},toByteArray:function(){return[this.ae,this.ae>>8,this.ae>>16,this.ae>>24,this.ac,this.ac>>8,this.ad,this.ad>>8,this.r,this.s,this.t,this.u,this.v,this.w,this.x,this.y]},toString:function(){return this.toString1("D",null)},toString2:function(a){return this.toString1(a,null)},toString1:function(a,b){var c;if(a==null||a.length==0){a="D"}var d=0;var e=38;var f=true;var g=false;if(a.length!=1){throw new $$0.o(0)}var h=a.charAt(0);switch(h){case"D":case"d":c=new Array(36);e=36;break;case"N":case"n":c=new Array(32);e=32;f=false;break;case"B":case"b":c=new Array(38);c[d++]="{";c[37]="}";break;case"P":case"p":c=new Array(38);c[d++]="(";c[37]=")";break;default:if(h!="X"&&h!="x"){throw new $$0.o(0)}c=new Array(68);c[d++]="{";c[67]="}";e=68;f=false;g=true;break}if(g){c[d++]="0";c[d++]="x";d=$$t.$i.af(c,d,this.ae>>24,this.ae>>16);d=$$t.$i.af(c,d,this.ae>>8,this.ae);c[d++]=",";c[d++]="0";c[d++]="x";d=$$t.$i.af(c,d,this.ac>>8,this.ac);c[d++]=",";c[d++]="0";c[d++]="x";d=$$t.$i.af(c,d,this.ad>>8,this.ad);c[d++]=",";c[d++]="{";d=$$t.$i.ag(c,d,this.r,this.s,true);c[d++]=",";d=$$t.$i.ag(c,d,this.t,this.u,true);c[d++]=",";d=$$t.$i.ag(c,d,this.v,this.w,true);c[d++]=",";d=$$t.$i.ag(c,d,this.x,this.y,true);c[d++]="}"}else{d=$$t.$i.af(c,d,this.ae>>24,this.ae>>16);d=$$t.$i.af(c,d,this.ae>>8,this.ae);if(f){c[d++]="-"}d=$$t.$i.af(c,d,this.ac>>8,this.ac);if(f){c[d++]="-"}d=$$t.$i.af(c,d,this.ad>>8,this.ad);if(f){c[d++]="-"}d=$$t.$i.af(c,d,this.r,this.s);if(f){c[d++]="-"}d=$$t.$i.af(c,d,this.t,this.u);d=$$t.$i.af(c,d,this.v,this.w);d=$$t.$i.af(c,d,this.x,this.y)}return $.ig.util.createString3(c,0,e)},af:function(a,b,c,d){return $$t.$i.ag(a,b,c,d,false)},ag:function(a,b,c,d,e){if(e){a[b++]="0";a[b++]="x"}a[b++]=$$t.$i.z(c>>4);a[b++]=$$t.$i.z(c);if(e){a[b++]=",";a[b++]="0";a[b++]="x"}a[b++]=$$t.$i.z(d>>4);a[b++]=$$t.$i.z(d);return b},z:function(a){a&=15;return a>9?$u(a-10+97):$u(a+48)},tryParse:function(a,b){var c=new $$t.j;c.i(0);if(function(){var d=$$t.$i.n(a,15,c);c=d.p2;return d.ret}()){b=c.c;return{ret:true,p1:b}}b=$$t.$i.empty;return{ret:false,p1:b}},n:function(a,b,c){if(a==null){c.k(2,"Format_GuidUnrecognized");return{ret:false,p2:c}}var d=a.trim();if(d.length==0){c.k(2,"Format_GuidUnrecognized");return{ret:false,p2:c}}var e=d.indexOf("-",0)>=0;if(e){if((b&(64|4))==0){c.k(2,"Format_GuidUnrecognized");return{ret:false,p2:c}}}else if((b&64)!=0){c.k(2,"Format_GuidUnrecognized");return{ret:false,p2:c}}var f=d.indexOf("{",0)>=0;if(f){if((b&(32|2))==0){c.k(2,"Format_GuidUnrecognized");return{ret:false,p2:c}}}else if((b&32)!=0){c.k(2,"Format_GuidUnrecognized");return{ret:false,p2:c}}if(d.indexOf("(",0)>=0){if((b&(16|1))==0){c.k(2,"Format_GuidUnrecognized");return{ret:false,p2:c}}}else if((b&16)!=0){c.k(2,"Format_GuidUnrecognized");return{ret:false,p2:c}}try{if(e){return{ret:function(){var g=$$t.$i.o(d,c);c=g.p1;return g.ret}(),p2:c}}if(f){return{ret:function(){var g=$$t.$i.p(d,c);c=g.p1;return g.ret}(),p2:c}}return{ret:function(){var g=$$t.$i.q(d,c);c=g.p1;return g.ret}(),p2:c}}catch(g){var h=$b($$t.$o.$type,g);if(h!=null){c.m(5,"Format_GuidUnrecognized",null,null,h);return{ret:false,p2:c}}var i=$b($$t.$d.$type,g);if(i!=null){c.m(5,"Format_GuidUnrecognized",null,null,i);return{ret:false,p2:c}}throw g}},o:function(a,b){var c;var d;var e;var f=0;var g=0;if(a.charAt(0)=="{"){if(a.length!=38||a.charAt(37)!="}"){b.k(2,"Format_GuidInvLen");return{ret:false,p1:b}}f=1}else if(a.charAt(0)=="("){if(a.length!=38||a.charAt(37)!=")"){b.k(2,"Format_GuidInvLen");return{ret:false,p1:b}}f=1}else if(a.length!=36){b.k(2,"Format_GuidInvLen");return{ret:false,p1:b}}if(a.charAt(8+f)!="-"||a.charAt(13+f)!="-"||(a.charAt(18+f)!="-"||a.charAt(23+f)!="-")){b.k(2,"Format_GuidDashes");return{ret:false,p1:b}}g=f;if(!function(){var h=$$t.$i.j(a,g,8,8192,c,b);g=h.p1;c=h.p4;b=h.p5;return h.ret}()){return{ret:false,p1:b}}b.c.ae=c;g++;if(!function(){var h=$$t.$i.j(a,g,4,8192,c,b);g=h.p1;c=h.p4;b=h.p5;return h.ret}()){return{ret:false,p1:b}}b.c.ac=c;g++;if(!function(){var h=$$t.$i.j(a,g,4,8192,c,b);g=h.p1;c=h.p4;b=h.p5;return h.ret}()){return{ret:false,p1:b}}b.c.ad=c;g++;if(!function(){var h=$$t.$i.j(a,g,4,8192,c,b);g=h.p1;c=h.p4;b=h.p5;return h.ret}()){return{ret:false,p1:b}}g++;f=g;if(!function(){var h=$$t.$i.j(a,g,4,8192,d,b);g=h.p1;d=h.p4;b=h.p5;return h.ret}()){return{ret:false,p1:b}}if(!function(){var h=$$t.$i.j(a,g,8,8192,e,b);g=h.p1;e=h.p4;b=h.p5;return h.ret}()){return{ret:false,p1:b}}b.c.r=c>>8&255;b.c.s=c&255;c=d;b.c.t=c>>8&255;b.c.u=c&255;c=e;b.c.v=c>>24&255;b.c.w=c>>16&255;b.c.x=c>>8&255;b.c.y=c&255;return{ret:true,p1:b}},ah:function(a){var b=0;var c=new Array(a.length);for(var d=0;d<a.length;d++){var e=a.charAt(d);if(!/\s/i.test(e)){c[b++]=e}}return $.ig.util.createString3(c,0,b)},p:function(a,b){var c=0;var d=0;a=$$t.$i.ah(a);if(String.isNullOrEmpty(a)||a.charAt(0)!="{"){b.k(2,"Format_GuidBrace");return{ret:false,p1:b}}if(!$$t.$i.b(a,1)){b.l(2,"Format_GuidHexPrefix","{0xdddddddd, etc}");return{ret:false,p1:b}}c=3;d=a.indexOf(",",c)-c;if(d<=0){b.k(2,"Format_GuidComma");return{ret:false,p1:b}}if(!function(){var e=$$t.$i.i(a.substr(c,d),-1,4096,b.c.ae,b);b.c.ae=e.p3;b=e.p4;return e.ret}()){return{ret:false,p1:b}}if(!$$t.$i.b(a,c+d+1)){b.l(2,"Format_GuidHexPrefix","{0xdddddddd, 0xdddd, etc}");return{ret:false,p1:b}}c=c+d+3;d=a.indexOf(",",c)-c;if(d<=0){b.k(2,"Format_GuidComma");return{ret:false,p1:b}}if(!function(){var e=$$t.$i.k(a.substr(c,d),-1,4096,b.c.ac,b);b.c.ac=e.p3;b=e.p4;return e.ret}()){return{ret:false,p1:b}}if(!$$t.$i.b(a,c+d+1)){b.l(2,"Format_GuidHexPrefix","{0xdddddddd, 0xdddd, 0xdddd, etc}");return{ret:false,p1:b}}c=c+d+3;d=a.indexOf(",",c)-c;if(d<=0){b.k(2,"Format_GuidComma");return{ret:false,p1:b}}if(!function(){var e=$$t.$i.k(a.substr(c,d),-1,4096,b.c.ad,b);b.c.ad=e.p3;b=e.p4;return e.ret}()){return{ret:false,p1:b}}if(a.length<=c+d+1||a.charAt(c+d+1)!="{"){b.k(2,"Format_GuidBrace");return{ret:false,p1:b}}d++;var e=new Array(8);for(var f=0;f<8;f++){if(!$$t.$i.b(a,c+d+1)){b.l(2,"Format_GuidHexPrefix","{... { ... 0xdd, ...}}");return{ret:false,p1:b}}c=c+d+3;if(f<7){d=a.indexOf(",",c)-c;if(d<=0){b.k(2,"Format_GuidComma");return{ret:false,p1:b}}}else{d=a.indexOf("}",c)-c;if(d<=0){b.k(2,"Format_GuidBraceAfterLastNumber");return{ret:false,p1:b}}}var g=$i($an(a.substr(c,d),515,null));if(g>255){b.k(2,"Overflow_Byte");return{ret:false,p1:b}}e[f]=g}b.c.r=e[0];b.c.s=e[1];b.c.t=e[2];b.c.u=e[3];b.c.v=e[4];b.c.w=e[5];b.c.x=e[6];b.c.y=e[7];if(c+d+1>=a.length||a.charAt(c+d+1)!="}"){b.k(2,"Format_GuidEndBrace");return{ret:false,p1:b}}if(c+d+1!=a.length-1){b.k(2,"Format_ExtraJunkAtEnd");return{ret:false,p1:b}}return{ret:true,p1:b}},q:function(a,b){var c;var d;var e;var f=0;if(a.length!=32){b.k(2,"Format_GuidInvLen");return{ret:false,p1:b}}for(var g=0;g<a.length;g++){var h=a.charAt(g);if(h.charCodeAt(0)<"0".charCodeAt(0)||h.charCodeAt(0)>"9".charCodeAt(0)){var i=$ab(h);if(i.charCodeAt(0)<"A".charCodeAt(0)||i.charCodeAt(0)>"F".charCodeAt(0)){b.k(2,"Format_GuidInvalidChar");return{ret:false,p1:b}}}}if(!function(){var j=$$t.$i.i(a.substr(f,8),-1,4096,b.c.ae,b);b.c.ae=j.p3;b=j.p4;return j.ret}()){return{ret:false,p1:b}}f+=8;if(!function(){var j=$$t.$i.k(a.substr(f,4),-1,4096,b.c.ac,b);b.c.ac=j.p3;b=j.p4;return j.ret}()){return{ret:false,p1:b}}f+=4;if(!function(){var j=$$t.$i.k(a.substr(f,4),-1,4096,b.c.ad,b);b.c.ad=j.p3;b=j.p4;return j.ret}()){return{ret:false,p1:b}}f+=4;if(!function(){var j=$$t.$i.i(a.substr(f,4),-1,4096,c,b);c=j.p3;b=j.p4;return j.ret}()){return{ret:false,p1:b}}f+=4;if(!function(){var j=$$t.$i.i(a.substr(f,4),-1,f,d,b);d=j.p3;b=j.p4;return j.ret}()){return{ret:false,p1:b}}f+=4;if(!function(){var j=$$t.$i.i(a.substr(f,8),-1,f,e,b);e=j.p3;b=j.p4;return j.ret}()){return{ret:false,p1:b}}b.c.r=c>>8&255;b.c.s=c&255;c=d;b.c.t=c>>8&255;b.c.u=c&255;c=e;b.c.v=c>>24&255;b.c.w=c>>16&255;b.c.x=c>>8&255;b.c.y=c&255;return{ret:true,p1:b}},k:function(a,b,c,d,e){var f=0;return{ret:function(){var g=$$t.$i.l(a,f,b,c,d,e);f=g.p1;d=g.p4;e=g.p5;return g.ret}(),p3:d,p4:e}},l:function(a,b,c,d,e,f){var g;e=0;var h=function(){var i=$$t.$i.j(a,b,c,d,g,f);b=i.p1;g=i.p4;f=i.p5;return i.ret}();e=g;return{ret:h,p1:b,p4:e,p5:f}},i:function(a,b,c,d,e){var f=0;return{ret:function(){var g=$$t.$i.j(a,f,b,c,d,e);f=g.p1;d=g.p4;e=g.p5;return g.ret}(),p3:d,p4:e}},j:function(a,b,c,d,e,f){e=0;var g=b;try{if(c==-1){var h=a.length-b;while(true){if(function(){var i=$ak(a.substr(b,h),515,$$0.$cf.invariantCulture(),e);e=i.p3;return i.ret}()){break}h--}b+=h}else{e=$an(a.substr(b,c),515,null);b+=c}}catch(i){if(f.d!=0){throw i}f.j(i);return{ret:false,p1:b,p4:e,p5:f}}if(c!=-1&&b-g!=c){f.k(2,"Format_GuidInvalidChar");return{ret:false,p1:b,p4:e,p5:f}}return{ret:true,p1:b,p4:e,p5:f}},b:function(a,b){return a.length>b+1&&a.charAt(b)=="0"&&$aa(a.charAt(b+1))=="x"},l_op_Inequality:function(a,b){return!$$t.$i.l_op_Equality(a,b)},l_op_Inequality_Lifted:function(a,b){if(!a.hasValue()){return b.hasValue()}else if(!b.hasValue()){return true}return $$t.$i.l_op_Inequality(a.value(),b.value())},l_op_Equality:function(a,b){return a.ae==b.ae&&a.ac==b.ac&&a.ad==b.ad&&a.r==b.r&&a.s==b.s&&a.t==b.t&&a.u==b.u&&a.v==b.v&&a.w==b.w&&a.x==b.x&&a.y==b.y},l_op_Equality_Lifted:function(a,b){if(!a.hasValue()){return!b.hasValue()}else if(!b.hasValue()){return false}return $$t.$i.l_op_Equality(a.value(),b.value())},$type:new $.ig.Type("Guid",$$0.$bh.$type,[$$t.$n.$type,$$0.$ah.$type,$$0.$a.$type.specialize(-1),$$0.$b.$type.specialize(-1)])},true);$$t.$i.$type.initSelfReferences();$c("Guid_GuidResult:j","ValueType",{init:function(){this.c=new $$t.i;$$0.$bh.init.call(this)},c:null,d:0,e:0,h:null,f:null,g:null,b:null,i:function(a){this.c=$$t.$i.empty;this.d=a},j:function(a){this.e=4;this.b=a},k:function(a,b){this.m(a,b,null,null,null)},l:function(a,b,c){this.m(a,b,c,null,null)},m:function(a,b,c,d,e){this.e=a;this.h=b;this.f=c;this.g=d;this.b=e;if(this.d!=0){throw this.a()}},a:function(){switch(this.e){case 1:return new $$t.e(0,this.g);case 2:return new $$0.o(0);case 3:return new $$0.o(0);case 4:return this.b;case 5:return new $$0.o(2,"The format of the Guid was incorrect.",this.b)}return new $$0.o(0)},$type:new $.ig.Type("Guid_GuidResult",$$0.$bh.$type)},true);$c("IndexOutOfRangeException:o","Error",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$0.$n.init.call(this,0)},init1:function(a,b){$$0.$n.init1.call(this,1,b)},$type:new $.ig.Type("IndexOutOfRangeException",$$0.$n.$type)},true);$c("InvalidOperationException:p","Error",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$0.$n.init1.call(this,1,"Invalid operation")},init1:function(a,b){$$0.$n.init1.call(this,1,b)},init2:function(a,b,c){$$0.$n.init2.call(this,2,b,c);throw new $$t.q(0)},$type:new $.ig.Type("InvalidOperationException",$$0.$n.$type)},true);$c("NotImplementedException:q","Error",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$0.$n.init1.call(this,1,"not implemented")},init1:function(a,b){$$0.$n.init1.call(this,1,b);throw new $$t.q(0)},$type:new $.ig.Type("NotImplementedException",$$0.$n.$type)},true);$c("Random:s","Object",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this)},init1:function(a,b){$.ig.$op.init.call(this)},nextDouble:function(){return Math.random()},next:function(){return this.next1(2147483647)},next1:function(a){return $.ig.truncate(Math.round(this.nextDouble()*(a-1)))},next2:function(a,b){return a+$.ig.truncate(Math.round(this.nextDouble()*(b-a-1)))},$type:new $.ig.Type("Random",$.ig.$ot)},true);$c("IComparer:aa","Object",{$type:new $.ig.Type("IComparer",null)},true);$c("IComparer$1:ad","Object",{$type:new $.ig.Type("IComparer$1",null)},true);$c("StringComparer:t","Object",{h:0,init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this)},init1:function(a,b){$.ig.$op.init.call(this);this.h=b},compare:function(a,b){return $1($b(String,a),$b(String,b),this.h)},compare1:function(a,b){return $1(a,b,this.h)},create:function(a,b){if(a.name()==$$0.$cf.invariantCulture().name()){return b?$$t.$t.invariantCultureIgnoreCase:$$t.$t.invariantCulture}return b?$$t.$t.currentCultureIgnoreCase:$$t.$t.currentCulture},equalsC:function(a,b){return this.compare1(a,b)==0},getHashCodeC:function(a){if(a==null){return 0}switch(this.h){case 0:case 2:case 4:return a.getHashCode();case 1:return a.toLowerCase().getHashCode();case 3:case 5:return a.toLowerCase().getHashCode();default:return 0}},$type:new $.ig.Type("StringComparer",$.ig.$ot,[$$t.$aa.$type,$$0.$bj.$type,$$t.$ad.$type.specialize(String),$$0.$by.$type.specialize(String)])},true);$c("Tuple$2:u","Object",{$t1:null,$t2:null,_c:null,_d:null,init:function($t1,$t2,a,b){this.$t1=$t1;this.$t2=$t2;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t1,this.$t2)}$.ig.$op.init.call(this);this._c=a;this._d=b},equals:function(a){var b=$b($$t.$u.$type.specialize(this.$t1,this.$t2),a);return b!=null&&$.ig.$op.equalsStatic($e(this.$t1,this._c),$e(this.$t1,b._c))&&$.ig.$op.equalsStatic($e(this.$t2,this._d),$e(this.$t2,b._d))},getHashCode:function(){var a=0;if($e(this.$t1,this._c)!=null){a=this._c.getHashCode()}if($e(this.$t2,this._d)!=null){a=a^this._d.getHashCode()<<16}return a},$type:new $.ig.Type("Tuple$2",$.ig.$ot)},true);$c("Tuple$3:v","Object",{$t1:null,$t2:null,$t3:null,_c:null,_d:null,_e:null,init:function($t1,$t2,$t3,a,b,c){this.$t1=$t1;this.$t2=$t2;this.$t3=$t3;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t1,this.$t2,this.$t3)}$.ig.$op.init.call(this);this._c=a;this._d=b;this._e=c},equals:function(a){var b=$b($$t.$v.$type.specialize(this.$t1,this.$t2,this.$t3),a);return b!=null&&$.ig.$op.equalsStatic($e(this.$t1,this._c),$e(this.$t1,b._c))&&$.ig.$op.equalsStatic($e(this.$t2,this._d),$e(this.$t2,b._d))&&$.ig.$op.equalsStatic($e(this.$t3,this._e),$e(this.$t3,b._e))},getHashCode:function(){var a=0;if($e(this.$t1,this._c)!=null){a=this._c.getHashCode()}if($e(this.$t2,this._d)!=null){a=a^this._d.getHashCode()<<8}if($e(this.$t3,this._e)!=null){a=a^this._e.getHashCode()<<16}return a},$type:new $.ig.Type("Tuple$3",$.ig.$ot)},true);$c("Tuple:w","Object",{init:function(){$.ig.$op.init.call(this)},a:function($t1,$t2,a,b){return new $$t.u($t1,$t2,a,b)},b:function($t1,$t2,$t3,a,b,c){return new $$t.v($t1,$t2,$t3,a,b,c)},$type:new $.ig.Type("Tuple",$.ig.$ot)},true);$c("Uri:x","Object",{init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break;case 3:this.init3.apply(this,arguments);break}return}$$t.$x.init2.call(this,2,b,1,true)},init1:function(a,b,c){$$t.$x.init2.call(this,2,b,c,true)},init2:function(a,b,c,d){$.ig.$op.init.call(this);this.value(b)},_value:null,value:function(a){if(arguments.length===1){this._value=a;return a}else{return this._value}},isAbsoluteUri:function(){var a=this.value();var b=a.length;if(b!=0&&$6(a.charAt(0))){for(var c=1;c<b;c++){var d=a.charAt(c);if(d==":"){return true}if(d!="+"&&d!="-"&&d!="."&&!$8(d)){break}}}return false},scheme:function(){var a=this.value();var b=a.length;if(b!=0&&$6(a.charAt(0))){for(var c=1;c<b;c++){var d=a.charAt(c);if(d==":"){return a.substr(0,c)}if(d!="+"&&d!="-"&&d!="."&&!$8(d)){break}}}throw new $$t.p(1,"The scheme cannot be obtained from a relative Uri.")},encodeURIComponent:function(a){return null},escapeUriString:function(a){if(/^([A-Z]:)|(\\\\)/i.test(a)){return a}return encodeURI(a)},tryCreate:function(a,b,c){if($$t.$x.isWellFormedUriString(a,b)){c=new $$t.x(2,a,b,false);return{ret:true,p2:c}}c=null;return{ret:false,p2:c}},isWellFormedUriString:function(a,b){switch(b){case 1:if(!/^(((http|ftp|https):\/\/[\w-]+(\.[\w-]*)+)|(file:\/\/\/?))([\w\\$()!'.,@?^=%&amp;:\/~+#-]*[\w@?^=%&amp;\/~+#-])?$/i.test(a)){return false}break;case 2:if(!/^([\w\\$()!'.,@?^=%&amp;:\/~+#-]*[\w@?^=%&amp;\/~+#-])?$/i.test(a)){return false}break;default:case 0:if(!/^((((http|ftp|https):\/\/[\w-]+(\.[\w-]*)+)|(file:\/\/\/?)))?([\w\\$()!'.,@?^=%&amp;:\/~+#-]*[\w@?^=%&amp;\/~+#-])?$/i.test(a)){return false}break}return true},toString:function(){if(/^([A-Z]:)|(\\\\)/i.test(this.value())){return this.value()}var a=decodeURI(this.value());if(/^(http|ftp|https):\/\/[\w-]+(\.[\w-]*)+?$/i.test(a)){a+="/"}return a},init3:function(a,b,c){$.ig.$op.init.call(this);throw new $$t.q(0)},absolutePath:function(){throw new $$t.q(0)},absoluteUri:function(){throw new $$t.q(0)},localPath:function(){var a=/^(((http|ftp|https):\/\/[\w-]+(\.[\w-]*)+)|(file:\/\/\/?))([\w\\$()!'.,@?^=%&amp;:\/~+#-]*[\w@?^=%&amp;\/~+#-])?$/i.exec(this.value());if(a==null){throw new $$t.p(0)}if(a[6]!=null){return decodeURI(a[6])}return"/"},originalString:function(){return this.value()},isWellFormedOriginalString:function(){return $$t.$x.isWellFormedUriString(this.value(),0)},$type:new $.ig.Type("Uri",$.ig.$ot)},true);$c("WeakReference:z","Object",{b:null,init:function(a){$.ig.$op.init.call(this);this.b=a},a:function(){return true},c:function(a){if(arguments.length===1){this.b=a;return a}else{return this.b}},$type:new $.ig.Type("WeakReference",$.ig.$ot)},true);$c("StringBuilder:aj","Object",{_internal:null,internal:function(a){if(arguments.length===1){this._internal=a;return a}else{return this._internal}},init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.$op.init.call(this);this.internal("")},init1:function(a,b){$$t.$aj.init.call(this,0)},init2:function(a,b){$.ig.$op.init.call(this);this.internal(b)},k:function(a){if(a!=null){this.l(a.toString())}return this},l:function(str_){if(str_!=null){this._internal=this._internal.concat(str_)}return this},n:function(a){var str_=a.toString();this._internal=this._internal.concat(str_);return this},h:function(chr_){this._internal=this._internal.concat(chr_);return this},i:function(chr_,count_){if(chr_.repeat){this._internal=this._internal.concat(chr_.repeat(count_))}else{for(var a=0;a<count_;a++){this._internal=this._internal.concat(chr_)}}return this},j:function(value_){this._internal=this._internal.concat(value_);return this},m:function(value_,startIndex_,count_){this._internal=this._internal.concat(value_.substr(startIndex_,count_));return this},g:function(value_,startIndex_,charCount_){this._internal=this._internal.concat(value_.slice(startIndex_,startIndex_+charCount_).join(""));return this},t:function(){return this.u("")},u:function(str_){if(str_!=null){this._internal=this._internal.concat(str_)}this._internal=this._internal.concat($.ig.Environment.prototype.newLine());
return this},v:function(){this.internal("");return this},w:function(index_,chr_){if(index_==this.c()){this.h(chr_)}else{this._internal=this._internal.substring(0,index_).concat(chr_).concat(this._internal.substring(index_,this._internal.length))}return this},x:function(index_,str_){if(index_==this.c()){this.l(str_)}else{this._internal=this._internal.substring(0,index_).concat(str_).concat(this._internal.substring(index_,this._internal.length))}return this},y:function(startIndex_,length_){this._internal=this._internal.substring(0,startIndex_).concat(this._internal.substring(startIndex_+length_,this._internal.length));return this},z:function(oldCh_,newCh_){this._internal=this._internal.replace(oldCh_,newCh_);return this},toString:function(){return this.internal()},f:function(a,b){return this.internal().substr(a,b)},c:function(a){if(arguments.length===1){if(a<=this.c()){this._internal=this._internal.substring(0,a)}else{throw new $$t.q(0)}return a}else{return this.internal().length}},item:function(index_,a){if(arguments.length===2){this._internal=this._internal.substring(0,index_).concat(a).concat(this._internal.substring(index_+1,this._internal.length));return a}else{return this.internal().charAt(index_)}},q:function(a,b){return this.l($y(a,b))},p:function(a,b){return this.l($z(a,b))},o:function(a,b,c){return this.l($0(a,b,c))},r:function(a,b,c){return this.l($y(a,b,c))},s:function(a,b,c,d){return this.l($y(a,b,c,d))},_b:0,$type:new $.ig.Type("StringBuilder",$.ig.$ot)},true);$c("InAttribute","Attribute",{init:function(){$$0.$ao.init.call(this)},$type:new $.ig.Type("InAttribute",$$0.$ao.$type)},true);$c("Out1Attribute","Attribute",{init:function(){$$0.$ao.init.call(this)},$type:new $.ig.Type("Out1Attribute",$$0.$ao.$type)},true);$c("Debug:ai","Object",{init:function(){$.ig.$op.init.call(this)},b:function(a,b){},d:function(a){},a:function(a){},c:function(a){},$type:new $.ig.Type("Debug",$.ig.$ot)},true);$c("DebuggerDisplayAttribute","Attribute",{init:function(a){$$0.$ao.init.call(this)},_a:null,_d:null,_b:null,_c:null,$type:new $.ig.Type("DebuggerDisplayAttribute",$$0.$ao.$type)},true);$c("AsyncCompletedEventArgs:ae","EventArgs",{d:null,b:false,f:null,init:function(a,b,c){$$0.$w.init.call(this);this.b=b;this.d=a;this.f=c},error:function(){return this.d},cancelled:function(){return this.b},userState:function(){return this.f},h:function(){if(this.error()!=null){throw this.error()}},$type:new $.ig.Type("AsyncCompletedEventArgs",$$0.$w.$type)},true);$c("CancelEventArgs:ag","EventArgs",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$0.$w.init.call(this)},init1:function(a,b){$$0.$w.init.call(this)},_cancel:false,cancel:function(a){if(arguments.length===1){this._cancel=a;return a}else{return this._cancel}},$type:new $.ig.Type("CancelEventArgs",$$0.$w.$type)},true);$c("GeneratedCodeAttribute","Attribute",{a:null,c:null,init:function(a,b){$$0.$ao.init.call(this);this.a=a;this.c=b},b:function(){return this.a},d:function(){return this.c},$type:new $.ig.Type("GeneratedCodeAttribute",$$0.$ao.$type)},true);$c("Comparer$1:ab","Object",{$t:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this)},defaultComparerValue:function($t){return new $$t.ac($t)},compare:function(a,b){},create:function($t,a){return null},$type:new $.ig.Type("Comparer$1",$.ig.$ot,[$$t.$aa.$type,$$t.$ad.$type.specialize(0)])},true);$c("DefaultComparer$1:ac","Comparer$1",{$t:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$ab.init.call(this,this.$t)},compare:function(a,b){var c=$b($$0.$a.$type.specialize(this.$t),a);if(c!=null){return c.compareTo(b)}var d=$b($$0.$a.$type.specialize(this.$t),b);if(d!=null){return-d.compareTo(a)}return $.ig.util.compare(a,b)},$type:new $.ig.Type("DefaultComparer$1",$$t.$ab.$type.specialize(0))},true);$$t.$ak.b=null;$$t.$ak.c=null;$$t.$i.empty=new $$t.i(0);$$t.$t.currentCulture=new $$t.t(1,0);$$t.$t.currentCultureIgnoreCase=new $$t.t(1,1);$$t.$t.invariantCulture=new $$t.t(1,2);$$t.$t.invariantCultureIgnoreCase=new $$t.t(1,3);$$t.$t.ordinal=new $$t.t(1,4);$$t.$t.ordinalIgnoreCase=new $$t.t(1,5);$$t.$x.schemeDelimiter="://"})($);/*!@license
* Infragistics.Web.ClientUI infragistics.ext_collections.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$4=$$t;var $$0=$.ig.globalDefs.$$0;var $$1=$.ig.globalDefs.$$1;var $$6=$.ig.globalDefs.$$6;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["EqualityComparer$1:m","DefaultEqualityComparer$1:n","IArrayList:r","IArray:s","IDictionary$2:t","INotifyCollectionChanged:ac","NotifyCollectionChangedEventHandler:ad"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compareSimple,$x=$.ig.util.compare,$y=$.ig.util.replace,$z=$.ig.util.stringFormat,$0=$.ig.util.stringFormat1,$1=$.ig.util.stringFormat2,$2=$.ig.util.stringCompare1,$3=$.ig.util.stringCompare2,$4=$.ig.util.stringCompare3;$d("NotifyCollectionChangedAction:af",false,false,{Add:0,Remove:1,Replace:2,Reset:4});$c("Buffer:a","Object",{init:function(){$.ig.$op.init.call(this)},b:function(a){try{}catch(b){}if(a==null){throw new $$6.e(0,"array")}var c=a.length;if(c<0){throw new $$6.d(1,"Object must be an array of primitives.")}return c},a:function(a,b){if(b<0||b>=$$t.$a.b(a)){throw new $$6.f(2,"index","Value must be non-negative and less than the size of the collection.")}return $h(a[b])},d:function(a,b,c){if(b<0||b>=$$t.$a.b(a)){throw new $$6.f(2,"index","Value must be non-negative and less than the size of the collection.")}a[b]=c},c:function(a,b,c,d,e){var f=b;var g=d;if(a==null){throw new $$6.e(0,"src")}if(c==null){throw new $$6.e(0,"dst")}if(b<0){throw new $$6.f(2,"srcOffset","Non-negative number required.")}if(d<0){throw new $$6.f(2,"dstOffset","Non-negative number required.")}if(e<0){throw new $$6.f(2,"count","Non-negative number required.")}if(b>$$t.$a.b(a)-e||d>$$t.$a.b(c)-e){throw new $$6.d(1,"Offset and length were out of bounds for the array or count is greater than "+"the number of elements from index to the end of the source collection.")}for(var h=0;h<e;h++){c[g++]=a[f++]}},$type:new $.ig.Type("Buffer",$.ig.$ot)},true);$c("AbstractEnumerable:b","Object",{a:null,init:function(a){$.ig.$op.init.call(this);this.a=a},getEnumerator:function(){return new $$t.c(this.a().getEnumerator())},$type:new $.ig.Type("AbstractEnumerable",$.ig.$ot,[$$0.$bt.$type])},true);$c("AbstractEnumerator:c","Object",{a:null,init:function(a){$.ig.$op.init.call(this);this.a=a},current:function(){return this.a.current()},moveNext:function(){return this.a.moveNext()},reset:function(){this.a.reset()},$type:new $.ig.Type("AbstractEnumerator",$.ig.$ot,[$$0.$bu.$type])},true);$c("INotifyCollectionChanged:ac","Object",{$type:new $.ig.Type("INotifyCollectionChanged",null)},true);$c("NotifyCollectionChangedEventArgs:ae","EventArgs",{init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$0.$w.init.call(this);this.f=b;this.c=new $$t.x($.ig.$op.$type,0);this.b=new $$t.x($.ig.$op.$type,0)},init1:function(a,b,c,d){$$0.$w.init.call(this);this.f=b;this.c=new $$t.x($.ig.$op.$type,0);if(this.f==1||this.f==2){this.c.add(c);this.i=d}if(this.f!=1){this.b=function(){var $ret=new $$t.x($.ig.$op.$type,0);$ret.add1(c);return $ret}()}else{this.b=new $$t.x($.ig.$op.$type,0)}this.h=d},init2:function(a,b,c,d,e){$$0.$w.init.call(this);this.f=b;this.h=e;this.i=e;this.b=function(){var $ret=new $$t.x($.ig.$op.$type,0);$ret.add1(c);return $ret}();this.c=function(){var $ret=new $$t.x($.ig.$op.$type,0);$ret.add1(d);return $ret}()},f:0,action:function(){return this.f},b:null,newItems:function(){return this.b},h:0,newStartingIndex:function(){return this.h},c:null,oldItems:function(){return this.c},i:0,oldStartingIndex:function(){return this.i},$type:new $.ig.Type("NotifyCollectionChangedEventArgs",$$0.$w.$type)},true);$c("NameValueCollection:ag","Object",{a:null,init:function(){$.ig.$op.init.call(this);this.a=new $$t.h(String,String,0)},item:function(a,b){if(arguments.length===2){if(this.a.containsKey(a)){this.a.item(a,b)}else{this.a.add(a,b)}return b}else{if(this.a.containsKey(a)){return this.a.item(a)}else{return null}}},$type:new $.ig.Type("NameValueCollection",$.ig.$ot)},true);$c("KeyValuePair$2:u","ValueType",{$tKey:null,$tValue:null,init:function($tKey,$tValue,a){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$0.$bh.init.call(this)},a:null,c:null,init1:function($tKey,$tValue,a,b,c){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}$$0.$bh.init.call(this);this.a=b;this.c=c},key:function(){return this.a},value:function(){return this.c},$type:new $.ig.Type("KeyValuePair$2",$$0.$bh.$type)},true);$c("IDictionary$2:t","Object",{$type:new $.ig.Type("IDictionary$2",null,[$$0.$bv.$type.specialize($$t.$u.$type.specialize(0,1)),$$0.$bw.$type.specialize($$t.$u.$type.specialize(0,1)),$$0.$bt.$type])},true);$c("Dictionary$2:h","Object",{$tKey:null,$tValue:null,j:null,k:0,e:false,d:false,c:false,a:null,b:null,init:function($tKey,$tValue,a){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break;case 3:this.init3.apply(this,arguments);break;case 4:this.init4.apply(this,arguments);break}return}$$t.$h.init4.call(this,this.$tKey,this.$tValue,4,0,null)},init1:function($tKey,$tValue,a,b){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}$$t.$h.init4.call(this,this.$tKey,this.$tValue,4,b,null)},init2:function($tKey,$tValue,a,b){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}$$t.$h.init4.call(this,this.$tKey,this.$tValue,4,0,b)},init3:function($tKey,$tValue,a,b){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}$$t.$h.init1.call(this,this.$tKey,this.$tValue,1,b.count());var d=b.getEnumerator();while(d.moveNext()){var c=d.current();this.item(c.key(),c.value())}},init4:function($tKey,$tValue,a,b,c){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}$.ig.$op.init.call(this);this.a={};this.b={};this.j=c||$$t.$m.defaultEqualityComparerValue(this.$tKey);this.e=c==null&&($tKey===$.ig.String.prototype.$type||$tKey===String);this.d=$tKey===$.ig.Object.prototype.$type||$tKey.InstanceConstructor&&!$tKey.InstanceConstructor.prototype.getHashCode;this.c=c==null&&(this.e||this.d||$tKey.InstanceConstructor&&$tKey.InstanceConstructor.prototype.getHashCode==$.ig.Object.prototype.getHashCode)},count:function(){return this.k},item:function(key_,a){if(arguments.length===2){this.o(key_,a,false);return a}else{var result_=this.tryGetValueFast(key_);if(result_!==undefined){return result_}return $f(this.$tValue)}},length:function(){return this.k},containsKey:function(a){if(this.c){var b=this.n(a);return this.a.hasOwnProperty(b)}else{var c=this.l(a);var d=this.b[c];if(d){if(d.$isHashSetBucket){var g=d;for(var f=0;f<g.length;f++){var e=g[f];if(this.j.equalsC(e.key,a)){return true}}}else{return this.j.equalsC(d.key,a)}}}return false},remove:function(a){if(this.c){var b=this.n(a);if(!this.a.hasOwnProperty(b)){return false}delete this.a[b];delete this.b[b];this.k--;return true}var c=this.l(a);var d=this.b[c];if(d){if(d.$isHashSetBucket){var g=d;for(var f=0;f<g.length;f++){var e=g[f];if(this.j.equalsC(e.key,a)){d.removeItem(e);if(d.length==1){this.b[c]=d[0]}this.k--;return true}}}else{if(this.j.equalsC(d.key,a)){delete this.b[c];this.k--;return true}}}return false},clear:function(){this.k=0;this.a={};this.b={}},n:function(a){if(this.d){$.ig.util.ensureUniqueId(a)}if(this.e){return $n(this.$tKey,a)}else{return a.getHashCode().toString()}},l:function(a){if(this.d){$.ig.util.ensureUniqueId(a)}else{if(!a.getHashCode){this.d=true;$.ig.util.ensureUniqueId(a)}}return this.j.getHashCodeC(a)},add:function(a,b){this.o(a,b,true)},o:function(a,b,c){if(this.c){var d=this.n(a);if(!this.a.hasOwnProperty(d)){this.k++}else if(c){throw new $$6.d(1,"Duplicate key added to the dictionary")}this.a[d]=a;this.b[d]=b}else{var e=this.l(a);var f=this.b[e];if(f){if(f.$isHashSetBucket){var i=f;for(var h=0;h<i.length;h++){var g=i[h];if(this.j.equalsC(g.key,a)){if(c){throw new $$6.d(1,"Duplicate key added to the dictionary")}g.value=b;return}}f.push({key:a,value:b});this.k++}else{if(this.j.equalsC(f.key,a)){if(c){throw new $$6.d(1,"Duplicate key added to the dictionary")}f.value=b}else{var j=[f,{key:a,value:b}];j.$isHashSetBucket=true;this.b[e]=j;this.k++}}}else{this.b[e]={key:a,value:b};this.k++}}},tryGetValueFast:function(a){var b;if(this.c){var c=this.n(a);if(this.a.hasOwnProperty(c)){b=this.b[c];return b}}else{var d=this.l(a);var e=this.b[d];if(e){if(e.$isHashSetBucket){var h=e;for(var g=0;g<h.length;g++){var f=h[g];if(this.j.equalsC(f.key,a)){b=f.value;return b}}}else{if(this.j.equalsC(e.key,a)){b=e.value;return b}}}}return $v(this.$tValue,undefined)},tryGetValue:function(a,b){if(this.c){var c=this.n(a);if(this.a.hasOwnProperty(c)){b=this.b[c];return{ret:true,p1:b}}}else{var d=this.l(a);var e=this.b[d];if(e){if(e.$isHashSetBucket){var h=e;for(var g=0;g<h.length;g++){var f=h[g];if(this.j.equalsC(f.key,a)){b=f.value;return{ret:true,p1:b}}}}else{if(this.j.equalsC(e.key,a)){b=e.value;return{ret:true,p1:b}}}}}b=$f(this.$tValue);return{ret:false,p1:b}},isReadOnly:function(){return false},add1:function(a){this.add(a.key(),a.value())},contains:function(a){var $self=this;var b;return function(){var c=$self.tryGetValue(a.key(),b);b=c.p1;return c.ret}()&&$.ig.$op.equalsStatic($e(this.$tValue,b),$e(this.$tValue,a.value()))},copyTo:function(a,b){throw new $$6.q(0)},remove1:function(a){this.remove(a.key());return true},getEnumerator:function(){return this.g().getEnumerator()},g:function(){var d__=new $$t.j(this.$tKey,this.$tValue,(-2));d__.__4__this=this;return d__},h:function(){var d__=new $$t.k(this.$tKey,this.$tValue,(-2));d__.__4__this=this;return d__},i:function(){var d__=new $$t.l(this.$tKey,this.$tValue,(-2));d__.__4__this=this;return d__},keys:function(){return new $$t.i(this.$tKey,this.$tValue,this.$tKey,this,this.h(),this.j||$$t.$m.defaultEqualityComparerValue(this.$tKey))},values:function(){return new $$t.i(this.$tKey,this.$tValue,this.$tValue,this,this.i(),$$t.$m.defaultEqualityComparerValue(this.$tValue))},$type:new $.ig.Type("Dictionary$2",$.ig.$ot,[$$t.$t.$type.specialize(0,1),$$0.$bl.$type])},true);$c("Dictionary_EnumerableCollection$3:i","Object",{$tKey:null,$tValue:null,$t:null,c:null,b:null,a:null,init:function($tKey,$tValue,$t,a,b,c){this.$tKey=$tKey;this.$tValue=$tValue;this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue,this.$t)}$.ig.$op.init.call(this);this.c=b;this.b=c;this.a=a},count:function(){return this.a.count()},isReadOnly:function(){return true},add:function(a){throw new $$6.p(0)},clear:function(){throw new $$6.p(0)},contains:function(a){var c=this.c.getEnumerator();while(c.moveNext()){var b=c.current();if($.ig.$op.equalsStatic($e(this.$t,b),$e(this.$t,a))){return true}}return false},copyTo:function(a,b){var d=this.c.getEnumerator();while(d.moveNext()){var c=d.current();a[b++]=c}},remove:function(a){throw new $$6.p(0)},getEnumerator:function(){return this.c.getEnumerator()},getEnumerator1:function(){return this.c.getEnumerator()},$type:new $.ig.Type("Dictionary_EnumerableCollection$3",$.ig.$ot,[$$0.$bv.$type.specialize(2)])},true);$c("EqualityComparer$1:m","Object",{$t:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this)},defaultEqualityComparerValue:function($t){return new $$t.n($t)},equalsC:function(a,b){return this.equalsC($v(this.$t,a),$v(this.$t,b))},getHashCodeC:function(a){return this.getHashCodeC($v(this.$t,a))},$type:new $.ig.Type("EqualityComparer$1",$.ig.$ot,[$$0.$bj.$type,$$0.$by.$type.specialize(0)])},true);$c("DefaultEqualityComparer$1:n","EqualityComparer$1",{$t:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$m.init.call(this,this.$t)},equalsC:function(a,b){return $.ig.$op.equalsStatic($e(this.$t,a),$e(this.$t,b))},getHashCodeC:function(a){return a.getHashCode()},$type:new $.ig.Type("DefaultEqualityComparer$1",$$t.$m.$type.specialize(0))},true);$c("GenericEnumerable$1:o","Object",{$t:null,a:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this.a=a},getEnumerator:function(){return new $$t.p(this.$t,this.a().getEnumerator())},$type:new $.ig.Type("GenericEnumerable$1",$.ig.$ot,[$$0.$bw.$type.specialize(0)])},true);$c("GenericEnumerator$1:p","Object",{$t:null,a:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this.a=a},current:function(){return this.a.current()},moveNext:function(){return this.a.moveNext()},reset:function(){this.a.reset()},dispose:function(){},$type:new $.ig.Type("GenericEnumerator$1",$.ig.$ot,[$$0.$bx.$type.specialize(0)])},true);$c("HashSet$1:q","Object",{$t:null,k:null,n:0,__values:null,c:false,__stringPlaceholder:null,b:false,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break;case 3:this.init3.apply(this,arguments);break}return}$$t.$q.init2.call(this,this.$t,2,null)},init1:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$q.init3.call(this,this.$t,3,b,null)},init2:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this.__values={};this.k=b||$$t.$m.defaultEqualityComparerValue(this.$t);this.c=b==null&&($t===$.ig.String.prototype.$type||$t===String);this.b=$t===$.ig.Object.prototype.$type||$t.InstanceConstructor&&!$t.InstanceConstructor.prototype.getHashCode;this.__stringPlaceholder={}},init3:function($t,a,b,c){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$q.init2.call(this,this.$t,2,c);var e=b.getEnumerator();while(e.moveNext()){var d=e.current();this.add(d)}},isReadOnly:function(){return false},comparer:function(){return this.k},count:function(){return this.n},add:function(item_){if(this.c){if(this.__values[item_]){return false}this.__values[item_]=this.__stringPlaceholder;this.n++;return true}if(this.b){$.ig.util.ensureUniqueId(item_)}var a=this.k.getHashCodeC(item_);var current_=this.__values[a];if(current_){if(current_.$isHashSetBucket){var c=current_.getEnumerator();while(c.moveNext()){var b=c.current();if(this.k.equalsC(b,item_)){return false}}current_.push(item_)}else{if(this.k.equalsC(current_,item_)){return false}var bucket_=[current_,item_];bucket_.$isHashSetBucket=true;this.__values[a]=bucket_}}else{this.__values[a]=item_}this.n++;return true},clear:function(){this.n=0;this.__values={}},contains:function(item_){if(this.c){return!!this.__values[item_]}if(this.b){$.ig.util.ensureUniqueId(item_)}var a=this.k.getHashCodeC(item_);var current_=this.__values[a];if(current_!==undefined){if(current_.$isHashSetBucket){var c=current_.getEnumerator();while(c.moveNext()){var b=c.current();if(this.k.equalsC(b,item_)){return true}}}else{if(this.k.equalsC(current_,item_)){return true}}}return false},copyTo1:function(a){throw new $$6.q(0)},copyTo:function(a,b){throw new $$6.q(0)},copyTo2:function(a,b,c){throw new $$6.q(0)},createSetComparer:function($t){throw new $$6.q(0)},exceptWith:function(a){throw new $$6.q(0)},getEnumerator:function(){if(this.c){return $.ig.util.getArrayOfProperties(this.__values).getEnumerator()}var result_=new Array(0);var a=$.ig.util.getArrayOfValues(this.__values);for(var b=0;b<a.length;b++){var item_=a[b];if(item_.$isHashSetBucket){var c=item_.getEnumerator();while(c.moveNext()){var subItem_=c.current();result_.push(subItem_)}}else{result_.push(item_)}}return result_.getEnumerator()},intersectWith:function(a){throw new $$6.q(0)},isProperSubsetOf:function(a){throw new $$6.q(0)},isProperSupersetOf:function(a){throw new $$6.q(0)},isSubsetOf:function(a){throw new $$6.q(0)},isSupersetOf:function(a){throw new $$6.q(0)},onDeserialization:function(a){throw new $$6.q(0)},overlaps:function(a){if(this.count()>0){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();if(this.contains(b)){return true}}}return false},remove:function(item_){if(this.c){if(this.__values[item_]){return false}delete this.__values[item_];this.n--;return true}if(this.b){$.ig.util.ensureUniqueId(item_)}var hashCode_=this.k.getHashCodeC(item_);var current_=this.__values[hashCode_];if(current_){if(current_.$isHashSetBucket){var a=current_.getEnumerator();while(a.moveNext()){var currentItem_=a.current();if(this.k.equalsC(currentItem_,item_)){current_.removeItem(currentItem_);if(current_.length==1){this.__values[hashCode_]=current_[0]}this.n--;return true}}}else{if(this.k.equalsC(current_,item_)){delete this.__values[hashCode_];this.n--;return true}}}return false},setEquals:function(a){throw new $$6.q(0)},symmetricExceptWith:function(a){throw new $$6.q(0)},trimExcess:function(){},unionWith:function(a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();this.add(b)}},$type:new $.ig.Type("HashSet$1",$.ig.$ot,[$$0.$bv.$type.specialize(0),$$0.$bw.$type.specialize(0),$$0.$bt.$type])},true);$c("IArrayList:r","Object",{$type:new $.ig.Type("IArrayList",null)},true);$c("IArray:s","Object",{$type:new $.ig.Type("IArray",null)},true);$c("LinkedList$1:v","Object",{$t:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this)},a:null,c:function(){return this.a},b:null,d:function(){return this.b},e:function(a){if(this.a==null){this.a=new $$t.w(this.$t,1,a);this.b=this.a}else{var b=this.a;this.a=new $$t.w(this.$t,1,a);this.a.a=b;b.b=this.a}},f:function(a){if(this.b==null){this.a=new $$t.w(this.$t,1,a);this.b=this.a}else{var b=this.b;this.b=new $$t.w(this.$t,1,a);this.b.b=b;b.a=this.b}},i:function(){this.h(this.c())},g:function(){this.a=null;this.b=null},h:function(a){if(this.a==a){this.a=a.a;if(a.a!=null){a.a.b=null}}if(this.b==a){this.b=a.b;if(a.b!=null){a.b.a=null}}if(a.b!=null){a.b.a=a.a}if(a.a!=null){a.a.b=a.b}a.a=null;a.b=null},$type:new $.ig.Type("LinkedList$1",$.ig.$ot)},true);$c("LinkedListNode$1:w","Object",{$t:null,_c:null,b:null,a:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$.ig.$op.init.call(this)},init1:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this._c=b},$type:new $.ig.Type("LinkedListNode$1",$.ig.$ot)},true);$c("List$1:x","Object",{$t:null,__inner:null,c:false,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}this.m={};$.ig.$op.init.call(this);this.__inner=[];this.c=this.$t.InstanceConstructor&&this.$t.InstanceConstructor.prototype.equals===$.ig.Object.prototype.equals},init1:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$x.init.call(this,this.$t,0);if(this.d(0,b,true)){return}var d=b.getEnumerator();while(d.moveNext()){var c=d.current();this.add(c)}},init2:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$x.init.call(this,this.$t,0)},x:function(a,b){this.__inner[a]=b},r:function(a,b){this.__inner.splice(a,0,b)},n:function(a){this.__inner.push(a)},u:function(a){if(a==0){this.__inner.shift();return}this.__inner.splice(a,1)},p:function(){this.__inner=[]},item:function(a,b){if(arguments.length===2){this.x(a,b);return b}else{return this.__inner[a]}},indexOf:function(a){if(this.c){return this.__inner.indexOf(a)}for(var b=0;b<this.__inner.length;b++){if($.ig.$op.equalsStatic($e(this.$t,a),$e(this.$t,this.__inner[b]))){return b}}return-1},indexOf2:function(a,b){if(this.c){return this.__inner.indexOf(a,b)}for(;b<this.__inner.length;b++){if($.ig.$op.equalsStatic($e(this.$t,a),$e(this.$t,this.__inner[b]))){return b}}return-1},lastIndexOf:function(a){if(this.c){return this.__inner.lastIndexOf(a)}for(var b=this.__inner.length-1;b>=0;b--){if($.ig.$op.equalsStatic($e(this.$t,a),$e(this.$t,this.__inner[b]))){return b}}return-1},insert:function(a,b){this.r(a,b)},removeAt:function(a){this.u(a)},count:function(){return this.__inner.length},isReadOnly:function(){return false},add:function(a){this.n(a)},clear:function(){this.p()},contains:function(a){return this.indexOf(a)>=0},copyTo:function(a,b){for(var c=0;c<this.__inner.length;c++){a[b+c]=this.__inner[c]}},remove:function(a){var b=this.indexOf(a);if(b<0){return false}this.u(b);return true},getEnumerator:function(){return this.__inner.getEnumerator()},asArray:function(){return this.__inner},d:function(index_,collection_,a){var b=$b($$t.$r.$type,collection_);if(b!=null){var a_=b.asArrayList();Array.prototype.splice.apply(this.__inner,Array.prototype.concat.apply([index_,0],a_));return true}var c=$b($$t.$s.$type,collection_);if(c!=null){var a_=c.asArray();Array.prototype.splice.apply(this.__inner,Array.prototype.concat.apply([index_,0],a_));return true}var asList_=$b($$0.$bz.$type.specialize(this.$t),collection_);if(asList_!=null){for(var i_=0;i_<asList_.count();i_++){var item_=asList_.item(i_);this.__inner.splice(index_+i_,0,item_)}return true}var arr_=Array.isArray(collection_)?collection_:null;if(arr_!=null){var inn_=this.__inner;if(this.__inner.length==0){if(a){var parr_=arr_;var d=arr_.length;for(var i_=0;i_<d;i_++){inn_[index_++]=parr_[i_]}}else{var e=arr_.length;for(var i_=0;i_<e;i_++){inn_[index_++]=$v(this.$t,arr_[i_])}}}else{for(var i_=0;i_<arr_.length;i_++){inn_.splice(index_++,0,arr_[i_])}}return true}return false},insertRange1:function(a,b){if(this.d(a,b,false)){return}var j_=a;var c=b.getEnumerator();while(c.moveNext()){var item_=c.current();this.__inner.splice(j_,0,item_);j_++}},insertRange:function(a,b){if(this.d(a,b,true)){return}var j_=a;var c=b.getEnumerator();while(c.moveNext()){var item_=c.current();this.__inner.splice(j_,0,item_);j_++}},removeRange:function(index_,numToRemove_){if(index_==0&&numToRemove_==1){this.__inner.shift();return}this.__inner.splice(index_,numToRemove_)},copyTo1:function(a,b){$.ig.util.arrayCopyTo(this.__inner,a,b)},isFixedSize:function(){return false},add1:function(a){this.n($v(this.$t,a));return this.__inner.length-1},contains1:function(a){return this.indexOf1(a)>=0},indexOf1:function(a){return this.indexOf($v(this.$t,a))},insert1:function(a,b){this.r(a,$v(this.$t,b))},remove1:function(a){var b=this.indexOf1(a);if(b<0){return}this.u(b)},sort:function(){var a=null;if(this.$t==Number){a=function(b,c){var d=b;var e=c;if(d<e){return-1}if(d==e){return 0}return 1}}else if(this.$t==$$0.$a8.$type){a=function(b,c){var d=b;var e=c;if(d<e){return-1}if(d==e){return 0}return 1}}else if(this.$t==$$0.$aw.$type){a=function(b,c){var d=$h(b);var e=$h(c);if(d<e){return-1}if(d==e){return 0}return 1}}else if(this.$t==$$0.$s.$type){a=function(b,c){var d=b;var e=c;if(d.getTime()<e.getTime()){return-1}if(d.getTime()==e.getTime()){return 0}return 1}}else{a=function(b,c){return b.compareTo(c)}}this.ab(a)},ab:function(compare_){this.__inner.sort(compare_)},sort2:function(compare_){this.__inner.sort(compare_)},_capacity:0,capacity:function(a){if(arguments.length===1){this._capacity=a;return a}else{return this._capacity}},addRange:function(a){var b=a.getEnumerator();while(b.moveNext()){var item_=b.current();this.__inner.push(item_)}},toArray:function(){return this.__inner},forEach:function(a){for(var b=0;b<this.__inner.length;b++){a(this.__inner[b])}},isSynchronized:function(){return true},m:null,syncRoot:function(){return this.m},binarySearch:function(a){return this.binarySearch1(a,$$6.$ab.defaultComparerValue(this.$t))},binarySearch1:function(a,b){var c=0;var d=this.count()-1;while(c<=d){var e=c+$a(d-c,2);var f=this.__inner[e];var g=b.compare(f,a);if(g==0){return e}if(g<0){c=e+1}else{d=e-1}}return~c},asReadOnly:function(){return new $$t.g(this.$t,1,this)},reverse:function(){for(var a=0;a<$a(this.count(),2);a++){var b=this.count()-a-1;var c=this.__inner[a];this.__inner[a]=this.__inner[b];this.__inner[b]=c}},sort1:function(a){this.sort2(a.compare.runOn(a))},findIndex:function(a){for(var b=0;b<this.__inner.length;b++){if(a(this.__inner[b])){return b}}return-1},removeAll:function(a){throw new $$6.q(0)},$type:new $.ig.Type("List$1",$.ig.$ot,[$$0.$bz.$type.specialize(0),$$t.$s.$type,$$0.$bm.$type])},true);$c("Queue$1:y","Object",{$t:null,d:0,e:0,f:0,a:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this.a=new Array(4)},count:function(){return this.d},copyTo:function(a,b){if(this.e<this.f){for(var c=this.e;c<this.f;c++){a[b++]=$e(this.$t,this.a[c])}}else{for(var d=this.e;d<this.a.length;d++){a[b++]=$e(this.$t,this.a[d])}for(var e=0;e<this.f;e++){a[b++]=$e(this.$t,this.a[e])}}},isSynchronized:function(){return false},syncRoot:function(){return null},getEnumerator:function(){var d__=new $$t.z(this.$t,0);d__.__4__this=this;return d__},enqueue:function(a){if(this.d==this.a.length){var b=new Array(Math.max(2,this.a.length*2));this.copyTo(b,0);this.e=0;this.f=this.a.length;this.a=b}this.a[this.f]=a;this.f=(this.f+1)%this.a.length;this.d++},dequeue:function(){if(this.d==0){throw new $$6.p(1,"The Queue is empty.")}var a=this.a[this.e];this.a[this.e]=null;this.e=(this.e+1)%this.a.length;this.d--;return a},peek:function(){if(this.d==0){throw new $$6.p(1,"The Queue is empty.")}return this.a[this.e]},$type:new $.ig.Type("Queue$1",$.ig.$ot,[$$0.$bk.$type,$$0.$bw.$type.specialize(0)])},true);$c("Stack$1:aa","Object",{$t:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}this.c=new $$0.bq;$.ig.$op.init.call(this)},c:null,push:function(a){this.c.add($e(this.$t,a))},peek:function(){if(this.c.length<1){return $f(this.$t)}return $v(this.$t,this.c[this.c.length-1])},pop:function(){var a=this.c[this.c.length-1];this.c.removeAt(this.c.length-1);return $v(this.$t,a)},count:function(){return this.c.length},clear:function(){this.c.clear()},contains:function(a){return this.c.contains($e(this.$t,a))},getEnumerator:function(){return new $$t.ab(this.$t,this.c)},toArray:function(){var a=this.c.length;var b=new Array(a);for(var c=0;c<a;c++){b[c]=$v(this.$t,this.c[a-(c+1)])}return b},$type:new $.ig.Type("Stack$1",$.ig.$ot,[$$0.$bw.$type.specialize(0)])},true);$c("ReverseArrayEnumerator$1:ab","Object",{$t:null,b:0,a:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this.a=a;this.b=a.length},current:function(){return $v(this.$t,this.a[this.b])},moveNext:function(){this.b--;return this.b>=0},reset:function(){this.b=this.a.length},dispose:function(){throw new $$6.q(0)},$type:new $.ig.Type("ReverseArrayEnumerator$1",$.ig.$ot,[$$0.$bx.$type.specialize(0)])},true);$c("ObservableCollection$1:f","List$1",{$t:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$t.$x.init.call(this,this.$t,0)},init1:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$x.init1.call(this,this.$t,1,b)},init2:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$x.init2.call(this,this.$t,2,b)},x:function(a,b){var c=this.__inner[a];$$t.$x.x.call(this,a,b);if(this.propertyChanged!=null){this.ad(new $$0.b7("Item[]"))}if(this.collectionChanged!=null){var d=new $$t.ae(2,2,$e(this.$t,b),$e(this.$t,c),a);this.ac(d)}},p:function(){$$t.$x.p.call(this);if(this.propertyChanged!=null){this.ad(new $$0.b7("Count"));this.ad(new $$0.b7("Item[]"))}if(this.collectionChanged!=null){var a=new $$t.ae(0,4);this.ac(a)}},r:function(a,b){$$t.$x.r.call(this,a,b);if(this.propertyChanged!=null){this.ad(new $$0.b7("Count"));this.ad(new $$0.b7("Item[]"))}if(this.collectionChanged!=null){var c=new $$t.ae(1,0,$e(this.$t,b),a);this.ac(c)}},n:function(a){$$t.$x.n.call(this,a);if(this.propertyChanged!=null){this.ad(new $$0.b7("Count"));this.ad(new $$0.b7("Item[]"))}if(this.collectionChanged!=null){var b=new $$t.ae(1,0,$e(this.$t,a),this.count()-1);this.ac(b)}},u:function(a){var b=this.__inner[a];$$t.$x.u.call(this,a);if(this.propertyChanged!=null){this.ad(new $$0.b7("Count"));this.ad(new $$0.b7("Item[]"))}if(this.collectionChanged!=null){var c=new $$t.ae(1,1,$e(this.$t,b),a);this.ac(c)}},collectionChanged:null,propertyChanged:null,ad:function(a){if(this.propertyChanged!=null){this.propertyChanged(this,a)}},ac:function(a){if(this.collectionChanged!=null){this.collectionChanged(this,a)}},$type:new $.ig.Type("ObservableCollection$1",$$t.$x.$type.specialize(0),[$$t.$ac.$type,$$0.$b6.$type])},true);$c("ObjectCollection:d","ObservableCollection$1",{init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$t.$f.init.call(this,$.ig.$op.$type,0)},init1:function(a,b){$$t.$f.init1.call(this,$.ig.$op.$type,1,b)},init2:function(a,b){$$t.$f.init2.call(this,$.ig.$op.$type,2,b)},$type:new $.ig.Type("ObjectCollection",$$t.$f.$type.specialize($.ig.$op.$type))},true);$c("Collection$1:e","List$1",{$t:null,init:function($t){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$t.$x.init.call(this,this.$t,0)},ac:function(){return this},$type:new $.ig.Type("Collection$1",$$t.$x.$type.specialize(0))},true);$c("ReadOnlyCollection$1:g","Object",{$t:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}this.c={};$.ig.$op.init.call(this)},init1:function($t,a,b){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}this.c={};$.ig.$op.init.call(this);this.a=b},a:null,item:function(a,b){if(arguments.length===2){this.a.item(a,b);return b}else{return this.a.item(a)}},indexOf:function(a){return this.a.indexOf(a)},insert:function(a,b){},removeAt:function(a){},count:function(){return this.a.count()},isReadOnly:function(){return true},add:function(a){},clear:function(){},contains:function(a){return this.a.contains(a)},copyTo:function(a,b){this.a.copyTo(a,b)},remove:function(a){return false},getEnumerator:function(){return this.a.getEnumerator()},isFixedSize:function(){return true},add1:function(a){return-1},contains1:function(a){return this.a.contains($v(this.$t,a))},indexOf1:function(a){return this.a.indexOf($v(this.$t,a))},insert1:function(a,b){},remove1:function(a){},copyTo1:function(a,b){this.a.copyTo(a,b)},b:function(){return this.a},isSynchronized:function(){
return true},c:null,syncRoot:function(){return this.c},$type:new $.ig.Type("ReadOnlyCollection$1",$.ig.$ot,[$$0.$bz.$type.specialize(0),$$0.$bm.$type])},true);$c("Dictionary___ToEnumerableValues__IteratorClass$2:l","Object",{$tKey:null,$tValue:null,g:0,e:null,a:null,h:0,b:null,i:0,f:null,c:null,j:0,__4__this:null,init:function($tKey,$tValue,a){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}$.ig.$op.init.call(this);this.g=a},moveNext:function(){while(this.g>=0){switch(this.g){case 0:this.g=-1;if(this.__4__this.c){this.a=$.ig.util.getArrayOfProperties(this.__4__this.a);this.h=0;this.g=1;break}this.b=$.ig.util.getArrayOfProperties(this.__4__this.b);this.i=0;this.g=3;break;case 1:this.g=-1;if(this.h<this.a.length){this.e=this.__4__this.b[this.a[this.h]];this.g=2;return true}break;case 2:this.g=-1;this.h++;this.g=1;break;case 3:this.g=-1;if(this.i<this.b.length){this.f=this.__4__this.b[this.b[this.i]];if(this.f.$isHashSetBucket){this.c=this.f;this.j=0;this.g=4;break}this.e=this.f.value;this.g=6;return true}break;case 4:this.g=-1;if(this.j<this.c.length){var subItem_=this.c[this.j];this.e=subItem_.value;this.g=5;return true}this.g=6;break;case 5:this.g=-1;this.j++;this.g=4;break;case 6:this.g=-1;this.i++;this.g=3;break}}return false},getEnumerator:function(){var d__;if(this.g==-2){this.g=0;d__=this}else{d__=new $$t.l(this.$tKey,this.$tValue,0);d__.__4__this=this.__4__this}return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this.e},current1:function(){return $e(this.$tValue,this.e)},$type:new $.ig.Type("Dictionary___ToEnumerableValues__IteratorClass$2",$.ig.$ot,[$$0.$bw.$type.specialize(1),$$0.$bt.$type,$$0.$bx.$type.specialize(1),$$0.$bu.$type,$$0.$au.$type])},true);$c("Queue___GetEnumerator__IteratorClass$1:z","Object",{$t:null,c:0,b:null,d:0,e:0,f:0,__4__this:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$.ig.$op.init.call(this);this.c=a},moveNext:function(){while(this.c>=0){switch(this.c){case 0:this.c=-1;if(this.__4__this.e<this.__4__this.f){this.d=this.__4__this.e;this.c=1;break}this.e=this.__4__this.e;this.c=3;break;case 1:this.c=-1;if(this.d<this.__4__this.f){this.b=this.__4__this.a[this.d];this.c=2;return true}break;case 2:this.c=-1;this.d++;this.c=1;break;case 3:this.c=-1;if(this.e<this.__4__this.a.length){this.b=this.__4__this.a[this.e];this.c=4;return true}this.f=0;this.c=5;break;case 4:this.c=-1;this.e++;this.c=3;break;case 5:this.c=-1;if(this.f<this.__4__this.f){this.b=this.__4__this.a[this.f];this.c=6;return true}break;case 6:this.c=-1;this.f++;this.c=5;break}}return false},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this.b},current1:function(){return $e(this.$t,this.b)},$type:new $.ig.Type("Queue___GetEnumerator__IteratorClass$1",$.ig.$ot,[$$0.$bx.$type.specialize(0),$$0.$bu.$type,$$0.$au.$type])},true);$c("Dictionary___ToEnumerable__IteratorClass$2:j","Object",{$tKey:null,$tValue:null,g:0,f:null,a:null,h:0,b:null,i:0,e:null,c:null,j:0,__4__this:null,init:function($tKey,$tValue,a){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}this.f=new $$t.u(this.$tKey,this.$tValue);$.ig.$op.init.call(this);this.g=a},moveNext:function(){while(this.g>=0){switch(this.g){case 0:this.g=-1;if(this.__4__this.c){this.a=$.ig.util.getArrayOfProperties(this.__4__this.a);this.h=0;this.g=1;break}this.b=$.ig.util.getArrayOfProperties(this.__4__this.b);this.i=0;this.g=3;break;case 1:this.g=-1;if(this.h<this.a.length){this.f=new $$t.u(this.$tKey,this.$tValue,1,this.__4__this.a[this.a[this.h]],this.__4__this.b[this.a[this.h]]);this.g=2;return true}break;case 2:this.g=-1;this.h++;this.g=1;break;case 3:this.g=-1;if(this.i<this.b.length){this.e=this.__4__this.b[this.b[this.i]];if(this.e.$isHashSetBucket){this.c=this.e;this.j=0;this.g=4;break}this.f=new $$t.u(this.$tKey,this.$tValue,1,this.e.key,this.e.value);this.g=6;return true}break;case 4:this.g=-1;if(this.j<this.c.length){var subItem_=this.c[this.j];this.f=new $$t.u(this.$tKey,this.$tValue,1,subItem_.key,subItem_.value);this.g=5;return true}this.g=6;break;case 5:this.g=-1;this.j++;this.g=4;break;case 6:this.g=-1;this.i++;this.g=3;break}}return false},getEnumerator:function(){var d__;if(this.g==-2){this.g=0;d__=this}else{d__=new $$t.j(this.$tKey,this.$tValue,0);d__.__4__this=this.__4__this}return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this.f},current1:function(){return this.f},$type:new $.ig.Type("Dictionary___ToEnumerable__IteratorClass$2",$.ig.$ot,[$$0.$bw.$type.specialize($$t.$u.$type.specialize(0,1)),$$0.$bt.$type,$$0.$bx.$type.specialize($$t.$u.$type.specialize(0,1)),$$0.$bu.$type,$$0.$au.$type])},true);$c("Dictionary___ToEnumerableKeys__IteratorClass$2:k","Object",{$tKey:null,$tValue:null,g:0,e:null,a:null,h:0,b:null,i:0,f:null,c:null,j:0,__4__this:null,init:function($tKey,$tValue,a){this.$tKey=$tKey;this.$tValue=$tValue;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tKey,this.$tValue)}$.ig.$op.init.call(this);this.g=a},moveNext:function(){while(this.g>=0){switch(this.g){case 0:this.g=-1;if(this.__4__this.c){this.a=$.ig.util.getArrayOfProperties(this.__4__this.a);this.h=0;this.g=1;break}this.b=$.ig.util.getArrayOfProperties(this.__4__this.b);this.i=0;this.g=3;break;case 1:this.g=-1;if(this.h<this.a.length){this.e=this.__4__this.a[this.a[this.h]];this.g=2;return true}break;case 2:this.g=-1;this.h++;this.g=1;break;case 3:this.g=-1;if(this.i<this.b.length){this.f=this.__4__this.b[this.b[this.i]];if(this.f.$isHashSetBucket){this.c=this.f;this.j=0;this.g=4;break}this.e=this.f.key;this.g=6;return true}break;case 4:this.g=-1;if(this.j<this.c.length){var subItem_=this.c[this.j];this.e=subItem_.key;this.g=5;return true}this.g=6;break;case 5:this.g=-1;this.j++;this.g=4;break;case 6:this.g=-1;this.i++;this.g=3;break}}return false},getEnumerator:function(){var d__;if(this.g==-2){this.g=0;d__=this}else{d__=new $$t.k(this.$tKey,this.$tValue,0);d__.__4__this=this.__4__this}return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this.e},current1:function(){return $e(this.$tKey,this.e)},$type:new $.ig.Type("Dictionary___ToEnumerableKeys__IteratorClass$2",$.ig.$ot,[$$0.$bw.$type.specialize(0),$$0.$bt.$type,$$0.$bx.$type.specialize(0),$$0.$bu.$type,$$0.$au.$type])},true)})($);/*!@license
* Infragistics.Web.ClientUI infragistics.ext_collectionsExtended.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*     infragistics.ext_collections.js
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$5=$$t;var $$0=$.ig.globalDefs.$$0;var $$1=$.ig.globalDefs.$$1;var $$4=$.ig.globalDefs.$$4;var $$6=$.ig.globalDefs.$$6;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["IOrderedEnumerable$1:d","IGrouping$2:g","ExpressionSyntax:t","IQueryable:u","IQueryable$1:v","IQueryProvider:w","LambdaExpression:x","MemberExpression:y","MethodCallExpression:z","ParameterExpression:aa"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compare,$x=$.ig.util.replace,$y=$.ig.util.stringFormat,$z=$.ig.util.stringFormat1,$0=$.ig.util.stringFormat2,$1=$.ig.util.stringCompare1,$2=$.ig.util.stringCompare2,$3=$.ig.util.stringCompare3;$c("Enumerable:e","Object",{init:function(){$.ig.$op.init.call(this)},u:function($tSource,a,b){var d__=new $$t.h($tSource,(-2));d__.__3__source=a;d__.__3__predicate=b;return d__},v:function($tSource,a,b){var d__=new $$t.i($tSource,(-2));d__.__3__source=a;d__.__3__predicate=b;return d__},o:function($tSource,$tResult,a,b){var d__=new $$t.j($tSource,$tResult,(-2));d__.__3__source=a;d__.__3__selector=b;return d__},p:function($tSource,$tResult,a,b){var d__=new $$t.k($tSource,$tResult,(-2));d__.__3__source=a;d__.__3__selector=b;return d__},l:function($tResult,a){var d__=new $$t.l($tResult,(-2));d__.__3__source=a;return d__},ah:function($tSource,a){var b=$b($$0.$bz.$type.specialize($tSource),a);if(b!=null){return b.item(b.count()-1)}var c=$f($tSource);var e=a.getEnumerator();while(e.moveNext()){var d=e.current();c=d}return c},ad:function($tSource,a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();return b}return $f($tSource)},ae:function($tSource,a,b){var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(b(c)){return c}}return $f($tSource)},af:function($tSource,a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();return b}return $f($tSource)},x:function($tSource,$tKey,a,b){var c=new $$t.f($tSource,a);c.sort2(function(d,e){var f=d;var g=e;var h=b(f);var i=b(g);if($b($$0.$ah.$type,h)!==null){return $b($$0.$ah.$type,h).compareTo($e($tKey,i))}else{return $n($tKey,h).compareTo($n($tKey,i))}});return c},y:function($tSource,$tKey,a,b){var c=new $$t.f($tSource,a);c.sort2(function(d,e){var f=e;var g=d;var h=b(f);var i=b(g);if($b($$0.$ah.$type,h)!==null){return $b($$0.$ah.$type,h).compareTo($e($tKey,i))}else{return $n($tKey,h).compareTo($n($tKey,i))}});return c},z:function($tSource,a){var b=new $$4.x($tSource,1,a);return b},m:function(a,b){var d__=new $$t.m((-2));d__.__3__startValue=a;d__.__3__count=b;return d__},i:function($tSource,a,b){var d__=new $$t.n($tSource,(-2));d__.__3__source1=a;d__.__3__source2=b;return d__},ak:function(a){var b=true;var c=0;var e=a.getEnumerator();while(e.moveNext()){var d=e.current();if(b){b=false;c=d}else{c=Math.max(c,d)}}return c},al:function($tSource,a,b){return $$t.$e.ak($$t.$e.o($tSource,$$0.$aw.$type,a,b))},am:function(a){var b=true;var c=0;var e=a.getEnumerator();while(e.moveNext()){var d=e.current();if(b){b=false;c=d}else{c=Math.min(c,d)}}return c},an:function($tSource,a,b){return $$t.$e.ak($$t.$e.o($tSource,$$0.$aw.$type,a,b))},aj:function($tSource,a){var b=0;var d=a.getEnumerator();while(d.moveNext()){var c=d.current();b++}return b},n:function($tSource,a){var d__=new $$t.o($tSource,(-2));d__.__3__source=a;return d__},h:function($tResult,a){if(a==null){throw new $$6.e(0,"source")}var b=$b($$0.$bw.$type.specialize($tResult),a);if(b!=null){return b}var c=new $$4.x($tResult,0);var e=a.getEnumerator();while(e.moveNext()){var d=e.current();if($b($tResult,d)!==null){c.add($v($tResult,d))}else{c.add($f($tResult))}}return c},s:function($tSource,a,b){var d__=new $$t.p($tSource,(-2));d__.__3__source=a;d__.__3__toTake=b;return d__},r:function($tSource,a,b){var d__=new $$t.q($tSource,(-2));d__.__3__source=a;d__.__3__toSkip=b;return d__},c:function($tSource,a){var c=a.getEnumerator();while(c.moveNext()){var b=c.current();return true}return false},e:function($tSource,a,value_){var b=a.getEnumerator();while(b.moveNext()){var item_=b.current();if(item_===value_){return true}}return false},t:function($tSource,a,b){return null},a:function($tSource,a){var b=$b($$4.$x.$type.specialize($tSource),a);if(b!=null){return b.toArray()}b=new $$4.x($tSource,1,a);return b.asArray()},ac:function($tSource,a,b){var c=$b($$0.$bz.$type.specialize($tSource),a);if(c!=null){return c.item(b)}return $$t.$e.ad($tSource,$$t.$e.r($tSource,a,b))},aa:function(a){var b=0;var d=a.getEnumerator();while(d.moveNext()){var c=d.current();b+=c}return b},ab:function($tSource,a,b){return $$t.$e.aa($$t.$e.o($tSource,Number,a,b))},f:function($tSource,a,b){if(a==null){throw new $$6.e(0,"first")}if(b==null){throw new $$6.e(0,"second")}var c=a.getEnumerator();var d=b.getEnumerator();{while(c.moveNext()){if(!d.moveNext()||!$.ig.$op.equalsStatic($e($tSource,c.current()),$e($tSource,d.current()))){return false}}return d.moveNext()==false}},k:function($tSource){return new $$t.r($tSource,(-2))},q:function($tSource,$tCollection,$tResult,a,b,c){var d__=new $$t.s($tSource,$tCollection,$tResult,(-2));d__.__3__source=a;d__.__3__collectionSelector=b;d__.__3__resultSelector=c;return d__},d:function($tSource,a,b){var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(b(c)){return true}}return false},ag:function($tSource,a,b){var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(b(c)){return c}}return $f($tSource)},b:function($tSource,a,b){var d=a.getEnumerator();while(d.moveNext()){var c=d.current();if(b(c)==false){return false}}return true},g:function($tSource,$tKey,a,b){var c=new $$4.h($tKey,$tSource,0);var e=a.getEnumerator();while(e.moveNext()){var d=e.current();c.item(b(d),d)}return c},ai:function($tSource,a){throw new $$6.q(0)},w:function($tFirst,$tSecond,$tResult,a,b,c){throw new $$6.q(0)},j:function($tSource,a){throw new $$6.q(0)},$type:new $.ig.Type("Enumerable",$.ig.$ot)},true);$c("IOrderedEnumerable$1:d","Object",{$type:new $.ig.Type("IOrderedEnumerable$1",null,[$$0.$bw.$type.specialize(0),$$0.$bt.$type])},true);$c("SortedList$1:f","List$1",{$tElement:null,init:function($tElement,a){this.$tElement=$tElement;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tElement)}$$4.$x.init1.call(this,this.$tElement,1,a)},getEnumerator:function(){return $$4.$x.getEnumerator.call(this)},$type:new $.ig.Type("SortedList$1",$$4.$x.$type.specialize(0),[$$t.$d.$type.specialize(0)])},true);$c("IGrouping$2:g","Object",{$type:new $.ig.Type("IGrouping$2",null,[$$0.$bw.$type.specialize(1),$$0.$bt.$type])},true);$c("ExpressionSyntax:t","Object",{init:function(){$.ig.$op.init.call(this)},c:function(a,b,c,d){return null},a:function(a,b){return null},b:function(a,b){return null},d:function(a){return null},e:function(a,b){return null},$type:new $.ig.Type("ExpressionSyntax",$.ig.$ot)},true);$c("IQueryable:u","Object",{$type:new $.ig.Type("IQueryable",null)},true);$c("IQueryable$1:v","Object",{$type:new $.ig.Type("IQueryable$1",null,[$$t.$u.$type])},true);$c("IQueryProvider:w","Object",{$type:new $.ig.Type("IQueryProvider",null)},true);$c("LambdaExpression:x","ExpressionSyntax",{init:function(){$$t.$t.init.call(this)},$type:new $.ig.Type("LambdaExpression",$$t.$t.$type)},true);$c("MemberExpression:y","ExpressionSyntax",{init:function(){$$t.$t.init.call(this)},_f:null,g:function(a){return null},$type:new $.ig.Type("MemberExpression",$$t.$t.$type)},true);$c("MethodCallExpression:z","ExpressionSyntax",{init:function(){$$t.$t.init.call(this)},_f:null,_g:null,h:function(a,b){return null},$type:new $.ig.Type("MethodCallExpression",$$t.$t.$type)},true);$c("ParameterExpression:aa","ExpressionSyntax",{init:function(){$$t.$t.init.call(this)},_f:false,_g:null,$type:new $.ig.Type("ParameterExpression",$$t.$t.$type)},true);$c("Queryable:ab","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a){return null},$type:new $.ig.Type("Queryable",$.ig.$ot)},true);$c("BitArray:a","Object",{i:0,a:null,init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break;case 3:this.init3.apply(this,arguments);break;case 4:this.init4.apply(this,arguments);break}return}$$t.$a.init3.call(this,3,b.a);this.i=b.i},init1:function(a,b){$.ig.$op.init.call(this);this.length(b.length);for(var c=0;c<b.length;c++){this.item(c,b[c])}},init2:function(a,b){$$t.$a.init4.call(this,4,b,false)},init3:function(a,b){$.ig.$op.init.call(this);this.i=b.length*32;this.a=new Array(b.length);for(var c=0;c<b.length;c++){this.a[c]=b[c]}},init4:function(a,b,c){$.ig.$op.init.call(this);this.i=b;this.a=new Array($a(b-1,32)+1);this.setAll(c)},count:function(){return this.i},isReadOnly:function(){return false},isSynchronized:function(){return false},length:function(a){if(arguments.length===1){if(a<0){throw new $$6.f(0)}this.i=a;var b=$a(this.i-1,32)+1;if(this.a.length<b){var c=this.a;this.a=new Array(b);for(var d=0;d<c.length;d++){this.a[d]=c[d]}}return a}else{return this.i}},syncRoot:function(){return null},item:function(a,b){if(arguments.length===2){if(a<0||this.i<=a){throw new $$6.o(0)}if(b){this.a[$a(a,32)]|=1<<a%32}else{this.a[$a(a,32)]&=~(1<<a%32)}return b}else{if(a<0||this.i<=a){throw new $$6.o(0)}return(this.a[$a(a,32)]&1<<a%32)!=0}},and:function(a){if(a.length()!=this.length()){throw new $$6.d(1,"The BitArrays do not have the same length")}for(var b=0;b<this.a.length;b++){this.a[b]&=a.a[b]}return this},clone:function(){return new $$t.a(0,this)},copyTo:function(a,b){for(var c=0;c<this.i;c++){a[b+c]=this.item(c)}},get:function(a){return this.item(a)},getEnumerator:function(){var d__=new $$t.b(0);d__.__4__this=this;return d__},not:function(){for(var a=0;a<this.a.length;a++){this.a[a]=~this.a[a]}return this},or:function(a){if(a.length()!=this.length()){throw new $$6.d(1,"The BitArrays do not have the same length")}for(var b=0;b<this.a.length;b++){this.a[b]|=a.a[b]}return this},set:function(a,b){this.item(a,b)},setAll:function(a){var b=a?-1:0;for(var c=0;c<this.a.length;c++){this.a[c]=b}},xor:function(a){if(a.length()!=this.length()){throw new $$6.d(1,"The BitArrays do not have the same length")}for(var b=0;b<this.a.length;b++){this.a[b]^=a.a[b]}return this},$type:new $.ig.Type("BitArray",$.ig.$ot,[$$0.$bk.$type,$$0.$bt.$type])},true);$c("ReadOnlyObservableCollection$1:c","ReadOnlyCollection$1",{$t:null,init:function($t,a){this.$t=$t;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$t)}$$4.$g.init.call(this,this.$t,0)},collectionChanged:null,propertyChanged:null,$type:new $.ig.Type("ReadOnlyObservableCollection$1",$$4.$g.$type.specialize(0),[$$4.$ac.$type,$$0.$b6.$type])},true);$c("Enumerable___OfType__IteratorClass$1:l","Object",{$tResult:null,e:0,d:null,c:null,f:null,b:null,__3__source:null,init:function($tResult,a){this.$tResult=$tResult;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tResult)}$.ig.$op.init.call(this);this.e=a},g:function(){this.e=-1;var d__=$b($$0.$au.$type,this.c);if(d__!=null){d__.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.e>=0){switch(this.e){case 0:this.e=1;this.c=this.b.getEnumerator();this.e=2;break;case 2:this.e=1;if(this.c.moveNext()){this.f=this.c.current();if($b(this.$tResult,this.f)!==null){this.d=$v(this.$tResult,this.f);this.e=2;return true}this.e=2;break}this.g();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.e==-2){this.e=0;d__=this}else{d__=new $$t.l(this.$tResult,0)}d__.b=this.__3__source;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.e){case 1:case 2:this.g();break}},current:function(){return this.d},current1:function(){return $e(this.$tResult,this.d)},$type:new $.ig.Type("Enumerable___OfType__IteratorClass$1",$.ig.$ot,[$$0.$bw.$type.specialize(0),$$0.$bt.$type,$$0.$bx.$type.specialize(0),$$0.$bu.$type,$$0.$au.$type])},true);$c("Enumerable___Reverse__IteratorClass$1:o","Object",{$tSource:null,e:0,d:null,c:null,f:0,b:null,__3__source:null,init:function($tSource,a){this.$tSource=$tSource;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tSource)}$.ig.$op.init.call(this);this.e=a},moveNext:function(){while(this.e>=0){switch(this.e){case 0:this.e=-1;this.c=new $$4.x(this.$tSource,1,this.b);this.f=this.c.count()-1;this.e=1;break;case 1:this.e=-1;if(this.f>=0){this.d=this.c.__inner[this.f];this.e=2;return true}break;case 2:this.e=-1;this.f--;this.e=1;break}}return false},getEnumerator:function(){var d__;if(this.e==-2){this.e=0;d__=this}else{d__=new $$t.o(this.$tSource,0)}d__.b=this.__3__source;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this.d},current1:function(){return $e(this.$tSource,this.d)},$type:new $.ig.Type("Enumerable___Reverse__IteratorClass$1",$.ig.$ot,[$$0.$bw.$type.specialize(0),$$0.$bt.$type,$$0.$bx.$type.specialize(0),$$0.$bu.$type,$$0.$au.$type])},true);$c("Enumerable___Take__IteratorClass$1:p","Object",{$tSource:null,f:0,d:null,c:null,e:null,b:null,__3__source:null,h:0,__3__toTake:0,init:function($tSource,a){this.$tSource=$tSource;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tSource)}$.ig.$op.init.call(this);this.f=a},i:function(){this.f=-1;if(this.c!=null){this.c.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.f>=0){switch(this.f){case 0:this.f=1;this.c=this.b.getEnumerator();this.f=2;break;case 2:this.f=1;if(this.c.moveNext()){this.e=this.c.current();if(this.h>0){this.h--;this.d=this.e;this.f=2;return true}return false}this.i();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.f==-2){this.f=0;d__=this}else{d__=new $$t.p(this.$tSource,0)}d__.b=this.__3__source;d__.h=this.__3__toTake;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.f){case 1:case 2:this.i();break}},current:function(){return this.d},current1:function(){return $e(this.$tSource,this.d)},$type:new $.ig.Type("Enumerable___Take__IteratorClass$1",$.ig.$ot,[$$0.$bw.$type.specialize(0),$$0.$bt.$type,$$0.$bx.$type.specialize(0),$$0.$bu.$type,$$0.$au.$type])},true);$c("Enumerable___Skip__IteratorClass$1:q","Object",{$tSource:null,f:0,d:null,c:null,e:null,b:null,__3__source:null,h:0,__3__toSkip:0,init:function($tSource,a){this.$tSource=$tSource;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tSource)}$.ig.$op.init.call(this);this.f=a},i:function(){this.f=-1;if(this.c!=null){this.c.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.f>=0){switch(this.f){case 0:this.f=1;this.c=this.b.getEnumerator();this.f=2;break;case 2:this.f=1;if(this.c.moveNext()){this.e=this.c.current();if(this.h<=0){this.d=this.e;this.f=2;return true}this.h--;this.f=2;break}this.i();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.f==-2){this.f=0;d__=this}else{d__=new $$t.q(this.$tSource,0)}d__.b=this.__3__source;d__.h=this.__3__toSkip;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.f){case 1:case 2:this.i();break}},current:function(){return this.d},current1:function(){return $e(this.$tSource,this.d)},$type:new $.ig.Type("Enumerable___Skip__IteratorClass$1",$.ig.$ot,[$$0.$bw.$type.specialize(0),$$0.$bt.$type,$$0.$bx.$type.specialize(0),$$0.$bu.$type,$$0.$au.$type])},true);$c("Enumerable___Empty__IteratorClass$1:r","Object",{$tSource:null,b:0,a:null,init:function($tSource,a){this.$tSource=$tSource;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tSource)}$.ig.$op.init.call(this);this.b=a},moveNext:function(){switch(this.b){case 0:this.b=-1;return false}return false},getEnumerator:function(){if(this.b==-2){this.b=0;return this}return new $$t.r(this.$tSource,0)},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this.a},current1:function(){return $e(this.$tSource,this.a)},$type:new $.ig.Type("Enumerable___Empty__IteratorClass$1",$.ig.$ot,[$$0.$bw.$type.specialize(0),$$0.$bt.$type,$$0.$bx.$type.specialize(0),$$0.$bu.$type,$$0.$au.$type])},true);$c("Enumerable___SelectMany__IteratorClass1$3:s","Object",{$tSource:null,$tCollection:null,$tResult:null,l:0,j:null,c:null,k:null,d:null,i:null,b:null,__3__source:null,g:null,__3__collectionSelector:null,h:null,__3__resultSelector:null,init:function($tSource,$tCollection,$tResult,a){this.$tSource=$tSource;this.$tCollection=$tCollection;this.$tResult=$tResult;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tSource,this.$tCollection,this.$tResult)}$.ig.$op.init.call(this);this.l=a},m:function(){this.l=-1;if(this.c!=null){this.c.dispose()}},n:function(){this.l=1;if(this.d!=null){this.d.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.l>=0){switch(this.l){case 0:this.l=1;this.c=this.b.getEnumerator();this.l=2;break;case 2:this.l=1;if(this.c.moveNext()){this.k=this.c.current();this.l=3;this.d=this.g(this.k).getEnumerator();this.l=4;break}this.m();break;case 4:this.l=3;if(this.d.moveNext()){this.i=this.d.current();this.j=this.h(this.k,this.i);this.l=4;return true}this.n();this.l=2;break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.l==-2){this.l=0;d__=this}else{d__=new $$t.s(this.$tSource,this.$tCollection,this.$tResult,0)}d__.b=this.__3__source;d__.g=this.__3__collectionSelector;d__.h=this.__3__resultSelector;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.l){case 1:case 2:this.m();break;case 3:case 4:try{this.n()}finally{this.m()}break}},current:function(){return this.j},current1:function(){return $e(this.$tResult,this.j)},$type:new $.ig.Type("Enumerable___SelectMany__IteratorClass1$3",$.ig.$ot,[$$0.$bw.$type.specialize(2),$$0.$bt.$type,$$0.$bx.$type.specialize(2),$$0.$bu.$type,$$0.$au.$type])},true);$c("Enumerable___SelectMany__IteratorClass$2:k","Object",{$tSource:null,$tResult:null,j:0,g:null,d:null,i:null,c:null,h:null,b:null,__3__source:null,f:null,__3__selector:null,init:function($tSource,$tResult,a){this.$tSource=$tSource;this.$tResult=$tResult;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tSource,this.$tResult)}$.ig.$op.init.call(this);this.j=a},k:function(){this.j=-1;if(this.d!=null){this.d.dispose()}},l:function(){this.j=1;if(this.c!=null){this.c.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.j>=0){switch(this.j){case 0:this.j=1;this.d=this.b.getEnumerator();this.j=2;break;case 2:this.j=1;if(this.d.moveNext()){this.i=this.d.current();this.j=3;this.c=this.f(this.i).getEnumerator();this.j=4;break}this.k();break;case 4:this.j=3;if(this.c.moveNext()){this.h=this.c.current();this.g=this.h;this.j=4;return true}this.l();this.j=2;break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.j==-2){this.j=0;d__=this}else{d__=new $$t.k(this.$tSource,this.$tResult,0)}d__.b=this.__3__source;d__.f=this.__3__selector;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.j){case 1:case 2:this.k();break;case 3:case 4:try{this.l()}finally{this.k()}break}},current:function(){return this.g},current1:function(){return $e(this.$tResult,this.g)},$type:new $.ig.Type("Enumerable___SelectMany__IteratorClass$2",$.ig.$ot,[$$0.$bw.$type.specialize(1),$$0.$bt.$type,$$0.$bx.$type.specialize(1),$$0.$bu.$type,$$0.$au.$type])},true);$c("Enumerable___Select__IteratorClass$2:j","Object",{$tSource:null,$tResult:null,h:0,f:null,c:null,g:null,b:null,__3__source:null,e:null,__3__selector:null,init:function($tSource,$tResult,a){this.$tSource=$tSource;this.$tResult=$tResult;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tSource,this.$tResult)}$.ig.$op.init.call(this);this.h=a},i:function(){this.h=-1;if(this.c!=null){this.c.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.h>=0){switch(this.h){case 0:this.h=1;this.c=this.b.getEnumerator();this.h=2;break;case 2:this.h=1;if(this.c.moveNext()){this.g=this.c.current();this.f=this.e(this.g);this.h=2;return true}this.i();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.h==-2){this.h=0;d__=this}else{d__=new $$t.j(this.$tSource,this.$tResult,0)}d__.b=this.__3__source;d__.e=this.__3__selector;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.h){case 1:case 2:this.i();break}},current:function(){return this.f},current1:function(){return $e(this.$tResult,this.f)},$type:new $.ig.Type("Enumerable___Select__IteratorClass$2",$.ig.$ot,[$$0.$bw.$type.specialize(1),$$0.$bt.$type,$$0.$bx.$type.specialize(1),$$0.$bu.$type,$$0.$au.$type])},true);$c("Enumerable___Where__IteratorClass1$1:i","Object",{$tSource:null,h:0,f:null,i:0,c:null,g:null,b:null,__3__source:null,e:null,__3__predicate:null,init:function($tSource,a){this.$tSource=$tSource;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tSource)}$.ig.$op.init.call(this);this.h=a},j:function(){this.h=-1;if(this.c!=null){this.c.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.h>=0){switch(this.h){case 0:this.h=-1;this.i=0;this.h=1;this.c=this.b.getEnumerator();this.h=2;break;case 2:this.h=1;if(this.c.moveNext()){this.g=this.c.current();if(this.e(this.g,this.i)){this.f=this.g;this.h=3;return true}this.h=3;break}this.j();break;case 3:this.h=1;this.i++;this.h=2;break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.h==-2){this.h=0;d__=this}else{d__=new $$t.i(this.$tSource,0)}d__.b=this.__3__source;d__.e=this.__3__predicate;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.h){case 1:case 2:case 3:this.j();break}},current:function(){return this.f},current1:function(){return $e(this.$tSource,this.f)},$type:new $.ig.Type("Enumerable___Where__IteratorClass1$1",$.ig.$ot,[$$0.$bw.$type.specialize(0),$$0.$bt.$type,$$0.$bx.$type.specialize(0),$$0.$bu.$type,$$0.$au.$type])},true);$c("Enumerable___Where__IteratorClass$1:h","Object",{$tSource:null,h:0,f:null,c:null,g:null,b:null,__3__source:null,e:null,__3__predicate:null,init:function($tSource,a){this.$tSource=$tSource;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tSource)}$.ig.$op.init.call(this);this.h=a},i:function(){this.h=-1;if(this.c!=null){this.c.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.h>=0){switch(this.h){case 0:this.h=1;this.c=this.b.getEnumerator();this.h=2;break;case 2:this.h=1;if(this.c.moveNext()){this.g=this.c.current();if(this.e(this.g)){this.f=this.g;this.h=2;return true}this.h=2;break}this.i();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.h==-2){this.h=0;d__=this}else{d__=new $$t.h(this.$tSource,0)}d__.b=this.__3__source;d__.e=this.__3__predicate;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.h){case 1:case 2:this.i();break}},current:function(){return this.f},current1:function(){return $e(this.$tSource,this.f)},$type:new $.ig.Type("Enumerable___Where__IteratorClass$1",$.ig.$ot,[$$0.$bw.$type.specialize(0),$$0.$bt.$type,$$0.$bx.$type.specialize(0),$$0.$bu.$type,$$0.$au.$type])},true);$c("BitArray___GetEnumerator__IteratorClass:b","Object",{b:0,d:null,c:0,__4__this:null,init:function(a){$.ig.$op.init.call(this);this.b=a},moveNext:function(){while(this.b>=0){switch(this.b){case 0:this.b=-1;this.c=0;this.b=1;break;case 1:this.b=-1;if(this.c<this.__4__this.i){this.d=this.__4__this.item(this.c);this.b=2;return true}break;case 2:this.b=-1;this.c++;this.b=1;break}}return false},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this.d},current1:function(){return this.d},$type:new $.ig.Type("BitArray___GetEnumerator__IteratorClass",$.ig.$ot,[$$0.$bx.$type.specialize($.ig.$op.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("Enumerable___Range__IteratorClass:m","Object",{a:0,b:0,e:0,g:0,__3__startValue:0,f:0,__3__count:0,init:function(a){$.ig.$op.init.call(this);this.a=a},moveNext:function(){while(this.a>=0){switch(this.a){case 0:this.a=-1;this.e=this.g;this.a=1;break;case 1:this.a=-1;if(this.e<this.f){this.b=this.e;this.a=2;return true}break;case 2:this.a=-1;this.e++;this.a=1;break}}return false},getEnumerator:function(){var d__;if(this.a==-2){this.a=0;d__=this}else{d__=new $$t.m(0)}d__.g=this.__3__startValue;d__.f=this.__3__count;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){},current:function(){return this.b},current1:function(){return this.b},$type:new $.ig.Type("Enumerable___Range__IteratorClass",$.ig.$ot,[$$0.$bw.$type.specialize($$0.$aw.$type),$$0.$bt.$type,$$0.$bx.$type.specialize($$0.$aw.$type),$$0.$bu.$type,$$0.$au.$type])},true);$c("Enumerable___Concat__IteratorClass$1:n","Object",{$tSource:null,j:0,g:null,e:null,h:null,f:null,i:null,c:null,__3__source1:null,d:null,__3__source2:null,init:function($tSource,a){this.$tSource=$tSource;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tSource)}$.ig.$op.init.call(this);this.j=a},k:function(){this.j=-1;if(this.e!=null){this.e.dispose()}},l:function(){this.j=-1;if(this.f!=null){this.f.dispose()}},moveNext:function(){var __hasError__=false;try{while(this.j>=0){switch(this.j){case 0:this.j=1;this.e=this.c.getEnumerator();this.j=2;break;case 2:this.j=1;if(this.e.moveNext()){this.h=this.e.current();this.g=this.h;this.j=2;return true}this.k();this.j=3;this.f=this.d.getEnumerator();this.j=4;break;case 4:this.j=3;if(this.f.moveNext()){this.i=this.f.current();this.g=this.i;this.j=4;return true}this.l();break}}}catch(a){__hasError__=true;throw a}finally{if(__hasError__){this.dispose()}}return false},getEnumerator:function(){var d__;if(this.j==-2){this.j=0;d__=this}else{d__=new $$t.n(this.$tSource,0)}d__.c=this.__3__source1;d__.d=this.__3__source2;return d__},reset:function(){throw new $$0.r(0)},dispose:function(){switch(this.j){case 1:case 2:this.k();break;case 3:case 4:this.l();break}},current:function(){return this.g},current1:function(){return $e(this.$tSource,this.g)},$type:new $.ig.Type("Enumerable___Concat__IteratorClass$1",$.ig.$ot,[$$0.$bw.$type.specialize(0),$$0.$bt.$type,$$0.$bx.$type.specialize(0),$$0.$bu.$type,$$0.$au.$type])},true)})($);/*!@license
* Infragistics.Web.ClientUI infragistics.ext_threading.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$9=$$t;var $$0=$.ig.globalDefs.$$0;var $$1=$.ig.globalDefs.$$1;var $$6=$.ig.globalDefs.$$6;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["Task$1:a","Task:b","TaskCompletionSource$1:c"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t;$d("TaskStatus:e",false,false,{Created:0,RanToCompletion:5,Canceled:6,Faulted:7});$c("Task:b","Object",{_d:null,_b:false,_a:null,init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$b.init1.call(this,1,b,null)},init1:function(a,b,c){var $self=this;$.ig.$op.init.call(this);var d=function(){};var e=function(f){if(f==null){$self._b=true}else{$self._a=new $$6.c(2,"Exception occurred during task execution",f)}};this._d=b.done(d).fail(e);this._e=c},c:function(){return this.h()==5||this.h()==7||this.h()==6},h:function(){if(this._b){return 6}switch(this._d.state()){case"pending":return 0;case"resolved":return 5;case"rejected":return 7;default:return 0}},_e:null,f:function(a){var $self=this;var b=function(){a($self)};var c=function(d){a($self)};var d=this._d.done(b).fail(c);return new $$t.b(0,d)},g:function($tNewResult,a){var $self=this;var b=new $$t.c($tNewResult,0);var c=function(){try{var d=a($self);b.e(d)}catch(e){b.d(e)}};var d=function(e){c()};var e=function(f){c()};this._d.done(d).fail(e);return b._b},$type:new $.ig.Type("Task",$.ig.$ot)},true);$c("Task$1:a","Task",{$tResult:null,init:function($tResult,a,b){var $self=this;this.$tResult=$tResult;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tResult)}this.i=false;$$t.$b.init1.call(this,1,a,b);var c=function(d){var e=$v($self.$tResult,d);$self.m=e;$self.i=true};var d=function(e){$self.i=true};this._d.done(c).fail(d)},i:false,m:null,n:function(){if(!this.i){throw"Result is not ready yet"}if(this._a!=null){throw this._a}return this.m},j:function(a){return $$t.$b.f.call(this,function(b){a(b)})},k:function($tNewResult,a){var b=function(c){return $e($tNewResult,a(c))};return this.l($.ig.$op.$type,b).l($tNewResult,function(c){return $v($tNewResult,c.n())})},l:function($tNewResult,a){return $$t.$b.g.call(this,$tNewResult,a)},$type:new $.ig.Type("Task$1",$$t.$b.$type)},true);$c("TaskCompletionSource$1:c","Object",{$tResult:null,_a:null,init:function($tResult,a){this.$tResult=$tResult;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tResult)}if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$c.init1.call(this,this.$tResult,1,null)},init1:function($tResult,a,b){this.$tResult=$tResult;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tResult)}$.ig.$op.init.call(this);this._a=$.Deferred();this._b=new $$t.a(this.$tResult,this._a.promise(),b)},c:function(){this._a.reject(null)},d:function(a){this._a.reject(a)},e:function(a){this._a.resolve($e(this.$tResult,a))},_b:null,$type:new $.ig.Type("TaskCompletionSource$1",$.ig.$ot)},true);$c("TaskFactory:d","Object",{init:function(){$.ig.$op.init.call(this)},c:function(a,b){return new $$t.b(0,this.b(this.a(a)).always(function(){b(a)}))},d:function($tResult,a,b){var c=new $$t.c($tResult,0);this.b(this.a(a)).always(function(){try{var d=b(a);c.e(d)}catch(e){c.d(e)}});return c._b},e:function($tAntecedentResult,$tResult,a,b){var c=function(d){return $e($tResult,b(d))};return this.d($.ig.$op.$type,a,c).k($tResult,function(d){return $v($tResult,d.n())})},a:function(a){var b=new Array(a.length);for(var c=0;c<a.length;c++){b[c]=a[c]._d}return b},b:function(a){var promises_=a;var b=null;b=function(p){function whenAll(){var whenDeffered=$.Deferred();if(arguments.length===0){whenDeffered.resolve();return whenDeffered}var count=arguments.length;var resolve=true;for(var i=0;i<arguments.length;i++){arguments[i].done(function(){resolve=resolve&&true}).fail(function(){resolve=resolve&&false}).always(function(){count--;if(count<=0){if(resolve){whenDeffered.resolve()}else{whenDeffered.reject()}}})}return whenDeffered}return whenAll.apply($,p)}(promises_);return b},$type:new $.ig.Type("TaskFactory",$.ig.$ot)},true)})($);/*!@license
* Infragistics.Web.ClientUI infragistics.ext_text.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$8=$$t;var $$0=$.ig.globalDefs.$$0;var $$1=$.ig.globalDefs.$$1;var $$6=$.ig.globalDefs.$$6;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["Encoding:a","UnicodeEncoding:b","UTF8Encoding:c","AsciiEncoding:d","DefaultDecoder:f","UTF8Encoding_UTF8Decoder:g","GroupCollection:j","Match:k","Regex:l"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compare,$x=$.ig.util.replace,$y=$.ig.util.stringFormat,$z=$.ig.util.stringFormat1,$0=$.ig.util.stringFormat2,$1=$.ig.util.stringCompare1,$2=$.ig.util.stringCompare2,$3=$.ig.util.stringCompare3,$4=$.ig.util.equalsSimple,$5=$.ig.util.compareSimple,$6=$.ig.util.numberToString,$7=$.ig.util.tryParseInt32_1,$8=$.ig.util.tryParseInt32_2,$9=$.ig.util.intToString1,$aa=$.ig.util.parseInt32_1,$ab=$.ig.util.parseInt32_2,$ac=$.ig.util.isDigit,$ad=$.ig.util.isDigit1,$ae=$.ig.util.isLetter,$af=$.ig.util.isNumber,$ag=$.ig.util.isLetterOrDigit,$ah=$.ig.util.isLower,$ai=$.ig.util.toLowerCase,$aj=$.ig.util.toUpperCase;$d("RegexOptions:m",false,false,{None:0,IgnoreCase:1,Multiline:2,ExplicitCapture:4,Compiled:8,Singleline:16,IgnorePatternWhitespace:32,RightToLeft:64,ECMAScript:256,CultureInvariant:512});$c("Encoding:a","Object",{init:function(){$.ig.$op.init.call(this)},uTF8:function(){if($$t.$a.t==null){$$t.$a.t=new $$t.c(1)}return $$t.$a.t},uTF8Unmarked:function(){if($$t.$a.s==null){$$t.$a.s=new $$t.c(1)}return $$t.$a.s},unicode:function(){if($$t.$a.r==null){$$t.$a.r=new $$t.b(0)}return $$t.$a.r},getString1:function(a,b,c){return""},getBytes2:function(a,b,c,d,e){},getBytes:function(a,b,c){var d=new Array(this.getByteCount(a,b,c));this.getBytes2(a,b,c,d,0);return d},getBytes1:function(a){if(a==null){throw new $$6.e(0,"input")}var b=new Array(a.length);for(var c=0;c<a.length;c++){b[c]=a.charAt(c)}return this.getBytes(b,0,b.length)},getByteCount:function(a,b,c){},getString:function(a){return this.getString1(a,0,a.length)},getCharCount:function(a){if(a==null){throw new $$6.e(0,"bytes")}return this.getCharCount1(a,0,a.length)},getCharCount1:function(a,b,c){throw new $$6.q(0)},getChars:function(a,b,c,d,e){throw new $$6.q(0)},aSCII:function(){if($$t.$a.p==null){$$t.$a.p=new $$t.d(1)}return $$t.$a.p},getDecoder:function(){return new $$t.f(this)},getBytes3:function(a,b,c,d,e){return this.getBytes2($.ig.util.toCharArray(a),b,c,d,e)},getMaxCharCount:function(a){return a},getMaxByteCount:function(a){return a+1},getPreamble:function(){return new Array(0)},bigEndianUnicode:function(){if($$t.$a.q==null){$$t.$a.q=new $$t.b(1,true,false)}return $$t.$a.q},defaultValue:function(){return $$t.$a.aSCII()},getEncoding:function(a){switch(a.toUpperCase()){case"ASCII":return $$t.$a.aSCII();case"UNICODE":return $$t.$a.unicode();case"UTF-8":return $$t.$a.uTF8();default:throw new $$6.d(1,"'"+a+"' is not a valid encoding name.")}},webName:function(){throw new $$6.q(0)},$type:new $.ig.Type("Encoding",$.ig.$ot)},true);$c("UnicodeEncoding:b","Encoding",{ab:false,getString1:function(bytes_,a,b){var c="";var d=a+b;for(var i_=a;i_<d;i_=i_+2){if(i_+1>=d){c=c+"\ufffd"}else{var e;var f;if(this.ab){e=bytes_[i_+1].toString(16);f=bytes_[i_].toString(16)}else{e=bytes_[i_].toString(16);f=bytes_[i_+1].toString(16)}if(e.length==1){e="0"+e}if(f.length==1){f="0"+f}var g=$$0.$aw.parseInt(f+e,16);c=c+String.fromCharCode(g)}}return c},getCharCount1:function(a,b,c){return $a(c,2)},getBytes:function(a,b,c){return $$t.$a.getBytes.call(this,a,b,c)},getBytes1:function(a){var b=new Array(a.length*2);this.getBytes3(a,0,a.length,b,0);return b},init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$a.init.call(this)},init1:function(a,b,c){$$t.$a.init.call(this);this.ab=b},getMaxByteCount:function(a){return(a+1)*2},getMaxCharCount:function(a){return $.ig.truncate(Math.ceil(a/2))+1},getBytes3:function(a,b,c,d,e){for(var f=b;f<b+c;f++){var g=a.charCodeAt(f);var h=g&255;var i=g>>8&255;if(this.ab){d[e++]=i;d[e++]=h}else{d[e++]=h;d[e++]=i}}return c*2},getByteCount:function(a,b,c){throw new $$6.q(0)},getBytes2:function(a,b,c,d,e){throw new $$6.q(0)},getChars:function(a,b,c,d,e){throw new $$6.q(0)},$type:new $.ig.Type("UnicodeEncoding",$$t.$a.$type)},true);$c("UTF8Encoding:c","Encoding",{init:function(a,b,c){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$a.init.call(this)},init1:function(a){$$t.$a.init.call(this)},getString1:function(a,b,c){var d="";var e=b;var f=0;var g=0;var h=0;var i=0;while(e<b+c){f=a[e++];if(f<128){d+=$u(f)}else if(f>191&&f<224){if(e>=b+c){throw new $$6.p(1,"UTF-8 decoding error.")}g=a[e++];d+=$u((f&31)<<6|g&63)}else if(f>223&&f<240){if(e+1>=b+c){throw new $$6.p(1,"UTF-8 decoding error.")}g=a[e++];h=a[e++];d+=$u((f&15)<<12|(g&63)<<6|h&63)}else{if(e+2>=b+c){throw new $$6.p(1,"UTF-8 decoding error.")}g=a[e++];h=a[e++];i=a[e++];var j=(f&7)<<18|(g&63)<<12|(h&63)<<6|i&63;if(j<65535){d+=$u(j)}else{j-=65536;d+=$u(j>>10|55296);d+=$u(j&1023|56320)}}}return d},getCharCount1:function(a,b,c){return c},getByteCount:function(a,b,c){throw new $$6.q(0)},getBytes2:function(chars_,charIndex_,charCount_,a,b){var inputUTF8_=unescape(encodeURIComponent(chars_.slice(charIndex_,charIndex_+charCount_).join("")));for(var i_=0;i_<inputUTF8_.length;i_++){a[b+i_]=inputUTF8_.charCodeAt(i_)}return inputUTF8_.length},getBytes:function(a,b,c){return $$t.$a.getBytes.call(this,a,b,c)},getBytes1:function(input_){var a=new Array(input_.length);var inputUTF8_=unescape(encodeURIComponent(input_));for(var i_=0;i_<inputUTF8_.length;i_++){a[i_]=inputUTF8_.charCodeAt(i_)}return a},getChars:function(a,b,c,d,e){var f=e;var g=b;var h=0;var i=0;var j=0;var k=0;while(g<b+c){h=a[g++];if(h<128){d[e++]=$u(h)}else if(h>191&&h<224){if(g>=b+c){throw new $$6.p(1,"UTF-8 decoding error.")}i=a[g++];d[e++]=$u((h&31)<<6|i&63)}else if(h>223&&h<240){if(g+1>=b+c){throw new $$6.p(1,"UTF-8 decoding error.")}i=a[g++];j=a[g++];d[e++]=$u((h&15)<<12|(i&63)<<6|j&63)}else{if(g+2>=b+c){throw new $$6.p(1,"UTF-8 decoding error.")}i=a[g++];j=a[g++];k=a[g++];var l=(h&7)<<18|(i&63)<<12|(j&63)<<6|k&63;if(l<65535){d[e++]=$u(l)}else{l-=65536;d[e++]=$u(l>>10|55296);d[e++]=$u(l&1023|56320)}}}return e-f},getDecoder:function(){return new $$t.g(this)},getMaxByteCount:function(a){return(a+1)*3},getMaxCharCount:function(a){return a+1},$type:new $.ig.Type("UTF8Encoding",$$t.$a.$type)},true);$c("Decoder:e","Object",{init:function(){$.ig.$op.init.call(this)},e:function(a,b,c,d,e,f,g,h,i,j){throw new $$6.q(0);return{p7:h,p8:i,p9:j}},a:function(a,b,c){},b:function(a,b,c,d){throw new $$6.q(0)},c:function(a,b,c,d,e){},d:function(a,b,c,d,e,f){throw new $$6.q(0)},f:function(){throw new $$6.q(0)},$type:new $.ig.Type("Decoder",$.ig.$ot)},true);$c("UTF8Encoding_UTF8Decoder:g","Decoder",{g:0,h:0,i:0,j:0,k:null,init:function(a){$$t.$e.init.call(this);this.k=a},a:function(a,b,c){return this.b(a,b,c,false)},b:function(a,b,c,d){var e=0;var f=b;while(f<b+c){if(this.g==0){this.g=a[f++]}if(this.g<128){e++}else{if(f>=b+c){break}if(this.h==0){this.h=a[f++]}if(this.g>191&&this.g<224){e++}else{if(f>=b+c){break}if(this.i==0){this.i=a[f++]}if(this.g>223&&this.g<240){e++}else{if(f>=b+c){break}if(this.j==0){this.j=a[f++]}var g=(this.g&7)<<18|(this.h&63)<<12|(this.i&63)<<6|this.j&63;if(g<65535){e++}else{e+=2}this.j=0}this.i=0}this.h=0}this.g=0}if(d){this.g=0;this.h=0;this.i=0;this.j=0}return e},c:function(a,b,c,d,e){return this.d(a,b,c,d,e,false)},d:function(a,b,c,d,e,f){var g=e;var h=b;while(h<b+c){if(this.g==0){this.g=a[h++]}if(this.g<128){d[e++]=$u(this.g)}else{if(h>=b+c){break}if(this.h==0){this.h=a[h++]}if(this.g>191&&this.g<224){d[e++]=$u((this.g&31)<<6|this.h&63)}else{if(h>=b+c){break}if(this.i==0){this.i=a[h++]}if(this.g>223&&this.g<240){d[e++]=$u((this.g&15)<<12|(this.h&63)<<6|this.i&63)}else{if(h>=b+c){break}if(this.j==0){this.j=a[h++]}var i=(this.g&7)<<18|(this.h&63)<<12|(this.i&63)<<6|this.j&63;if(i<65535){d[e++]=$u(i)}else{i-=65536;d[e++]=$u(i>>10|55296);d[e++]=$u(i&1023|56320)}this.j=0}this.i=0}this.h=0}this.g=0}if(f){this.g=0;this.h=0;this.i=0;this.j=0}return e-g},$type:new $.ig.Type("UTF8Encoding_UTF8Decoder",$$t.$e.$type)},true);$c("AsciiEncoding:d","Encoding",{init:function(a,b,c){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$a.init.call(this)},init1:function(a){$$t.$a.init.call(this)},getString1:function(bytes_,a,b){var ret_="";for(var i_=a;i_<a+b;i_++){if(bytes_[i_]==0){break}ret_=ret_+String.fromCharCode(bytes_[i_])}return ret_},getCharCount1:function(a,b,c){return c},getByteCount:function(a,b,c){return c},getBytes2:function(a,b,c,d,e){throw new $$6.q(0)},getBytes:function(a,b,c){return $$t.$a.getBytes.call(this,a,b,c)},getBytes1:function(input_){var a=new Array(input_.length);for(var i_=0;i_<input_.length;i_++){a[i_]=input_.charCodeAt(i_)}return a},getChars:function(bytes_,byteIndex_,a,b,c){var d=c;for(var i_=0;i_<a;i_++){if(bytes_[i_]==0){break}b[c++]=String.fromCharCode(bytes_[byteIndex_++])}return c-d},$type:new $.ig.Type("AsciiEncoding",$$t.$a.$type)},true);$c("DefaultDecoder:f","Decoder",{g:null,init:function(a){$$t.$e.init.call(this);this.g=a},a:function(a,b,c){return this.b(a,b,c,false)},b:function(a,b,c,d){return this.g.getCharCount1(a,b,c)},c:function(a,b,c,d,e){return this.d(a,b,c,d,e,false)},d:function(a,b,c,d,e,f){return this.g.getChars(a,b,c,d,e)},$type:new $.ig.Type("DefaultDecoder",$$t.$e.$type)},true);$c("Capture:h","Object",{a:0,c:0,f:null,init:function(a,b,c){$.ig.$op.init.call(this);this.a=a;this.c=b;this.f=c},b:function(){if(this.a<0){throw new $$0.r(1,"Cannot get the index of regex groups")}return this.a},d:function(){return this.c},g:function(){return this.f},toString:function(){return this.f},$type:new $.ig.Type("Capture",$.ig.$ot)},true);$c("Group:i","Capture",{h:false,init:function(a,b,c,d){$$t.$h.init.call(this,b,c,d);this.h=a},i:function(){return this.h},$type:new $.ig.Type("Group",$$t.$h.$type)},true);$c("GroupCollection:j","Object",{f:null,a:null,init:function(a){$.ig.$op.init.call(this);this.f=a;var b=this.f.j;var c=this.f.p.a;this.a=new Array(c.length);for(var d=0;d<this.a.length;d++){var e=c[d];for(var f=0;f<e.length;f++){var g=b[e[f]];if(g!=null){this.a[d]=new $$t.i(true,(-1),g.length,g)}}}},count:function(){return this.a.length},isReadOnly:function(){return true},isSynchronized:function(){return false},syncRoot:function(){return null},item:function(a){return this.a[a]||$$t.$j.c},item1:function(a){return this.item(this.f.p.e[a])},copyTo:function(a,b){$.ig.util.arrayCopyTo(this.a,a,b)},getEnumerator:function(){return this.a.getEnumerator()},$type:new $.ig.Type("GroupCollection",$.ig.$ot,[$$0.$bk.$type,$$0.$bt.$type])},true);$c("Match:k","Group",{j:null,p:null,k:null,l:null,init:function(a,b,c){$$t.$i.init.call(this,c!=null,c==null?0:c.index,c==null?0:c[0].length,c==null?"":c[0]);this.j=c;this.p=a;this.k=b},n:function(){return new $$t.k(null,null,null)},m:function(){if(this.l==null){this.l=new $$t.j(this)}return this.l},o:function(){if(this.i()==false){return this}return this.p.j(this.k,this.b()+this.d())},$type:new $.ig.Type("Match",$$t.$i.$type)},true);$c("Regex:l","Object",{d:null,e:null,a:null,c:false,init:function(a,b){$.ig.$op.init.call(this);var c="g";if((b&1)!=0){c+="i"}if((b&2)!=0){c+="m"}if((b&32)!=0){a=a.replace(/\s/g,"")}if((b&4)!=0){var d=a.indexOf("(");while(d>=0&&d<a.length){var e=d>0&&a.charAt(d-1)=="\\"||d<a.length-1&&a.charAt(d+1)=="?";if(!e){a=a.substr(0,d)+"(?:"+a.substr(d+1)}d=a.indexOf("(",d+1)}}var f=$.ig.util.netRegexToJS(a);this.e=f.nameToNetGroupIndexMap;this.a=f.netToJSGroupIndexMap;this.c=f.matchMustStartAtCurrentPosition;this.d=new RegExp(f.pattern,c)},f:function(a){for(var b=0;b<a.length;b++){if($$t.$l.b(a.charAt(b))==false){continue}var c=new $$6.aj(0);var d=a.charAt(b);c.m(a,0,b);do{c.h("\\");switch(d){case"\t":d="t";break;case"\n":d="n";break;case"\f":d="f";break;case"\r":d="r";break}c.h(d);b++;var e=b;while(b<a.length){d=a.charAt(b);if($$t.$l.b(d)){break}b++}c.m(a,e,b-e)}while(b<a.length);return c.toString()}return a},b:function(a){switch(a.charCodeAt(0)){case 9:case 10:case 12:case 13:case 32:case 35:case 36:case 40:case 41:case 42:case 43:case 46:case 63:case 91:case 92:case 94:case 123:case 124:return true;default:return false}},i:function(a){return this.j(a,0)},j:function(a,b){this.d.lastIndex=b;var c=this.d.exec(a);if(c!=null&&this.c&&b!=c.index){c=null}return new $$t.k(this,a,c)},g:function(a,b){return a.replace(this.d,b)},h:function(a,b,c,d){var e=new $$t.l(b,d);return e.g(a,c)},$type:new $.ig.Type("Regex",$.ig.$ot)},true);$$t.$a.t=null;$$t.$a.s=null;$$t.$a.r=null;$$t.$a.p=null;$$t.$a.q=null;$$t.$j.c=new $$t.i(false,(-1),0,"")})($);/*!@license
* Infragistics.Web.ClientUI infragistics.ext_io.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*     infragistics.ext_text.js
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$7=$$t;var $$0=$.ig.globalDefs.$$0;var $$1=$.ig.globalDefs.$$1;var $$6=$.ig.globalDefs.$$6;var $$8=$.ig.globalDefs.$$8;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["TextReader:g","SynchronizedReader:h","TextReader_NullTextReader:i"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compareSimple,$x=$.ig.util.tryParseNumber,$y=$.ig.util.tryParseNumber1,$z=$.ig.util.numberToString,$0=$.ig.util.numberToString1,$1=$.ig.util.parseNumber,$2=$.ig.util.compare,$3=$.ig.util.replace,$4=$.ig.util.stringFormat,$5=$.ig.util.stringFormat1,$6=$.ig.util.stringFormat2,$7=$.ig.util.stringCompare1,$8=$.ig.util.stringCompare2,$9=$.ig.util.stringCompare3;$c("BitConverter:a","Object",{init:function(){$.ig.$op.init.call(this)},r:function(a){throw new $$6.q(0)},a:function(a){return[a?1:0]},b:function(a){throw new $$6.q(0)},c:function(a){var b=0;var c=0;if(a==Number.POSITIVE_INFINITY){b=2146435072}else if(a==Number.NEGATIVE_INFINITY){b=4293918720}else if(a==0){if(1/a==1/0){b=0}else{b=2147483648}}else if($.ig.util.isNaN(a)){b=4294443008}else{if(a<-0){b=2147483648;a=-a}var d=Math.floor(Math.log(a)/Math.log(2));var e=$.ig.truncate(Math.floor(a/Math.pow(2,d)*Math.pow(2,52)));c=$o(e,4294967295);e=$a(e,$.ig.truncate(Math.pow(2,32)));d+=1023;if(d>=2047){d=2047;e=0}else if(d<0){d=0}b=$p(b,$r($.ig.truncate(d),20));b=$p(b,$o(e,~(-1<<20)))}return[c&255,c>>>8&255,c>>>16&255,c>>>24&255,b&255,b>>>8&255,b>>>16&255,b>>>24&255]},g:function(a){throw new $$6.q(0)},e:function(a){return $$t.$a.i($i(a))},f:function(a){return $$t.$a.j(a)},d:function(a){return $$t.$a.h(a)},i:function(a){return[a&255,a>>>8&255,a>>>16&255,a>>>24&255]},j:function(a){var b=a|0;var c=$p($.ig.truncate(a/Math.pow(2,32)),0);return[b&255,b>>>8&255,b>>>16&255,b>>>24&255,c&255,c>>>8&255,c>>>16&255,c>>>24&255]},h:function(a){return[a&255,a>>>8&255]},n:function(a){throw new $$6.q(0)},l:function(a,b){return a[b]!=0},m:function(a,b){throw new $$6.q(0)},o:function(a,b){var c=(a[b+7]&1<<7)>>7;var d=(a[b+7]&127)<<4|(a[b+6]&15<<4)>>4;if(d==0){return c==0?0:-0}if(d==2047){if((a[b+6]&8)!=0){return NaN}return c==0?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY}var e=Math.pow(2,d-1023-52);var f=a[b]+a[b+1]*Math.pow(2,8*1)+a[b+2]*Math.pow(2,8*2)+a[b+3]*Math.pow(2,8*3)+a[b+4]*Math.pow(2,8*4)+a[b+5]*Math.pow(2,8*5)+(a[b+6]&15)*Math.pow(2,8*6)+Math.pow(2,52);return Math.pow(-1,c)*f*e},p:function(a,b){var c=$$t.$a.w(a,b);if(c>32767){c-=65535+1}return c},q:function(a,b){return a[b]|a[b+1]<<8|a[b+2]<<16|a[b+3]<<24},s:function(a,b){throw new $$6.q(0)},t:function(a){throw new $$6.q(0)},u:function(a,b){throw new $$6.q(0)},v:function(a,b,c){throw new $$6.q(0)},w:function(a,b){return a[b]|a[b+1]<<8},x:function(a,b){return $i($$t.$a.q(a,b))},$type:new $.ig.Type("BitConverter",$.ig.$ot)},true);$c("IOPath:b","Object",{init:function(){$.ig.$op.init.call(this)},getExtension:function(a){var b=a.lastIndexOf(".");if(b<0){return String.empty()}return a.substr(b)},getDirectoryName:function(a){var b=a.lastIndexOfAny(["\\","/"]);if(b<0){return String.empty()}return a.substr(0,b)},getFileName:function(a){var b=a.lastIndexOfAny(["\\","/"]);if(b<0){return a}return a.substr(b+1)},combine1:function(a,b){if(a==null||a.length==0){return b}if(b==null||b.length==0){return a}if(a.charAt(a.length-1)=="\\"||a.charAt(a.length-1)=="/"||b.charAt(0)=="\\"||b.charAt(0)=="/"){return a+b}return a+"\\"+b},isPathRooted:function(a){if(a==null){return false}if(a.length>=1&&(a.charAt(0)=="/"||a.charAt(0)=="\\")){return true}if(a.length>=2&&a.charAt(1)==":"){return true}return false},changeExtension:function(a,b){throw new $$6.q(0)},combine:function(a){throw new $$6.q(0)},combine2:function(a,b,c){throw new $$6.q(0)},getFileNameWithoutExtension:function(a){throw new $$6.q(0)},getFullPath:function(a){throw new $$6.q(0)},getInvalidPathChars:function(){throw new $$6.q(0)},getPathRoot:function(a){if(a==null){return null}return String.empty()},getTempFileName:function(){throw new $$6.q(0)},getTempPath:function(){throw new $$6.q(0)},hasExtension:function(a){throw new $$6.q(0)},$type:new $.ig.Type("IOPath",$.ig.$ot)},true);$c("BinaryReader:c","Object",{__data:null,d:false,n:0,canRead:function(){return this.n<this.__data.length},currentPosition:function(){return this.n},length:function(){if(this.f){return this.__stream.length()}return this.__data.length},e:false,f:false,init:function(a,b,c){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}this.__data=null;this.d=false;this.n=0;this.e=false;this.f=false;$.ig.$op.init.call(this);this.__data=b;this.d=c;var data_=this.__data;if(typeof Uint8Array!="undefined"&&data_ instanceof Uint8Array){this.e=true}},i:function(offset_){if(this.f){this.__stream.position(offset_);return this.__stream.readByte()}else if(this.e){return this.__data[offset_]&255}else{return this.__data.charCodeAt(offset_)&255}},a:function(offset_,a){var b=new Array(a);if(this.f){this.__stream.position(offset_);this.__stream.read(b,0,a)}else if(this.e){for(var i_=0;i_<a;i_++){b[i_]=this.__data[offset_+i_]&255}}else{for(var i_=0;i_<a;i_++){b[i_]=this.__data.charCodeAt(offset_+i_)&255}}return b},b:function(offset_,length_){var a=new Array(length_);if(this.f){this.__stream.position(offset_);this.__stream.read(a,0,length_);$$0.$an.reverse(a)}else if(this.e){for(var i_=0;i_<length_;i_++){a[i_]=this.__data[offset_+(length_-1-i_)]&255}}else{for(var i_=0;i_<length_;i_++){a[i_]=this.__data.charCodeAt(offset_+(length_-1-i_))&255}}return a},readByte:function(){if(this.f){this.n=this.__stream.position()}var a=this.i(this.n);this.n=this.n+1;return a},readBytes:function(a){if(this.f){this.n=this.__stream.position()}var b=this.a(this.n,a);this.n=this.n+a;return b},readUInt32:function(){if(this.f){this.n=this.__stream.position()}var a=0;if(this.d){a=a+(this.i(this.n)<<24);this.n=this.n+1;a=a+(this.i(this.n)<<16);this.n=this.n+1;a=a+(this.i(this.n)<<8);this.n=this.n+1;a=a+this.i(this.n);this.n=this.n+1}else{a=a+this.i(this.n);this.n=this.n+1;a=a+(this.i(this.n)<<8);this.n=this.n+1;a=a+(this.i(this.n)<<16);this.n=this.n+1;a=a+(this.i(this.n)<<24);this.n=this.n+1}if(a<0){a=a+4294967295+1}return a},readUInt16:function(){if(this.f){this.n=this.__stream.position()}var a=0;if(this.d){a=a+(this.i(this.n)<<8);this.n=this.n+1;a=a+this.i(this.n);this.n=this.n+1}else{a=a+this.i(this.n);this.n=this.n+1;a=a+(this.i(this.n)<<8);this.n=this.n+1}return a},readInt32:function(){if(this.f){this.n=this.__stream.position()}var a=0;if(this.d){a=a+(this.i(this.n)<<24);this.n=this.n+1;a=a+(this.i(this.n)<<16);this.n=this.n+1;a=a+(this.i(this.n)<<8);this.n=this.n+1;a=a+this.i(this.n);this.n=this.n+1}else{a=a+this.i(this.n);this.n=this.n+1;a=a+(this.i(this.n)<<8);this.n=this.n+1;a=a+(this.i(this.n)<<16);this.n=this.n+1;a=a+(this.i(this.n)<<24);this.n=this.n+1}if(a>2147483647){a=a-4294967295-1}return a},readDouble:function(){if(this.f){this.n=this.__stream.position()}var a=this.b(this.n,8);this.n=this.n+8;var b=a[0]>>>7;var c=0;c=c+(a[1]>>>4);c=c+((a[0]&127)<<4);var d=1;var e=a[1];var f=1/2;var g=0;var h=false;for(g=5;g<=8;g++){if((e&1<<8-g)>0){d=d+f;h=true}f=f/2}for(var i=2;i<8;i++){e=a[i];for(g=1;g<=8;g++){if((e&1<<8-g)>0){d=d+f;h=true}f=f/2}}if(c==0&&!h){return 0}if(c==0&&h){c=1;d=d-1}if(c==1860&&!h){if(b==1){return Number.NEGATIVE_INFINITY}else{return Number.POSITIVE_INFINITY}}if(c==1860&&h){return NaN}var j=c-1023;return Math.pow(-1,b)*Math.pow(2,j)*d},readSingle:function(){if(this.f){this.n=this.__stream.position()}var a=this.b(this.n,4);this.n=this.n+4;var b=a[0]>>>7;var c=0;c=c+(a[1]>>>7);c=c+((a[0]&127)<<1);var d=1;var e=a[1];var f=1/2;var g=0;var h=false;for(g=2;g<=8;g++){if((e&1<<8-g)>0){d=d+f;h=true}f=f/2}for(var i=2;i<4;i++){e=a[i];for(g=1;g<=8;g++){if((e&1<<8-g)>0){d=d+f;h=true}f=f/2}}if(c==0&&!h){return 0}if(c==0&&h){c=1;d=d-1}if(c==255&&!h){if(b==1){return 0}else{return 0}}if(c==255&&h){return NaN}var j=c-127;return Math.pow(-1,b)*Math.pow(2,j)*d},__stream:null,init1:function(a,b){this.__data=null;this.d=false;this.n=0;this.e=false;this.f=false;$.ig.$op.init.call(this);this.__stream=b;this.f=true},baseStream:function(){return this.__stream},readBoolean:function(){if(this.f){this.n=this.__stream.position()}var a=this.i(this.n);this.n=this.n+1;return a!=0},readInt16:function(){if(this.f){this.n=this.__stream.position()}var a=0;if(this.d){a=a+(this.i(this.n)<<8);this.n=this.n+1;a=a+this.i(this.n);this.n=this.n+1}else{a=a+this.i(this.n);this.n=this.n+1;a=a+(this.i(this.n)<<8);this.n=this.n+1}if(a>32767){a-=65535+1}return a},readSByte:function(){if(this.f){this.n=this.__stream.position()}var a=this.i(this.n);this.n=this.n+1;if(a>127){return a-255+1}return a},close:function(){this.dispose()},dispose:function(){if(this.f){this.__stream.dispose()}},$type:new $.ig.Type("BinaryReader",$.ig.$ot,[$$0.$au.$type])},true);$c("BinaryWriter:d","Object",{b:null,d:null,init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$.ig.$op.init.call(this)},init1:function(a,b){$$t.$d.init2.call(this,2,b,new $$8.c(0,false,true))},init2:function(a,b,c){$.ig.$op.init.call(this);this.b=b;this.d=c},baseStream:function(){return this.b},close:function(){this.disposeCore(true)},dispose:function(){this.disposeCore(true)},disposeCore:function(a){if(a){this.b.close()}},flush:function(){this.b.flush()},seek:function(a,b){return this.b.seek(a,b)},write4:function(a){this.b.write($$t.$a.a(a),0,1)},write5:function(a){this.b.write($$t.$a.d(a),0,1)},write:function(a){this.b.write(a,0,a.length)},write6:function(a){},write1:function(a){},write7:function(a){this.b.write($$t.$a.c(a),0,8)},write12:function(a){this.b.write($$t.$a.g(a),0,4)},write9:function(a){this.b.write($$t.$a.e(a),0,4)},write10:function(a){this.b.write($$t.$a.f(a),0,8)},write11:function(a){this.b.write($$t.$a.d(a),0,2)},write8:function(a){this.b.write($$t.$a.d(a),0,2)},write13:function(a){},write15:function(a){this.b.write($$t.$a.i(a),0,4)},write16:function(a){this.b.write($$t.$a.j(a),0,8)},write14:function(a){this.b.write($$t.$a.h(a),0,2)},write2:function(a,b,c){},write3:function(a,b,c){},y:function(a){},$type:new $.ig.Type("BinaryWriter",$.ig.$ot,[$$0.$au.$type])},true);$c("MemoryStream:e","Stream",{o:null,t:0,s:0,r:false,init:function(a){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$t.$e.init1.call(this,1,0)},init1:function(a,b){$$0.$dc.init.call(this);this.o=new Array(b);for(var c=0;c<b;c++){this.o[c]=0}},init2:function(a,b){$$0.$dc.init.call(this);this.o=b;this.s=b.length;this.r=this.s!=0&&typeof this.o[0]==="string"},canRead:function(){return true},canSeek:function(){return true},canWrite:function(){return true},capacity:function(a){if(arguments.length===1){if(this.o.length==a){return}for(var b=this.s;b<a;b++){this.o[b]=0}return a}else{return this.o.length}},length:function(){return this.s},position:function(a){if(arguments.length===1){if(this.t==a){return}this.t=a;if(this.capacity()<=this.t){this.capacity(this.t+1)}return a}else{return this.t}},disposeCore:function(a){},flush:function(){},getBuffer:function(){return this.o},read:function(a,b,c){var d=Math.min(this.s-this.t,c);if(this.r){for(var e=0;e<d;e++){a[b++]=this.o[this.t++].charCodeAt(0)&255}}else{for(var f=0;f<d;f++){a[b++]=this.o[this.t++]}}return d},readByte:function(){if(this.s<=this.t){return-1}if(this.r){return this.o[this.t++].charCodeAt(0)&255}return this.o[this.t++]},seek:function(a,b){switch(b){case 0:this.t=a;break;case 1:this.t+=a;break;case 2:this.t=this.s+a;break}return this.t},setLength:function(a){if(this.capacity()<a){this.capacity(Math.max(a,this.capacity()*2))}this.s=a;if(this.s<this.t){this.t=this.s}},toArray:function(){if(this.r){var a=new Array(this.s);var b=this.position();this.position(0);this.read(a,0,a.length);this.position(b);return a}return this.o.slice(0,this.s)},write:function(a,b,c){var d=this.t+c;if(this.length()<d){this.setLength(d)}var e=c!=0&&typeof a[b]==="string";if(e==this.r){for(var f=0;f<c;f++){this.o[this.t++]=a[b++]}}else if(e){for(var g=0;g<c;g++){this.o[this.t++]=a.charCodeAt(b++)&255}}else{for(var h=0;h<c;h++){this.o[this.t++]=String.fromCharCode(a[b++])}}},writeByte:function(a){var b=typeof a==="string";if(b==this.r){this.o[this.t++]=a}else if(b){this.o[this.t++]=a.charCodeAt(0)&255}else{this.o[this.t++]=String.fromCharCode(a)}if(this.s<this.t){this.s=this.t}},writeTo:function(a){a.write(this.o,0,this.s)},$type:new $.ig.Type("MemoryStream",$$0.$dc.$type)},true);$c("TextReader:g","Object",{staticInit:function(){$$t.$g.$null=new $$t.i},init:function(){$.ig.$op.init.call(this)},close:function(){this.dispose1(true)},dispose:function(){this.dispose1(true)},dispose1:function(a){if(a){}return},peek:function(){return-1},read:function(){return-1},read1:function(a,b,c){var d,e;for(e=0;e<c;e++){if((d=this.read())==-1){return e}a[b+e]=$u(d)}return e},readBlock:function(a,b,c){var d=0;var e=0;do{e=this.read1(a,b,c);b+=e;d+=e;c-=e}while(e!=0&&c>0);return d},readLine:function(){return String.empty()},readToEnd:function(){return String.empty()},synched:function(a){if(a==null){throw new $$6.e(0,"reader is null")}if($b($$t.$h.$type,a)!==null){return a}return new $$t.h(a)},$type:new $.ig.Type("TextReader",$.ig.$ot,[$$0.$au.$type])},true);$c("StreamReader:f","TextReader",{o:null,q:null,p:null,k:null,l:0,m:0,init:function(a){$$t.$g.init.call(this);this.o=a;this.q=$$8.$a.uTF8();this.p=this.q.getDecoder();this.k=new Array(this.q.getMaxCharCount(1024))},r:function(){var a=new Array(1024);var b=this.o.read(a,0,a.length);this.l=this.p.c(a,0,b,this.k,0);this.m=0},peek:function(){if(this.m==this.l){this.r();if(this.m==this.l){return-1}}return this.k[this.m].charCodeAt(0)},read:function(){if(this.m==this.l){this.r();if(this.m==this.l){return-1}}return this.k[this.m++].charCodeAt(0)},read1:function(a,b,c){var d=0;while(c>0){var e=Math.min(c,this.l-this.m);if(e==0){this.r();e=Math.min(c,this.l-this.m);if(e==0){break}}$.ig.util.arrayCopy1(this.k,this.m,a,b,e);d+=e;c-=e;this.m+=e}return d},readLine:function(){throw new $$6.q(0)},readToEnd:function(){var a=new $$6.aj(0);while(true){var b=this.l-this.m;if(b==0){this.r();b=this.l-this.m;if(b==0){break}}a.g(this.k,this.m,b);this.m=this.l}return a.toString()},$type:new $.ig.Type("StreamReader",$$t.$g.$type)},true);$c("TextReader_NullTextReader:i","TextReader",{init:function(){$$t.$g.init.call(this)},readLine:function(){return null},$type:new $.ig.Type("TextReader_NullTextReader",$$t.$g.$type)},true);$c("SynchronizedReader:h","TextReader",{k:null,init:function(a){$$t.$g.init.call(this);this.k=a},close:function(){this.k.close()},peek:function(){return this.k.peek()},readBlock:function(a,b,c){return this.k.readBlock(a,b,c)},readLine:function(){return this.k.readLine()},readToEnd:function(){return this.k.readToEnd()},read:function(){return this.k.read()},read1:function(a,b,c){return this.k.read1(a,b,c)},$type:new $.ig.Type("SynchronizedReader",$$t.$g.$type)},true);$$t.$a.k=false;$$t.$b.altDirectorySeparatorChar="/";$$t.$b.directorySeparatorChar="\\";$$t.$b.pathSeparator=";";$$t.$b.volumeSeparatorChar=":";$$t.$g.$null=null;if($$t.$g.staticInit&&!$$t.$g.textReaderStaticInitCalled){$$t.$g.staticInit();$$t.$g.textReaderStaticInitCalled=true}})($);/*!@license
* Infragistics.Web.ClientUI infragistics.ext_xml.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*     infragistics.ext_collections.js
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$c=$$t;var $$0=$.ig.globalDefs.$$0;var $$1=$.ig.globalDefs.$$1;var $$4=$.ig.globalDefs.$$4;var $$6=$.ig.globalDefs.$$6;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["XContainer:f","XDocument:g","XElement:h"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t;$c("XObject:m","Object",{init:function(a){$.ig.$op.init.call(this);this.backingNode(a)},_backingNode:null,backingNode:function(a){if(arguments.length===1){this._backingNode=a;return a}else{return this._backingNode}},nodeType:function(){},toString:function(){if(this.backingNode()!=null){return $$t.$i.xmlNodeToString(this.backingNode())}else{return""}},$type:new $.ig.Type("XObject",$.ig.$ot)},true);$c("XAttribute:e","XObject",{init:function(a){$$t.$m.init.call(this,a)},e:function(a){this.backingNode(this.backingNode().cloneNode(true));a.setAttributeNode(this.backingNode())},nodeType:function(){return 2},value:function(){return $$t.$i.b(this.backingNode())},$type:new $.ig.Type("XAttribute",$$t.$m.$type)},true);$c("XNode:l","XObject",{init:function(a){$$t.$m.init.call(this,a)},$type:new $.ig.Type("XNode",$$t.$m.$type)},true);$c("XContainer:f","XNode",{init:function(a){$$t.$l.init.call(this,a)},element:function(a){var b=null;var c=this.backingNode();var d=c.childNodes;var e=d.length;var f=a.localName();var g=a.namespaceName();for(var h=0;h<e;h++){var i=d.item(h);if(i.namespaceURI==g&&i.nodeType==1&&$$t.$i.d(i)==f){b=i}}if(b==null){return null}else{return new $$t.h(0,b)}},elements:function(){return this.f(null)},elements1:function(a){return this.f(a)},f:function(a){var b=new $$4.x($$t.$h.$type,0);for(var c=0;c<this.backingNode().childNodes.length;c++){var d=this.backingNode().childNodes.item(c);if(d.nodeType==1){var e=false;if(a!=null){if($$t.$i.d(d)==a.localName()&&d.namespaceURI==a.namespaceName()){e=true}}else{e=true}if(e){b.add(new $$t.h(0,d))}}}return b},add:function(a){var b=this.backingNode();var c;if($b($$t.$g.$type,this)!==null){c=this.backingNode()}else{c=this.backingNode().ownerDocument}if($b($$t.$e.$type,a)!==null){a.e(b)}else if($b($$t.$h.$type,a)!==null){a.j(b,c)}},$type:new $.ig.Type("XContainer",$$t.$l.$type)},true);$c("XDocument:g","XContainer",{init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$f.init.call(this,b)},init1:function(a){$$t.$f.init.call(this,$$t.$i.j())},nodeType:function(){return 9},parse:function(a){return new $$t.g(0,$$t.$i.n(a))},$type:new $.ig.Type("XDocument",$$t.$f.$type)},true);$c("XElement:h","XContainer",{init:function(a,b){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break;case 2:this.init2.apply(this,arguments);break}return}$$t.$f.init.call(this,b)},init1:function(a,b){$$t.$h.init2.call(this,2,b,null)},init2:function(a,b,c){$$t.$f.init.call(this,$$t.$i.o(b.localName(),b.namespaceName()));var d=c==null?"":c.toString();this.value(d)},value:function(a){if(arguments.length===1){$$t.$i.h(this.backingNode(),a);return a}else{return $$t.$i.c(this.backingNode())}},nodeType:function(){return 1},name:function(){return $$t.$j.get($$t.$i.d(this.backingNode()),this.backingNode().namespaceURI)},attribute:function(a){return new $$t.e($$t.$i.i(this.backingNode(),a.localName(),a.namespaceName()))},j:function(a,b){if(this.backingNode().ownerDocument!=b){this.backingNode($$t.$i.p(b,this.backingNode()))}a.appendChild(this.backingNode())},$type:new $.ig.Type("XElement",$$t.$f.$type)},true);$c("XmlUtils:i","Object",{init:function(){$.ig.$op.init.call(this)},a:function(){return!!window.DOMParser},m:function(a){var text_=a;return(new DOMParser).parseFromString(text_,"text/xml")},l:function(a){var text_=a;return function(xml){var xmlDoc=new window.ActiveXObject("Microsoft.XMLDOM");xmlDoc.async=false;xmlDoc.loadXML(xml);return xmlDoc}(text_)},f:function(a){var node_=a;return(new XMLSerializer).serializeToString(node_)},e:function(a){var node_=a;return node_.xml},k:function(){return new window.ActiveXObject("Microsoft.XMLDOM")},n:function(a){if($$t.$i.a()){return $$t.$i.m(a)}else{return $$t.$i.l(a)}},xmlNodeToString:function(a){if($$t.$i.a()){return $$t.$i.f(a)}else{return $$t.$i.e(a)}},j:function(){var a;if($$t.$i.a()){a=$$t.$i.m("<dummy/>");a.removeChild(a.documentElement)}else{a=$$t.$i.k()}return a},o:function(a,b){var doc_=$$t.$i.j();if($$t.$i.a()){return doc_.createElementNS(b,a)}else{var name_=a;var namespaceURI_=b;return doc_.createNode(1,name_,namespaceURI_)}},c:function(a){if($$t.$i.a()){return a.textContent}else{var node_=a;return node_.text}},h:function(a,b){if($$t.$i.a()){a.textContent=b}else{var node_=a;var text_=b;node_.text=text_}},p:function(a,b){if($$t.$i.a()){return a.importNode(b,true)}else{return b}},d:function(a){if($$t.$i.a()){return a.localName}else{var node_=a;return node_.baseName}},i:function(a,b,c){if($$t.$i.a()){return a.getAttributeNodeNS(c,b)}else{var elem_=a;var ln_=b;var nn_=c;return elem_.attributes.getQualifiedItem(ln_,nn_)}},b:function(a){if($$t.$i.a()){return a.nodeValue}else{var attr_=a;return attr_.value}},$type:new $.ig.Type("XmlUtils",$.ig.$ot)},true);$c("XName:j","Object",{a:null,b:null,init:function(a,b){$.ig.$op.init.call(this);this.a=a;this.b=b},localName:function(){return this.a},namespaceName:function(){return this.b},namespace:function(){return $$t.$k.get(this.b)},get:function(a,b){return new $$t.j(a,b)},$type:new $.ig.Type("XName",$.ig.$ot)},true);$c("XNamespace:k","Object",{a:null,init:function(a){$.ig.$op.init.call(this);this.a=a},get:function(a){return new $$t.k(a)},xmlns:function(){return $$t.$k.get("http://www.w3.org/2000/xmlns/")},namespaceName:function(){return this.a},$type:new $.ig.Type("XNamespace",$.ig.$ot)},true);$c("FaultCode:a","Object",{init:function(a){$.ig.$op.init.call(this);this._a=a},_a:null,$type:new $.ig.Type("FaultCode",$.ig.$ot)},true);$c("FaultException:b","Error",{init:function(a,b,c){$$0.$n.init.call(this,0);this.reason(a);this.code(b);this.action(c)},_action:null,action:function(a){if(arguments.length===1){this._action=a;return a}else{return this._action}},_code:null,code:function(a){if(arguments.length===1){this._code=a;return a}else{return this._code}},_reason:null,reason:function(a){if(arguments.length===1){this._reason=a;return a}else{return this._reason}},$type:new $.ig.Type("FaultException",$$0.$n.$type)},true);$c("FaultException$1:c","FaultException",{$tDetail:null,init:function($tDetail,a,b,c,d){this.$tDetail=$tDetail;if(!this.hasOwnProperty("$type")){this.$type=this.$type.specialize(this.$tDetail)}$$t.$b.init.call(this,b,c,d);this.detail(a)},_detail:null,detail:function(a){if(arguments.length===1){this._detail=a;return a}else{return this._detail}},$type:new $.ig.Type("FaultException$1",$$t.$b.$type)},true);$c("FaultReason:d","Object",{a:null,init:function(a){$.ig.$op.init.call(this);this.a=a},toString:function(){return this.a},$type:new $.ig.Type("FaultReason",$.ig.$ot)},true)})($);/*!@license
* Infragistics.Web.ClientUI infragistics.ext_web.js 21.2.20212.99
*
* Copyright (c) 2011-2022 Infragistics Inc.
*
* http://www.infragistics.com/
*
* Depends:
*     jquery-1.4.4.js
*     jquery.ui.core.js
*     jquery.ui.widget.js
*     infragistics.util.js
*     infragistics.ext_core.js
*     infragistics.ext_collections.js
*     infragistics.ext_io.js
*     infragistics.ext_text.js
*     infragistics.ext_threading.js
*/
(function($){$.ig=$.ig||{};var $$t={};$.ig.globalDefs=$.ig.globalDefs||{};$.ig.globalDefs.$$b=$$t;var $$0=$.ig.globalDefs.$$0;var $$1=$.ig.globalDefs.$$1;var $$4=$.ig.globalDefs.$$4;var $$6=$.ig.globalDefs.$$6;var $$7=$.ig.globalDefs.$$7;var $$8=$.ig.globalDefs.$$8;var $$9=$.ig.globalDefs.$$9;$.ig.$currDefinitions=$$t;$.ig.util.bulkDefine(["ICredentials:c","NetworkCredential:d","UploadDataCompletedEventHandler:e","UploadStringCompletedEventHandler:g"]);var $a=$.ig.intDivide,$b=$.ig.util.cast,$c=$.ig.util.defType,$d=$.ig.util.defEnum,$e=$.ig.util.getBoxIfEnum,$f=$.ig.util.getDefaultValue,$g=$.ig.util.getEnumValue,$h=$.ig.util.getValue,$i=$.ig.util.intSToU,$j=$.ig.util.nullableEquals,$k=$.ig.util.nullableIsNull,$l=$.ig.util.nullableNotEquals,$m=$.ig.util.toNullable,$n=$.ig.util.toString$1,$o=$.ig.util.u32BitwiseAnd,$p=$.ig.util.u32BitwiseOr,$q=$.ig.util.u32BitwiseXor,$r=$.ig.util.u32LS,$s=$.ig.util.unwrapNullable,$t=$.ig.util.wrapNullable,$u=String.fromCharCode,$v=$.ig.util.castObjTo$t,$w=$.ig.util.compare,$x=$.ig.util.replace,$y=$.ig.util.stringFormat,$z=$.ig.util.stringFormat1,$0=$.ig.util.stringFormat2,$1=$.ig.util.stringCompare1,$2=$.ig.util.stringCompare2,$3=$.ig.util.stringCompare3;$c("UriParser:a","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a){return $$t.$a.b.contains(a.toLowerCase())},$type:new $.ig.Type("UriParser",$.ig.$ot)},true);$c("JavaScriptSerializer:k","Object",{init:function(){$.ig.$op.init.call(this)},a:function(a){var text_=a;return JSON.parse(text_)},b:function(a){var value_=a;return JSON.stringify(value_)},$type:new $.ig.Type("JavaScriptSerializer",$.ig.$ot)},true);$c("BinaryFileDownloader:b","Object",{init:function(){$.ig.$op.init.call(this)},a:function(uri_,callback_,errorCallback_){$.ig.util.getBinary(uri_,callback_,errorCallback_)},$type:new $.ig.Type("BinaryFileDownloader",$.ig.$ot)},true);$c("ICredentials:c","Object",{$type:new $.ig.Type("ICredentials",null)},true);$c("NetworkCredential:d","Object",{init:function(a,b,c){if(a>0){switch(a){case 1:this.init1.apply(this,arguments);break}return}$$t.$d.init1.call(this,1,b,c,String.empty())},init1:function(a,b,c,d){$.ig.$op.init.call(this);this.userName(b);this.password(c);this.domain(d)},getCredential:function(a,b){return this},_userName:null,userName:function(a){if(arguments.length===1){this._userName=a;return a}else{return this._userName}},_password:null,password:function(a){if(arguments.length===1){this._password=a;return a}else{return this._password}},_domain:null,domain:function(a){if(arguments.length===1){this._domain=a;return a}else{return this._domain}},$type:new $.ig.Type("NetworkCredential",$.ig.$ot,[$$t.$c.$type])},true);$c("UploadDataCompletedEventArgs:f","AsyncCompletedEventArgs",{i:null,init:function(a,b,c,d){$$6.$ae.init.call(this,b,c,d);this.i=a},result:function(){this.h();return this.i},$type:new $.ig.Type("UploadDataCompletedEventArgs",$$6.$ae.$type)},true);$c("UploadStringCompletedEventArgs:h","AsyncCompletedEventArgs",{i:null,init:function(a,b,c,d){$$6.$ae.init.call(this,b,c,d);this.i=a},result:function(){this.h();return this.i},$type:new $.ig.Type("UploadStringCompletedEventArgs",$$6.$ae.$type)},true);$c("WebClient:i","Object",{init:function(){$.ig.$op.init.call(this);this._d=new $$t.j},_e:null,_d:null,_a:null,uploadStringCompleted:null,k:function(a,b,c,d){var $self=this;this.g(a,b,c).j(function(e){if($self.uploadStringCompleted!=null){var f=null;var g=null;try{f=e.n()}catch(h){g=h}$self.uploadStringCompleted($self,new $$t.h(f,g,e.h()==6,d))}})},g:function(a,b,c){var url_=a.value();var method_=b;var data_=c;var contentType_=this._d.item("Content-Type");var credentials_=this._a;var d=$.ig.util.ajax(url_,contentType_,data_,method_,credentials_);return new $$9.a(String,d,null)},uploadDataCompleted:null,j:function(a,b,c,d){var $self=this;this.f(a,b,c).j(function(e){if($self.uploadDataCompleted!=null){var f=null;var g=null;try{f=e.n()}catch(h){g=h}$self.uploadDataCompleted($self,new $$t.f(f,g,e.h()==6,d))}})},f:function(a,b,c){var url_=a.value();var method_=b;var data_=c;var contentType_=this._d.item("Content-Type");var credentials_=this._a;var d=$.ig.util.ajax(url_,contentType_,data_,method_,credentials_);return new $$9.a(Array,d,null)},i:function(a,b,c,d){a.e(b)},h:function(a,b,c,d){a.d(new $$0.n(1,d))},$type:new $.ig.Type("WebClient",$.ig.$ot)},true);$c("WebHeaderCollection:j","NameValueCollection",{init:function(){$$4.$ag.init.call(this)},$type:new $.ig.Type("WebHeaderCollection",$$4.$ag.$type)},true);$$t.$a.b=new $$4.x(String,1,["http","https","ws","wss","ftp","file","gopher","nntp","news","mailto","uuid","telnet","ldap","net.tcp","net.pipe"])})($)});